[go: up one dir, main page]

CN105554275A - Method and device for starting mobile terminal - Google Patents

Method and device for starting mobile terminal Download PDF

Info

Publication number
CN105554275A
CN105554275A CN201510945370.7A CN201510945370A CN105554275A CN 105554275 A CN105554275 A CN 105554275A CN 201510945370 A CN201510945370 A CN 201510945370A CN 105554275 A CN105554275 A CN 105554275A
Authority
CN
China
Prior art keywords
mobile terminal
sim card
described mobile
interface
card slot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510945370.7A
Other languages
Chinese (zh)
Inventor
张伟超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201510945370.7A priority Critical patent/CN105554275A/en
Publication of CN105554275A publication Critical patent/CN105554275A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a starting method and a starting device of a mobile terminal, wherein the starting method comprises the following steps: detecting an operation interface of the mobile terminal after receiving a starting-up instruction triggered by a starting-up key; if the running interface of the mobile terminal is a preset starting initialization guide interface, detecting whether an SIM card is inserted into an SIM card slot of the mobile terminal; if an SIM card is inserted into an SIM card slot of the mobile terminal, keeping the mobile terminal in a starting state; and if the SIM card is not inserted into the SIM card slot of the mobile terminal, executing shutdown operation on the mobile terminal when the preset operation condition is met. The invention can effectively judge whether the mobile terminal is in the starting-up misoperation generated under the condition of not unsealing, and timely turns off the power supply of the mobile terminal aiming at the starting-up misoperation, thereby effectively avoiding the electric quantity exhaustion caused by the mistaken starting-up operation generated in the factory transportation process of the mobile terminal.

Description

移动终端的开机方法及装置Method and device for starting mobile terminal

技术领域technical field

本发明属于移动终端技术领域,尤其涉及移动终端的开机方法及装置。The invention belongs to the technical field of mobile terminals, and in particular relates to a booting method and device for a mobile terminal.

背景技术Background technique

移动终端产品在工厂生产完毕,装箱封箱出库时,其电池通常是处于满电状态,或者至少充了一部分电量的,这使得移动终端可以通过这部分电量来完成使用之初的初始化设置等操作。然而,由于移动终端包装盒的内部空间狭小,若包装盒在运输过程中出现剧烈晃动或大力按压,则容易误触到移动终端的开机键,导致移动终端开机,从而在产品售出前移动终端的电量已被耗尽,需要在充电之后才能开机操作,影响了移动终端初始化设置的操作效率。After the mobile terminal product is produced in the factory, when it is packed and sealed out of the warehouse, its battery is usually fully charged, or at least partially charged, which allows the mobile terminal to use this part of the power to complete the initialization settings at the beginning of use and so on. However, due to the small internal space of the mobile terminal packaging box, if the packaging box is shaken violently or pressed vigorously during transportation, it is easy to touch the power button of the mobile terminal by mistake, causing the mobile terminal to be turned on, so that the mobile terminal can be moved before the product is sold. The power of the mobile terminal has been exhausted, and it needs to be charged before it can be turned on for operation, which affects the operation efficiency of the initial setting of the mobile terminal.

在软件层面上,现有技术解决上述问题的方式为:在开机键被按下之后,通过移动终端内置的光传感器来感知周围亮度,若周围光线全黑,则忽略开机指令,保持移动终端在关机状态,然而,移动终端在使用过程中也有机会被放置于全黑的环境之中,例如,漆黑的电影院里,或者用户的背包之中,此时,现有技术采用的方案则会带来误判,使得移动终端无法开机,为用户正常使用移动终端带来了不便。On the software level, the existing technology solves the above problems by: after the power-on button is pressed, the light sensor built into the mobile terminal is used to perceive the surrounding brightness. However, the mobile terminal may also be placed in a completely dark environment during use, for example, in a dark movie theater, or in a user's backpack. At this time, the solution adopted in the prior art will bring Misjudgment makes the mobile terminal unable to start, which brings inconvenience to the user to use the mobile terminal normally.

