WO2019056349A1 - Device starting method and apparatus - Google Patents

Device starting method and apparatus Download PDF

Info

Publication number
WO2019056349A1
WO2019056349A1 PCT/CN2017/103119 CN2017103119W WO2019056349A1 WO 2019056349 A1 WO2019056349 A1 WO 2019056349A1 CN 2017103119 W CN2017103119 W CN 2017103119W WO 2019056349 A1 WO2019056349 A1 WO 2019056349A1
Authority
WO
WIPO (PCT)
Prior art keywords
triggered
button
touch button
touch
determining whether
Prior art date
Application number
PCT/CN2017/103119
Other languages
French (fr)
Chinese (zh)
Inventor
于洋
易纯洁
吴玉中
王国正
Original Assignee
鹤壁天海电子信息系统有限公司
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 鹤壁天海电子信息系统有限公司 filed Critical 鹤壁天海电子信息系统有限公司
Priority to PCT/CN2017/103119 priority Critical patent/WO2019056349A1/en
Publication of WO2019056349A1 publication Critical patent/WO2019056349A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Definitions

  • the present invention relates to the technical field of electronic device design, and in particular, to a device startup method and device.
  • the sleep mechanism designed for electronic devices can save power when the electronic device is not in use, but it also prolongs the waiting time for the user to start the electronic device.
  • the electronic device needs to wait for the device to wake up first, and then wait for the electronic device to complete the pre-processing before using the user, the user waits for a longer time, and the user experience is poor.
  • the present invention provides a device startup method and device.
  • the device startup method can advance the device wake-up work and reduce the waiting time after the user presses the device startup button.
  • a device startup method is applied to a device for activating a touch button on a start button; the method includes:
  • the device is activated.
  • the determining whether the touch button is triggered comprises:
  • the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
  • the determining whether the activation button is triggered comprises:
  • the device is activated if the activation button is triggered within a set period of time after waking up the hibernation module of the device and completing the pre-processing operation.
  • the method further comprises:
  • the device is controlled to enter a sleep state.
  • a device starting device is applied to a device for activating a touch button on a start button; the device comprises:
  • a first determining unit configured to determine whether the touch button is triggered
  • a first processing unit configured to: when the first determining unit determines that the touch button is triggered, wake up the hibernation module of the device and control the device to complete a pre-processing operation;
  • a second determining unit configured to determine whether the start button is triggered
  • the second processing unit is configured to start the device when the second determining unit determines that the start button is triggered.
  • the first determining unit determines whether the touch button is triggered, the first determining unit is specifically configured to:
  • the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
  • the second determining unit determines whether the start button is triggered, the second determining unit is specifically configured to:
  • the second processing unit is further configured to:
  • the device When the second determining unit determines that the start button is not triggered, the device is controlled to enter a sleep state.
  • a device starting device includes:
  • the start switch is connected to the processor, and includes a start button and a touch button integrated on the start button;
  • the memory is coupled to the processor for storing a program and data generated during program execution
  • the processor is configured to implement the following functions by running a program in the memory:
  • the processor determines whether the touch button is triggered, the processor is specifically configured to:
  • Determining whether the touch button is continuously triggered for a set duration if the touch button is continuously triggered for a set duration, determining that the touch button is triggered; if the touch button is not continuously triggered for a set duration, determining The touch button is not triggered.
  • the processor determines whether the startup button is triggered, the processor is specifically configured to:
  • the processor is further configured to:
  • the device When it is determined that the start button is not triggered, the device is controlled to enter a sleep state.
  • the device startup method of the present invention is applied to a device for activating a touch button on a start button; the method includes: determining whether the touch button is triggered; if the touch button is triggered, waking up the hibernation module of the device and completing a pre-processing operation; determining whether the start button is triggered; if the start button is triggered, starting the device.
  • a touch button is integrated on the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device sleep module is woken up and the pre-processing operation is completed, thereby the device wake-up work is advanced, so that the user is pressed Device startup Before the button is pressed, the device is already awake, shortening the waiting time after the user presses the start button.
  • FIG. 1 is a schematic flowchart of a device startup method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of the startup operation and the use time of the walkie-talkie provided by the embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another device startup method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a device starting device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another device starting device according to an embodiment of the present invention.
  • the embodiment of the invention discloses a device startup method, which is applied to a device for activating a touch button on a start button;
  • scenario applied by the technical solution of the embodiment of the present invention is an operation of waking up and starting the device when the device is in a sleep state.
  • the device that applies the technical solution of the embodiment of the present invention includes a two-level start button.
  • the first level start button is a physical button for the device to start (for convenience of description, hereinafter collectively referred to as a start button).
  • a start button for convenience of description, hereinafter collectively referred to as a start button.
  • the first-level activation button of the device is also used to directly activate the device, including the operation of the trigger device to perform screen display, open application, and the like.
  • the second level start button of the device involved in the embodiment of the present invention is integrated in the first level of the device.
  • the electronic touch buttons on the buttons (for convenience of description, hereinafter referred to as touch buttons).
  • the touch button is used to sense a user's touch action on the device start button.
  • the touch button When the user touches the touch button on the surface of the device start button, the user can recognize that the user has a need to start the device. Therefore, at the moment when the user touches the device to activate the button, The touch device triggers the device to wake up the hibernation module.
  • the above setting enables the device to be activated earlier than when the user presses the device start button, which can identify the user operation earlier and reduce the waiting time for the user to press the device start button to start the device.
  • the press button of the walkie-talkie (PTT) button ie, the start button
  • PTT the walkie-talkie
  • a device startup method disclosed in an embodiment of the present invention includes:
  • pressing the device start button is the only way to start the walkie-talkie.
  • the touch button integrated on the device start button will inevitably be touched first.
  • the touch button is triggered.
  • step S102 is performed, the hibernation module of the device is woken up, and the pre-processing operation is completed;
  • the user initiates the device action as early as possible through the touch button located on the device startup button.
  • the touch button senses the action of the user touching the device activation button.
  • the various sleep modules of the device are woken up, and the device is controlled to complete the pre-processing operation, for example, completing data update, etc., for supporting the device.
  • the pre-processing operation of normal operation makes the whole device in standby state.
  • the “control device completes the pre-processing operation” specifically includes enabling the walkie-talkie to initiate a resource request to the system and occupying a channel, and the like, for example, controlling the walkie-talkie to remotely obtain server data, including Networking, authentication, or acquisition of relevant data; controlling the walkie-talkie to refresh the image, that is, preparing the image content that needs to be refreshed in advance.
  • server data including Networking, authentication, or acquisition of relevant data
  • controlling the walkie-talkie to refresh the image that is, preparing the image content that needs to be refreshed in advance.
  • the start-up operation and time of the walkie-talkie are roughly as shown in FIG. 2 .
  • the entire startup process can be divided into the following three phases: P1: A-B (210ms); P2: A-D (450ms); P3: A-F (570ms).
  • P1 A-B (210ms); P2: A-D (450ms); P3: A-F (570ms).
  • the embodiment of the present invention further determines whether the start button is further triggered after the user triggers the touch button of the device.
  • step S104 is executed to start the device.
  • the user further triggers the device startup button after the trigger device touches the button, it can be confirmed that the user actually performs the operation of starting the device, and the device should be started in time to meet the user's needs; if the user touches the button after the device is touched, If the device startup button is further triggered, it may be considered that the user triggers the device to touch the button, and the subsequent operation of the device is not performed, so as to maximize the energy saving of the interphone.
  • starting the device involved in the embodiment of the present invention is specifically a corresponding operation when the control device starts to perform normal work, and each device and each module of the device start normal operation, and the device is fully turned on.
  • a touch button is integrated on the PTT start button of the walkie-talkie, and when the user touches the touch button of the walkie-talkie to trigger the touch button, the walkie-talkie is awakened.
  • Hibernation module at this time the walkie-talkie performs pre-processing operations.
  • the walkie-talkie only completes the pre-processing operations, such as completing channel occupancy, data update, etc., but does not really start working.
  • the display, microphone, speaker and other devices are still inactive, and the updated data is only in the cache. It is not displayed and played. If the user further triggers the walkie-talkie start button, the walkie-talkie starts up, fully enters the working state, the screen starts to display, and the microphone and speaker devices start working.
  • the device startup method of the embodiment of the present invention is applied to a device for activating a touch button on a start button; the method includes: determining whether the touch button is triggered; if the touch button is triggered, Then waking up the hibernation module of the device and completing the pre-processing operation; determining whether the start button is triggered; if the start button is triggered, starting the device.
  • a touch button is integrated on the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device sleep module is woken up and the pre-processing operation is completed, thereby the device wake-up work is advanced, so that the user is pressed Before the device starts the button, the device is already awake, shortening the waiting time after the user presses the start button.
  • the determining whether the touch button is triggered comprises:
  • the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
  • the user may inadvertently touch the startup button of the device.
  • the touch button is integrated on the start button of the device to which the technical solution of the embodiment of the present invention is applied, when the user triggers the touch button, the device is woken up. Therefore, in order to prevent the user from inadvertently triggering the device to touch the button, the device performs the wake-up operation to waste power and increase the useless workload of the device, and the embodiment of the present invention sets the trigger condition of the touch button of the device to which the technical solution of the embodiment of the present invention is applied. . Specifically, the trigger time condition is set for the touch button of the device.
  • the touch button When the touch button is continuously triggered for the set time, the touch button trigger condition is satisfied, and the touch button is triggered; when the touch button is triggered briefly, and the duration is continuously triggered, When the set time is reached, the touch button is not triggered.
  • the device touch button is not triggered, and the device does not perform the wake-up operation, and the device is still in the sleep state. State, you can continue to save energy. Only when the user continuously triggers the device to touch the button to set the length of time, it is confirmed that the user needs to activate the device, and then the device is triggered to touch the button, so that the device performs the subsequent setting operation content.
  • the timer when the touch button of the device is triggered, the timer is started.
  • the timer keeps counting state, and when the touch button is not triggered, the timer ends the counting state.
  • the timer counts to the set time, it is confirmed that the touch button is continuously triggered for the set duration, that is, it is determined that the touch button is actually triggered, and the control device performs the wake-up operation; if the touch button is triggered, the timer has not been timed. Touch the button to enter the untriggered before reaching the set time Status, you can be sure that the touch button is not triggered.
  • the determining whether the activation button is triggered comprises:
  • the device is activated if the activation button is triggered within a set period of time after waking up the hibernation module of the device and completing the pre-processing operation.
  • the user triggering device touches the button and wakes up the walkie-talkie
  • the method for implementing the above technical solution is as follows: when the user triggers the device to touch the button to wake up the device, the timing starts. When the timer reaches the set time period, if the user triggers the device startup button, the timing is stopped and the device is started; If the user triggers the start button is not detected within the set time period, the trigger device touch button fails, the device does not start, or enters the sleep state again.
  • the method further includes:
  • step S305 is performed to control the device to enter a sleep state.
  • the embodiment of the present invention controls the device to enter the sleep state again to save power.
  • the walkie-talkie is re-awakened.
  • the embodiment of the invention further discloses a device starting device, which is applied to a device for activating a touch button on a start button; as shown in FIG. 4, the device includes:
  • the first determining unit 401 is configured to determine whether the touch button is triggered
  • the first processing unit 402 is configured to: when the first determining unit determines that the touch button is triggered, wake up the hibernation module of the device and control the device to complete a pre-processing operation;
  • a second determining unit 403, configured to determine whether the start button is triggered
  • the second processing unit 404 is configured to start the device when the second determining unit determines that the start button is triggered.
  • the device starting device of the embodiment of the present invention is applied to a device for initiating a touch button on activating a button; when the device is activated, the first determining unit 401 first determines whether the touch button is triggered; if the touch button is triggered The first processing unit 402 wakes up the hibernation module of the device and controls the device to complete the pre-processing operation; then the second determining unit 403 determines whether the start button is triggered; if the start button is triggered, the second Processing unit 404 starts the device.
  • the touch button is covered on the surface of the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device is woken up, thereby waking up the device in advance, so that the user is already in the device before pressing the device startup button. Awaken state, shortening the waiting time after the user presses the start button.
  • the method when the first determining unit 401 determines whether the touch button is triggered, the method is specifically configured to:
  • the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
  • the second determining unit 403 determines whether the start button is triggered, the second determining unit 403 is specifically configured to:
  • the second processing unit 404 is further configured to:
  • the device When the second determining unit determines that the start button is not triggered, the device is controlled to enter a sleep state.
  • the device includes:
  • a memory 501 a memory 501, a processor 502 and a start switch 503;
  • the start switch 503 is connected to the processor 502, and includes a start button and a touch button integrated on the start button;
  • the memory 501 is connected to the processor 502 for storing programs and data generated during program running;
  • the processor 502 is configured to implement the following functions by running a program in the memory 501:
  • the device starting device of the embodiment of the present invention has a start switch 503 including a start button and a touch button integrated on the surface of the start button; when the device starts the device, the processor 502 first determines whether the touch button is triggered; The touch button is triggered to wake up the hibernation module of the device applying the device and control the device to complete the pre-processing operation; then determine whether the start button is triggered; if the start button is triggered, start the device .
  • the touch button is covered on the surface of the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device is woken up, thereby waking up the device in advance, so that the user is already in the device before pressing the device startup button. Awaken state, shortening the waiting time after the user presses the start button.
  • the method is specifically configured to:
  • Determining whether the touch button is continuously triggered for a set duration if the touch button is continuously triggered for a set duration, determining that the touch button is triggered; if the touch button is not continuously triggered for a set duration, determining The touch button is not triggered.
  • the processor 502 determines whether the startup button is triggered, the method is specifically configured to:
  • the processor 502 is further configured to:
  • the device When it is determined that the start button is not triggered, the device is controlled to enter a sleep state.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A device starting method and an apparatus, applied to a device in which a touch key is integrated on a start key, said method comprises: determining whether the touch key is triggered (S101); if the touch key is triggered, waking up a dormancy module of the device, and completing a pre-processing operation (S102); determining whether the start key is triggered (S103); and if the start key is triggered, starting the device (S104). The method can reduce the wakeup time of a device, shortening the waiting time after the user presses the start key.

