技术领域technical field
本发明涉及终端技术领域,具体涉及一种备份信息的方法及装置。The invention relates to the technical field of terminals, in particular to a method and device for backing up information.
背景技术Background technique
随着电子通信技术的快速发展,移动终端的功能越来越强大,给人们的生活带来越来越多的便利,触摸屏移动终端如智能手机、平板电脑等已经成为人们日常生活中不可或缺的重要工具。With the rapid development of electronic communication technology, the functions of mobile terminals are becoming more and more powerful, bringing more and more convenience to people's lives. Touch-screen mobile terminals such as smart phones and tablet computers have become indispensable in people's daily life. important tool.
然而,随着触摸屏移动终端的广泛使用,在移动终端的使用过程中屏幕失灵(即移动终端对于用户的触摸操作无响应)的情况时有发生,有时候是由移动终端的硬件故障引起,有时候是由于移动终端的软件运行错误导致。但是,不管是何种原因导致的屏幕失灵,都会影响用户的正常使用。例如,当硬件故障导致屏幕失灵时,甚至会造成系统中重要的用户信息(例如,联系人信息,通讯记录等)丢失,致使移动终端的稳定性低。However, with the widespread use of touch-screen mobile terminals, screen failures (that is, the mobile terminal does not respond to the user's touch operation) occur from time to time during the use of the mobile terminal, sometimes caused by a hardware failure of the mobile terminal, sometimes Sometimes it is caused by the software operation error of the mobile terminal. However, no matter what causes the screen failure, it will affect the normal use of the user. For example, when a hardware failure causes the screen to fail, it may even cause loss of important user information (eg, contact information, communication records, etc.) in the system, resulting in low stability of the mobile terminal.
发明内容Contents of the invention
本发明实施例提供一种备份信息的方法及装置,可以解决现有技术中移动终端屏幕失灵造成用户信息丢失进而导致移动终端稳定性低的技术问题。Embodiments of the present invention provide a method and device for backing up information, which can solve the technical problem in the prior art that user information is lost due to screen failure of a mobile terminal, which leads to low stability of the mobile terminal.
本发明实施例提供一种备份信息的方法,包括:An embodiment of the present invention provides a method for backing up information, including:
接收配件发送的电信号;Receive electrical signals sent by accessories;
判断所述电信号是否满足预设条件;judging whether the electrical signal satisfies a preset condition;
若是,则根据所述电信号生成相应的备份指令;If so, generate a corresponding backup instruction according to the electrical signal;
根据所述备份指令将目标信息备份到预定存储区域。The target information is backed up to a predetermined storage area according to the backup instruction.
进一步地,所述根据所述电信号生成相应的备份指令步骤之前,所述方法还包括:Further, before the step of generating a corresponding backup instruction according to the electrical signal, the method further includes:
判断在第一预设时间段内是否通过屏幕接收到输入信息;judging whether input information is received through the screen within the first preset time period;
若否,则执行根据所述电信号生成相应的备份指令的步骤。If not, execute the step of generating a corresponding backup instruction according to the electrical signal.
进一步地,所述接收配件发送的电信号的步骤具体包括:Further, the step of receiving the electrical signal sent by the accessory specifically includes:
接收用户长按配件上的按键触发的电信号;Receive the electrical signal triggered by the user long pressing the button on the accessory;
所述判断所述电信号是否满足预设条件的步骤具体包括:The step of judging whether the electrical signal meets a preset condition specifically includes:
获取所述电信号的持续时长;Obtain the duration of the electrical signal;
判断所述持续时长是否大于或等于预设时长;judging whether the duration is greater than or equal to a preset duration;
若是,则判断所述电信号满足预设条件;If yes, then judging that the electrical signal satisfies a preset condition;
若否,则判断所述电信号不满足预设条件。If not, it is determined that the electrical signal does not satisfy a preset condition.
进一步地,所述接收配件发送的电信号的步骤具体包括:Further, the step of receiving the electrical signal sent by the accessory specifically includes:
接收用户短按配件上的按键触发的电信号;Receive the electrical signal triggered by the user short pressing the button on the accessory;
所述判断所述电信号是否满足预设条件的步骤具体包括:The step of judging whether the electrical signal meets a preset condition specifically includes:
获取在第二预设时间段内所述电信号出现的次数;Obtain the number of occurrences of the electrical signal within a second preset time period;
判断所述次数是否大于或等于预设次数;judging whether the number of times is greater than or equal to a preset number of times;
若是,则判断所述电信号满足预设条件;If yes, then judging that the electrical signal satisfies a preset condition;
若否,则判断所述电信号不满足预设条件。If not, it is determined that the electrical signal does not satisfy a preset condition.
进一步地,所述根据所述备份指令将目标信息备份到预定存储区域步骤之后,所述方法还包括:Further, after the step of backing up target information to a predetermined storage area according to the backup instruction, the method further includes:
提取终端系统的日志文件;Extract the log files of the terminal system;
运行所述日志文件,并显示所述日志文件中最新记录的信息。Run the log file and display the most recent recorded information in the log file.
相应的,本发明实施例提供一种备份信息的装置,包括:Correspondingly, an embodiment of the present invention provides a device for backing up information, including:
接收模块,用于接收配件发送的电信号;The receiving module is used to receive the electrical signal sent by the accessories;
第一判断模块,用于判断所述电信号是否满足预设条件;A first judging module, configured to judge whether the electrical signal satisfies a preset condition;
指令模块,用于在所述第一判断模块判断为是时,根据所述电信号生成相应的备份指令;An instruction module, configured to generate a corresponding backup instruction according to the electrical signal when the judgment of the first judging module is yes;
第一执行模块,用于根据所述备份指令将目标信息备份到预定存储区域。The first execution module is configured to back up the target information to a predetermined storage area according to the backup instruction.
进一步地,所述装置还包括:Further, the device also includes:
第二判断模块,用于判断在第一预设时间段内是否通过屏幕接收到输入信息;The second judging module is used to judge whether input information is received through the screen within the first preset time period;
所述指令模块,用于在所述第二判断模块判断为否时,根据所述电信号生成相应的备份指令。The instruction module is configured to generate a corresponding backup instruction according to the electrical signal when the second judging module judges no.
进一步地,所述接收模块具体用于接收用户长按配件上的按键触发的电信号,所述第一判断模块具体包括:Further, the receiving module is specifically configured to receive an electrical signal triggered by a user long pressing a button on the accessory, and the first judging module specifically includes:
第一获取子模块,用于获取所述电信号的持续时长;The first acquisition submodule is used to acquire the duration of the electrical signal;
第一判断子模块,用于判断所述持续时长是否大于或等于预设时长;当判断为是时,所述第一判断模块判断所述电信号满足预设条件;当判断为否时,所述第一判断模块判断所述电信号不满足预设条件。The first judgment submodule is used to judge whether the duration is greater than or equal to the preset duration; when the judgment is yes, the first judgment module judges that the electrical signal meets the preset condition; when the judgment is no, the The first judging module judges that the electrical signal does not satisfy a preset condition.
进一步地,所述接收模块具体用于接收用户短按配件上的按键触发的电信号,所述第一判断模块具体包括:Further, the receiving module is specifically configured to receive an electrical signal triggered by a short press of a button on the accessory by the user, and the first judging module specifically includes:
第二获取子模块,用于获取在第二预设时间段内所述电信号出现的次数;The second acquisition submodule is used to acquire the number of occurrences of the electrical signal within the second preset time period;
第二判断子模块,用于判断所述次数是否大于或等于预设次数;当判断为是时,所述第一判断模块判断所述电信号满足预设条件;当判断为否时,所述第一判断模块判断所述电信号不满足预设条件。The second judging submodule is used to judge whether the number of times is greater than or equal to the preset number of times; when the judgment is yes, the first judgment module judges that the electrical signal meets the preset condition; when the judgment is no, the The first judging module judges that the electrical signal does not satisfy a preset condition.
进一步地,所述装置还包括第二执行模块,所述第二执行模块用于:Further, the device also includes a second execution module, and the second execution module is used for:
提取终端系统的日志文件;Extract the log files of the terminal system;
运行所述日志文件,并显示所述日志文件中最新记录的信息。Run the log file and display the most recent recorded information in the log file.
本发明实施例提供一种备份信息的方法,采用接收配件发送的电信号,判断该电信号是否满足预设条件,若是,则根据该电信号生成相应的备份指令,并根据该备份指令将目标信息备份到预定存储区域的技术方案;该方案在接收到配件发送的电信号后会判断该电信号是否满足预设条件,电信号满足预设条件时生成相应的备份指令并备份目标信息,相对于现有技术而言,可以在移动终端屏幕失灵时接收配件发送的电信号来备份信息,减少了由于移动终端屏幕失灵而导致信息丢失,提高了移动终端的稳定性。The embodiment of the present invention provides a method for backing up information. The electric signal sent by the receiving accessory is used to judge whether the electric signal satisfies the preset condition. If so, a corresponding backup instruction is generated according to the electric signal, and the target The technical scheme of backing up information to a predetermined storage area; this scheme will judge whether the electrical signal meets the preset condition after receiving the electrical signal sent by the accessory, and generate a corresponding backup instruction and back up the target information when the electrical signal meets the preset condition. Compared with the prior art, when the screen of the mobile terminal fails, the electronic signal sent by the accessory can be received to back up the information, which reduces the loss of information caused by the screen failure of the mobile terminal and improves the stability of the mobile terminal.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例一提供的备份信息的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for backing up information provided by Embodiment 1 of the present invention;
图2是本发明实施例二提供的备份信息的方法的流程示意图;FIG. 2 is a schematic flowchart of a method for backing up information provided in Embodiment 2 of the present invention;
图3a是本发明实施例三提供的第一种备份信息的装置的结构示意图;Fig. 3a is a schematic structural diagram of the first device for backing up information provided by Embodiment 3 of the present invention;
图3b是本发明实施例三提供的第二种备份信息的装置的结构示意图;Fig. 3b is a schematic structural diagram of a second device for backing up information provided by Embodiment 3 of the present invention;
图3c是本发明实施例三提供的第三种备份信息的装置的结构示意图;Fig. 3c is a schematic structural diagram of a third device for backing up information provided by Embodiment 3 of the present invention;
图3d是本发明实施例三提供的第四种备份信息的装置的结构示意图;Fig. 3d is a schematic structural diagram of a fourth device for backing up information provided by Embodiment 3 of the present invention;
图3e是本发明实施例三提供的第五种备份信息的装置的结构示意图。Fig. 3e is a schematic structural diagram of a fifth device for backing up information provided by Embodiment 3 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供一种备份信息的方法及装置,以下将分别进行详细说明。Embodiments of the present invention provide a method and device for backing up information, which will be described in detail below.
实施例一Embodiment one
本实施例将从备份信息的装置的角度进行描述,该装置具体可以集成在移动终端中,该移动终端可以为智能手机、平板电脑等设备。This embodiment will be described from the perspective of a device for backing up information. Specifically, the device may be integrated into a mobile terminal, and the mobile terminal may be a smart phone, a tablet computer, or other devices.
一种备份信息的方法,包括:接收配件发送的电信号,判断该电信号是否满足预设条件;若是,则根据该电信号生成相应的备份指令,并根据该备份指令将目标信息备份到预定存储区域。A method for backing up information, comprising: receiving an electrical signal sent by an accessory, and judging whether the electrical signal satisfies a preset condition; if so, generating a corresponding backup instruction according to the electrical signal, and backing up target information to a predetermined location according to the backup instruction. storage area.
如图1所示,该备份信息的方法,具体流程可以如下:As shown in Figure 1, the method for backing up information, the specific process can be as follows:
S101,接收配件发送的电信号。S101. Receive an electrical signal sent by an accessory.
具体地,该配件为移动终端的配件,例如,耳机、数据线等,该配件上设置有按键,例如,耳机上的hook键(或称为开关键),该电信号具体可以为电压信号或电流信号。Specifically, the accessory is an accessory of a mobile terminal, such as an earphone, a data cable, etc., and the accessory is provided with a key, for example, a hook key (or called a switch key) on the earphone, and the electrical signal may specifically be a voltage signal or current signal.
实际应用中,用户将配件连接到移动终端后,通过按压该配件上的按键(hook键)产生电信号,该电信号被发送给移动终端。通常,用户按压按键的方式有两种,即长按和短按;用户长按按键时,产生持续一段时间的电信号发送给移动终端,例如,用户长按按键5s,则产生持续5s的高电平信号发送给移动终端;用户短按按键时,通过单次按压或快速多次按压按键来产生电信号发送给移动终端,例如,用户在5s内快速按压按键5次,则产生5次高电平信号发送给移动终端。In practical applications, after the user connects the accessory to the mobile terminal, he presses a button (hook key) on the accessory to generate an electrical signal, and the electrical signal is sent to the mobile terminal. Generally, there are two ways for a user to press a button, namely long press and short press; when the user presses the button for a long time, an electrical signal that lasts for a period of time is generated and sent to the mobile terminal. For example, if the user presses the button for 5s, it generates a high The level signal is sent to the mobile terminal; when the user presses the button for a short time, an electrical signal is generated by pressing the button once or multiple times quickly and sent to the mobile terminal. For example, if the user quickly presses the button 5 times within 5s, it will generate 5 high The level signal is sent to the mobile terminal.
实际应用中,移动终端还可以检测是否已连接配件。以耳机为例,在移动终端的耳机插孔处设置有检测引脚,该检测引脚存在一定电势,当耳机插入时,该检测引脚与电源的连接被断开,检测引脚的输出变为低电平,当移动终端的处理器接收到该检测引脚输出的低电平信号时,即可判断耳机已连接到移动终端。In practical applications, the mobile terminal can also detect whether an accessory is connected. Taking earphones as an example, a detection pin is set at the earphone jack of the mobile terminal, and the detection pin has a certain potential. When the earphone is inserted, the connection between the detection pin and the power supply is disconnected, and the output of the detection pin changes. When the processor of the mobile terminal receives the low-level signal output by the detection pin, it can be judged that the earphone has been connected to the mobile terminal.
S102,判断该电信号是否满足预设条件。S102, judging whether the electrical signal satisfies a preset condition.
具体地,该预设条件可以是移动终端中预先存储的关于电信号的信息,例如,电压幅值、电流大小、高电平持续的时间、高电平出现的次数等,该预设条件也可以是用户设置并存储在移动终端中的关于电信号的状态。Specifically, the preset condition may be information about electrical signals pre-stored in the mobile terminal, for example, voltage amplitude, current magnitude, duration of high level, number of times of high level, etc., and the preset condition is also It may be the state about the electric signal set by the user and stored in the mobile terminal.
具体应用中,针对该电信号为用户长按配件(例如,耳机)上的按键(例如,hook键)所触发的电信号,判断该电信号是否满足预设条件可以如下:In a specific application, considering that the electrical signal is an electrical signal triggered by the user long pressing a button (eg, a hook button) on an accessory (eg, an earphone), judging whether the electrical signal meets a preset condition can be as follows:
获取该电信号的持续时长;Obtain the duration of the electrical signal;
判断该持续时长是否大于或等于预设时长。It is judged whether the duration is greater than or equal to a preset duration.
具体地,当用户长按配件上的按键时,配件电路中产生持续的高电平信号发送给移动终端,移动终端接收到高电平信号时启动计时,当用户松开按键时,配件电路中恢复低电平并将低电平信号发送给移动终端,移动终端接收到低电平信号(也即高电平信号结束)时停止计时;移动终端获取该计时的时长,并将该时长作为该电信号的持续时长,随后调取移动终端中存储的预设时长,将该持续时长与该预设时长进行比较,以判断该持续时长是否大于或等于该预设时长。当判断为是时,执行步骤S103;当判断为否时,结束流程。Specifically, when the user presses the button on the accessory for a long time, a continuous high-level signal is generated in the accessory circuit and sent to the mobile terminal. When the mobile terminal receives the high-level signal, it starts timing. When the user releases the button, the Restore the low level and send the low level signal to the mobile terminal, and stop timing when the mobile terminal receives the low level signal (that is, the end of the high level signal); the mobile terminal obtains the duration of the timing, and uses the duration as the The duration of the electrical signal, and then call the preset duration stored in the mobile terminal, and compare the duration with the preset duration to determine whether the duration is greater than or equal to the preset duration. When the judgment is yes, execute step S103; when the judgment is no, end the process.
该预设时长可以是移动终端中预先存储的一个时长,例如5s,也可以是用户设置并存储在移动终端中的一个时长。The preset duration may be a duration pre-stored in the mobile terminal, such as 5s, or a duration set by the user and stored in the mobile terminal.
具体应用中,针对该电信号为用户短按配件上的按键所触发的电信号,判断该电信号是否满足预设条件可以如下:In a specific application, considering that the electrical signal is an electrical signal triggered by a short press of a button on the accessory by the user, judging whether the electrical signal meets the preset conditions can be as follows:
获取在预设时间段内该电信号出现的次数;Obtain the number of occurrences of the electrical signal within a preset time period;
判断该次数是否大于或等于预设次数。It is judged whether the number of times is greater than or equal to the preset number of times.
具体地,当用户短按配件上的按键时,每按下按键一次,配件电路中产生一次高电平信号发送给移动终端,移动终端接收到高电平信号时启动计数,并将该计数持续预设时间(例如,5s),在该预设时间段内每接收到一次高电平信号时将计数数值增加1,持续预设时间后计数结束;移动终端获取该计数的数值,并将该数值作为该预设时间段内该电信号出现的次数,随后调取移动终端中存储的预设次数,将该次数与该预设次数进行比较,以判断该次数是否大于或等于该预设次数。当判断为是时,执行步骤S103;当判断为否时,结束流程。Specifically, when the user short presses the button on the accessory, every time the button is pressed, a high-level signal is generated in the accessory circuit and sent to the mobile terminal. When the mobile terminal receives the high-level signal, it starts counting and continues the counting. For a preset time (for example, 5s), the count value is increased by 1 every time a high-level signal is received within the preset time period, and the count ends after the preset time; the mobile terminal acquires the count value and The numerical value is used as the number of occurrences of the electrical signal within the preset time period, and then the preset number of times stored in the mobile terminal is called, and the number is compared with the preset number of times to determine whether the number of times is greater than or equal to the preset number of times . When the judgment is yes, execute step S103; when the judgment is no, end the process.
该预设次数可以是移动终端中预先存储的一个数值,例如5,也可以是用户设置并存储在移动终端中的一个数值。The preset number of times may be a value pre-stored in the mobile terminal, such as 5, or a value set by the user and stored in the mobile terminal.
S103,根据该电信号生成相应的备份指令。S103. Generate a corresponding backup instruction according to the electrical signal.
具体地,可以在移动终端中预先存储与电信号对应的指令,例如,可以预先存储以下对应关系:持续5s的高电平电信号对应的指令为备份指令。判断电信号满足预设条件后,移动终端根据该电信号生成相应的备份指令,该备份指令指示终端系统来备份设定的信息。Specifically, the instruction corresponding to the electrical signal may be pre-stored in the mobile terminal, for example, the following correspondence may be stored in advance: the instruction corresponding to the high-level electrical signal lasting 5s is a backup instruction. After judging that the electrical signal satisfies the preset condition, the mobile terminal generates a corresponding backup instruction according to the electrical signal, and the backup instruction instructs the terminal system to back up the set information.
实际应用中,当移动终端的屏幕可以接收用户的输入信息(例如,触摸操作)时,若此时移动终端接收到配件发送的电信号,可能该电信号并不是用户所希望的,因为用户可以通过屏幕输入来快速备份信息,从而不需要通过配件输入电信号来备份信息。为了避免用户的误操作而导致不必要的备份信息,在步骤S103之前还可以包括以下步骤:In practical applications, when the screen of the mobile terminal can receive the user's input information (for example, touch operation), if the mobile terminal receives the electrical signal sent by the accessory at this time, the electrical signal may not be what the user wants, because the user can Quickly backup information through screen input, so that there is no need to input electrical signals through accessories to backup information. In order to avoid unnecessary backup information due to user misoperation, the following steps may also be included before step S103:
判断在预设时间段内是否通过屏幕接收到输入信息。It is judged whether input information is received through the screen within a preset time period.
具体应用中,可以通过判断移动终端在一段时间内是否产生对屏幕输入的响应来判断是否通过屏幕接收到用户的输入信息,从而可以判断是否发生屏幕失灵的情况。例如,移动终端在预设的1分钟内产生了多次对屏幕输入的响应,则可判断在预设时间段内通过屏幕接收到了输入信息,进而可以判断未发生屏幕失灵的情况,此时可结束流程;若移动终端在预设的1分钟内没有产生对屏幕输入的响应,则可判断为在预设时间段内没有通过屏幕接收到输入信息,进而可以判断为发生屏幕失灵的情况,此时执行步骤S103。In a specific application, it can be judged whether the mobile terminal has received a user's input information through the screen by judging whether the mobile terminal responds to the screen input within a period of time, so as to judge whether the screen malfunction occurs. For example, if the mobile terminal generates multiple responses to screen input within the preset 1 minute, it can be judged that the input information has been received through the screen within the preset time period, and then it can be judged that no screen failure has occurred. End the process; if the mobile terminal does not generate a response to the screen input within the preset 1 minute, it can be judged that the input information has not been received through the screen within the preset time period, and then it can be judged that the screen has failed. , step S103 is executed.
进一步地,为了更准确地判断是否需要生成相应的备份指令,上述判断在预设时间段内是否通过屏幕接收到输入信息之前,还可以判断屏幕是否被点亮。若屏幕被点亮,则进一步判断在预设时间段内是否通过屏幕接收到输入信息;若屏幕未被点亮,则结束流程。Further, in order to more accurately determine whether a corresponding backup instruction needs to be generated, before the above determination whether input information is received through the screen within a preset time period, it may also be determined whether the screen is turned on. If the screen is lit, it is further judged whether input information is received through the screen within a preset time period; if the screen is not lit, the process ends.
实际应用中,当移动终端屏幕被点亮时,意味着用户可能希望通过屏幕来进行操作以输入信息,若移动终端在预定时间段内没有通过屏幕接收到输入信息,则意味着发生屏幕失灵的情况。In practical applications, when the screen of the mobile terminal is lit, it means that the user may wish to operate through the screen to input information. If the mobile terminal does not receive input information through the screen within a predetermined period of time, it means that the screen is out of order. Condition.
S104,根据该备份指令将目标信息备份到预定存储区域。S104. Back up the target information to a predetermined storage area according to the backup instruction.
具体地,生成相应的备份指令后,移动终端根据该备份指令复制目标信息,并将目标信息备份到预定存储区域。目标信息可以是移动终端中预先设定的信息(例如,通讯录),也可以是用户设定的信息(例如,微信聊天记录),本发明实施例对目标信息的类型不作限定。预定存储区域可以是移动终端中预先设置的存储区域,也可以是用户设置的存储区域,例如,预定存储区域可以是移动终端的内置存储区域,也可以是外置存储区域,还可以是网络服务器上的存储区域,预定存储区域还可以是上述三种存储区域中的任意两种或者三种。Specifically, after generating the corresponding backup instruction, the mobile terminal copies the target information according to the backup instruction, and backs up the target information to a predetermined storage area. The target information may be information preset in the mobile terminal (for example, address book), or information set by the user (for example, WeChat chat records), and the embodiment of the present invention does not limit the type of target information. The predetermined storage area can be a preset storage area in the mobile terminal, or a storage area set by the user. For example, the predetermined storage area can be a built-in storage area of the mobile terminal, an external storage area, or a network server The predetermined storage area can also be any two or three of the above three storage areas.
具体应用中,移动终端会使用日志文件来记录终端系统的运行状况,因此,在完成备份信息后,为了追踪导致屏幕失灵的原因,可以打开日志文件以供用户查看。因此,在步骤S104之后,还可以包括以下步骤:In a specific application, the mobile terminal will use log files to record the operating status of the terminal system. Therefore, after the backup information is completed, in order to trace the cause of the screen failure, the log file can be opened for the user to view. Therefore, after step S104, the following steps may also be included:
提取终端系统的日志文件;Extract the log files of the terminal system;
运行该日志文件,并显示该日志文件中最新记录的信息。Run the log file and display the latest recorded information in the log file.
具体地,可以根据移动终端的日志文件存储路径来提取日志文件,随后运行该日志文件。日志文件中记录有终端系统中发生的每一个事件(例如,运行一个程序、出现一个程序错误、出现一个硬件错误等,都可以称为一个事件)以及发生该事件的时间。日志文件中记录的某个事件发生的时间最接近当前时间时,该事件以及该事件发生的时间即为最新记录的信息,运行日志文件后显示该最新记录的信息,以方便用户通过日志文件中记录的信息来查找导致屏幕失灵的原因。Specifically, the log file may be extracted according to the log file storage path of the mobile terminal, and then the log file may be executed. Each event occurring in the terminal system (for example, running a program, occurrence of a program error, occurrence of a hardware error, etc., can be called an event) and the time when the event occurs are recorded in the log file. When the occurrence time of an event recorded in the log file is closest to the current time, the event and the time of the event are the latest recorded information. After running the log file, the latest recorded information will be displayed to facilitate the user through the log file. Logged information to find the cause of the screen failure.
由上可知,本发明实施例提供的备份信息的方法,采用接收配件发送的电信号,判断该电信号是否满足预设条件,若是,则根据该电信号生成相应的备份指令,并根据该备份指令将目标信息备份到预定存储区域的技术方案;该方案在接收到配件发送的电信号后会判断该电信号是否满足预设条件,电信号满足预设条件时生成相应的备份指令并备份目标信息,相对于现有技术而言,可以在移动终端屏幕失灵时接收配件发送的电信号来备份信息,减少了由于移动终端屏幕失灵而导致信息丢失,提高了移动终端的稳定性。It can be seen from the above that the method for backing up information provided by the embodiment of the present invention uses the electric signal sent by the receiving accessory to judge whether the electric signal satisfies the preset condition, and if so, generates a corresponding backup instruction according to the electric signal, and according to the backup A technical solution that instructs to back up the target information to a predetermined storage area; after receiving the electrical signal sent by the accessory, the program will judge whether the electrical signal meets the preset conditions, and when the electrical signal meets the preset conditions, generate a corresponding backup command and back up the target Information, compared with the prior art, can receive electrical signals sent by accessories to back up information when the mobile terminal screen fails, reducing information loss due to mobile terminal screen failure and improving the stability of the mobile terminal.
实施例二Embodiment two
根据实施例一所描述的方法,以下将举例作进一步详细说明。According to the method described in Embodiment 1, an example will be given below for further detailed description.
在本实施例中,将以备份信息的装置具体集成在智能手机中,以智能手机的备份信息的方法为例进行详细描述。In this embodiment, the device for backing up information will be specifically integrated in the smart phone, and the method for backing up information of the smart phone will be described in detail as an example.
如图2所示,该备份信息的方法,具体流程可以如下:As shown in Figure 2, the method for backing up information, the specific process can be as follows:
S201,接收配件发送的电信号。S201. Receive an electrical signal sent by an accessory.
具体地,该配件为智能手机的配件,例如耳机,该电信号为长按耳机上的hook键所触发的持续高电平信号。例如,用户长按hook键5s,则产生持续5s的高电平信号发送给智能手机,智能手机接收的电信号即为该持续高电平信号。Specifically, the accessory is an accessory of a smart phone, such as an earphone, and the electrical signal is a continuous high-level signal triggered by long pressing a hook button on the earphone. For example, if the user presses the hook button for 5 seconds, a high-level signal that lasts for 5 seconds is generated and sent to the smart phone, and the electrical signal received by the smart phone is the continuous high-level signal.
S202,获取该电信号的持续时长。S202. Acquire the duration of the electrical signal.
具体地,当智能手机接收到耳机发送的电信号由低电平突变为高电平时,调用中断处理函数开始计时,当该电信号由高电平突变为低电平时,中断处理函数计时结束,智能手机获取该计时的时长,该计时的时长即为该电信号的持续时长。该电信号的持续时长可作为用户长按hook键的按键时长。Specifically, when the smart phone receives the electrical signal sent by the earphone from a low level to a high level, it calls the interrupt processing function to start timing, and when the electrical signal changes from a high level to a low level, the interrupt processing function ends the timing, The smart phone obtains the timing duration, which is the duration of the electrical signal. The duration of the electrical signal can be used as the duration for the user to press the hook button for a long time.
实际应用中,用户按下hook键的按键时长、耳机中产生高电平的时长、中断处理函数计时的时长三者之间可能会存在误差,因此,在智能手机获取到计时的时长后,可以在该时长加上一个误差值(例如,0.1s)作为该电信号的持续时长,该修正后的电信号持续时长视为用户长按hook键的按键时长。In practical applications, there may be errors between the duration of the user pressing the hook button, the duration of the high level generated in the earphone, and the timing duration of the interrupt processing function. Therefore, after the smartphone obtains the timing duration, you can An error value (for example, 0.1s) is added to the duration as the duration of the electrical signal, and the corrected duration of the electrical signal is regarded as the duration of the user pressing the hook button for a long time.
S203,判断该持续时长是否大于或等于预设时长。S203. Determine whether the duration is greater than or equal to a preset duration.
具体地,该预设时长可以是智能手机出厂时预先存储在内置存储区域中的一个时间值,例如5s。在智能手机获取到该持续时长(设为T1)后,调用智能手机内置存储区域中的预设时长(设为T2),获取该持续时长与该预设时长之间的差值(设为T0),T0=T1-T2,当该差值T0大于或等于0时,判断为该持续时长大于或等于该预设时长,执行步骤S204,当该差值T0小于0时,判断为该持续时长不满足大于或等于预设时长,结束流程。例如,智能手机获取到的持续时长T1为5.1s,预设时长T2为5s,则持续时长T1与预设时长T2之间的差值T0为0.1s,则可判断为该持续时长大于或等于该预设时长。Specifically, the preset duration may be a time value pre-stored in the built-in storage area when the smart phone leaves the factory, for example, 5s. After the smartphone acquires the duration (set as T1 ), call the preset duration in the built-in storage area of the smartphone (set as T2 ), and obtain the difference between the duration and the preset duration (set as T 2 ). is T0 ), T0 =T1 -T2 , when the difference T0 is greater than or equal to 0, it is judged that the duration is greater than or equal to the preset duration, and step S204 is executed, when the difference T0 is less than When 0, it is judged that the duration is not greater than or equal to the preset duration, and the process ends. For example, if the duration T1 obtained by the smart phone is 5.1s, and the preset duration T2 is 5s, then the difference T0 between the duration T1 and the preset duration T2 is 0.1s, then it can be judged that the The duration is greater than or equal to the preset duration.
在本发明另一个实施例中,当配件发送的电信号是短按耳机上的hook键所触发的连续多次高电平信号时,上述步骤S202、S203还可以用以下步骤替代:In another embodiment of the present invention, when the electrical signal sent by the accessory is a continuous high-level signal triggered by short pressing the hook button on the earphone, the above steps S202 and S203 can also be replaced by the following steps:
获取预设时间段内该电信号出现的次数;Obtain the number of occurrences of the electrical signal within a preset time period;
判断该次数是否大于或等于预设次数。It is judged whether the number of times is greater than or equal to the preset number of times.
具体地,该预设时间段可以是智能手机中预先存储的一个时间值,例如5s,该预设时间段也可以是用户设置并存储在智能手机中的一个时间值。当智能手机接收到耳机发送的电信号由低电平突变为高电平时,调用计数函数开始计数并设置当前计数数值为1,同时中断处理函数开始计时,当该电信号由高电平复位为低电平并再次突变为高电平时,计数数值增加1,以此类推;当中断处理函数计时时长达到该预设时间段(例如,5s)时,中断处理函数计时结束,同时计数函数结束计数;智能手机获取该计数的数值,该计数的数值即为预设时间段内该电信号出现的次数。该电信号出现的次数可作为用户短按hook键的按键次数。Specifically, the preset time period may be a time value pre-stored in the smart phone, for example, 5s, and the preset time period may also be a time value set by the user and stored in the smart phone. When the smart phone receives the electrical signal sent by the headset from low level to high level, it calls the counting function to start counting and sets the current count value to 1, and the interrupt processing function starts timing at the same time, when the electrical signal is reset from high level to When the low level changes to a high level again, the count value increases by 1, and so on; when the timing duration of the interrupt processing function reaches the preset time period (for example, 5s), the timing of the interrupt processing function ends, and the counting function ends counting at the same time ; The smart phone obtains the value of the count, and the value of the count is the number of occurrences of the electric signal within the preset time period. The number of occurrences of the electrical signal can be used as the number of times the user presses the hook button shortly.
该预设次数可以是智能手机出厂时预先存储在内置存储区域中的一个数值,例如5。在智能手机获取到该次数(设为N1)后,调用智能手机内置存储区域中的预设次数(设为N2),获取该次数与该预设次数之间的差值(设为N0),N0=N1-N2,当该差值大于或等于0时,判断为该次数大于或等于预设次数,执行步骤S204,当该差值小于0时,判断为该次数不满足大于或等于预设次数,结束流程。例如,智能手机获取到的次数N1为5,预设次数N2为5,则次数N1与预设次数N2之间的差值N0为0,则可判断为该次数大于或等于该预设次数。The preset number of times may be a value, such as 5, that is pre-stored in the built-in storage area of the smart phone when it leaves the factory. After the smart phone acquires the number of times (set as N1 ), call the preset number of times in the built-in storage area of the smart phone (set as N2 ), and obtain the difference between the number of times and the preset number of times (set as N0 ), N0 =N1 -N2 , when the difference is greater than or equal to 0, it is judged that the number of times is greater than or equal to the preset number of times, and step S204 is executed, and when the difference is less than 0, it is judged that the number of times is not If the number of times is greater than or equal to the preset value, the process ends. For example, the number N1 obtained by the smart phone is 5, and the preset number N2 is 5, then the difference N0 between the number N1 and the preset number N2 is 0, and it can be judged that the number is greater than or equal to the preset number of times.
S204,判断在第一预设时间段内是否通过屏幕接收到输入信息。S204, judging whether input information is received through the screen within a first preset time period.
具体应用中,该预设时间段可以是智能手机中预先存储的一个时间值,例如,1分钟,通过判断智能手机在该预设时间段内是否产生对屏幕输入的响应来判断是否通过屏幕接收到用户的输入信息。例如,智能手机在预设的1分钟内产生过对屏幕输入的响应(例如,启动微信应用程序以响应屏幕接收到的触摸操作),则可判断在预设时间段内通过屏幕接收到了输入信息,此时结束流程;若智能手机在预设的1分钟内没有产生对屏幕输入的响应,则可判断为在预设时间段内没有通过屏幕接收到输入信息,进而可以判断为发生屏幕失灵的情况,此时执行步骤S205。In a specific application, the preset time period can be a time value pre-stored in the smart phone, for example, 1 minute. By judging whether the smart phone generates a response to the screen input within the preset time period, it is judged whether to receive input through the screen. to user input. For example, if the smart phone has produced a response to the screen input within the preset 1 minute (for example, starting the WeChat application to respond to the touch operation received by the screen), it can be judged that the input information has been received through the screen within the preset time period , the process ends at this point; if the smartphone does not generate a response to the screen input within the preset 1 minute, it can be judged that no input information is received through the screen within the preset time period, and then it can be judged that the screen is malfunctioning In this case, step S205 is executed at this time.
S205,根据该电信号生成相应的备份指令。S205. Generate a corresponding backup instruction according to the electrical signal.
具体地,可以在智能手机中预先存储与电信号对应的指令,例如,持续5s的高电平信号对应的指令为备份指令,则当智能手机接收到持续5s的高电平电信号时,智能手机系统根据该电信号查询对应的指令以生成相应的备份指令。Specifically, instructions corresponding to electrical signals can be pre-stored in the smart phone. For example, the instruction corresponding to the high-level signal that lasts for 5s is a backup instruction, then when the smart phone receives the high-level electrical signal that lasts for 5s, the smart phone The mobile phone system searches for corresponding instructions according to the electrical signal to generate corresponding backup instructions.
S206,根据该备份指令将目标信息备份到预定存储区域。S206. Back up the target information to a predetermined storage area according to the backup instruction.
具体应用中,目标信息可以是智能手机中预先设定的信息,例如,智能手机中的通讯录和通话记录,预定存储区域可以是用户设定的存储区域,例如,智能手机的外置存储区域。当智能手机系统生成相应的备份指令后,智能手机复制通讯录和通话记录并备份到外置存储区域。In a specific application, the target information can be preset information in the smart phone, for example, the address book and call records in the smart phone, and the predetermined storage area can be a storage area set by the user, for example, the external storage area of the smart phone . After the smart phone system generates a corresponding backup command, the smart phone copies the address book and call records and backs them up to an external storage area.
S207,提取终端系统的日志文件。S207, extracting log files of the terminal system.
具体地,智能手机终端系统的日志文件记录有系统运行、程序错误、硬件错误等事件以及这些事件发生的时间等相关信息,日志文件存储在系统目录中。智能手机可以根据日志文件的存储路径来提取日志文件。Specifically, the log files of the smart phone terminal system record events such as system operation, program errors, and hardware errors, and related information such as the time when these events occur, and the log files are stored in the system directory. The smart phone can extract the log file according to the storage path of the log file.
S208,运行该日志文件,并显示该日志文件中最新记录的信息。S208, run the log file, and display the latest recorded information in the log file.
具体应用中,日志文件可以是文本文件(后缀名为.txt的文件),智能手机可以使用记事本来运行该日志文件。日志文件中记录的事件所发生的时间最接近当前时间时,该事件的相关信息(事件内容、事件发生的时间等信息)即为日志文件中最新记录的信息,运行日志文件后显示该日志文件中最新记录的信息。In a specific application, the log file can be a text file (a file with a suffix of .txt), and the smart phone can use a notepad to run the log file. When the occurrence time of the event recorded in the log file is closest to the current time, the relevant information of the event (event content, time of event occurrence, etc.) is the latest recorded information in the log file, and the log file will be displayed after running the log file The most recent information recorded in .
由上可知,本发明实施例提供的备份信息的方法,采用接收配件发送的电信号,获取该电信号的持续时长,判断该持续时长是否大于或等于预设时长,若是则进一步判断在第一预设时间段内是否通过屏幕接收到输入信息,若否则根据该电信号生成相应的备份指令,并根据该备份指令将目标信息备份到预定存储区域,随后提取终端系统的日志文件,运行该日志文件并显示日志文件中最新记录的信息的技术方案;该方案接收到电信号后会判断电信号是否满足条件,若是则进一步判断在预设时间段内是否通过屏幕接收到输入信息,若否则生成相应的备份指令并备份信息,随后运行并显示日志文件,相对于现有技术而言,可以在智能手机屏幕失灵时接收配件发送的电信号来备份信息,并运行日志文件以查找导致屏幕失灵的原因,减少了由于智能手机屏幕失灵而导致信息丢失,并且有利于追踪导致屏幕失灵的原因,提高了智能手机的稳定性。It can be seen from the above that the method for backing up information provided by the embodiment of the present invention adopts receiving the electrical signal sent by the accessory, obtaining the duration of the electrical signal, and judging whether the duration is greater than or equal to the preset duration, and if so, further judging in the first Whether the input information is received through the screen within the preset time period, if not, a corresponding backup instruction is generated according to the electrical signal, and the target information is backed up to a predetermined storage area according to the backup instruction, and then the log file of the terminal system is extracted, and the log file is run file and display the latest recorded information in the log file; after receiving the electrical signal, the program will judge whether the electrical signal meets the conditions, and if so, further judge whether the input information is received through the screen within the preset time period, otherwise generate Corresponding backup instructions and backup information, and then run and display the log file. Compared with the prior art, when the smartphone screen fails, it can receive the electrical signal sent by the accessory to back up the information, and run the log file to find the cause of the screen failure. The reason reduces the loss of information due to the failure of the screen of the smart phone, and is conducive to tracking the cause of the failure of the screen, thereby improving the stability of the smart phone.
实施例三Embodiment three
为了更好地实施以上方法,本发明实施例还提供一种备份信息的装置,该装置可以集成在移动终端中,该移动终端可以是智能手机、平板电脑等设备。In order to better implement the above method, an embodiment of the present invention also provides a device for backing up information, which can be integrated into a mobile terminal, and the mobile terminal can be a device such as a smart phone or a tablet computer.
如图3a所示,该备份信息的装置可以包括:接收模块301、第一判断模块302、指令模块303、第一执行模块304,具体描述如下:As shown in Figure 3a, the device for backing up information may include: a receiving module 301, a first judgment module 302, an instruction module 303, and a first execution module 304, the specific description is as follows:
接收模块301,用于接收配件发送的电信号;A receiving module 301, configured to receive electrical signals sent by accessories;
第一判断模块302,用于判断该电信号是否满足预设条件;A first judging module 302, configured to judge whether the electrical signal satisfies a preset condition;
指令模块303,用于在该第一判断模块302判断为是时,根据该电信号生成相应的备份指令;An instruction module 303, configured to generate a corresponding backup instruction according to the electrical signal when the first judging module 302 judges yes;
第一执行模块304,用于根据该备份指令将目标信息备份到预定存储区域。The first execution module 304 is configured to back up the target information to a predetermined storage area according to the backup instruction.
优选地,如图3b所示,该备份信息的装置还可以包括:Preferably, as shown in Figure 3b, the device for backing up information may also include:
第二判断模块305,用于判断在第一预定时间段内是否通过屏幕接收到输入信息;The second judging module 305 is used to judge whether input information is received through the screen within the first predetermined time period;
该指令模块303,用于在该第二判断模块305判断为否时,根据该电信号生成相应的备份指令。The instruction module 303 is configured to generate a corresponding backup instruction according to the electrical signal when the second judging module 305 judges no.
优选地,如图3c所示,该接收模块301具体用于接收用户长按配件上的按键触发的电信号,该第一判断模块302具体包括:Preferably, as shown in FIG. 3c, the receiving module 301 is specifically configured to receive an electrical signal triggered by a user long pressing a button on the accessory, and the first judging module 302 specifically includes:
第一获取子模块3021,用于获取该电信号的持续时长;The first acquiring submodule 3021 is configured to acquire the duration of the electrical signal;
第一判断子模块3022,用于判断该持续时长是否大于或等于预设时长;当判断为是时,该第一判断模块302判断该电信号满足预设条件;当判断为否时,该第一判断模块302判断该电信号不满足预设条件。The first judging sub-module 3022 is used to judge whether the duration is greater than or equal to the preset duration; when the judgment is yes, the first judging module 302 judges that the electrical signal meets the preset condition; when the judgment is no, the first judging module 302 A judging module 302 judges that the electrical signal does not satisfy a preset condition.
优选地,如图3d所示,该接收模块301具体用于接收用户短按配件上的按键触发的电信号,该第一判断模块302具体包括:Preferably, as shown in FIG. 3d, the receiving module 301 is specifically configured to receive an electrical signal triggered by a short press of a button on the accessory by the user, and the first judging module 302 specifically includes:
第二获取子模块3121,用于获取在第二预设时间段内该电信号出现的次数;The second acquiring submodule 3121 is configured to acquire the number of occurrences of the electrical signal within the second preset time period;
第二判断子模块3122,用于判断该次数是否大于或等于预设次数;当判断为是时,该第一判断模块302判断该电信号满足预设条件;当判断为否时,该第一判断模块302判断该电信号不满足预设条件。The second judgment sub-module 3122 is used to judge whether the number of times is greater than or equal to the preset number of times; when the judgment is yes, the first judgment module 302 judges that the electrical signal satisfies the preset condition; The judging module 302 judges that the electrical signal does not satisfy a preset condition.
优选地,如图3e所示,该备份信息的装置还可以包括:Preferably, as shown in Figure 3e, the device for backing up information may also include:
第二执行模块306,用于:提取终端系统的日志文件;运行该日志文件,并显示该日志文件中最新记录的信息。The second execution module 306 is configured to: extract the log file of the terminal system; run the log file, and display the latest recorded information in the log file.
由上可知,本发明实施例提供了一种备份信息的装置,通过接收模块301接收配件发送的电信号,第一判断模块302判断该电信号是否满足预设条件,指令模块303在第一判断模块302判断为是时根据该电信号生成相应的备份指令,第一执行模块304根据该备份指令将目标信息备份到预定存储区域;该方案在接收到配件发送的电信号后会判断该电信号是否满足预设条件,电信号满足预设条件时生成相应的备份指令并备份目标信息,相对于现有技术而言,可以在移动终端屏幕失灵时接收配件发送的电信号来备份信息,减少了由于移动终端屏幕失灵而导致信息丢失,提高了移动终端的稳定性。It can be seen from the above that the embodiment of the present invention provides a device for backing up information. The receiving module 301 receives the electrical signal sent by the accessory, and the first judging module 302 judges whether the electrical signal satisfies the preset condition. When the module 302 judges yes, it generates a corresponding backup command according to the electrical signal, and the first execution module 304 backs up the target information to a predetermined storage area according to the backup command; this solution will judge the electrical signal after receiving the electrical signal sent by the accessory Whether the preset condition is met, when the electrical signal meets the preset condition, a corresponding backup command is generated and the target information is backed up. Compared with the existing technology, when the mobile terminal screen fails, the electrical signal sent by the accessory can be received to back up the information, reducing the The information is lost due to the failure of the screen of the mobile terminal, and the stability of the mobile terminal is improved.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本发明实施例所提供的一种备份信息的方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for backing up information provided by the embodiment of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used to help understand the present invention The method of the invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood as Limitations on the Invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610365411.XACN106066819A (en) | 2016-05-26 | 2016-05-26 | A method and device for backing up information |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610365411.XACN106066819A (en) | 2016-05-26 | 2016-05-26 | A method and device for backing up information |
| Publication Number | Publication Date |
|---|---|
| CN106066819Atrue CN106066819A (en) | 2016-11-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610365411.XAPendingCN106066819A (en) | 2016-05-26 | 2016-05-26 | A method and device for backing up information |
| Country | Link |
|---|---|
| CN (1) | CN106066819A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106412331A (en)* | 2016-11-17 | 2017-02-15 | 珠海市魅族科技有限公司 | Data backup method and apparatus |
| CN106598775A (en)* | 2016-11-10 | 2017-04-26 | 惠州Tcl移动通信有限公司 | Terminal and automatic data backup method thereof |
| WO2018133594A1 (en)* | 2017-01-17 | 2018-07-26 | 中兴通讯股份有限公司 | Data transmission method and terminal |
| CN117319383A (en)* | 2023-11-30 | 2023-12-29 | 广东电网有限责任公司 | File storage method, system, terminal equipment and storage medium based on Internet of things |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060271881A1 (en)* | 2005-05-24 | 2006-11-30 | Luciani Luis E Jr | Acquiring graphical operating system post-failure screen |
| CN103838648A (en)* | 2014-02-21 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and data backup method |
| CN104572349A (en)* | 2014-12-03 | 2015-04-29 | 深圳市金立通信设备有限公司 | Data backup method |
| CN104572348A (en)* | 2014-12-03 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
| CN105117313A (en)* | 2015-09-08 | 2015-12-02 | 捷开通讯科技(上海)有限公司 | System and method for protecting personal information in portable electronic device under condition of touch screen failure |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060271881A1 (en)* | 2005-05-24 | 2006-11-30 | Luciani Luis E Jr | Acquiring graphical operating system post-failure screen |
| CN103838648A (en)* | 2014-02-21 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and data backup method |
| CN104572349A (en)* | 2014-12-03 | 2015-04-29 | 深圳市金立通信设备有限公司 | Data backup method |
| CN104572348A (en)* | 2014-12-03 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
| CN105117313A (en)* | 2015-09-08 | 2015-12-02 | 捷开通讯科技(上海)有限公司 | System and method for protecting personal information in portable electronic device under condition of touch screen failure |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106598775A (en)* | 2016-11-10 | 2017-04-26 | 惠州Tcl移动通信有限公司 | Terminal and automatic data backup method thereof |
| CN106412331A (en)* | 2016-11-17 | 2017-02-15 | 珠海市魅族科技有限公司 | Data backup method and apparatus |
| WO2018133594A1 (en)* | 2017-01-17 | 2018-07-26 | 中兴通讯股份有限公司 | Data transmission method and terminal |
| CN117319383A (en)* | 2023-11-30 | 2023-12-29 | 广东电网有限责任公司 | File storage method, system, terminal equipment and storage medium based on Internet of things |
| CN117319383B (en)* | 2023-11-30 | 2024-03-01 | 广东电网有限责任公司 | File storage method, system, terminal equipment and storage medium based on Internet of things |
| Publication | Publication Date | Title |
|---|---|---|
| CN107402835B (en) | Application program exception handling method and device, storage medium and mobile terminal | |
| CN107294522B (en) | Response method, device, storage medium and electronic device based on touch key | |
| WO2020192311A1 (en) | Master-slave server switching method and apparatus, electronic device and storage medium | |
| CN106502461B (en) | Method, device and mobile terminal for restoring touch screen state before electrostatic reset | |
| US20190138200A1 (en) | Information processing method and device | |
| CN108153647A (en) | log processing method, device, terminal device and storage medium | |
| CN106066819A (en) | A method and device for backing up information | |
| CN106453925B (en) | Information transmission method and mobile terminal | |
| CN108038231A (en) | log processing method, device, terminal device and storage medium | |
| CN107766177A (en) | Boot optimization method, device, storage medium and terminal equipment | |
| CN113609107A (en) | Database management method and device, electronic equipment and storage medium | |
| CN113434915B (en) | Chassis intrusion status detection device and method, and edge server | |
| CN105072371A (en) | Video recording method and video recording device applied to mobile terminal | |
| CN108170585A (en) | Log processing method and device, terminal equipment and storage medium | |
| CN105718142B (en) | A kind of status bar notification message display methods and mobile terminal | |
| CN106776847B (en) | Method and device for deleting media file and mobile terminal | |
| CN106776228B (en) | Safety protection method of mobile terminal and mobile terminal | |
| CN106375591A (en) | A device for detecting audio input devices and a mobile terminal | |
| KR20170118799A (en) | Fingerprint event handling method, device, and terminal | |
| CN105141774B (en) | It is a kind of to solve method and the mobile terminal that side switch corrosion cannot be started up | |
| CN117991870A (en) | Hard disk backboard device and communication link fault detection method | |
| CN106843440B (en) | Mobile terminal restart control method and device and mobile terminal | |
| CN105786634A (en) | A kind of processing method and terminal of terminal screen abnormality | |
| WO2020238457A1 (en) | Mobile terminal, control method therefor and control device thereof, and computer-readable storage medium | |
| CN104931847A (en) | Terminal of determining whether NFC antenna to be in poor contact state and method thereof |
| 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:20161102 | |
| RJ01 | Rejection of invention patent application after publication |