发明内容Contents of the invention

有鉴于此,本发明实施例提供了移动终端的开机方法及装置,以解决现有技术在防止移动终端误开机时容易产生误判,影响移动终端的正常使用的问题。In view of this, the embodiments of the present invention provide a method and device for starting up a mobile terminal, so as to solve the problem in the prior art that misjudgment is likely to occur when preventing a mobile terminal from starting up by mistake, which affects the normal use of the mobile terminal.

第一方面,提供了一种移动终端的开机方法,包括:In the first aspect, a booting method of a mobile terminal is provided, including:

在接收到由开机键触发的开机指令之后,检测移动终端的运行界面;After receiving the power-on instruction triggered by the power-on key, detecting the running interface of the mobile terminal;

若所述移动终端的运行界面为预设的开机初始化引导界面,则检测所述移动终端的客户识别模块SIM卡槽中是否插入了SIM卡;If the operating interface of the mobile terminal is a preset startup initialization guide interface, then detect whether a SIM card is inserted in the SIM card slot of the customer identification module of the mobile terminal;

若所述移动终端的SIM卡槽中插入了SIM卡,保持所述移动终端处于开机状态;If a SIM card is inserted into the SIM card slot of the mobile terminal, keep the mobile terminal in a power-on state;

若所述移动终端的SIM卡槽中未插入SIM卡,当符合预设的操作条件时,对所述移动终端执行关机操作。If no SIM card is inserted into the SIM card slot of the mobile terminal, and a preset operating condition is met, a power-off operation is performed on the mobile terminal.

第二方面,提供了一种移动终端的开机装置,包括:In a second aspect, a boot device for a mobile terminal is provided, including:

第一检测单元,用于在接收到由开机键触发的开机指令之后,检测移动终端的运行界面;The first detection unit is used to detect the running interface of the mobile terminal after receiving the power-on instruction triggered by the power-on button;

第二检测单元,用于若所述移动终端的运行界面为预设的开机初始化引导界面,则检测所述移动终端的客户识别模块SIM卡槽中是否插入了SIM卡;The second detection unit is used to detect whether a SIM card is inserted in the SIM card slot of the customer identification module of the mobile terminal if the operating interface of the mobile terminal is a preset startup initialization guide interface;

第一处理单元,用于若所述移动终端的SIM卡槽中插入了SIM卡,保持所述移动终端处于开机状态;The first processing unit is configured to keep the mobile terminal in a power-on state if a SIM card is inserted into the SIM card slot of the mobile terminal;

第二处理单元,用于若所述移动终端的SIM卡槽中未插入SIM卡,当符合预设的操作条件时,对所述移动终端执行关机操作。The second processing unit is configured to perform a power-off operation on the mobile terminal if a SIM card is not inserted into the SIM card slot of the mobile terminal and when preset operating conditions are met.

本发明实施例所采用的方案能够有效地判别移动终端是在拆封后产生的开机操作,还是在未拆封情况下产生的开机误操作,并针对后一种情况及时地关闭移动终端的电源,保证移动终端在拆封时还能够预存一定的电量,以供用户对移动终端执行初始化设置,有效地避免了因移动终端在出厂运输过程中所产生的误开机操作导致的电量耗尽。The solution adopted in the embodiment of the present invention can effectively determine whether the mobile terminal is powered on after it is unpacked, or it is a misoperation when it is not unpacked, and the power of the mobile terminal is turned off in time for the latter case , to ensure that the mobile terminal can also pre-store a certain amount of power when it is unpacked, so that the user can perform initial settings on the mobile terminal, effectively avoiding the power exhaustion caused by the wrong power-on operation of the mobile terminal during delivery.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1是本发明实施例提供的移动终端的开机方法的实现流程图;FIG. 1 is a flow chart of implementing a method for starting a mobile terminal provided by an embodiment of the present invention;

图2是本发明实施例提供的移动终端的开机方法S104的具体实现流程图;FIG. 2 is a specific implementation flowchart of the booting method S104 of the mobile terminal provided by the embodiment of the present invention;