Description

一种设备启动方法及装置Device starting method and device 技术领域Technical field
本发明涉及电子设备设计技术领域,尤其涉及一种设备启动方法及装置。The present invention relates to the technical field of electronic device design, and in particular, to a device startup method and device.
背景技术Background technique
设计人员在为电子设备做功耗设计的时候,一般设计尽可能多的器件或组件在电子设备不使用的时候进入休眠状态,以便节省电能,在用户使用电子设备的时候,再将休眠的器件或组件唤醒。并且,电子设备休眠深度越深,省电效果越好。When designing power consumption for electronic devices, designers generally design as many devices or components as possible to enter a sleep state when the electronic device is not in use, in order to save power, and then sleep the device when the user uses the electronic device. Or the component wakes up. Moreover, the deeper the sleep depth of the electronic device, the better the power saving effect.
在电子设备进行工作之前,需要进行一些必要的预处理操作,用户必须等待电子设备完成预处理操作后,才能使用电子设备。在此前提下,为电子设备设计的休眠机制,虽然能够使电子设备在不使用的时候节省电能,但是也延长了用户启动电子设备的等待时长。当用户启动休眠的电子设备时,在触发设备启动按键后,需等待电子设备先唤醒,然后等待电子设备完成预处理后才能使用,用户等待时间更长,用户体验较差。Before the electronic device works, some necessary pre-processing operations are required, and the user must wait for the electronic device to complete the pre-processing operation before using the electronic device. Under this premise, the sleep mechanism designed for electronic devices can save power when the electronic device is not in use, but it also prolongs the waiting time for the user to start the electronic device. When the user starts the hibernating electronic device, after triggering the device to activate the button, the electronic device needs to wait for the device to wake up first, and then wait for the electronic device to complete the pre-processing before using the user, the user waits for a longer time, and the user experience is poor.
发明内容Summary of the invention
基于上述现有技术的缺陷和不足,本发明提出一种设备启动方法及装置,采用该设备启动方法,能够将设备唤醒工作提前,减少用户按下设备启动按键后的等待时间。Based on the above drawbacks and deficiencies of the prior art, the present invention provides a device startup method and device. The device startup method can advance the device wake-up work and reduce the waiting time after the user presses the device startup button.
一种设备启动方法,应用于启动按键上集成触摸按键的设备;该方法包括:A device startup method is applied to a device for activating a touch button on a start button; the method includes:
判断所述触摸按键是否被触发;Determining whether the touch button is triggered;
如果所述触摸按键被触发,则唤醒所述设备的休眠模块并完成预处理操作;If the touch button is triggered, wake up the hibernation module of the device and complete a pre-processing operation;
判断所述启动按键是否被触发;Determining whether the start button is triggered;
如果所述启动按键被触发,则启动所述设备。If the start button is triggered, the device is activated.
优选地,所述判断所述触摸按键是否被触发,包括: Preferably, the determining whether the touch button is triggered comprises:
判断所述触摸按键是否被持续触发设定时长;Determining whether the touch button is continuously triggered for a set duration;
如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;If the touch button is continuously triggered for a set duration, it is determined that the touch button is triggered;
如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。If the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
优选地,所述判断所述启动按键是否被触发,包括:Preferably, the determining whether the activation button is triggered comprises:
判断在唤醒所述设备的休眠模块并完成预处理操作后的设定时间段内,所述启动按键是否被触发;Determining whether the start button is triggered within a set time period after waking up the hibernation module of the device and completing the pre-processing operation;
如果在唤醒所述设备的休眠模块并完成预处理操作后的设定时间段内,所述启动按键被触发,则启动所述设备。The device is activated if the activation button is triggered within a set period of time after waking up the hibernation module of the device and completing the pre-processing operation.
优选地,该方法还包括:Preferably, the method further comprises:
如果所述启动按键没有被触发,则控制所述设备进入休眠状态。If the start button is not triggered, the device is controlled to enter a sleep state.
一种设备启动装置,应用于启动按键上集成触摸按键的设备;该装置包括:A device starting device is applied to a device for activating a touch button on a start button; the device comprises:
第一判断单元,用于判断所述触摸按键是否被触发;a first determining unit, configured to determine whether the touch button is triggered;
第一处理单元,用于当所述第一判断单元判断所述触摸按键被触发时,唤醒所述设备的休眠模块并控制所述设备完成预处理操作;a first processing unit, configured to: when the first determining unit determines that the touch button is triggered, wake up the hibernation module of the device and control the device to complete a pre-processing operation;
第二判断单元,用于判断所述启动按键是否被触发;a second determining unit, configured to determine whether the start button is triggered;
第二处理单元,用于当所述第二判断单元判断所述启动按键被触发时,启动所述设备。The second processing unit is configured to start the device when the second determining unit determines that the start button is triggered.
优选地,所述第一判断单元判断所述触摸按键是否被触发时,具体用于:Preferably, when the first determining unit determines whether the touch button is triggered, the first determining unit is specifically configured to:
判断所述触摸按键是否被持续触发设定时长;Determining whether the touch button is continuously triggered for a set duration;
如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;If the touch button is continuously triggered for a set duration, it is determined that the touch button is triggered;
如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。If the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
优选地,所述第二判断单元判断所述启动按键是否被触发时,具体用于:Preferably, when the second determining unit determines whether the start button is triggered, the second determining unit is specifically configured to:
判断在所述第一处理单元唤醒所述设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键是否被触发;Determining whether the activation button is triggered within a set time period after the first processing unit wakes up the hibernation module of the device and controls the device to complete the pre-processing operation;
如果在所述第一处理单元唤醒所述设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键被触发,则控制所述第二处理单元启动所述设备。 Controlling the second processing unit to start the method if the start button is triggered within a set time period after the first processing unit wakes up the hibernation module of the device and controls the device to complete the pre-processing operation device.
优选地,所述第二处理单元还用于:Preferably, the second processing unit is further configured to:
当所述第二判断单元判断所述启动按键没有被触发时,控制所述设备进入休眠状态。When the second determining unit determines that the start button is not triggered, the device is controlled to enter a sleep state.
一种设备启动装置,包括:A device starting device includes:
启动开关、存储器和处理器;Activating a switch, a memory, and a processor;
其中,所述启动开关与所述处理器连接,包括启动按键和集成在所述启动按键上的触摸按键;The start switch is connected to the processor, and includes a start button and a touch button integrated on the start button;
所述存储器与所述处理器连接,用于存储程序以及程序运行中产生的数据;The memory is coupled to the processor for storing a program and data generated during program execution;
所述处理器,用于通过运行所述存储器中的程序,实现以下功能:The processor is configured to implement the following functions by running a program in the memory:
判断所述触摸按键是否被触发;如果所述触摸按键被触发,则唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作;判断所述启动按键是否被触发;如果所述启动按键被触发,则启动所述设备。Determining whether the touch button is triggered; if the touch button is triggered, waking up a hibernation module of a device applying the device and controlling the device to complete a pre-processing operation; determining whether the activation button is triggered; The start button is triggered to start the device.
优选地,所述处理器判断所述触摸按键是否被触发时,具体用于:Preferably, when the processor determines whether the touch button is triggered, the processor is specifically configured to:
判断所述触摸按键是否被持续触发设定时长;如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。Determining whether the touch button is continuously triggered for a set duration; if the touch button is continuously triggered for a set duration, determining that the touch button is triggered; if the touch button is not continuously triggered for a set duration, determining The touch button is not triggered.
优选地,所述处理器判断所述启动按键是否被触发时,具体用于:Preferably, when the processor determines whether the startup button is triggered, the processor is specifically configured to:
判断在唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键是否被触发;如果在唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键被触发,则启动所述设备。Determining whether the activation button is triggered during a set period of time after waking up the hibernation module of the device applying the device and controlling the device to complete the pre-processing operation; if waking up the hibernation module of the device applying the device and The device is activated when the start button is triggered within a set time period after the device is controlled to complete the pre-processing operation.
优选地,所述处理器还用于:Preferably, the processor is further configured to:
当判断所述启动按键没有被触发时,控制所述设备进入休眠状态。When it is determined that the start button is not triggered, the device is controlled to enter a sleep state.
本发明提出的设备启动方法,应用于启动按键上集成触摸按键的设备;该方法包括:判断所述触摸按键是否被触发;如果所述触摸按键被触发,则唤醒所述设备的休眠模块并完成预处理操作;判断所述启动按键是否被触发;如果所述启动按键被触发,则启动所述设备。采用上述方案,在设备启动按键上集成触摸按键,当用户触摸到启动按键而使触摸按键被触发时,唤醒设备的休眠模块并完成预处理操作,从而将设备唤醒工作提前,使得用户在按下设备启动 按键之前,设备已经处于唤醒状态,缩短用户按下启动按键后的等待时间。The device startup method of the present invention is applied to a device for activating a touch button on a start button; the method includes: determining whether the touch button is triggered; if the touch button is triggered, waking up the hibernation module of the device and completing a pre-processing operation; determining whether the start button is triggered; if the start button is triggered, starting the device. With the above solution, a touch button is integrated on the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device sleep module is woken up and the pre-processing operation is completed, thereby the device wake-up work is advanced, so that the user is pressed Device startup Before the button is pressed, the device is already awake, shortening the waiting time after the user presses the start button.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can obtain other drawings according to the provided drawings without any creative work.
图1是本发明实施例提供的一种设备启动方法的流程示意图;1 is a schematic flowchart of a device startup method according to an embodiment of the present invention;
图2是本发明实施例提供的对讲机启动操作及用时示意图;2 is a schematic diagram of the startup operation and the use time of the walkie-talkie provided by the embodiment of the present invention;
图3是本发明实施例提供的另一种设备启动方法的流程示意图;3 is a schematic flowchart of another device startup method according to an embodiment of the present invention;
图4是本发明实施例提供的一种设备启动装置的结构示意图;4 is a schematic structural diagram of a device starting device according to an embodiment of the present invention;
图5是本发明实施例提供的另一种设备启动装置的结构示意图。FIG. 5 is a schematic structural diagram of another device starting device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种设备启动方法,应用于启动按键上集成触摸按键的设备;The embodiment of the invention discloses a device startup method, which is applied to a device for activating a touch button on a start button;
首先需要说明的是,本发明实施例技术方案所应用的场景是设备处于休眠状态时,对设备进行唤醒、启动的操作。It should be noted that the scenario applied by the technical solution of the embodiment of the present invention is an operation of waking up and starting the device when the device is in a sleep state.
具体的,应用本发明实施例技术方案的设备,包括两级启动按键。其中,第一级启动按键为设备启动物理按键(为便于表述,下文统称启动按键),在现有技术中,用户按下设备启动按键时,设备启动,用户可使用设备。在本发明实施例中,设备的第一级启动按键同样用于直接启动设备,包括触发设备执行屏幕显示、开启应用等操作。Specifically, the device that applies the technical solution of the embodiment of the present invention includes a two-level start button. The first level start button is a physical button for the device to start (for convenience of description, hereinafter collectively referred to as a start button). In the prior art, when the user presses the device start button, the device starts, and the user can use the device. In the embodiment of the present invention, the first-level activation button of the device is also used to directly activate the device, including the operation of the trigger device to perform screen display, open application, and the like.
本发明实施例中涉及的设备的第二级启动按键,为集成在设备第一级启动 按键上的电子触摸按键(为便于表述,下文统称触摸按键)。该触摸按键用于感应用户对设备启动按键的触摸动作,当用户触摸到设备启动按键表面的触摸按键时,可识别到用户有启动设备的需求,因此,在用户触摸设备启动按键的那一刻,通过触摸按键触发设备唤醒休眠模块,上述设置相对于现有技术的用户按下设备启动按键时启动设备,能够更早地识别用户操作,减少用户按下设备启动按键启动设备的等待时间。The second level start button of the device involved in the embodiment of the present invention is integrated in the first level of the device. The electronic touch buttons on the buttons (for convenience of description, hereinafter referred to as touch buttons). The touch button is used to sense a user's touch action on the device start button. When the user touches the touch button on the surface of the device start button, the user can recognize that the user has a need to start the device. Therefore, at the moment when the user touches the device to activate the button, The touch device triggers the device to wake up the hibernation module. The above setting enables the device to be activated earlier than when the user presses the device start button, which can identify the user operation earlier and reduce the waiting time for the user to press the device start button to start the device.
例如,将本发明实施例技术方案应用于对讲机时,该对讲机的按下对讲(Press To Talk,PTT)按键(即启动按键)上需集成有触摸按键,用于感应用户触摸PTT按键的操作。For example, when the technical solution of the embodiment of the present invention is applied to the walkie-talkie, the press button of the walkie-talkie (PTT) button (ie, the start button) needs to be integrated with a touch button for sensing the operation of the user touching the PTT button. .
参见图1所示,本发明实施例公开的设备启动方法包括:Referring to FIG. 1 , a device startup method disclosed in an embodiment of the present invention includes:
S101、判断所述触摸按键是否被触发;S101. Determine whether the touch button is triggered.
具体的,按下设备启动按键是启动对讲机的唯一途径,当用户需要启动设备,准备按下设备启动按键的时候,会首先不可避免地触摸到集成在设备启动按键上的触摸按键。当用户触摸到触摸按键时,触摸按键被触发。Specifically, pressing the device start button is the only way to start the walkie-talkie. When the user needs to start the device and is ready to press the device start button, the touch button integrated on the device start button will inevitably be touched first. When the user touches the touch button, the touch button is triggered.
如果所述触摸按键被触发,则执行步骤S102、唤醒所述设备的休眠模块并完成预处理操作;If the touch button is triggered, step S102 is performed, the hibernation module of the device is woken up, and the pre-processing operation is completed;
具体的,在本发明实施例技术方案中,通过位于设备启动按键上的触摸按键,尽早地感知用户启动设备动作。当用户准备按下设备启动按键启动设备时,触摸按键感应用户触摸设备启动按键的动作,此时,唤醒设备的各个休眠模块,并控制设备完成预处理操作,例如完成数据更新等用于支持设备正常工作的预处理操作,使设备整体处于待机状态。Specifically, in the technical solution of the embodiment of the present invention, the user initiates the device action as early as possible through the touch button located on the device startup button. When the user prepares to press the device startup button to start the device, the touch button senses the action of the user touching the device activation button. At this time, the various sleep modules of the device are woken up, and the device is controlled to complete the pre-processing operation, for example, completing data update, etc., for supporting the device. The pre-processing operation of normal operation makes the whole device in standby state.
例如,将本发明实施例技术方案应用于对讲机时,“控制设备完成预处理操作”具体包括使能对讲机向系统发起资源请求并占用信道等处理工作,例如,控制对讲机远程获取服务器数据,包括预先联网、鉴权或者获取相关的数据;控制对讲机刷新图像,即预先准备好需要刷新的图像内容。对于上述处理工作,只将处理结果缓存而不显示,待用户按下PTT启动按键后再显示。For example, when the technical solution of the embodiment of the present invention is applied to the walkie-talkie, the “control device completes the pre-processing operation” specifically includes enabling the walkie-talkie to initiate a resource request to the system and occupying a channel, and the like, for example, controlling the walkie-talkie to remotely obtain server data, including Networking, authentication, or acquisition of relevant data; controlling the walkie-talkie to refresh the image, that is, preparing the image content that needs to be refreshed in advance. For the above processing work, only the processing result is cached and not displayed, and is displayed after the user presses the PTT start button.
需要说明的是,一般情况下,对讲机的启动操作及用时大致如图2所示。 整个启动过程可以划分如下3个阶段:P1:A-B(210ms);P2:A-D(450ms);P3:A-F(570ms)。参照本发明实施例技术方案,可以设置在用户触摸对讲机触摸按键的时刻,进行P1、P2或P3的处理操作,待启动按键PTT被触发时,再继续执行接下来的操作。It should be noted that, in general, the start-up operation and time of the walkie-talkie are roughly as shown in FIG. 2 . The entire startup process can be divided into the following three phases: P1: A-B (210ms); P2: A-D (450ms); P3: A-F (570ms). Referring to the technical solution of the embodiment of the present invention, when the user touches the touch button of the walkie-talkie, the processing operation of P1, P2, or P3 may be performed. When the start button PTT is triggered, the next operation is continued.
S103、判断所述启动按键是否被触发;S103. Determine whether the startup button is triggered.
具体的,在用户触发设备触摸按键,设备唤醒并完成预处理操作后,本发明实施例进一步判断在用户触发设备的触摸按键后,是否进一步触发了启动按键。Specifically, after the user triggers the device to touch the button, and the device wakes up and completes the pre-processing operation, the embodiment of the present invention further determines whether the start button is further triggered after the user triggers the touch button of the device.
如果所述启动按键被触发,则执行步骤S104、启动所述设备。If the start button is triggered, step S104 is executed to start the device.
具体的,如果用户在触发设备触摸按键后,进一步触发了设备启动按键,则可以确认用户真实执行了启动设备的操作,应当及时启动设备,满足用户需求;如果用户在触发设备触摸按键后,没有进一步触发设备启动按键,则可以认为用户触发设备触摸按键是误操作,此时,不执行启动设备的后续操作,以便最大限度使得对讲机节省电能。Specifically, if the user further triggers the device startup button after the trigger device touches the button, it can be confirmed that the user actually performs the operation of starting the device, and the device should be started in time to meet the user's needs; if the user touches the button after the device is touched, If the device startup button is further triggered, it may be considered that the user triggers the device to touch the button, and the subsequent operation of the device is not performed, so as to maximize the energy saving of the interphone.
需要说明的是,本发明实施例所涉及的“启动所述设备”具体为控制设备开始执行正常工作时的相应操作,设备各个器件、各个模块开始正常工作,设备全面开启工作状态。It should be noted that the “starting the device” involved in the embodiment of the present invention is specifically a corresponding operation when the control device starts to perform normal work, and each device and each module of the device start normal operation, and the device is fully turned on.
例如,将上述本发明实施例技术方案应用于对讲机时(假设对讲机处于休眠状态),在对讲机的PTT启动按键上集成触摸按键,当用户触摸到对讲机触摸按键而使触摸按键触发时,唤醒对讲机各个休眠模块,此时对讲机执行预处理操作。到此为止,对讲机只是完成预处理操作,例如完成信道占用、数据更新等,但是并未真正开始工作,其显示屏、麦克风、扬声器等器件仍然处于不工作状态,更新的数据只是处于缓存中,并不进行显示及播放。如果用户进一步触发了对讲机启动按键,则对讲机启动,全面进入工作状态,屏幕开始显示,麦克风及扬声器等器件开始工作。For example, when the technical solution of the embodiment of the present invention is applied to the walkie-talkie (assuming the walkie-talkie is in a sleep state), a touch button is integrated on the PTT start button of the walkie-talkie, and when the user touches the touch button of the walkie-talkie to trigger the touch button, the walkie-talkie is awakened. Hibernation module, at this time the walkie-talkie performs pre-processing operations. At this point, the walkie-talkie only completes the pre-processing operations, such as completing channel occupancy, data update, etc., but does not really start working. The display, microphone, speaker and other devices are still inactive, and the updated data is only in the cache. It is not displayed and played. If the user further triggers the walkie-talkie start button, the walkie-talkie starts up, fully enters the working state, the screen starts to display, and the microphone and speaker devices start working.
本发明实施例提出的设备启动方法,应用于启动按键上集成触摸按键的设备;该方法包括:判断所述触摸按键是否被触发;如果所述触摸按键被触发, 则唤醒所述设备的休眠模块并完成预处理操作;判断所述启动按键是否被触发;如果所述启动按键被触发,则启动所述设备。采用上述方案,在设备启动按键上集成触摸按键,当用户触摸到启动按键而使触摸按键被触发时,唤醒设备的休眠模块并完成预处理操作,从而将设备唤醒工作提前,使得用户在按下设备启动按键之前,设备已经处于唤醒状态,缩短用户按下启动按键后的等待时间。The device startup method of the embodiment of the present invention is applied to a device for activating a touch button on a start button; the method includes: determining whether the touch button is triggered; if the touch button is triggered, Then waking up the hibernation module of the device and completing the pre-processing operation; determining whether the start button is triggered; if the start button is triggered, starting the device. With the above solution, a touch button is integrated on the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device sleep module is woken up and the pre-processing operation is completed, thereby the device wake-up work is advanced, so that the user is pressed Before the device starts the button, the device is already awake, shortening the waiting time after the user presses the start button.
可选的,在本发明的另一个实施例中,所述判断所述触摸按键是否被触发,包括:Optionally, in another embodiment of the present invention, the determining whether the touch button is triggered comprises:
判断所述触摸按键是否被持续触发设定时长;Determining whether the touch button is continuously triggered for a set duration;
如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;If the touch button is continuously triggered for a set duration, it is determined that the touch button is triggered;
如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。If the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
具体的,在用户使用设备过程中,用户可能会无意中触摸到设备的启动按键。又由于应用本发明实施例技术方案的设备的启动按键上集成触摸按键,当用户触发触摸按键时,设备即被唤醒。因此,为了避免用户在无意中触发设备触摸按键时,设备执行唤醒操作而浪费电能以及增加设备无用工作量,本发明实施例对应用本发明实施例技术方案的设备的触摸按键的触发条件进行设置。具体的,为设备触摸按键设置触发时间条件,当触摸按键被持续触发设定时长时,才满足触摸按键触发条件,此时触摸按键被触发;当触摸按键被短暂触发,并且被持续触发时长没有到达设定时长时,触摸按键不被触发。通过上述设定,当用户误操作或无意中触发设备触摸按键时,由于没有满足触摸按键的触发时长要求,因此,设备触摸按键不会被触发,设备不执行唤醒操作,此时设备仍处于休眠状态,可以继续节省电能。只有当用户持续触发设备触摸按键设定时长时,确认用户需要启动设备,这时触发设备触摸按键,使设备执行后续设定操作内容。Specifically, during the user's use of the device, the user may inadvertently touch the startup button of the device. In addition, since the touch button is integrated on the start button of the device to which the technical solution of the embodiment of the present invention is applied, when the user triggers the touch button, the device is woken up. Therefore, in order to prevent the user from inadvertently triggering the device to touch the button, the device performs the wake-up operation to waste power and increase the useless workload of the device, and the embodiment of the present invention sets the trigger condition of the touch button of the device to which the technical solution of the embodiment of the present invention is applied. . Specifically, the trigger time condition is set for the touch button of the device. When the touch button is continuously triggered for the set time, the touch button trigger condition is satisfied, and the touch button is triggered; when the touch button is triggered briefly, and the duration is continuously triggered, When the set time is reached, the touch button is not triggered. Through the above setting, when the user accidentally or inadvertently triggers the touch button of the device, since the trigger duration requirement of the touch button is not met, the device touch button is not triggered, and the device does not perform the wake-up operation, and the device is still in the sleep state. State, you can continue to save energy. Only when the user continuously triggers the device to touch the button to set the length of time, it is confirmed that the user needs to activate the device, and then the device is triggered to touch the button, so that the device performs the subsequent setting operation content.
具体在实施上述技术方案时,在设备触摸按键被触发的时刻,启动计时器,当触摸按键被出发时,计时器保持计时状态,当触摸按键不被触发时,计时器结束计时状态。当计时器计时到设定时长时,确认触摸按键被持续触发了设定时长,也就是确定触摸按键被真正触发,此时控制设备执行唤醒操作;如果在触摸按键被触发后,计时器尚未计时到达设定时长之前,触摸按键进入未触发 状态,则可以确定触摸按键没有被触发。Specifically, when the above technical solution is implemented, when the touch button of the device is triggered, the timer is started. When the touch button is started, the timer keeps counting state, and when the touch button is not triggered, the timer ends the counting state. When the timer counts to the set time, it is confirmed that the touch button is continuously triggered for the set duration, that is, it is determined that the touch button is actually triggered, and the control device performs the wake-up operation; if the touch button is triggered, the timer has not been timed. Touch the button to enter the untriggered before reaching the set time Status, you can be sure that the touch button is not triggered.
可选的,在本发明的另一个实施例中,所述判断所述启动按键是否被触发,包括:Optionally, in another embodiment of the present invention, the determining whether the activation button is triggered comprises:
判断在唤醒所述设备的休眠模块并完成预处理操作后的设定时间段内,所述启动按键是否被触发;Determining whether the start button is triggered within a set time period after waking up the hibernation module of the device and completing the pre-processing operation;
如果在唤醒所述设备的休眠模块并完成预处理操作后的设定时间段内,所述启动按键被触发,则启动所述设备。The device is activated if the activation button is triggered within a set period of time after waking up the hibernation module of the device and completing the pre-processing operation.
具体的,在本发明实施例中,设置用户触发设备触摸按键而唤醒对讲机后,判断用户是否在设备唤醒后的设定时间段内触发启动按键。也就是说,在用户触发设备触摸按键而唤醒设备后,为用户预留设定时间段来执行后续动作。如果在预留的设定时间段内,用户触发了设备启动按键,则设备立即启动;如果在预留时间段内,用户一直没有触发设备启动按键,则确认用户触发设备触摸按键失效,设备不启动,更进一步地,还可以进入休眠状态。Specifically, in the embodiment of the present invention, after the user triggering device touches the button and wakes up the walkie-talkie, it is determined whether the user triggers the start button within a set time period after the device wakes up. That is to say, after the user triggers the device to touch the button and wakes up the device, the user is reserved for a set time period to perform subsequent actions. If the user activates the device startup button within the set time period reserved, the device starts immediately; if the user does not trigger the device startup button within the reserved time period, it is confirmed that the user trigger device touch button is invalid, and the device does not Start up, and further, you can go to sleep.
具体实行上述技术方案的方法为:当用户触发设备触摸按键使设备唤醒后,开始计时,当计时到达设定时间段之前,如果用户触发了设备启动按键,则停止计时并启动设备;如果在计时到达设定时间段内,没有检测到用户触发启动按键,则本次触发设备触摸按键失效,设备不启动,或再次进入休眠状态。The method for implementing the above technical solution is as follows: when the user triggers the device to touch the button to wake up the device, the timing starts. When the timer reaches the set time period, if the user triggers the device startup button, the timing is stopped and the device is started; If the user triggers the start button is not detected within the set time period, the trigger device touch button fails, the device does not start, or enters the sleep state again.
可选的,在本发明的另一个实施例中,参见图3所示,该方法还包括:Optionally, in another embodiment of the present invention, as shown in FIG. 3, the method further includes:
如果所述启动按键没有被触发,则执行步骤S305、控制所述设备进入休眠状态。If the startup button is not triggered, step S305 is performed to control the device to enter a sleep state.
具体的,如果用户仅仅触发了设备触摸按键,但是一直没有触发设备启动按键,则本发明实施例控制设备再次进入休眠状态,以节省电能。当用户再次触发设备触摸按键时,重新唤醒对讲机。Specifically, if the user only triggers the device touch button, but the device startup button is not triggered, the embodiment of the present invention controls the device to enter the sleep state again to save power. When the user triggers the device touch button again, the walkie-talkie is re-awakened.
本发明实施例还公开了一种设备启动装置,应用于启动按键上集成触摸按键的设备;参见图4所示,该装置包括:The embodiment of the invention further discloses a device starting device, which is applied to a device for activating a touch button on a start button; as shown in FIG. 4, the device includes:
第一判断单元401,用于判断所述触摸按键是否被触发;The first determining unit 401 is configured to determine whether the touch button is triggered;
第一处理单元402,用于当所述第一判断单元判断所述触摸按键被触发时,唤醒所述设备的休眠模块并控制所述设备完成预处理操作;The first processing unit 402 is configured to: when the first determining unit determines that the touch button is triggered, wake up the hibernation module of the device and control the device to complete a pre-processing operation;
第二判断单元403,用于判断所述启动按键是否被触发; a second determining unit 403, configured to determine whether the start button is triggered;
第二处理单元404,用于当所述第二判断单元判断所述启动按键被触发时,启动所述设备。The second processing unit 404 is configured to start the device when the second determining unit determines that the start button is triggered.
具体的,本实施例中各个单元的具体工作内容,请参见对应的方法实施例的内容,此处不再赘述。For details of the specific working content of each unit in this embodiment, refer to the content of the corresponding method embodiment, and details are not described herein again.
本发明实施例提出的设备启动装置,应用于启动按键上集成触摸按键的设备;该装置启动设备时,首先由第一判断单元401判断所述触摸按键是否被触发;如果所述触摸按键被触发,则第一处理单元402唤醒所述设备的休眠模块并控制所述设备完成预处理操作;然后第二判断单元403判断所述启动按键是否被触发;如果所述启动按键被触发,则第二处理单元404启动所述设备。采用上述方案,在设备启动按键表面覆盖触摸按键,当用户触摸到启动按键而使触摸按键被触发时,唤醒设备,从而将设备唤醒工作提前,使得用户在按下设备启动按键之前,设备已经处于唤醒状态,缩短用户按下启动按键后的等待时间。The device starting device of the embodiment of the present invention is applied to a device for initiating a touch button on activating a button; when the device is activated, the first determining unit 401 first determines whether the touch button is triggered; if the touch button is triggered The first processing unit 402 wakes up the hibernation module of the device and controls the device to complete the pre-processing operation; then the second determining unit 403 determines whether the start button is triggered; if the start button is triggered, the second Processing unit 404 starts the device. In the above solution, the touch button is covered on the surface of the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device is woken up, thereby waking up the device in advance, so that the user is already in the device before pressing the device startup button. Awaken state, shortening the waiting time after the user presses the start button.
可选的,在本发明的另一个实施例中,第一判断单元401判断所述触摸按键是否被触发时,具体用于:Optionally, in another embodiment of the present invention, when the first determining unit 401 determines whether the touch button is triggered, the method is specifically configured to:
判断所述触摸按键是否被持续触发设定时长;Determining whether the touch button is continuously triggered for a set duration;
如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;If the touch button is continuously triggered for a set duration, it is determined that the touch button is triggered;
如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。If the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
具体的,本实施例中第一判断单元401的具体工作内容,请参见对应的方法实施例的内容,此处不再赘述。Specifically, for the specific working content of the first determining unit 401 in this embodiment, refer to the content of the corresponding method embodiment, and details are not described herein again.
可选的,在本发明的另一个实施例中,第二判断单元403判断所述启动按键是否被触发时,具体用于:Optionally, in another embodiment of the present invention, when the second determining unit 403 determines whether the start button is triggered, the second determining unit 403 is specifically configured to:
判断在所述第一处理单元唤醒所述设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键是否被触发;Determining whether the activation button is triggered within a set time period after the first processing unit wakes up the hibernation module of the device and controls the device to complete the pre-processing operation;
如果在所述第一处理单元唤醒所述设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键被触发,则控制所述第二处理单元启动所述设备。Controlling the second processing unit to start the method if the start button is triggered within a set time period after the first processing unit wakes up the hibernation module of the device and controls the device to complete the pre-processing operation device.
具体的,本实施例中第二判断单元403的具体工作内容,请参见对应的方法实施例的内容,此处不再赘述。 Specifically, for the specific working content of the second determining unit 403 in this embodiment, refer to the content of the corresponding method embodiment, and details are not described herein again.
可选的,在本发明的另一个实施例中,第二处理单元404还用于:Optionally, in another embodiment of the present invention, the second processing unit 404 is further configured to:
当所述第二判断单元判断所述启动按键没有被触发时,控制所述设备进入休眠状态。When the second determining unit determines that the start button is not triggered, the device is controlled to enter a sleep state.
具体的,本实施例中第二处理单元404的具体工作内容,请参见对应的方法实施例的内容,此处不再赘述。Specifically, for the specific working content of the second processing unit 404 in this embodiment, refer to the content of the corresponding method embodiment, and details are not described herein again.
本发明实施例还公开了另一种设备启动装置,参见图5所示,该装置包括:Another embodiment of the device activation device is disclosed in the embodiment of the present invention. Referring to FIG. 5, the device includes:
存储器501、处理器502和启动开关503;a memory 501, a processor 502 and a start switch 503;
其中,启动开关503与处理器502连接,包括启动按键和集成在所述启动按键上的触摸按键;The start switch 503 is connected to the processor 502, and includes a start button and a touch button integrated on the start button;
存储器501与处理器502连接,用于存储程序以及程序运行中产生的数据;The memory 501 is connected to the processor 502 for storing programs and data generated during program running;
处理器502,用于通过运行存储器501中的程序,实现以下功能:The processor 502 is configured to implement the following functions by running a program in the memory 501:
判断所述触摸按键是否被触发;如果所述触摸按键被触发,则唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作;判断所述启动按键是否被触发;如果所述启动按键被触发,则启动所述设备。Determining whether the touch button is triggered; if the touch button is triggered, waking up a hibernation module of a device applying the device and controlling the device to complete a pre-processing operation; determining whether the activation button is triggered; The start button is triggered to start the device.
具体的,本实施例中各个部分的具体工作内容,请参见对应的方式实施例的内容,此处不再赘述。Specifically, for the specific working content of each part in this embodiment, refer to the content of the corresponding mode embodiment, and details are not described herein again.
本发明实施例提出的设备启动装置,其启动开关503包括启动按键和集成在所述启动按键表面的触摸按键;该装置启动设备时,处理器502首先判断所述触摸按键是否被触发;如果所述触摸按键被触发,则唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作;然后判断所述启动按键是否被触发;如果所述启动按键被触发,则启动所述设备。采用上述方案,在设备启动按键表面覆盖触摸按键,当用户触摸到启动按键而使触摸按键被触发时,唤醒设备,从而将设备唤醒工作提前,使得用户在按下设备启动按键之前,设备已经处于唤醒状态,缩短用户按下启动按键后的等待时间。The device starting device of the embodiment of the present invention has a start switch 503 including a start button and a touch button integrated on the surface of the start button; when the device starts the device, the processor 502 first determines whether the touch button is triggered; The touch button is triggered to wake up the hibernation module of the device applying the device and control the device to complete the pre-processing operation; then determine whether the start button is triggered; if the start button is triggered, start the device . In the above solution, the touch button is covered on the surface of the device startup button, and when the user touches the startup button to cause the touch button to be triggered, the device is woken up, thereby waking up the device in advance, so that the user is already in the device before pressing the device startup button. Awaken state, shortening the waiting time after the user presses the start button.
可选的,在本发明的另一个实施例中,处理器502判断所述触摸按键是否被触发时,具体用于:Optionally, in another embodiment of the present invention, when the processor 502 determines whether the touch button is triggered, the method is specifically configured to:
判断所述触摸按键是否被持续触发设定时长;如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。 Determining whether the touch button is continuously triggered for a set duration; if the touch button is continuously triggered for a set duration, determining that the touch button is triggered; if the touch button is not continuously triggered for a set duration, determining The touch button is not triggered.
具体的,本实施例中处理器502的具体工作内容,请参见对应的方法实施例的内容,此处不再赘述。Specifically, for the specific working content of the processor 502 in this embodiment, refer to the content of the corresponding method embodiment, and details are not described herein again.
可选的,在本发明的另一个实施例中,处理器502判断所述启动按键是否被触发时,具体用于:Optionally, in another embodiment of the present invention, when the processor 502 determines whether the startup button is triggered, the method is specifically configured to:
判断在唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键是否被触发;如果在唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键被触发,则启动所述设备。Determining whether the activation button is triggered during a set period of time after waking up the hibernation module of the device applying the device and controlling the device to complete the pre-processing operation; if waking up the hibernation module of the device applying the device and The device is activated when the start button is triggered within a set time period after the device is controlled to complete the pre-processing operation.
具体的,本实施例中处理器502的具体工作内容,请参见对应的方法实施例的内容,此处不再赘述。Specifically, for the specific working content of the processor 502 in this embodiment, refer to the content of the corresponding method embodiment, and details are not described herein again.
可选的,在本发明的另一个实施例中,处理器502还用于:Optionally, in another embodiment of the present invention, the processor 502 is further configured to:
当判断所述启动按键没有被触发时,控制所述设备进入休眠状态。When it is determined that the start button is not triggered, the device is controlled to enter a sleep state.
具体的,本实施例中处理器502的具体工作内容,请参见对应的方法实施例的内容,此处不再赘述。Specifically, for the specific working content of the processor 502 in this embodiment, refer to the content of the corresponding method embodiment, and details are not described herein again.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but the scope of the invention is to be accorded