图3是本发明另一实施例提供的移动终端的开机方法S104的具体实现流程图;FIG. 3 is a specific implementation flow chart of the booting method S104 of the mobile terminal provided by another embodiment of the present invention;

图4是本发明另一实施例提供的移动终端的开机方法的实现流程图;Fig. 4 is a flow chart of realizing a booting method of a mobile terminal provided by another embodiment of the present invention;

图5是本发明实施例提供的移动终端的开机装置的结构框图。Fig. 5 is a structural block diagram of a device for starting a mobile terminal provided by an embodiment of the present invention.

具体实施方式detailed description

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透切理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

图1示出了本发明实施例提供的移动终端的开机方法的实现流程,在本发明实施例中,所述移动终端,是指可以在移动中使用的计算机设备,进一步地,是指搭载了智能操作系统的移动计算机设备,且该移动计算机设备自带电源,无需外接电源即可开机使用,上述设备包括但不限于智能手机、智能手表、笔记本、平板电脑、POS机及车载电脑。图1的实现流程详述如下:Fig. 1 shows the implementation flow of the booting method of the mobile terminal provided by the embodiment of the present invention. In the embodiment of the present invention, the mobile terminal refers to a computer device that can be used on the move, and further refers to a computer device equipped with Mobile computer equipment with an intelligent operating system, and the mobile computer equipment has its own power supply and can be turned on and used without an external power supply. The above-mentioned equipment includes but is not limited to smart phones, smart watches, notebooks, tablet computers, POS machines and vehicle-mounted computers. The implementation process of Figure 1 is detailed as follows:

在S101中,在接收到由开机键触发的开机指令之后,检测移动终端的运行界面。In S101, after receiving a power-on instruction triggered by a power-on key, the running interface of the mobile terminal is detected.

在本实施例中,若移动终端物理按键中的开机键被按下,则会触发开机指令,移动终端实现软硬件启动。此时,若移动终端是在出厂后或刷机重装操作系统之后第一次开机启动,则会加载操作系统预先设置好的初始化引导界面,用于引导用户对移动终端进行用户设置、时区设置、网络设置等初始化设置,以使移动终端能够正常运行;而若移动终端并非是第一次开机启动,则会在启动后加载正常的操作系统桌面。因此,在S101中,需要对移动终端启动后的运行界面进行检测,以判断移动终端是否是在出厂后或刷机重装操作系统之后第一次开机启动。In this embodiment, if the power-on key among the physical keys of the mobile terminal is pressed, a power-on command will be triggered, and the mobile terminal realizes software and hardware startup. At this time, if the mobile terminal is powered on for the first time after leaving the factory or after flashing and reinstalling the operating system, it will load the initialization boot interface preset by the operating system to guide the user to perform user settings, time zone settings, Network settings and other initialization settings, so that the mobile terminal can operate normally; and if the mobile terminal is not started for the first time, it will load the normal operating system desktop after startup. Therefore, in S101, it is necessary to detect the running interface of the mobile terminal after it is started, so as to determine whether the mobile terminal is started for the first time after leaving the factory or after flashing and reinstalling the operating system.

在S102中,若所述移动终端的运行界面为预设的开机初始化引导界面,则检测所述移动终端的客户识别模块(SubscriberIdentityModule,SIM)卡槽中是否插入了SIM卡。In S102, if the running interface of the mobile terminal is a preset startup initialization guide interface, it is detected whether a SIM card is inserted into a subscriber identity module (Subscriber Identity Module, SIM) card slot of the mobile terminal.

基于S101的检测结果,若移动终端在启动后的运行界面为操作系统预设的开机初始化引导界面,则进一步对移动终端的SIM卡槽的相关管脚进行检测,以判断SIM卡槽中是否插入了SIM卡。Based on the detection result of S101, if the operating interface of the mobile terminal after startup is the boot initialization boot interface preset by the operating system, then the relevant pins of the SIM card slot of the mobile terminal are further detected to determine whether the SIM card slot is inserted SIM card.