Claims (12)

  1. 一种设备启动方法,其特征在于,应用于启动按键上集成触摸按键的设备;该方法包括:A device startup method is characterized in that it is applied to a device for integrating a touch button on a start button; the method includes:
    判断所述触摸按键是否被触发;Determining whether the touch button is triggered;
    如果所述触摸按键被触发,则唤醒所述设备的休眠模块并完成预处理操作;If the touch button is triggered, wake up the hibernation module of the device and complete a pre-processing operation;
    判断所述启动按键是否被触发;Determining whether the start button is triggered;
    如果所述启动按键被触发,则启动所述设备。If the start button is triggered, the device is activated.
  2. 根据权利要求1所述的方法,其特征在于,所述判断所述触摸按键是否被触发,包括:The method according to claim 1, wherein the determining whether the touch button is triggered comprises:
    判断所述触摸按键是否被持续触发设定时长;Determining whether the touch button is continuously triggered for a set duration;
    如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;If the touch button is continuously triggered for a set duration, it is determined that the touch button is triggered;
    如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。If the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
  3. 根据权利要求1所述的方法,其特征在于,所述判断所述启动按键是否被触发,包括:The method according to claim 1, wherein the determining whether the activation button is triggered comprises:
    判断在唤醒所述设备的休眠模块并完成预处理操作后的设定时间段内,所述启动按键是否被触发;Determining whether the start button is triggered within a set time period after waking up the hibernation module of the device and completing the pre-processing operation;
    如果在唤醒所述设备的休眠模块并完成预处理操作后的设定时间段内,所述启动按键被触发,则启动所述设备。The device is activated if the activation button is triggered within a set period of time after waking up the hibernation module of the device and completing the pre-processing operation.
  4. 根据权利要求1所述的方法,其特征在于,该方法还包括:The method of claim 1 further comprising:
    如果所述启动按键没有被触发,则控制所述设备进入休眠状态。If the start button is not triggered, the device is controlled to enter a sleep state.
  5. 一种设备启动装置,其特征在于,应用于启动按键上集成触摸按键的设备;该装置包括:A device starting device is characterized in that it is applied to a device for integrating a touch button on a start button; the device comprises:
    第一判断单元,用于判断所述触摸按键是否被触发;a first determining unit, configured to determine whether the touch button is triggered;
    第一处理单元,用于当所述第一判断单元判断所述触摸按键被触发时,唤醒所述设备的休眠模块并控制所述设备完成预处理操作; a first processing unit, configured to: when the first determining unit determines that the touch button is triggered, wake up the hibernation module of the device and control the device to complete a pre-processing operation;
    第二判断单元,用于判断所述启动按键是否被触发;a second determining unit, configured to determine whether the start button is triggered;
    第二处理单元,用于当所述第二判断单元判断所述启动按键被触发时,启动所述设备。The second processing unit is configured to start the device when the second determining unit determines that the start button is triggered.
  6. 根据权利要求5所述的装置,其特征在于,所述第一判断单元判断所述触摸按键是否被触发时,具体用于:The device according to claim 5, wherein the first determining unit determines whether the touch button is triggered, specifically for:
    判断所述触摸按键是否被持续触发设定时长;Determining whether the touch button is continuously triggered for a set duration;
    如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;If the touch button is continuously triggered for a set duration, it is determined that the touch button is triggered;
    如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。If the touch button is not continuously triggered for a set duration, it is determined that the touch button is not triggered.
  7. 根据权利要求5所述的装置,其特征在于,所述第二判断单元判断所述启动按键是否被触发时,具体用于:The device according to claim 5, wherein the second determining unit determines whether the activation button is triggered, specifically for:
    判断在所述第一处理单元唤醒所述设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键是否被触发;Determining whether the activation button is triggered within a set time period after the first processing unit wakes up the hibernation module of the device and controls the device to complete the pre-processing operation;
    如果在所述第一处理单元唤醒所述设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键被触发,则控制所述第二处理单元启动所述设备。Controlling the second processing unit to start the method if the start button is triggered within a set time period after the first processing unit wakes up the hibernation module of the device and controls the device to complete the pre-processing operation device.
  8. 根据权利要求5所述的装置,其特征在于,所述第二处理单元还用于:The device according to claim 5, wherein the second processing unit is further configured to:
    当所述第二判断单元判断所述启动按键没有被触发时,控制所述设备进入休眠状态。When the second determining unit determines that the start button is not triggered, the device is controlled to enter a sleep state.
  9. 一种设备启动装置,其特征在于,包括:A device starting device, comprising:
    启动开关、存储器和处理器;Activating a switch, a memory, and a processor;
    其中,所述启动开关与所述处理器连接,包括启动按键和集成在所述启动按键上的触摸按键;The start switch is connected to the processor, and includes a start button and a touch button integrated on the start button;
    所述存储器与所述处理器连接,用于存储程序以及程序运行中产生的数据;The memory is coupled to the processor for storing a program and data generated during program execution;
    所述处理器,用于通过运行所述存储器中的程序,实现以下功能:The processor is configured to implement the following functions by running a program in the memory:
    判断所述触摸按键是否被触发;如果所述触摸按键被触发,则唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作;判断所述启动按键是否被触发;如果所述启动按键被触发,则启动所述设备。Determining whether the touch button is triggered; if the touch button is triggered, waking up a hibernation module of a device applying the device and controlling the device to complete a pre-processing operation; determining whether the activation button is triggered; The start button is triggered to start the device.
  10. 根据权利要求9所述的装置,其特征在于,所述处理器判断所述触摸 按键是否被触发时,具体用于:The apparatus according to claim 9, wherein said processor determines said touch When the button is triggered, it is specifically used to:
    判断所述触摸按键是否被持续触发设定时长;如果所述触摸按键被持续触发设定时长,则判断所述触摸按键被触发;如果所述触摸按键没有被持续触发设定时长,则判断所述触摸按键没有被触发。Determining whether the touch button is continuously triggered for a set duration; if the touch button is continuously triggered for a set duration, determining that the touch button is triggered; if the touch button is not continuously triggered for a set duration, determining The touch button is not triggered.
  11. 根据权利要求9所述的装置,其特征在于,所述处理器判断所述启动按键是否被触发时,具体用于:The device according to claim 9, wherein when the processor determines whether the activation button is triggered, the processor is specifically configured to:
    判断在唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键是否被触发;如果在唤醒应用所述装置的设备的休眠模块并控制所述设备完成预处理操作后的设定时间段内,所述启动按键被触发,则启动所述设备。Determining whether the activation button is triggered during a set period of time after waking up the hibernation module of the device applying the device and controlling the device to complete the pre-processing operation; if waking up the hibernation module of the device applying the device and The device is activated when the start button is triggered within a set time period after the device is controlled to complete the pre-processing operation.
  12. 根据权利要求9所述的装置,其特征在于,所述处理器还用于:The device according to claim 9, wherein the processor is further configured to:
    当判断所述启动按键没有被触发时,控制所述设备进入休眠状态。 When it is determined that the start button is not triggered, the device is controlled to enter a sleep state.
PCT/CN2017/103119 2017-09-25 2017-09-25 Device starting method and apparatus WO2019056349A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103119 WO2019056349A1 (en) 2017-09-25 2017-09-25 Device starting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103119 WO2019056349A1 (en) 2017-09-25 2017-09-25 Device starting method and apparatus

Publications (1)

Publication Number Publication Date
WO2019056349A1 true WO2019056349A1 (en) 2019-03-28

Family

ID=65810942

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103119 WO2019056349A1 (en) 2017-09-25 2017-09-25 Device starting method and apparatus

Country Status (1)

Country Link
WO (1) WO2019056349A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134437A1 (en) * 2008-11-28 2010-06-03 Htc Corporation Portable electronic device and method for waking up the same from sleep mode through touch screen
CN101807106A (en) * 2010-03-26 2010-08-18 深圳创维数字技术股份有限公司 Standby circuit of handheld device and awaken method thereof
CN104090821A (en) * 2014-07-10 2014-10-08 东莞市乐升电子有限公司 Full-touch system activating method and system
CN104850214A (en) * 2014-02-14 2015-08-19 维沃移动通信有限公司 Method for shortening wakeup time of mobile terminal through prediction of user wakeup intention

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134437A1 (en) * 2008-11-28 2010-06-03 Htc Corporation Portable electronic device and method for waking up the same from sleep mode through touch screen
CN101807106A (en) * 2010-03-26 2010-08-18 深圳创维数字技术股份有限公司 Standby circuit of handheld device and awaken method thereof
CN104850214A (en) * 2014-02-14 2015-08-19 维沃移动通信有限公司 Method for shortening wakeup time of mobile terminal through prediction of user wakeup intention
CN104090821A (en) * 2014-07-10 2014-10-08 东莞市乐升电子有限公司 Full-touch system activating method and system