在S103中,若所述移动终端的SIM卡槽中插入了SIM卡,保持所述移动终端处于开机状态。In S103, if a SIM card is inserted into the SIM card slot of the mobile terminal, keep the mobile terminal in a power-on state.

基于S101的检测结果,若移动终端的SIM卡槽中插入了SIM卡,那么显然,移动终端是已被售出且已被拆封,此时保持移动终端处于开机状态,以便于用户在对移动终端进行初始化设置之后,正常使用移动终端。Based on the detection result of S101, if the SIM card is inserted into the SIM card slot of the mobile terminal, it is obvious that the mobile terminal has been sold and unpacked. After the terminal is initialized, the mobile terminal can be used normally.

在S104中,若所述移动终端的SIM卡槽中未插入SIM卡,当符合预设的操作条件时,对所述移动终端执行关机操作。In S104, if no SIM card is inserted into the SIM card slot of the mobile terminal, and a preset operating condition is met, a power-off operation is performed on the mobile terminal.

而若移动终端的SIM卡槽中未插入SIM卡,则进一步判断移动终端是否符合预设的操作条件,是则对移动终端执行关机操作。And if no SIM card is inserted in the SIM card slot of the mobile terminal, it is further judged whether the mobile terminal meets the preset operating conditions, and if so, the mobile terminal is shut down.

作为预设的操作条件的一种特殊处理方式,可以在检测出移动终端的SIM卡槽中未插入SIM卡之后,即认为移动终端处于未拆封状态,立即执行关机操作。而优先地,对S104的处理可以依照图2所示的方式进行:As a special processing method for preset operating conditions, after detecting that no SIM card is inserted into the SIM card slot of the mobile terminal, the mobile terminal is considered to be in an unopened state, and the shutdown operation is performed immediately. And preferably, the processing of S104 can be carried out according to the manner shown in FIG. 2:

在S201中,若所述移动终端的SIM卡槽中未插入SIM卡,监听所述移动终端的操作事件。In S201, if no SIM card is inserted into the SIM card slot of the mobile terminal, monitor an operation event of the mobile terminal.

在检测出移动终端的SIM卡槽中未插入SIM卡之后,首先,启动监听线程,对移动终端的操作事件进行监听。其中,监听所述移动终端的操作事件包括:After detecting that no SIM card is inserted into the SIM card slot of the mobile terminal, firstly, a monitoring thread is started to monitor operation events of the mobile terminal. Wherein, monitoring the operation event of the mobile terminal includes:

监听所述移动终端的触屏事件;和/或monitor the touch screen event of the mobile terminal; and/or

监听所述移动终端的按键事件,例如,音量加减键的按键事件或者开关键的按键事件。Monitoring the key event of the mobile terminal, for example, the key event of the volume up and down key or the key event of the on/off key.

在S202中,启动预设的定时器。In S202, start a preset timer.

在开启监听线程的同时,在移动终端内部启动预设的定时器,该定时器的定时时长可调,示例性地,该定时器的定时时长可以为30分钟。When the monitoring thread is started, a preset timer is started inside the mobile terminal, and the timing duration of the timer is adjustable. Exemplarily, the timing duration of the timer can be 30 minutes.

在S203中,若在所述预设的定时器定时到达之前,未监听到所述移动终端产生操作事件,则对所述移动终端执行关机操作。In S203, if no operation event is detected from the mobile terminal before the preset timer arrives, perform a power-off operation on the mobile terminal.

在定时器的定时时长之内,若没有监听到移动终端产生上述任一操作事件,则认为移动终端是处于未拆封状态,对移动终端执行关机操作,关闭操作系统,切断电源。Within the timing duration of the timer, if the mobile terminal is not detected to generate any of the above-mentioned operation events, then the mobile terminal is considered to be in an unopened state, and the mobile terminal is shut down, the operating system is turned off, and the power supply is cut off.

进一步地,作为本发明的一个实施例,如图3所示,在图2所示实施例的基础之上,还包括S204:Further, as an embodiment of the present invention, as shown in FIG. 3 , on the basis of the embodiment shown in FIG. 2 , S204 is also included:

若在所述预设的定时器定时到达之前,监听到所述移动终端产生了操作事件,重启所述预设的定时器。If it is detected that the mobile terminal has generated an operation event before the preset timer expires, the preset timer is restarted.

此时,若监听到了移动终端产生了操作事件,则暂不对移动终端执行关机操作,而是重启预设的定时器,重新开始定时计时,并继续保持对操作事件的监听,以避免该操作事件仍旧是因为移动终端的包装盒在运输过程中出现剧烈晃动或大力按压而产生的误操作。At this time, if it is detected that the mobile terminal has generated an operation event, the mobile terminal will not be shut down temporarily, but the preset timer will be restarted, the timing will be restarted, and the operation event will continue to be monitored to avoid the operation event. The misoperation is still caused by violent shaking or strong pressing of the packaging box of the mobile terminal during transportation.

进一步地,作为本发明的一个实施例,基于S101的检测结果,若移动终端的SIM卡槽中未插入SIM卡,如图4所示,所述方法还包括:Further, as an embodiment of the present invention, based on the detection result of S101, if no SIM card is inserted into the SIM card slot of the mobile terminal, as shown in FIG. 4 , the method further includes:

S105,若所述移动终端的SIM卡槽中未插入SIM卡,检测所述预设的开机初始化引导界面是否由第一引导界面切换至第二引导界面。S105. If no SIM card is inserted into the SIM card slot of the mobile terminal, detect whether the preset boot initialization guide interface is switched from the first guide interface to the second guide interface.

S106,若所述预设的开机初始化引导界面由第一引导界面切换至第二引导界面,保持所述移动终端处于开机状态。S106, if the preset boot initialization guide interface is switched from the first guide interface to the second guide interface, keep the mobile terminal in a power-on state.

本实施例针对了用户在对移动终端进行拆封之后,暂未向移动终端插入SIM卡的情况,通过将预设的开机初始化引导界面是否产生了切换作为判断条件,若引导界面发生了切换,初始化过程由引导步骤一运行至了引导步骤二,则表明是用户在对移动终端执行初始化操作,而非移动终端在运输过程中所产生的误操作,那么,针对该种情况,仍然保持移动终端处于开机状态。This embodiment is aimed at the situation that the user has not inserted a SIM card into the mobile terminal after unpacking the mobile terminal. By using whether the preset boot initialization guide interface has been switched as the judgment condition, if the guide interface has been switched, The initialization process runs from the first step of the guidance to the second step of the guidance, which indicates that the user is performing the initialization operation on the mobile terminal, rather than the misoperation of the mobile terminal during the transportation process. In this case, the mobile terminal is still kept is powered on.

基于上述对移动终端的开机方法的实施例阐述可知,本发明实施例所采用的方案能够有效地判别移动终端是在拆封后产生的开机操作,还是在未拆封情况下产生的开机误操作,并针对后一种情况及时地关闭移动终端的电源,保证移动终端在拆封时还能够预存一定的电量,以供用户对移动终端执行初始化设置,有效地避免了因移动终端在出厂运输过程中所产生的误开机操作导致的电量耗尽。Based on the above description of the embodiment of the booting method of the mobile terminal, it can be known that the solution adopted in the embodiment of the present invention can effectively determine whether the mobile terminal is a booting operation after unpacking or a booting misoperation when it is not unpacked. , and turn off the power of the mobile terminal in time for the latter case, to ensure that the mobile terminal can still store a certain amount of power when it is unpacked, so that the user can perform initialization settings on the mobile terminal, effectively avoiding the problem caused by the mobile terminal being in the factory during transportation. The battery is exhausted due to the wrong power-on operation in the battery.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.