Similar Documents

Publication Publication Date Title
US11009933B2 (en) Apparatus and method for waking up a processor
US8108704B2 (en) Method for automatically switching power states
CN104850214B (en) A method of it is intended to shorten mobile terminal wakeup time by predicting that user wakes up
CN111562836B (en) Power saving method, device, equipment and storage medium applied to electronic equipment
CN104636169B (en) A kind of system wake-up method and device
WO2014117500A1 (en) Touch screen terminal and working method thereof
KR102048329B1 (en) Method and apparatus for running application program
TWI431515B (en) E-book
WO2022206584A1 (en) Electronic device, display control method, display control apparatus and readable storage medium
CN105353864A (en) Static power consumption management method and system for electronic device
US11385701B2 (en) Power-on processing method and apparatus of terminal device, and terminal device
WO2015180607A1 (en) Terminal
CN104571839A (en) Terminal and processing method and device thereof
CN112114887A (en) Controlled device, method for waking up controlled device and storage medium
WO2022242683A1 (en) Memory recovery method and apparatus, and electronic device
CN104102534B (en) A kind of method and mobile terminal for preventing touch-screen mistaken touch
CN107231386B (en) Application state conversion method and device and mobile terminal
US9672048B2 (en) Electronic device and method for waking up operating system thereof
CN105739986A (en) Terminal wakeup method and terminal
WO2019056349A1 (en) Device starting method and apparatus
JP7231535B2 (en) Smart device control method, smart device control device, electronic device, and storage medium
TWI667569B (en) Computer wake-up method and computer power saving method
CN107203377B (en) Mobile terminal and awakening method thereof
WO2018090735A1 (en) Method and apparatus for switching channels in smart interaction tablet
TW201616277A (en) Portable electronic device and method for waking-up portable electronic device thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17926260

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17926260

Country of ref document: EP

Kind code of ref document: A1