对应于上文实施例所述的移动终端的开机方法,图5示出了本发明实施例提供的移动终端的开机装置的结构框图,所述移动终端的开机装置可以是内置于移动终端或移动终端的应用系统内的软件单元、硬件单元或者是软硬结合的单元。为了便于说明,仅示出了与本实施例相关的部分。Corresponding to the booting method of the mobile terminal described in the above embodiments, Fig. 5 shows a structural block diagram of the booting device of the mobile terminal provided by the embodiment of the present invention, the booting device of the mobile terminal may be built in the mobile terminal or a mobile A software unit, a hardware unit, or a combination of software and hardware in the application system of the terminal. For ease of description, only the parts related to this embodiment are shown.

参照图5,该装置包括:Referring to Figure 5, the device includes:

第一检测单元51,在接收到由开机键触发的开机指令之后,检测移动终端的运行界面;The first detection unit 51 detects the running interface of the mobile terminal after receiving the power-on command triggered by the power-on key;

第二检测单元52,若所述移动终端的运行界面为预设的开机初始化引导界面,则检测所述移动终端的客户识别模块SIM卡槽中是否插入了SIM卡;The second detection unit 52, if the operating interface of the mobile terminal is a preset startup initialization guide interface, then detect whether a SIM card is inserted in the SIM card slot of the customer identification module of the mobile terminal;

第一处理单元53,若所述移动终端的SIM卡槽中插入了SIM卡,保持所述移动终端处于开机状态;The first processing unit 53, if a SIM card is inserted into the SIM card slot of the mobile terminal, keeps the mobile terminal in a power-on state;

第二处理单元54,若所述移动终端的SIM卡槽中未插入SIM卡,当符合预设的操作条件时,对所述移动终端执行关机操作。The second processing unit 54, if no SIM card is inserted into the SIM card slot of the mobile terminal, executes a power-off operation on the mobile terminal when preset operating conditions are met.

可选地,所述第二处理单元54包括:Optionally, the second processing unit 54 includes:

监听子单元,若所述移动终端的SIM卡槽中未插入SIM卡,监听所述移动终端的操作事件;The monitoring subunit monitors the operation event of the mobile terminal if no SIM card is inserted into the SIM card slot of the mobile terminal;

定时子单元,启动预设的定时器;The timing subunit starts a preset timer;

关机子单元,若在所述预设的定时器定时到达之前,未监听到所述移动终端产生操作事件,则对所述移动终端执行关机操作。The power-off subunit executes a power-off operation on the mobile terminal if no operation event is detected from the mobile terminal before the preset timer arrives.

可选地,所述第二处理单元54还包括:Optionally, the second processing unit 54 also includes:

重启子单元,用于若在所述预设的定时器定时到达之前,监听到所述移动终端产生了操作事件,重启所述预设的定时器。The restart subunit is configured to restart the preset timer if it detects that the mobile terminal generates an operation event before the preset timer arrives.

可选地,所述监听子单元具体用于:Optionally, the monitoring subunit is specifically used for:

监听所述移动终端的触屏事件;和/或monitor the touch screen event of the mobile terminal; and/or

监听所述移动终端的按键事件。and monitor the key event of the mobile terminal.

可选地,所述装置还包括:Optionally, the device also includes:

第三检测单元,若所述移动终端的SIM卡槽中未插入SIM卡,检测所述预设的开机初始化引导界面是否由第一引导界面切换至第二引导界面;The third detection unit, if no SIM card is inserted into the SIM card slot of the mobile terminal, detects whether the preset boot initialization guide interface is switched from the first guide interface to the second guide interface;

第三处理单元,若所述预设的开机初始化引导界面由第一引导界面切换至第二引导界面,保持所述移动终端处于开机状态。The third processing unit is configured to keep the mobile terminal in a power-on state if the preset boot initialization guide interface is switched from the first guide interface to the second guide interface.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist separately physically, or two or more units can be integrated into one unit, and the above-mentioned integrated units can either adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明实施例各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,RandomAccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage The medium includes several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disk or optical disk and other media that can store program codes.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例各实施例技术方案的精神和范围。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1. a starting-up method for mobile terminal, is characterized in that, comprising:
After receiving the start-up command triggered by key, detect the runnable interface of mobile terminal;
If the runnable interface of described mobile terminal is default opening initialization guide interface, then detect in the client identification module sim card slot of described mobile terminal whether insert SIM card;
If insert SIM card in the sim card slot of described mobile terminal, described mobile terminal is kept to be in open state;
If do not insert SIM card in the sim card slot of described mobile terminal, when meeting default operating condition, power-off operation is performed to described mobile terminal.
2. the method for claim 1, is characterized in that, if do not insert SIM card in the sim card slot of described mobile terminal, when meeting default operating condition, performing power-off operation comprise described mobile terminal:
If do not insert SIM card in the sim card slot of described mobile terminal, monitor the Action Events of described mobile terminal;
Start the timer preset;
If before described default timer timing arrives, do not hear described mobile terminal and produce Action Events, then perform power-off operation to described mobile terminal.
3. method as claimed in claim 2, is characterized in that, if do not insert SIM card in the sim card slot of described mobile terminal, when meeting default operating condition, performing power-off operation also comprise described mobile terminal:
If before described default timer timing arrives, listen to described mobile terminal and create Action Events, restart described default timer.
4. method as claimed in claim 2 or claim 3, it is characterized in that, the Action Events of the described mobile terminal of described monitoring comprises:
Monitor the touch screen event of described mobile terminal; And/or
Monitor the key-press event of described mobile terminal.
5. the method for claim 1, is characterized in that, described method also comprises:
If do not insert SIM card in the sim card slot of described mobile terminal, detect described default opening initialization and guide interface whether to guide changing interface to the second to guide interface by first;
If described default opening initialization guides interface to guide changing interface to the second to guide interface by first, described mobile terminal is kept to be in open state.
6. an opening device for mobile terminal, is characterized in that, comprising:
First detecting unit, for after receiving the start-up command triggered by key, detects the runnable interface of mobile terminal;
Second detecting unit, if be that default opening initialization guides interface for the runnable interface of described mobile terminal, then detects in the client identification module sim card slot of described mobile terminal whether insert SIM card;
First processing unit, if insert SIM card in the sim card slot for described mobile terminal, keeps described mobile terminal to be in open state;
Second processing unit, if do not insert SIM card in the sim card slot for described mobile terminal, when meeting default operating condition, performs power-off operation to described mobile terminal.
7. device as claimed in claim 6, it is characterized in that, described second processing unit comprises:
Monitor subelement, if do not insert SIM card in the sim card slot for described mobile terminal, monitor the Action Events of described mobile terminal;
Timing subelement, for starting default timer;
Shutdown subelement, if for before described default timer timing arrival, do not hear described mobile terminal and produce Action Events, then perform power-off operation to described mobile terminal.
8. device as claimed in claim 7, it is characterized in that, described second processing unit also comprises:
Restart subelement, if for before described default timer timing arrival, listen to described mobile terminal and create Action Events, restart described default timer.
9. as claimed in claim 7 or 8 device, is characterized in that, described monitoring subelement specifically for:
Monitor the touch screen event of described mobile terminal; And/or
Monitor the key-press event of described mobile terminal.
10. device as claimed in claim 6, it is characterized in that, described device also comprises:
Whether the 3rd detecting unit, if do not insert SIM card in the sim card slot for described mobile terminal, detect described default opening initialization and guide interface to guide changing interface to the second to guide interface by first;
3rd processing unit, if guide interface to guide changing interface to the second to guide interface by first for described default opening initialization, keeps described mobile terminal to be in open state.
CN201510945370.7A 2015-12-16 2015-12-16 Method and device for starting mobile terminal Pending CN105554275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510945370.7A CN105554275A (en) 2015-12-16 2015-12-16 Method and device for starting mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510945370.7A CN105554275A (en) 2015-12-16 2015-12-16 Method and device for starting mobile terminal

Publications (1)

Publication Number Publication Date
CN105554275A true CN105554275A (en) 2016-05-04

Family

ID=55833206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510945370.7A Pending CN105554275A (en) 2015-12-16 2015-12-16 Method and device for starting mobile terminal

Country Status (1)

Country Link
CN (1) CN105554275A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108469892A (en) * 2018-03-01 2018-08-31 珠海市魅族科技有限公司 Mobile terminal, control method and storage medium
CN109600779A (en) * 2018-12-30 2019-04-09 Tcl移动通信科技(宁波)有限公司 A kind of SIM card falls card identification method, intelligent terminal and storage medium
CN110297518A (en) * 2019-06-20 2019-10-01 合肥联宝信息技术有限公司 A kind of method of time measurement, device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5905964A (en) * 1996-02-26 1999-05-18 Sony Corporation Portable communication apparatus
CN101127995A (en) * 2007-09-24 2008-02-20 中兴通讯股份有限公司 An information processing method for phone-card separated mobile terminal
CN103856620A (en) * 2012-12-06 2014-06-11 华为终端有限公司 Method and device for controlling terminal to close down
CN104869235A (en) * 2015-04-27 2015-08-26 广东欧珀移动通信有限公司 Method, device and system for preventing error starting-up and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5905964A (en) * 1996-02-26 1999-05-18 Sony Corporation Portable communication apparatus
CN101127995A (en) * 2007-09-24 2008-02-20 中兴通讯股份有限公司 An information processing method for phone-card separated mobile terminal
CN103856620A (en) * 2012-12-06 2014-06-11 华为终端有限公司 Method and device for controlling terminal to close down
CN104869235A (en) * 2015-04-27 2015-08-26 广东欧珀移动通信有限公司 Method, device and system for preventing error starting-up and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108469892A (en) * 2018-03-01 2018-08-31 珠海市魅族科技有限公司 Mobile terminal, control method and storage medium
CN109600779A (en) * 2018-12-30 2019-04-09 Tcl移动通信科技(宁波)有限公司 A kind of SIM card falls card identification method, intelligent terminal and storage medium
CN110297518A (en) * 2019-06-20 2019-10-01 合肥联宝信息技术有限公司 A kind of method of time measurement, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN103425506B (en) Closedown method and starting-up method and communication terminal
CN105633495B (en) Electronic equipment and battery management method thereof
CN102622079B (en) Sleep method, wakening method and mobile terminal device
CN108737869B (en) Smart television starting processing method based on human body induction and smart television system
CN109067416B (en) Method for realizing hot plug and start of SIM card and intelligent hardware
WO2014106499A1 (en) Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal
CN108132401A (en) Charging abnormity detection method and device, storage medium and mobile terminal
CN109753297A (en) Method for upgrading software, device and readable storage medium storing program for executing when terminal standby
US20220248123A1 (en) Wireless earphone serial port control method and apparatus, wireless earphone, and storage medium
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
CN112955879B (en) Electronic device and method for transmitting and receiving control signals
EP2372491A1 (en) Power lock-up setting method and electronic apparatus using the same
CN105867579A (en) Terminal control method and apparatus as well as terminal
CN105530600A (en) Anti-loss method and anti-loss system for mobile terminal, and mobile terminal
WO2024078218A1 (en) System booting method and electronic device
CN107844341B (en) Process starting control method and device, storage medium and mobile terminal
CN105022955A (en) Locking method and mobile terminal of application program
CN109032826A (en) WiFi fault recovery method, device, storage medium and electronic equipment
CN105554275A (en) Method and device for starting mobile terminal
CN106681813B (en) System management method and device
CN108833981B (en) Startup and shutdown method
CN104836869A (en) Mobile communication terminal and mobile communication terminal power-on method
CN107395955A (en) Method for determining power-on time sequence of camera module and user terminal
KR20150086932A (en) Method for processing data and an electronic device thereof
CN104102498A (en) Mobile terminal and booting method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160504

RJ01 Rejection of invention patent application after publication