WO2016206287A1 - Terminal and control method thereof - Google Patents

Terminal and control method thereof Download PDF

Info

Publication number
WO2016206287A1
WO2016206287A1 PCT/CN2015/094567 CN2015094567W WO2016206287A1 WO 2016206287 A1 WO2016206287 A1 WO 2016206287A1 CN 2015094567 W CN2015094567 W CN 2015094567W WO 2016206287 A1 WO2016206287 A1 WO 2016206287A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensing
preset
terminal
application
effective
Prior art date
Application number
PCT/CN2015/094567
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 中兴通讯股份有限公司
Publication of WO2016206287A1 publication Critical patent/WO2016206287A1/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
    • 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
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the embodiments of the present invention relate to the field of electronic terminal devices, and in particular, to a terminal and a control method thereof.
  • An object of the embodiments of the present invention is to provide a terminal and a control method that can implement non-contact operation.
  • an embodiment of the present invention provides a terminal control method, including:
  • the first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times is the first effective sensing times of the detected sensing object to the sensing action of the terminal. ;
  • the second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is a second effective feeling of the detected sensing object to the sensing action of the terminal. Number of times
  • the application corresponding to the first preset parameter is:
  • the number of times the sensing object falls within the preset sensing range is the effective number of sensing
  • the application is started when the number of effective sensing records in the first preset time reaches the first preset number of sensing times.
  • the method further includes: identifying a status of the application.
  • the state of the application is the startup state, detecting whether the sensing action of the sensing object to the terminal is within the second preset sensing range;
  • the number of times the sensing object falls within the second preset sensing range is the second effective sensing number
  • the method includes: presetting a first preset parameter corresponding to the application and performing a second preset parameter corresponding to the application related operation.
  • the method further includes:
  • Re-detecting when the first preset number of sensing times is not reached within the first preset time range, or when the first preset number of sensing times is not reached within the first preset time range The number of effective sensing times is reset to zero.
  • the method further includes:
  • Re-detecting when the second preset number of sensing times is not reached within the second preset time range, or when the second predetermined number of sensing times is not reached within the second predetermined time range The number of effective sensing times is reset to zero.
  • the method further includes: accumulating the first effective sensing times or the second effective sensing times.
  • the method further includes:
  • the user of the terminal is prompted to enable the sensing mode, and when the receiving sensing mode is received from the user, the sensing mode is turned on.
  • the method further includes: receiving an application preference level from the user-set reception sensing signal when the sensing mode is turned on.
  • the detected sensing action of the sensing object to the terminal includes at least one of: proximity to the sensing area of the terminal, shaking the terminal, applying pressure to the terminal sensing area, and sensing the sliding of the terminal region.
  • an embodiment of the present invention further provides a terminal, including a control module, and a setting module, where
  • the setting module includes a first setting module and a second setting module, wherein
  • a first setting module configured to set a first preset parameter
  • a second setting module configured to set a second preset parameter
  • the control module includes a first control module and a second control module, wherein
  • the first control module is configured to: when it is detected that the first preset parameter of the terminal is effectively triggered, start an application corresponding to the first preset parameter;
  • a second control module configured to perform a related operation of the application when the application processes an activation state, and when detecting that the second preset parameter of the terminal is effectively triggered;
  • the first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal;
  • the second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal.
  • the first control module includes a first sensing unit, a first recording unit, and a first Execution unit, where:
  • the first sensing unit is configured to detect whether the sensing action of the sensing object to the terminal is within a first preset sensing range
  • the first recording unit is configured to: when the first preset sensing range is within, the number of times the sensing object falls within the first preset sensing range is the first effective sensing number;
  • the first execution unit is configured to start an application corresponding to the preset number of sensing times when the number of effective sensing times recorded in the first preset time reaches the first preset number of sensing times.
  • the terminal further includes an identifier module, configured to identify a status of the application.
  • the second control module includes a second sensing unit, a second recording unit, and a second execution unit, where:
  • the second sensing unit is configured to: when the state of the application is an activated state, detecting whether the sensing action of the sensing object to the terminal is within a second preset sensing range;
  • the second recording unit is configured to: when the second preset range is set, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number;
  • the second execution unit is configured to perform a related operation of the application when the number of valid inductions recorded in the second preset time reaches the second preset number of inductions.
  • the terminal further includes:
  • the first reset module is configured to: when the first preset number of sensing times is not reached within the first preset time range, or when the first preset sensing times are not reached within the first preset time range, The detection is performed and the number of effective inductions is reset to zero.
  • the terminal further includes:
  • the second reset module is configured to: when the second preset number of sensing times is not reached within the second preset time range, or when the second preset sensing times are not reached within the second preset time range, The detection is performed and the number of effective inductions is reset to zero.
  • the terminal further includes: a superimposing module configured to accumulate the first effective sensing times or the second effective sensing times respectively.
  • the terminal further includes: a startup module: configured to prompt the terminal user whether to open The proximity sensing mode is turned on, and when the proximity proximity sensing mode is received from the user, the proximity sensing mode is turned on.
  • a startup module configured to prompt the terminal user whether to open The proximity sensing mode is turned on, and when the proximity proximity sensing mode is received from the user, the proximity sensing mode is turned on.
  • the second setting module is further configured to: when the sensing mode is turned on, receive an application preference level that the user sets to receive the sensing signal.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the terminal control method of any of the above.
  • the beneficial effects of the embodiment of the present invention are: by setting a sensor on the terminal, and presetting the sensing parameter and the second-level preset sensing parameter at a level corresponding to the terminal sensor, and when detecting that the sensing action of the user reaches the first-level sensing parameter, starting The application continues to operate on the launched application when it detects that the user's sensing action reaches the secondary sensing parameter.
  • FIG. 1 is a flowchart of an embodiment of a terminal control method according to the present invention.
  • FIG. 2 is a flowchart of detecting that a first preset parameter of a terminal is effectively triggered according to an embodiment of the present invention
  • FIG. 3 is a flowchart of detecting that a second preset parameter of a terminal is effectively triggered according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a component module of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a control module of a terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of an intelligent terminal having a proximity sensor according to the present invention.
  • FIG. 7 is a schematic diagram of a first setting page of a setting module according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a second setting page of a setting module according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for controlling an intelligent terminal with a proximity sensor according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an embodiment of a terminal control method according to the present invention. As shown in FIG. 1, the method includes:
  • Step 1 When it is detected that the first preset parameter of the terminal is effectively triggered, the application corresponding to the first preset parameter is started;
  • Step 2 When the application is in an activated state, and when detecting that the second preset parameter of the terminal is effectively triggered, performing related operations of the application;
  • the first preset parameter includes: a first preset time range and a first preset sensing number, wherein the first preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal.
  • the second preset parameter includes: a second preset time range and a second preset induction time, and the second preset induction times is the effective induction times of the detected sensing object to the sensing action of the terminal.
  • the first preset parameter and the second preset parameter may be the same or different, and the parameter values may be the same or different.
  • the method further includes: presetting a first preset parameter corresponding to the application and performing a second preset parameter corresponding to the application related operation.
  • the launched application can be applied to applications on the terminal device such as music, camera, reading, and the like.
  • the operation of executing the application may be related operations continued in an already opened application, for example, when the application of the music playing is turned on, the related operations such as the next song playing and the previous song playing operation may be continued.
  • the operation of closing the music playing application for example, after the reading application is started, the related operations such as the previous page browsing and the next page browsing operation, and the operation of closing the reading application can be continued.
  • step 1 shown in FIG. 1 specifically includes:
  • Step 11 detecting whether the sensing action of the sensing object on the terminal is within the first preset sensing range
  • Step 12 When the first preset sensing range is within the first sensing range, the number of times the sensing object falls within the preset first sensing range is the first effective sensing number;
  • Step 13 accumulating the first effective connection induction times
  • Step 14 Start the application when the first effective sensing number recorded in the first preset time reaches the first preset sensing number.
  • the sensing object includes at least one of the following: separately setting the sensing object matched with the terminal, and sensing the body part of the user.
  • the sensing action of the sensing object on the terminal includes at least one of: approaching a sensing area of the terminal, shaking the terminal, and applying pressure to the terminal sensing area.
  • the first preset parameter set includes the proximity distance of the user when the application starts, for example, it can be set to 0 to 10 cm, and the proximity sensing number is, for example, 3 times, when the user repeats 3
  • the terminal is effectively approached to the terminal 3 times within a range of 0 to 10 cm from the terminal, the corresponding application is turned on;
  • the first preset parameters set include the induced gravity range at the start of the application and the effective gravity sensing.
  • the range of the time pressure and the number of effective pressure sensings can be turned on when it is detected that the magnitude of the pressure applied by the user to a certain area of the terminal is within a preset pressure value range and the number of completed effective pressure sensing times reaches the set sensing frequency. The corresponding application.
  • a timer is set in the terminal for calculating the time range in which the effective sensing times are completed, and when the first effective sensing times are triggered, the timing is performed, the second effective sensing is completed, and the superimposition is performed in the prescribed If the specified number of effective inductions is completed within the time range, the corresponding application is started, otherwise it is cleared and re-sensed.
  • FIG. 3 is a flowchart of detecting that a second preset parameter of a terminal is effectively triggered according to an embodiment of the present invention.
  • step 2 shown in FIG. 1 specifically includes:
  • Step 21 When the state of the application is the startup state, detecting whether the sensing action of the sensing object to the terminal is within a second preset sensing range;
  • Step 22 When the second preset sensing range is within, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number;
  • the detection is performed again and the second effective sensing is performed.
  • the number of times is reset to zero;
  • Step 23 accumulating the second effective connection induction times
  • Step 24 Perform related operations of the application when the second effective sensing number recorded in the second preset time reaches the second preset sensing number.
  • the parameter of the related operation in the state in which the application is turned on may be set as the second preset parameter, for example, when the music playing application is turned on, the second preset parameter includes the number of times of playing the next song is 1 time. The number of times the previous song is played is 2 times, and the number of times the music application is turned off is 3 times.
  • the related operation is performed.
  • a timer is added to provide the stability of the sensing, and the timer and the reset clear are similar to the above, and will not be described here.
  • the foregoing method further includes: identifying a status of the application. Specifically, the state of the application startup and shutdown is recorded. If the application is in the startup state, the flag is true (true), and if the application is in the shutdown state, the flag is false (false), if the user terminal is turned on or off, The application status is also identified. Starts and closes the function, and if the conditions for starting or closing the application are met, the application is operated through it.
  • the foregoing method further includes: prompting the terminal user whether to enable the sensing mode, and when the user is in the sensing mode, the sensing mode is turned on; when the sensing mode is enabled, when the sensing mode is enabled, the receiving user is configured to receive the receiving mode.
  • the application level of the sensing signal is preferred.
  • the sensing mode may be a hard switch disposed on the terminal, or may be a floating button disposed in the terminal page.
  • the sensing mode is entered; otherwise, the sensing detection is not performed.
  • the sensing mode is enabled, you can select which applications are enabled or blocked, set the corresponding sensing time and sensing times when the terminal application is turned on, and further set the sensing time and sensing times corresponding to the options for continuing the related operations when the terminal application is turned on.
  • the user can set multiple applications to be started based on the same parameter value, and the applications are sorted by priority. For example, the first priority starts the camera function, and the second priority starts the music player function. If the first priority is set, When the startup function is turned off, the second priority function is enabled by default after the user operation reaches the threshold.
  • the method includes a control module, and a setting module for setting a first preset parameter and a second preset parameter.
  • Setting a module, configured to set a first preset parameter and a second preset parameter
  • control module configured to: when it is detected that the first preset parameter of the terminal is effectively triggered, start an application corresponding to the first preset parameter; when the application processes the startup state, and when detecting the second pre-preparation of the terminal When the parameter is effectively triggered, the related operation of the application is performed.
  • Overlay module set to accumulate the number of valid closes. Specifically, the first effective sensing times are accumulated, and when the accumulated effective sensing times reach the first preset sensing times, the application is started; the second effective sensing times are accumulated, and when the accumulated effective sensing times reach the second preset When the number of times is sensed, the related operations of the application are performed.
  • the terminal of the embodiment of the present invention further includes: a reset module, configured to re-detect and reset the first effective sensing times to zero when the effective sensing times fail to reach the preset sensing times. Specifically, when the first preset number of sensing times is not reached within the first preset time range, or when the first preset sensing times are not reached within the first preset time range, the detection is performed again and the first The number of effective sensing times is reset to zero; when the second preset number of sensing times is not reached within the second preset time range, or when the second predetermined number of sensing times is not reached within the second predetermined time range, Retest and reset the second effective number of inductions to zero.
  • a reset module configured to re-detect and reset the first effective sensing times to zero when the effective sensing times fail to reach the preset sensing times.
  • the terminal of the embodiment of the present invention further includes an activation unit configured to prompt the terminal user whether to enable the proximity sensing mode, and when the user turns on the proximity sensing mode, the proximity sensing mode is turned on.
  • FIG. 5 is a schematic diagram of a control module of a terminal according to an embodiment of the present invention. As shown in FIG. 5, the control module includes a first control module and a second control module, where
  • the first control module is configured to: when it is detected that the first preset parameter of the terminal is effectively triggered, start an application corresponding to the first preset parameter;
  • a second control module configured to perform a related operation of the application when the application processes an activation state, and when detecting that the second preset parameter of the terminal is effectively triggered;
  • the first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times are effective sensing of the detected sensing object to the sensing action of the terminal.
  • the second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is the number of effective sensing times of the detected sensing object to the sensing action of the terminal.
  • the first preset parameter and the second preset parameter may be the same or different, and the parameter values may be the same or different.
  • the above applications can be applied to music, cameras, reading, and the like.
  • the related operation of the application is an operation that continues in the state where the application is turned on.
  • the related operations include the operation of continuing to play the next song and playing the previous song, and the operation of closing the music playing application.
  • the related operations include continuing the operation of the previous page browsing and the next page browsing, and the operation of reading the application has been closed. It can be detected by proximity sensors, gravity sensors, and pressure sensing.
  • the sensing object includes at least one of the following: separately setting the sensing object matched with the terminal, and the user's part.
  • the sensing action of the sensing object on the terminal includes at least one of: approaching a sensing area of the terminal, shaking the terminal, and applying pressure to the terminal sensing area.
  • the first control module includes a first sensing unit, a first recording unit, and a first execution unit, wherein: the first sensing unit is configured to detect whether the sensing action of the sensing object to the terminal is within a first preset sensing range; a recording unit configured to: when in the first preset sensing range, the number of times the sensing object falls within the first preset sensing range is the first effective sensing number; the first execution unit: when in the first When the first effective sensing number recorded in the time reaches the first preset sensing number, the application corresponding to the preset sensing times is activated.
  • the set parameters include the sensing distance of the proximity sensor when the application starts, for example, it can be set to 0 to 10 cm, and the corresponding application is turned on.
  • the number of times of sensing for example, 3 times, the corresponding application can be played for music.
  • the music player application is turned on.
  • the first sensing unit and the second sensing unit adopt a gravity sensor, firstly, the sensing gravity range of the sensor and the number of sensing are set.
  • the range is valid and valid.
  • the number of sensing times reaches the set number of sensing times to activate the music player function.
  • the timer is set in the terminal to calculate the time range in which the effective sensing times are completed, and when the first effective sensing times are triggered, Timing is performed, the second effective induction is completed, superimposition is performed, and the specified effective induction number is completed within a predetermined time range, and the corresponding application is started, otherwise the zeroing is performed and the sensing is performed again.
  • the second control module includes a second sensing unit, a second recording unit, and a second execution unit, wherein: the second sensing unit is configured to detect whether the sensing action of the sensing object to the terminal is when the state of the application is the activated state.
  • the second recording unit is configured to: when the second preset range is set, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number;
  • the second executing unit is configured to perform a related operation of the application when the second effective sensing number recorded in the second preset time reaches the second preset sensing number.
  • the first sensing unit and the second sensing unit may be the same or different.
  • the parameters of the application-related operation in the state that the corresponding application is turned on may be continued.
  • the parameters of the related operation include the number of effective sensing times of playing the next song is 1 time, and the effective sensing frequency of playing the previous song is 2 times, and the effective sensing of the music application is turned off. The number of times is 3, and the sensing distance can be set to the same distance or set differently.
  • the setting module of the terminal is specifically configured to set, in advance, the parameters corresponding to the opening of an application and the operations related to the application, including the sensing range, the number of effective sensing times, and the time range corresponding to the number of effective sensing times;
  • the setting module includes a first reset module and a second reset module, wherein the first reset module is configured to when the first preset number of sensing times is not reached within the first preset time range, or when in the first When the first preset number of sensing times is not reached within the preset time range, the detection is re-executed and the effective number of sensing times is reset to zero.
  • the second reset module is configured to: when the second preset number of sensing times is not reached within the second preset time range, or when the second preset sensing times are not reached within the second preset time range, The detection is performed and the number of effective inductions is reset to zero; the overlay module: set to accumulate the effective number of closes.
  • the timer and reset clear are similar to the above, and will not be described here.
  • the terminal further includes: an identity module, configured to identify a status of the application. Specifically, the application is started and closed. If the application is in the startup state, the flag is true. If the application is in the shutdown state, the flag is false. If the user terminal is enabled or disabled, the application status is also identified. . Starts and closes the function, and if the conditions for starting or closing the application are met, the application is operated through it.
  • an identity module configured to identify a status of the application. Specifically, the application is started and closed. If the application is in the startup state, the flag is true. If the application is in the shutdown state, the flag is false. If the user terminal is enabled or disabled, the application status is also identified. . Starts and closes the function, and if the conditions for starting or closing the application are met, the application is operated through it.
  • the second setting module is further configured to: when the sensing mode is turned on, receive an application optimization level that the user sets the receiving sensing signal.
  • the startup module may be a hard switch disposed on the terminal, or may be a floating button disposed in the terminal page.
  • the sensing mode is entered; otherwise, the sensing detection is not performed.
  • the sensing mode is enabled, you can select which applications are enabled or blocked, set the corresponding sensing time and sensing times when the terminal application is turned on, and further set the sensing time and sensing times corresponding to the options for continuing operation when the terminal application is turned on.
  • the user can set multiple applications to be started based on the same parameter value, and the applications are sorted by priority. For example, the first priority starts the camera function, and the second priority starts the music player function. If the first priority is set, When the startup function is turned off, the second priority function is enabled by default after the user operation reaches the threshold.
  • FIG. 6 is a schematic structural diagram of an intelligent terminal having a proximity sensor according to an embodiment of the present invention, as shown in FIG.
  • the smart device of the embodiment of the invention comprises a control module, a recording module, an execution module, and a setting module.
  • the control module is configured to sense the distance between the user and the smart device, and the distance sensor is used. When the distance sensor senses that the human body and the smart device are close to each other, the distance data is acquired, and if the distance data reaches the set threshold, the distance data is sent.
  • the recording module is set to count the incoming distance data of the external sensing device, and is compared with the corresponding switching threshold; the executing module is used to start or close the application; setting the module, setting the proximity of the external sensing device Threshold, proximity threshold, application to be started, closed, etc.
  • the control module acquires distance data between the user and the smart device, and counts the distance value of the incoming distance through the recording module, and counts the number of times the user approaches in a certain period of time and judges the threshold value, for example: when acquiring The distance is less than a certain threshold and is recorded in the recording module; a timing device such as a timer is set to complete the timeout processing after the user approaches and no operation is performed, and the recording module identifies the application in the setting as the startup and shutdown. Judgment basis for application.
  • the control module sets an acceptable range for the time difference of 2 approaches, which is convenient for calculating a reasonable number of proximitys, preventing the user from starting or shutting down the target application.
  • FIG. 7 is a schematic diagram of setting a first setting page of a module according to an embodiment of the present invention.
  • the setting module is configured to set some necessary parameters for starting and closing an application.
  • Related parameters that can be set such as The following parameters are not limited to the following parameters: the external sensing device is the distance threshold between the distance sensor and the human body, the application name, and the counting threshold associated with the application. For example, the music player requires the user to turn on or off nearly 2 times;
  • the setting module is also set to complete the setting of the reference parameters, and the application can be added or deleted, and the user closeness threshold is set for the added application. For example, the user needs to be close to several times to open or close an application. Therefore, the user is prevented from immediately opening an application when the user is inadvertently approaching the smart device, and is also set to differently launch different applications.
  • FIG. 8 is a schematic diagram of a second setting page of a setting module according to an embodiment of the present invention.
  • the user can set multiple applications to be started on the basis of the same threshold, and the applications are sorted by priority, for example, The first priority activates the camera function, and the second priority activates the music player function. If the first priority activation function is turned off, the second priority function is activated by default after the user operation reaches the threshold.
  • the application can be phase-operated by setting a threshold value to enter related functions in the setting, and the system lists the settable parameters, such as the camera module in the above example, listing options for taking pictures, recordings, etc., in corresponding options.
  • the recording function is turned off.
  • the system starts the timer function during the application operation. If there is no operation within the set time, the user is no longer required to operate the application, wait for the user to approach, and close the application.
  • the user can set the proximity distance threshold of the external device. If the interference is prevented, set the close distance. If there is no excessive external interference, you can set the appropriate distance. If there is no setting, you can use the default value.
  • the logging module performs all logic and data related processing.
  • the data processing function counts and stores the distance data transmitted by the external device.
  • the timer function detects whether a user is close to the smart device for a period of time. If no data is available for monitoring, the data is cleared.
  • the status processing function is set to record the status of the application startup and shutdown. If the application is in the startup state, it is marked as true. If the application is in the shutdown state, it is marked as false. If the user manually turns the application on or off, the application is also applied. Status is identified. Starts and closes the function, and if the conditions for starting or closing the application are met, the application is operated through it.
  • FIG. 9 is a flowchart of a method for controlling an intelligent terminal with a proximity sensor according to an embodiment of the present invention. As shown in FIG. 9, the method includes the following steps:
  • Step 900 The external sensing device, as in the embodiment, obtains the distance between the human body and the smart device. When the distance data is less than a certain threshold, the data is transmitted to the recording module.
  • Step 901 The recording module receives the distance data, and stores and counts the data. If the data is first approached, the count is 1, the second time is close, and the count is 2.
  • Step 902 After the recording module detects that the incoming count data matches the set switch threshold, the application is associated with the threshold, and the application is started if the application is not in the startup state, and is closed if the application is in the startup state. application.
  • Step 903 If the acquired count does not have a matching threshold, start the timer device and wait for the human body to approach the smart device again. If the distance sensor sends the distance data to the recording module, the system flow goes to 900, such as If no distance data is passed in the timer startup period, the data system is cleared and the system flow goes to 906.
  • Step 904 After the application is started or closed, the startup state is identified. If the startup is true, the shutdown is false.
  • Step 905 After the application is started, wait for the user to approach again, and further operate the application according to the identifier, for example, after entering the camera function, taking a photo.
  • Step 906 The system flow ends.
  • the distance between the human body and the smart device is detected by using the external sensing device, and when the distance data reaches the threshold, the counting is performed, and compared with the switching threshold value set by the application, thereby starting and closing the application in the smart device, further, Once the application is turned on, the application can be further manipulated by thresholds.
  • the terminal and the control method thereof are provided when the first preset parameter of the terminal is effectively triggered, and the application corresponding to the first preset parameter is started; when the application processes the startup state, And when it is detected that the second preset parameter of the terminal is effectively triggered, performing related operations of the application; the embodiment of the present invention implements the non-contact operation terminal.

Abstract

A terminal and control method, the method comprising: when a first preset parameter of the terminal is detected to be effectively triggered, starting an application corresponding to the first preset parameter; when the application processes an initialization state and a second preset parameter of the terminal is detected to be effectively triggered, performing a related operation of the application. The embodiment of the present invention realizes a contactless operation terminal.

Description

一种终端及其控制方法Terminal and control method thereof 技术领域Technical field
本发明实施例涉及电子终端设备领域,尤指一种终端及其控制方法。The embodiments of the present invention relate to the field of electronic terminal devices, and in particular, to a terminal and a control method thereof.
背景技术Background technique
目前,用户在使用智能设备的过程中,如果要开启某项应用,需要通过触摸屏、按键或是语音进行操作来实现。而当应用启动后,如果要关闭该应用,也要通过手动或是语音操作来实现。通常,通过语音或手动方式开启或是关闭应用,在大多数的使用场景中没有问题,但是,如果在用户不能直接对手机进行操作的场景中,如开车途中,如果用户想打开音乐播放功能,或是在背景音比较嘈杂的环境中,通过语音开启某项应用,此时,如果还是通过手动或是语音进行操作就不方便了,而且会导致使用应用的失败,给用户使用智能设备带来了很大的不方便。At present, in the process of using a smart device, if a certain application is to be opened, the user needs to operate through a touch screen, a button or a voice. When the application is launched, if you want to close the application, you should also do it manually or by voice. Usually, the application is turned on or off by voice or manual mode, and there is no problem in most usage scenarios, but if the user cannot directly operate the mobile phone in the scene, such as driving, if the user wants to open the music playing function, Or in an environment with a relatively noisy background, it is inconvenient to open an application by voice. At this time, it is inconvenient to operate by manual or voice, and it will lead to the failure of using the application, and bring the smart device to the user. A lot of inconvenience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例的目的在于提供一种可实现非接触性操作的终端及控制方法。An object of the embodiments of the present invention is to provide a terminal and a control method that can implement non-contact operation.
为达上述目的,本发明实施例提供一种终端控制方法,包括:To achieve the above objective, an embodiment of the present invention provides a terminal control method, including:
当检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用;When it is detected that the first preset parameter of the terminal is effectively triggered, the application corresponding to the first preset parameter is started;
当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作;When the application processes the startup state, and when it is detected that the second preset parameter of the terminal is effectively triggered, performing a related operation of the application;
所述第一预设参数包括第一预设的时间范围和第一预设的感应次数,所述第一预设的感应次数为检测到的感应对象对终端的感应动作的第一有效感应次数;The first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times is the first effective sensing times of the detected sensing object to the sensing action of the terminal. ;
所述第二预设参数包括第二预设的时间范围和第二预设的感应次数,所述第二预设的感应次数为检测到的感应对象对终端的感应动作的第二有效感 应次数The second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is a second effective feeling of the detected sensing object to the sensing action of the terminal. Number of times
可选地,所述检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用包括:Optionally, when the detecting that the first preset parameter of the terminal is triggered, the application corresponding to the first preset parameter is:
检测感应对象对终端的感应动作是否在所述第一预设的感应范围内;Detecting whether the sensing action of the sensing object on the terminal is within the first preset sensing range;
当在所述第一预设的感应范围内时,记录感应对象落入预设感应范围内的感应次数为有效感应次数;When in the first preset sensing range, the number of times the sensing object falls within the preset sensing range is the effective number of sensing;
当在所述第一预设时间内记录的有效感应次数达到第一预设的感应次数时,启动所述应用。The application is started when the number of effective sensing records in the first preset time reaches the first preset number of sensing times.
可选地,还包括:对所述应用的状态进行标识。Optionally, the method further includes: identifying a status of the application.
可选地,所述当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作,包括:Optionally, when the application processes the startup state, and when it is detected that the second preset parameter of the terminal is effectively triggered, performing related operations of the application, including:
当所述应用的状态为启动状态时,检测感应对象对终端的感应动作是否在所述第二预设的感应范围内;When the state of the application is the startup state, detecting whether the sensing action of the sensing object to the terminal is within the second preset sensing range;
当在所述第二预设的感应范围内时,记录感应对象落入第二预设感应范围内的感应次数为第二有效感应次数;When in the second preset sensing range, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number;
当在第二预设时间内记录的所述有效感应次数达到第二预设的感应次数时,执行所述应用的相关操作。When the number of effective sensing records recorded in the second preset time reaches the second preset number of sensing times, the related operation of the application is performed.
可选地,所述方法之前包括:预先设置启动所述应用对应的第一预设参数和执行所述应用相关操作对应的第二预设参数。Optionally, the method includes: presetting a first preset parameter corresponding to the application and performing a second preset parameter corresponding to the application related operation.
可选地,所述方法还包括:Optionally, the method further includes:
当未在所述第一预设时间范围内达到第一预设的感应次数时,或者当在所述第一预设时间范围内未达到第一预设的感应次数时,重新进行检测并将有效感应次数重置为零。Re-detecting when the first preset number of sensing times is not reached within the first preset time range, or when the first preset number of sensing times is not reached within the first preset time range The number of effective sensing times is reset to zero.
可选地,所述方法还包括:Optionally, the method further includes:
当未在所述第二预设时间范围内达到第二预设的感应次数时,或者当在所述第二预设时间范围内未达到第二预设的感应次数时,重新进行检测并将有效感应次数重置为零。 Re-detecting when the second preset number of sensing times is not reached within the second preset time range, or when the second predetermined number of sensing times is not reached within the second predetermined time range The number of effective sensing times is reset to zero.
可选地,所述方法还包括:对所述第一有效感应次数或第二有效感应次数进行累加。Optionally, the method further includes: accumulating the first effective sensing times or the second effective sensing times.
可选地,所述方法之前还包括:Optionally, the method further includes:
提示所述终端的用户是否开启感应模式,当接收到来自用户的开启感应模式时,开启感应模式。The user of the terminal is prompted to enable the sensing mode, and when the receiving sensing mode is received from the user, the sensing mode is turned on.
可选地,所述方法还包括:当所述感应模式开启后,接收来自用户设定的接收感应信号的应用优选级别。Optionally, the method further includes: receiving an application preference level from the user-set reception sensing signal when the sensing mode is turned on.
可选地,所述检测到的感应对象对终端的感应动作包括以下至少之一:接近所述终端的感应区域、摇动所述终端、对所述终端感应区域施加压力、滑动所述终端的感应区域。Optionally, the detected sensing action of the sensing object to the terminal includes at least one of: proximity to the sensing area of the terminal, shaking the terminal, applying pressure to the terminal sensing area, and sensing the sliding of the terminal region.
为达上述目的,本发明实施例还提供一种终端,包括控制模块,设置模块;其中,In order to achieve the above objective, an embodiment of the present invention further provides a terminal, including a control module, and a setting module, where
设置模块包括第一设置模块和第二设置模块,其中,The setting module includes a first setting module and a second setting module, wherein
第一设置模块,设置为设置第一预设参数;第二设置模块,设置为设置第二预设参数;a first setting module, configured to set a first preset parameter; and a second setting module configured to set a second preset parameter;
控制模块包括第一控制模块和第二控制模块,其中,The control module includes a first control module and a second control module, wherein
第一控制模块:设置为当检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用;The first control module is configured to: when it is detected that the first preset parameter of the terminal is effectively triggered, start an application corresponding to the first preset parameter;
第二控制模块:设置为当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作;a second control module: configured to perform a related operation of the application when the application processes an activation state, and when detecting that the second preset parameter of the terminal is effectively triggered;
所述第一预设参数包括第一预设的时间范围和第一预设的感应次数,所述第一预设的感应次数为检测到的感应对象对终端的感应动作的有效感应次数;The first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal;
所述第二预设参数包括第二预设的时间范围和第二预设的感应次数,所述第二预设的感应次数为检测到的感应对象对终端的感应动作的有效感应次数。The second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal.
可选地,所述第一控制模块包括第一感应单元、第一记录单元,及第一 执行单元,其中:Optionally, the first control module includes a first sensing unit, a first recording unit, and a first Execution unit, where:
第一感应单元,设置为检测感应对象对终端的感应动作是否在第一预设的感应范围内;The first sensing unit is configured to detect whether the sensing action of the sensing object to the terminal is within a first preset sensing range;
第一记录单元,设置为当在第一预设的感应范围内时,记录感应对象落入第一预设感应范围内的感应次数为第一有效感应次数;The first recording unit is configured to: when the first preset sensing range is within, the number of times the sensing object falls within the first preset sensing range is the first effective sensing number;
第一执行单元:设置为当在第一预设时间内记录的有效感应次数达到第一预设的感应次数时,启动所述预设的感应次数对应的应用。The first execution unit is configured to start an application corresponding to the preset number of sensing times when the number of effective sensing times recorded in the first preset time reaches the first preset number of sensing times.
可选地,所述终端还包括标识模块,设置为对所述应用的状态进行标识。Optionally, the terminal further includes an identifier module, configured to identify a status of the application.
可选地,所述第二控制模块包括第二感应单元、第二记录单元,及第二执行单元,其中:Optionally, the second control module includes a second sensing unit, a second recording unit, and a second execution unit, where:
第二感应单元:设置为当所述应用的状态为启动状态时,检测感应对象对终端的感应动作是否在第二预设的感应范围内;The second sensing unit is configured to: when the state of the application is an activated state, detecting whether the sensing action of the sensing object to the terminal is within a second preset sensing range;
第二记录单元:设置为当在第二预设的范围内时,记录感应对象落入第二预设感应范围内的感应次数为第二有效感应次数;The second recording unit is configured to: when the second preset range is set, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number;
第二执行单元:设置为当在第二预设时间内记录的所述有效感应次数达到第二预设的感应次数时,执行所述应用的相关操作。The second execution unit is configured to perform a related operation of the application when the number of valid inductions recorded in the second preset time reaches the second preset number of inductions.
可选地,所述终端还包括:Optionally, the terminal further includes:
第一重置模块:设置为当未在第一预设时间范围内达到第一预设的感应次数时,或者当在第一预设时间范围内未达到第一预设的感应次数时,重新进行检测并将有效感应次数重置为零。The first reset module is configured to: when the first preset number of sensing times is not reached within the first preset time range, or when the first preset sensing times are not reached within the first preset time range, The detection is performed and the number of effective inductions is reset to zero.
可选地,所述终端还包括:Optionally, the terminal further includes:
第二重置模块:设置为当未在第二预设时间范围内达到第二预设的感应次数时,或者当在第二预设时间范围内未达到第二预设的感应次数时,重新进行检测并将有效感应次数重置为零。The second reset module is configured to: when the second preset number of sensing times is not reached within the second preset time range, or when the second preset sensing times are not reached within the second preset time range, The detection is performed and the number of effective inductions is reset to zero.
可选地,所述终端还包括:叠加模块:设置为对第一有效感应次数或第二有效感应次数分别进行累加。Optionally, the terminal further includes: a superimposing module configured to accumulate the first effective sensing times or the second effective sensing times respectively.
可选地,所述终端还包括:启动模块:设置为提示所述终端用户是否开 启接近感应模式,当接收到来自用户的开启接近感应模式时,开启接近感应模式。Optionally, the terminal further includes: a startup module: configured to prompt the terminal user whether to open The proximity sensing mode is turned on, and when the proximity proximity sensing mode is received from the user, the proximity sensing mode is turned on.
可选地,其中,所述第二设置模块还设置为:当感应模式开启后,接收用户设定接收感应信号的应用优选级别。Optionally, the second setting module is further configured to: when the sensing mode is turned on, receive an application preference level that the user sets to receive the sensing signal.
本发明实施例再提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的终端控制方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the terminal control method of any of the above.
本发明实施例的有益效果是:通过在终端上设置传感器,并在终端传感器对应的一级预设感应参数和二级预设感应参数,当检测用户的感应动作达到一级感应参数,则启动应用,当检测到用户的感应动作达到二级感应参数则对启动的应用继续操作。The beneficial effects of the embodiment of the present invention are: by setting a sensor on the terminal, and presetting the sensing parameter and the second-level preset sensing parameter at a level corresponding to the terminal sensor, and when detecting that the sensing action of the user reaches the first-level sensing parameter, starting The application continues to operate on the launched application when it detects that the user's sensing action reaches the secondary sensing parameter.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明终端控制方法的实施例的流程图;1 is a flowchart of an embodiment of a terminal control method according to the present invention;
图2为本发明实施例检测到终端的第一预设参数被有效触发的流程图;2 is a flowchart of detecting that a first preset parameter of a terminal is effectively triggered according to an embodiment of the present invention;
图3为本发明实施例检测到终端的第二预设参数被有效触发的流程图;FIG. 3 is a flowchart of detecting that a second preset parameter of a terminal is effectively triggered according to an embodiment of the present invention;
图4为本发明实施例为终端的组成模块示意图;4 is a schematic diagram of a component module of a terminal according to an embodiment of the present invention;
图5为本发明实施例为终端的控制模块的示意图;FIG. 5 is a schematic diagram of a control module of a terminal according to an embodiment of the present invention; FIG.
图6为本发明具有接近感应器的智能终端的实施例的结构示意图;6 is a schematic structural diagram of an embodiment of an intelligent terminal having a proximity sensor according to the present invention;
图7为本发明实施例设置模块第一设置页面的示意图;FIG. 7 is a schematic diagram of a first setting page of a setting module according to an embodiment of the present invention; FIG.
图8为本发明实施例设置模块第二设置页面的示意图;FIG. 8 is a schematic diagram of a second setting page of a setting module according to an embodiment of the present invention; FIG.
图9为本发明实施例具有接近感应器的智能终端控制方法流程图。FIG. 9 is a flowchart of a method for controlling an intelligent terminal with a proximity sensor according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为了便于本领域技术人员的理解,下面结合附图对本发明实施例作进一 步的描述,并不能用来限制本发明的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。In order to facilitate the understanding of those skilled in the art, the embodiments of the present invention are further described below with reference to the accompanying drawings. The description of the steps is not intended to limit the scope of the invention. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
图1为本发明终端控制方法的实施例的流程图,如图1所示,包括:FIG. 1 is a flowchart of an embodiment of a terminal control method according to the present invention. As shown in FIG. 1, the method includes:
步骤1:当检测到终端的第一预设参数被有效触发时,启动第一预设参数对应的应用;Step 1: When it is detected that the first preset parameter of the terminal is effectively triggered, the application corresponding to the first preset parameter is started;
步骤2:当应用处于启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作;Step 2: When the application is in an activated state, and when detecting that the second preset parameter of the terminal is effectively triggered, performing related operations of the application;
第一预设参数包括:第一预设的时间范围和第一预设的感应次数,所述第一预设的感应次数为检测到的感应对象对终端的感应动作的有效感应次数。The first preset parameter includes: a first preset time range and a first preset sensing number, wherein the first preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal.
第二预设参数包括:第二预设的时间范围和第二预设的感应次数,第二预设的感应次数为检测到的感应对象对终端的感应动作的有效感应次数。The second preset parameter includes: a second preset time range and a second preset induction time, and the second preset induction times is the effective induction times of the detected sensing object to the sensing action of the terminal.
第一预设参数和第二预设参数可以相同也可以不同,同时参数取值可以相同也可以不同。The first preset parameter and the second preset parameter may be the same or different, and the parameter values may be the same or different.
上述方法之前还包括:预先设置启动所述应用对应的第一预设参数和执行所述应用相关操作对应的第二预设参数。The method further includes: presetting a first preset parameter corresponding to the application and performing a second preset parameter corresponding to the application related operation.
启动的应用可以为音乐、照相机、阅读等应用于终端设备上的应用。执行应用的操作可以为在已经开启的某个应用中继续进行的相关操作,例如:当音乐播放的应用开启后,可以继续进行相关操作如:下一首歌曲播放和上一首歌曲播放的操作,以及关闭音乐播放应用的操作等;再如:在阅读应用开启后,可以继续进行相关操作如:上一页浏览和下一页浏览的操作,以及关闭阅读应用的操作等。The launched application can be applied to applications on the terminal device such as music, camera, reading, and the like. The operation of executing the application may be related operations continued in an already opened application, for example, when the application of the music playing is turned on, the related operations such as the next song playing and the previous song playing operation may be continued. And the operation of closing the music playing application; for example, after the reading application is started, the related operations such as the previous page browsing and the next page browsing operation, and the operation of closing the reading application can be continued.
图2为本发明实施例检测到终端的第一预设参数被有效触发的流程图,如图2所示,图1所示的步骤1具体包括:2 is a flowchart of detecting that a first preset parameter of a terminal is effectively triggered according to an embodiment of the present invention. As shown in FIG. 2, step 1 shown in FIG. 1 specifically includes:
步骤11:检测感应对象对终端的感应动作是否在第一预设的感应范围内;Step 11: detecting whether the sensing action of the sensing object on the terminal is within the first preset sensing range;
步骤12:当在第一预设的感应范围内时,记录感应对象落入预设第一感应范围内的感应次数为第一有效感应次数;Step 12: When the first preset sensing range is within the first sensing range, the number of times the sensing object falls within the preset first sensing range is the first effective sensing number;
当未在第一预设时间范围内达到第一预设的感应次数时,或者当在第一 预设时间范围内未达到第一预设的感应次数时,重新进行检测并将有第一效感应次数重置为零;When the first preset number of sensing times is not reached within the first preset time range, or when in the first When the first preset number of sensing times is not reached within the preset time range, the detection is performed again and the number of first effect sensing times is reset to zero;
步骤13:对第一有效接感应次数进行累加;Step 13: accumulating the first effective connection induction times;
步骤14:当在第一预设时间内记录的第一有效感应次数达到第一预设的感应次数时,启动所述应用。Step 14: Start the application when the first effective sensing number recorded in the first preset time reaches the first preset sensing number.
具体的,可以通过距离感应器、重力感应器、及压力感应等进行检测。感应对象包括以下至少之一:单独设置与终端匹配的感应物件、和用户身体部位进行感应。上述感应对象对终端的感应动作包括以下至少之一:接近所述终端的感应区域,摇动所述终端、对所述终端感应区域施加压力。Specifically, it can be detected by a distance sensor, a gravity sensor, a pressure sensor, or the like. The sensing object includes at least one of the following: separately setting the sensing object matched with the terminal, and sensing the body part of the user. The sensing action of the sensing object on the terminal includes at least one of: approaching a sensing area of the terminal, shaking the terminal, and applying pressure to the terminal sensing area.
当采用距离感应时,感应对象为用户时,设置的第一预设参数包括应用启动时用户的接近距离,例如可以设置为0~10cm,和接近的感应次数,例如3次,当用户重复3次在距离终端0~10cm的范围内3次有效接近终端时,则开启对应的应用;当采用重力感应器时,设置的第一预设参数包括应用启动时的感应重力范围和有效的重力感应次数,当用户重复摇晃终端的重力在设置的重力感应范围内且完成的有效感应次数达到设置的感应次数,则启动该应用;当采用压力感应器时,设置的第一预设参数包括应用启动时压力大小的范围和有效压力感应次数,可以在检测到用户对终端的某个区域施加的压力的大小在预设的压力值范围内且完成的有效压力感应次数达到设置的感应次数,则开启对应的应用。同时为了增强触发的可靠性,在终端设置计时器用于计算完成有效感应次数的时间范围,从第一次有效感应次数被触发时,进行计时,完成第二次有效感应,进行叠加,在规定的时间的范围内完成规定的有效感应次数则进行启动对应的应用,否则进行清零,重新感应。When the distance sensing is used, when the sensing object is a user, the first preset parameter set includes the proximity distance of the user when the application starts, for example, it can be set to 0 to 10 cm, and the proximity sensing number is, for example, 3 times, when the user repeats 3 When the terminal is effectively approached to the terminal 3 times within a range of 0 to 10 cm from the terminal, the corresponding application is turned on; when the gravity sensor is used, the first preset parameters set include the induced gravity range at the start of the application and the effective gravity sensing. The number of times, when the user repeatedly shakes the gravity of the terminal within the set gravity sensing range and the completed effective sensing times reaches the set sensing times, the application is started; when the pressure sensor is used, the first preset parameters set include the application start The range of the time pressure and the number of effective pressure sensings can be turned on when it is detected that the magnitude of the pressure applied by the user to a certain area of the terminal is within a preset pressure value range and the number of completed effective pressure sensing times reaches the set sensing frequency. The corresponding application. At the same time, in order to enhance the reliability of the trigger, a timer is set in the terminal for calculating the time range in which the effective sensing times are completed, and when the first effective sensing times are triggered, the timing is performed, the second effective sensing is completed, and the superimposition is performed in the prescribed If the specified number of effective inductions is completed within the time range, the corresponding application is started, otherwise it is cleared and re-sensed.
图3为本发明实施例检测到终端的第二预设参数被有效触发的流程图,如图3所示,图1所示的步骤2具体包括:FIG. 3 is a flowchart of detecting that a second preset parameter of a terminal is effectively triggered according to an embodiment of the present invention. As shown in FIG. 3, step 2 shown in FIG. 1 specifically includes:
步骤21:当所述应用的状态为启动状态时,检测感应对象对终端的感应动作是否在第二预设的感应范围内;Step 21: When the state of the application is the startup state, detecting whether the sensing action of the sensing object to the terminal is within a second preset sensing range;
步骤22:当在第二预设的感应范围内时,记录感应对象落入第二预设感应范围内的感应次数为第二有效感应次数; Step 22: When the second preset sensing range is within, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number;
当未在第二预设时间范围内达到第二预设的感应次数时,或者当在第二预设时间范围内未达到第二预设的感应次数时,重新进行检测并将第二有效感应次数重置为零;When the second preset number of sensing times is not reached within the second preset time range, or when the second predetermined number of sensing times is not reached within the second preset time range, the detection is performed again and the second effective sensing is performed. The number of times is reset to zero;
步骤23:对第二有效接感应次数进行累加;Step 23: accumulating the second effective connection induction times;
步骤24:当在第二预设时间内记录的所述第二有效感应次数达到第二预设的感应次数时,执行所述应用的相关操作。Step 24: Perform related operations of the application when the second effective sensing number recorded in the second preset time reaches the second preset sensing number.
进一步的,可以设置应用开启的状态下的相关操作的参数为第二预设参数,例如:当音乐播放应用开启的状态下,第二预设参数包括播放下一首歌曲的感应次数为1次,播放上一首歌曲的感应次数为2次,关闭音乐应用的感应次数为3次,当检测到感应对象的感应动作的有效感应次数达到预设的值时,则进行相关操作。同时,为提供感应的稳定性增加了计时器,计时器与重置清零与上述类似,在此不再赘述。Further, the parameter of the related operation in the state in which the application is turned on may be set as the second preset parameter, for example, when the music playing application is turned on, the second preset parameter includes the number of times of playing the next song is 1 time. The number of times the previous song is played is 2 times, and the number of times the music application is turned off is 3 times. When the number of times the effective sensing of the sensing object is detected reaches a preset value, the related operation is performed. At the same time, a timer is added to provide the stability of the sensing, and the timer and the reset clear are similar to the above, and will not be described here.
可选的,上述方法还包括:对所述应用的状态进行标识。具体的是对应用启动、关闭的状态进行记录,若应用处于启动状态,则标记为真(true),若应用处于关闭状态,则标记为假(false),若用户终端开启或是关闭应用,同样对应用状态进行标识。启动、关闭功能,如果启动或是关闭应用的条件满足,则通过其对应用进行操作。Optionally, the foregoing method further includes: identifying a status of the application. Specifically, the state of the application startup and shutdown is recorded. If the application is in the startup state, the flag is true (true), and if the application is in the shutdown state, the flag is false (false), if the user terminal is turned on or off, The application status is also identified. Starts and closes the function, and if the conditions for starting or closing the application are met, the application is operated through it.
可选的,上述方法之前还包括:提示终端用户是否开启感应模式,当接收到用户开启感应模式时,开启感应模式;当感应模式开启时,用于当感应模式开启后,接收用户设定接收感应信号的应用优选级别。Optionally, the foregoing method further includes: prompting the terminal user whether to enable the sensing mode, and when the user is in the sensing mode, the sensing mode is turned on; when the sensing mode is enabled, when the sensing mode is enabled, the receiving user is configured to receive the receiving mode. The application level of the sensing signal is preferred.
本发明实施例中启感应模式可以为设置在终端上的硬开关,也可以为设置在终端页面中的悬浮按钮。当打开开关或者悬浮按钮则进入感应模式,否则,不进行感应检测。当感应模式被开启,可以选择哪些应用开启或者屏蔽,设置终端应用开启时对应的感应时间、感应次数,进一步设置在终端应用开启的状态下继续相关操作的选项对应的感应时间、感应次数。用户在同一参数值的基础上可以设置启动多个应用,利用优先级对应用进行排序,如,第一优先级启动照相机功能,第二优先级启动音乐播放器功能,如果设置第一优先级的启动功能关闭,则用户操作达到接近阀值之后,默认启动第二优先级功能。 In the embodiment of the present invention, the sensing mode may be a hard switch disposed on the terminal, or may be a floating button disposed in the terminal page. When the switch or the floating button is turned on, the sensing mode is entered; otherwise, the sensing detection is not performed. When the sensing mode is enabled, you can select which applications are enabled or blocked, set the corresponding sensing time and sensing times when the terminal application is turned on, and further set the sensing time and sensing times corresponding to the options for continuing the related operations when the terminal application is turned on. The user can set multiple applications to be started based on the same parameter value, and the applications are sorted by priority. For example, the first priority starts the camera function, and the second priority starts the music player function. If the first priority is set, When the startup function is turned off, the second priority function is enabled by default after the user operation reaches the threshold.
图4为本发明实施例终端的实施例的组成结构示意图,如图4所示,包括控制模块,设置第一预设参数和第二预设参数的设置模块;其中,4 is a schematic structural diagram of a configuration of a terminal according to an embodiment of the present invention. As shown in FIG. 4, the method includes a control module, and a setting module for setting a first preset parameter and a second preset parameter.
设置模块,设置为设置第一预设参数和第二预设参数;Setting a module, configured to set a first preset parameter and a second preset parameter;
控制模块,设置为当检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用;当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作。a control module, configured to: when it is detected that the first preset parameter of the terminal is effectively triggered, start an application corresponding to the first preset parameter; when the application processes the startup state, and when detecting the second pre-preparation of the terminal When the parameter is effectively triggered, the related operation of the application is performed.
本发明实施例终端还包括:The terminal of the embodiment of the present invention further includes:
叠加模块,设置为对有效接近次数进行累加。具体地:累加第一有效感应次数,当累加的有效感应次数达到第一预设的感应次数时,启动所述应用;累加第二有效感应次数,当累加的有效感应次数达到第二预设的感应次数时,执行所述应用的相关操作。Overlay module, set to accumulate the number of valid closes. Specifically, the first effective sensing times are accumulated, and when the accumulated effective sensing times reach the first preset sensing times, the application is started; the second effective sensing times are accumulated, and when the accumulated effective sensing times reach the second preset When the number of times is sensed, the related operations of the application are performed.
本发明实施例终端还包括:重置模块,设置为当有效感应次数达不到预设的感应次数时,重新进行检测并将第一有效感应次数重置为零。具体地:当未在第一预设时间范围内达到第一预设的感应次数时,或者当在第一预设时间范围内未达到第一预设的感应次数时,重新进行检测并将第一有效感应次数重置为零;当未在第二预设时间范围内达到第二预设的感应次数时,或者当在第二预设时间范围内未达到第二预设的感应次数时,重新进行检测并将第二有效感应次数重置为零。The terminal of the embodiment of the present invention further includes: a reset module, configured to re-detect and reset the first effective sensing times to zero when the effective sensing times fail to reach the preset sensing times. Specifically, when the first preset number of sensing times is not reached within the first preset time range, or when the first preset sensing times are not reached within the first preset time range, the detection is performed again and the first The number of effective sensing times is reset to zero; when the second preset number of sensing times is not reached within the second preset time range, or when the second predetermined number of sensing times is not reached within the second predetermined time range, Retest and reset the second effective number of inductions to zero.
本发明实施例终端还包括启动单元,设置为提示终端用户是否开启接近感应模式,当接收到用户开启接近感应模式时,开启接近感应模式。The terminal of the embodiment of the present invention further includes an activation unit configured to prompt the terminal user whether to enable the proximity sensing mode, and when the user turns on the proximity sensing mode, the proximity sensing mode is turned on.
图5为本发明实施例为终端的控制模块的示意图,如图5所示,控制模块包括第一控制模块和第二控制模块,其中,FIG. 5 is a schematic diagram of a control module of a terminal according to an embodiment of the present invention. As shown in FIG. 5, the control module includes a first control module and a second control module, where
第一控制模块:设置为当检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用;The first control module is configured to: when it is detected that the first preset parameter of the terminal is effectively triggered, start an application corresponding to the first preset parameter;
第二控制模块:设置为当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作;a second control module: configured to perform a related operation of the application when the application processes an activation state, and when detecting that the second preset parameter of the terminal is effectively triggered;
其中,第一预设参数包括第一预设的时间范围和第一预设的感应次数,所述第一预设的感应次数为检测到的感应对象对终端的感应动作的有效感应 次数;第二预设参数包括第二预设的时间范围和第二预设的感应次数,所述第二预设的感应次数为检测到的感应对象对终端的感应动作的有效感应次数。第一预设参数和第二预设参数可以相同也可以不同,同时参数取值可以相同也可以不同。The first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times are effective sensing of the detected sensing object to the sensing action of the terminal. The second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is the number of effective sensing times of the detected sensing object to the sensing action of the terminal. The first preset parameter and the second preset parameter may be the same or different, and the parameter values may be the same or different.
上述应用可以为音乐、照相机、阅读等应用。应用的相关操作为在应用开启的状态下继续进行的操作,例如:在音乐播放的应用中相关操作包括继续进行播放下一首歌曲和播放上一首歌曲的操作,以及关闭音乐播放应用的操作;再例如在阅读应用中相关操作包括继续进行上一页浏览和下一页浏览的操作,已经关闭阅读应用的操作等。可以通过接近感应器、重力感应器、及压力感应等进行检测。感应对象包括以下至少之一:单独设置与终端匹配的感应物件、和用户的部位。上述感应对象对终端的感应动作包括以下至少之一:接近所述终端的感应区域,摇动所述终端、对所述终端感应区域施加压力。The above applications can be applied to music, cameras, reading, and the like. The related operation of the application is an operation that continues in the state where the application is turned on. For example, in the application of the music playing, the related operations include the operation of continuing to play the next song and playing the previous song, and the operation of closing the music playing application. For example, in the reading application, the related operations include continuing the operation of the previous page browsing and the next page browsing, and the operation of reading the application has been closed. It can be detected by proximity sensors, gravity sensors, and pressure sensing. The sensing object includes at least one of the following: separately setting the sensing object matched with the terminal, and the user's part. The sensing action of the sensing object on the terminal includes at least one of: approaching a sensing area of the terminal, shaking the terminal, and applying pressure to the terminal sensing area.
具体地,specifically,
第一控制模块包括第一感应单元、第一记录单元,及第一执行单元,其中:第一感应单元,设置为检测感应对象对终端的感应动作是否在第一预设的感应范围内;第一记录单元,设置为当在第一预设的感应范围内时,记录感应对象落入第一预设感应范围内的感应次数为第一有效感应次数;第一执行单元:当在第一预设时间内记录的第一有效感应次数达到第一预设的感应次数时,启动所述预设的感应次数对应的应用。The first control module includes a first sensing unit, a first recording unit, and a first execution unit, wherein: the first sensing unit is configured to detect whether the sensing action of the sensing object to the terminal is within a first preset sensing range; a recording unit configured to: when in the first preset sensing range, the number of times the sensing object falls within the first preset sensing range is the first effective sensing number; the first execution unit: when in the first When the first effective sensing number recorded in the time reaches the first preset sensing number, the application corresponding to the preset sensing times is activated.
当第一感应单元和第二感应单元采用接近感应时,感应对象为用户的手时,设置的参数包括对应应用启动时接近感应器的感应距离,例如可以设置为0~10cm,和对应应用开启的感应次数,例如3次,对应的应用可以为音乐播放,当用户的手重复3次在距离终端0~10cm的范围内有效接近终端,则开启音乐播放器应用。当第一感应单元和第二感应单元采用重力感应器时,首先设置感应器的感应重力范围,和感应次数,当对应应用为音乐播放,当用户摇晃手机的重力都在设置的范围内且有效的感应次数达到设置的感应次数则启动音乐播放器功能。同时为了增强触发的可靠性,在终端设置计时器设置为计算完成有效感应次数的时间范围,从第一次有效感应次数被触发时, 进行计时,完成第二次有效感应,进行叠加,在规定的时间的范围内完成规定的有效感应次数则进行启动对应的应用,否则进行清零,重新感应。When the first sensing unit and the second sensing unit adopt proximity sensing, when the sensing object is the user's hand, the set parameters include the sensing distance of the proximity sensor when the application starts, for example, it can be set to 0 to 10 cm, and the corresponding application is turned on. The number of times of sensing, for example, 3 times, the corresponding application can be played for music. When the user's hand repeats 3 times and effectively approaches the terminal within a range of 0 to 10 cm from the terminal, the music player application is turned on. When the first sensing unit and the second sensing unit adopt a gravity sensor, firstly, the sensing gravity range of the sensor and the number of sensing are set. When the corresponding application is music playing, when the user shakes the weight of the mobile phone, the range is valid and valid. The number of sensing times reaches the set number of sensing times to activate the music player function. At the same time, in order to enhance the reliability of the trigger, the timer is set in the terminal to calculate the time range in which the effective sensing times are completed, and when the first effective sensing times are triggered, Timing is performed, the second effective induction is completed, superimposition is performed, and the specified effective induction number is completed within a predetermined time range, and the corresponding application is started, otherwise the zeroing is performed and the sensing is performed again.
第二控制模块包括第二感应单元、第二记录单元,及第二执行单元,其中:第二感应单元:设置为当所述应用的状态为启动状态时,检测感应对象对终端的感应动作是否在第二预设的感应范围内;第二记录单元:设置为当在第二预设的范围内时,记录感应对象落入第二预设感应范围内的感应次数为第二有效感应次数;第二执行单元:设置为当在第二预设时间内记录的所述第二有效感应次数达到第二预设的感应次数时,执行所述应用的相关操作。The second control module includes a second sensing unit, a second recording unit, and a second execution unit, wherein: the second sensing unit is configured to detect whether the sensing action of the sensing object to the terminal is when the state of the application is the activated state. The second recording unit is configured to: when the second preset range is set, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number; The second executing unit is configured to perform a related operation of the application when the second effective sensing number recorded in the second preset time reaches the second preset sensing number.
进一步的,第一感应单元和第二感应单元可以相同也可以不同,当第一和第二感应单元都为接近感器时,可以继续设置在对应应用开启的状态下的该应用相关操作的参数,例如:当音乐播放器应用开启的状态下,相关操作的参数包括播放下一首歌曲的有效感应次数为1次,播放上一首歌曲的有效感应次数为2次,关闭音乐应用的有效感应次数为3次,感应距离可以设置为相同的距离也可以设置为不同。Further, the first sensing unit and the second sensing unit may be the same or different. When both the first sensing unit and the second sensing unit are proximity sensors, the parameters of the application-related operation in the state that the corresponding application is turned on may be continued. For example, when the music player application is turned on, the parameters of the related operation include the number of effective sensing times of playing the next song is 1 time, and the effective sensing frequency of playing the previous song is 2 times, and the effective sensing of the music application is turned off. The number of times is 3, and the sensing distance can be set to the same distance or set differently.
终端的设置模块具体:设置为预先分别设置所述开启某个应用和执行该应用相关操作对应的参数包括感应范围、有效感应次数、及有效感应次数对应的时间范围;本发明实施例终端的重置模块包括第一重置模块和第二重置模块,其中,第一重置模块:设置为当未在第一预设时间范围内达到第一预设的感应次数时,或者当在第一预设时间范围内未达到第一预设的感应次数时,重新进行检测并将有效感应次数重置为零。第二重置模块:设置为当未在第二预设时间范围内达到第二预设的感应次数时,或者当在第二预设时间范围内未达到第二预设的感应次数时,重新进行检测并将有效感应次数重置为零;叠加模块:设置为对有效接近次数进行累加。计时器与重置清零与上述类似,在此不再赘述。The setting module of the terminal is specifically configured to set, in advance, the parameters corresponding to the opening of an application and the operations related to the application, including the sensing range, the number of effective sensing times, and the time range corresponding to the number of effective sensing times; The setting module includes a first reset module and a second reset module, wherein the first reset module is configured to when the first preset number of sensing times is not reached within the first preset time range, or when in the first When the first preset number of sensing times is not reached within the preset time range, the detection is re-executed and the effective number of sensing times is reset to zero. The second reset module is configured to: when the second preset number of sensing times is not reached within the second preset time range, or when the second preset sensing times are not reached within the second preset time range, The detection is performed and the number of effective inductions is reset to zero; the overlay module: set to accumulate the effective number of closes. The timer and reset clear are similar to the above, and will not be described here.
可选的,终端还包括:标识模块,设置为对所述应用的状态进行标识。具体的是对应用启动、关闭的状态进行记录,若应用处于启动状态,则标记为true,若应用处于关闭状态,则标记为false,若用户终端开启或是关闭应用,同样对应用状态进行标识。启动、关闭功能,如果启动或是关闭应用的条件满足,则通过其对应用进行操作。 Optionally, the terminal further includes: an identity module, configured to identify a status of the application. Specifically, the application is started and closed. If the application is in the startup state, the flag is true. If the application is in the shutdown state, the flag is false. If the user terminal is enabled or disabled, the application status is also identified. . Starts and closes the function, and if the conditions for starting or closing the application are met, the application is operated through it.
第二设置模块:还设置为当感应模式开启后,接收用户设定接收感应信号的应用优选级别。The second setting module is further configured to: when the sensing mode is turned on, receive an application optimization level that the user sets the receiving sensing signal.
本发明实施例中启动模块可以为设置在终端上的硬开关,也可以为设置在终端页面中的悬浮按钮。当打开开关或者悬浮按钮则进入感应模式,否则,不进行感应检测。当感应模式被开启,可以选择哪些应用开启或者屏蔽,设置终端应用开启时对应的感应时间、感应次数,进一步设置在终端应用开启的状态下继续操作的选项对应的感应时间、感应次数。用户在同一参数值的基础上可以设置启动多个应用,利用优先级对应用进行排序,如,第一优先级启动照相机功能,第二优先级启动音乐播放器功能,如果设置第一优先级的启动功能关闭,则用户操作达到接近阀值之后,默认启动第二优先级功能。In the embodiment of the present invention, the startup module may be a hard switch disposed on the terminal, or may be a floating button disposed in the terminal page. When the switch or the floating button is turned on, the sensing mode is entered; otherwise, the sensing detection is not performed. When the sensing mode is enabled, you can select which applications are enabled or blocked, set the corresponding sensing time and sensing times when the terminal application is turned on, and further set the sensing time and sensing times corresponding to the options for continuing operation when the terminal application is turned on. The user can set multiple applications to be started based on the same parameter value, and the applications are sorted by priority. For example, the first priority starts the camera function, and the second priority starts the music player function. If the first priority is set, When the startup function is turned off, the second priority function is enabled by default after the user operation reaches the threshold.
下面以接近感应器为实施例,对本发明实施例做进一步详细说明。The embodiment of the present invention will be further described in detail below with the proximity sensor as an embodiment.
图6为本发明实施例具有接近感应器的智能终端结构示意图,如图6所示包括:FIG. 6 is a schematic structural diagram of an intelligent terminal having a proximity sensor according to an embodiment of the present invention, as shown in FIG.
本发明实施例智能设备包括控制模块、记录模块、执行模块、及设置模块。其中,控制模块设置为感知用户与智能设备的距离,可用距离传感器,当距离传感器感知到人体与智能设备接近后,获取其距离数据,如果距离数据达到设定的阀值时,将距离数据发送到记录模块;记录模块,设置为对外感设备的传入距离数据进行计数,并与相应的开关阀值进行比较;执行模块,用来启动或是关闭应用;设置模块,设置外感设备的接近次数阀值、接近距离阀值、待启动、关闭的应用等。The smart device of the embodiment of the invention comprises a control module, a recording module, an execution module, and a setting module. The control module is configured to sense the distance between the user and the smart device, and the distance sensor is used. When the distance sensor senses that the human body and the smart device are close to each other, the distance data is acquired, and if the distance data reaches the set threshold, the distance data is sent. To the recording module; the recording module is set to count the incoming distance data of the external sensing device, and is compared with the corresponding switching threshold; the executing module is used to start or close the application; setting the module, setting the proximity of the external sensing device Threshold, proximity threshold, application to be started, closed, etc.
具体的,控制模块获取用户与智能设备之间的距离数据,通过记录模块对传入的距离值进行计数,统计在某段时间内用户接近的次数并和阀值进行判断,例如:当获取到的距离小于某一设定的阀值后记录在记录模块中;设置定时装置如计时器,完成对用户接近后再无操作的超时处理,记录模块对设置中的应用进行标识,作为启动、关闭应用时的判断依据。控制模块对2次接近的时间差设置可接受范围,便于计算合理的接近次数,防止用户无法启动或是关闭目标应用。Specifically, the control module acquires distance data between the user and the smart device, and counts the distance value of the incoming distance through the recording module, and counts the number of times the user approaches in a certain period of time and judges the threshold value, for example: when acquiring The distance is less than a certain threshold and is recorded in the recording module; a timing device such as a timer is set to complete the timeout processing after the user approaches and no operation is performed, and the recording module identifies the application in the setting as the startup and shutdown. Judgment basis for application. The control module sets an acceptable range for the time difference of 2 approaches, which is convenient for calculating a reasonable number of proximitys, preventing the user from starting or shutting down the target application.
图7为本发明实施例设置模块第一设置页面的示意图,如图7所示,设置模块设置为设置启动、关闭应用的一些必要参数。可以设置的相关参数如 下,但并不限于以下的参数:外感设备即距离传感器和人体的距离阀值,应用名称,与应用相关联的计数阀值,如,音乐播放器需要用户接近2次进行开启或是关闭;设置模块还设置为完成基准参数的设置,可以对应用进行添加、删除,对添加的应用设置用户接近次数阀值,如开启、关闭某项应用需要用户接近几次。从而防止用户在无意识接近智能设备时即刻开启某项应用,也设置为区别启动不同的应用。FIG. 7 is a schematic diagram of setting a first setting page of a module according to an embodiment of the present invention. As shown in FIG. 7 , the setting module is configured to set some necessary parameters for starting and closing an application. Related parameters that can be set, such as The following parameters are not limited to the following parameters: the external sensing device is the distance threshold between the distance sensor and the human body, the application name, and the counting threshold associated with the application. For example, the music player requires the user to turn on or off nearly 2 times; The setting module is also set to complete the setting of the reference parameters, and the application can be added or deleted, and the user closeness threshold is set for the added application. For example, the user needs to be close to several times to open or close an application. Therefore, the user is prevented from immediately opening an application when the user is inadvertently approaching the smart device, and is also set to differently launch different applications.
图8为本发明实施例设置模块第二设置页面的示意图,如图8所示,进一步的,用户在同一阀值的基础上可以设置启动多个应用,利用优先级对应用进行排序,如,第一优先级启动照相机功能,第二优先级启动音乐播放器功能,如果设置第一优先级的启动功能关闭,则用户操作达到接近阀值之后,默认启动第二优先级功能。进一步的,可以通过设置阀值对应用进行相操作,进入设置中的相关功能,系统列出可设置参数,如在上述所举例中的照相机模块,列出拍照、录像等选项,在相应选项中设置接近阀值,如用户接近1次拍照,接近2次录像,再次接近2次,录像功能关闭。应用启动状态,用户对应用操作过程中,系统启动定时器功能,若设定时间内,再无操作,则认为用户不再需要对应用进行操作,等待用户的接近,关闭应用。用户可以设置外感设备的接近距离阀值,如果防干扰,设置近距离,如果无过多外界干扰,可以设置适当远距离,若无设置,可以使用默认值。FIG. 8 is a schematic diagram of a second setting page of a setting module according to an embodiment of the present invention. As shown in FIG. 8 , further, the user can set multiple applications to be started on the basis of the same threshold, and the applications are sorted by priority, for example, The first priority activates the camera function, and the second priority activates the music player function. If the first priority activation function is turned off, the second priority function is activated by default after the user operation reaches the threshold. Further, the application can be phase-operated by setting a threshold value to enter related functions in the setting, and the system lists the settable parameters, such as the camera module in the above example, listing options for taking pictures, recordings, etc., in corresponding options. Set the approach threshold, such as the user close to 1 photo, close to 2 times, close to 2 times again, the recording function is turned off. When the application is in the startup state, the system starts the timer function during the application operation. If there is no operation within the set time, the user is no longer required to operate the application, wait for the user to approach, and close the application. The user can set the proximity distance threshold of the external device. If the interference is prevented, set the close distance. If there is no excessive external interference, you can set the appropriate distance. If there is no setting, you can use the default value.
记录模块完成所有逻辑以及数据相关的处理流程。数据处理功能,对外感设备传入的距离数据进行计数并存储。定时器功能,检测一段时间内是否有用户接近智能设备,如果未监测到未有可用数据传入,则将数据清零。状态处理功能,设置为对应用启动、关闭的状态进行记录,若应用处于启动状态,则标记为true,若应用处于关闭状态,则标记为false,若用户手动开启或是关闭应用,同样对应用状态进行标识。启动、关闭功能,如果启动或是关闭应用的条件满足,则通过其对应用进行操作。The logging module performs all logic and data related processing. The data processing function counts and stores the distance data transmitted by the external device. The timer function detects whether a user is close to the smart device for a period of time. If no data is available for monitoring, the data is cleared. The status processing function is set to record the status of the application startup and shutdown. If the application is in the startup state, it is marked as true. If the application is in the shutdown state, it is marked as false. If the user manually turns the application on or off, the application is also applied. Status is identified. Starts and closes the function, and if the conditions for starting or closing the application are met, the application is operated through it.
图9为本发明实施例具有接近感应器的智能终端控制方法流程图,如图9所示,该方法包含如下步骤:FIG. 9 is a flowchart of a method for controlling an intelligent terminal with a proximity sensor according to an embodiment of the present invention. As shown in FIG. 9, the method includes the following steps:
步骤900:外感设备如本实施例中的距离传感器,获取人体与智能设备之间的距离,当距离数据小于某一设定阀值后,将数据传递给记录模块。 Step 900: The external sensing device, as in the embodiment, obtains the distance between the human body and the smart device. When the distance data is less than a certain threshold, the data is transmitted to the recording module.
步骤901:记录模块接收距离数据,对数据进行存储和计数,如第一次接近,计数则为1,第二次接近,计数为2。Step 901: The recording module receives the distance data, and stores and counts the data. If the data is first approached, the count is 1, the second time is close, and the count is 2.
步骤902:记录模块检测到传入的计数数据与设定的开关阀值匹配后,查看与此阀值相关联的应用,若应用未在启动状态则启动应用,如果应用在启动状态,则关闭应用。Step 902: After the recording module detects that the incoming count data matches the set switch threshold, the application is associated with the threshold, and the application is started if the application is not in the startup state, and is closed if the application is in the startup state. application.
步骤903:如果所获取到的计数未有阀值与之匹配,启动定时器装置,等待人体与智能设备的再次接近,若距离传感器将距离数据传入记录模块后,系统流程转到900,如定时器启动周期内未有距离数据传入,则数据系统清零,系统流程转到906。Step 903: If the acquired count does not have a matching threshold, start the timer device and wait for the human body to approach the smart device again. If the distance sensor sends the distance data to the recording module, the system flow goes to 900, such as If no distance data is passed in the timer startup period, the data system is cleared and the system flow goes to 906.
步骤904:应用启动或关闭后,对启动状态进行标识,如启动为true,关闭为false。Step 904: After the application is started or closed, the startup state is identified. If the startup is true, the shutdown is false.
步骤905:应用启动后,等待用户的再次接近,并根据标识对应用进一步操作,如进入照相机功能后,进行拍照。Step 905: After the application is started, wait for the user to approach again, and further operate the application according to the identifier, for example, after entering the camera function, taking a photo.
步骤906:系统流程结束。Step 906: The system flow ends.
本实施例利用外感设备检测人体与智能设备的距离,当距离数据达到阀值后进行计数,并与应用设定的开关阀值进行比较,从而启动和关闭智能设备中的应用,进一步的,在开启应用后,可以通过阀值对应用进行进一步的操作。In this embodiment, the distance between the human body and the smart device is detected by using the external sensing device, and when the distance data reaches the threshold, the counting is performed, and compared with the switching threshold value set by the application, thereby starting and closing the application in the smart device, further, Once the application is turned on, the application can be further manipulated by thresholds.
以上仅为本发明的优选实施例,当然,本发明实施例还可有其他多种实施例,在不背离本发明实施例精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明实施例作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明实施例所附的权利要求的保护范围。The above is only a preferred embodiment of the present invention, and of course, there may be other embodiments of the present invention. Those skilled in the art can use the present invention without departing from the spirit and spirit of the embodiments of the present invention. Various changes and modifications may be made to the embodiments of the invention, but such changes and modifications are intended to fall within the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提出的终端及其控制方法,包括:当检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用;当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作;本发明实施例实现了非接触性操作终端。 The terminal and the control method thereof are provided when the first preset parameter of the terminal is effectively triggered, and the application corresponding to the first preset parameter is started; when the application processes the startup state, And when it is detected that the second preset parameter of the terminal is effectively triggered, performing related operations of the application; the embodiment of the present invention implements the non-contact operation terminal.

Claims (21)

  1. 一种终端控制方法,包括:A terminal control method includes:
    当检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用;When it is detected that the first preset parameter of the terminal is effectively triggered, the application corresponding to the first preset parameter is started;
    当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作;When the application processes the startup state, and when it is detected that the second preset parameter of the terminal is effectively triggered, performing a related operation of the application;
    所述第一预设参数包括第一预设的时间范围和第一预设的感应次数,所述第一预设的感应次数为检测到的感应对象对终端的感应动作的第一有效感应次数;The first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times is the first effective sensing times of the detected sensing object to the sensing action of the terminal. ;
    所述第二预设参数包括第二预设的时间范围和第二预设的感应次数,所述第二预设的感应次数为检测到的感应对象对终端的感应动作的第二有效感应次数。The second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is a second effective sensing number of the detected sensing object to the sensing action of the terminal. .
  2. 根据权利要求1所述的终端控制方法,其中,所述检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用包括:The terminal control method according to claim 1, wherein when the first preset parameter of the terminal is detected to be effectively triggered, the application corresponding to the first preset parameter is:
    检测感应对象对终端的感应动作是否在所述第一预设的感应范围内;Detecting whether the sensing action of the sensing object on the terminal is within the first preset sensing range;
    当在所述第一预设的感应范围内时,记录感应对象落入预设感应范围内的感应次数为有效感应次数;When in the first preset sensing range, the number of times the sensing object falls within the preset sensing range is the effective number of sensing;
    当在所述第一预设时间内记录的有效感应次数达到第一预设的感应次数时,启动所述应用。The application is started when the number of effective sensing records in the first preset time reaches the first preset number of sensing times.
  3. 根据权利要求1所述的终端控制方法,还包括:对所述应用的状态进行标识。The terminal control method according to claim 1, further comprising: identifying a status of the application.
  4. 根据权利要求3所述的终端控制方法,其中,所述当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作,包括:The terminal control method according to claim 3, wherein when the application processes the startup state, and when it is detected that the second preset parameter of the terminal is effectively triggered, performing related operations of the application includes:
    当所述应用的状态为启动状态时,检测感应对象对终端的感应动作是否在所述第二预设的感应范围内;When the state of the application is the startup state, detecting whether the sensing action of the sensing object to the terminal is within the second preset sensing range;
    当在所述第二预设的感应范围内时,记录感应对象落入第二预设感应范 围内的感应次数为第二有效感应次数;When the second preset sensing range is within, the recording sensing object falls into the second preset sensing range The number of inductions in the circumference is the second effective number of inductions;
    当在第二预设时间内记录的所述有效感应次数达到第二预设的感应次数时,执行所述应用的相关操作。When the number of effective sensing records recorded in the second preset time reaches the second preset number of sensing times, the related operation of the application is performed.
  5. 根据权利要求1所述的终端控制方法,所述方法之前包括:预先设置启动所述应用对应的第一预设参数和执行所述应用相关操作对应的第二预设参数。The terminal control method according to claim 1, wherein the method previously comprises: presetting a first preset parameter corresponding to the application and performing a second preset parameter corresponding to the application related operation.
  6. 根据权利要求2所述的终端控制方法,所述方法还包括:The terminal control method according to claim 2, the method further comprising:
    当未在所述第一预设时间范围内达到第一预设的感应次数时,或者当在所述第一预设时间范围内未达到第一预设的感应次数时,重新进行检测并将有效感应次数重置为零。Re-detecting when the first preset number of sensing times is not reached within the first preset time range, or when the first preset number of sensing times is not reached within the first preset time range The number of effective sensing times is reset to zero.
  7. 根据权利要求4所述的终端控制方法,所述方法还包括:The terminal control method according to claim 4, further comprising:
    当未在所述第二预设时间范围内达到第二预设的感应次数时,或者当在所述第二预设时间范围内未达到第二预设的感应次数时,重新进行检测并将有效感应次数重置为零。Re-detecting when the second preset number of sensing times is not reached within the second preset time range, or when the second predetermined number of sensing times is not reached within the second predetermined time range The number of effective sensing times is reset to zero.
  8. 根据权利要求2或4所述的终端控制方法,所述方法还包括:对所述第一有效感应次数或第二有效次数分别进行累加。The terminal control method according to claim 2 or 4, further comprising: accumulating the first effective sensing number or the second effective number respectively.
  9. 根据权利要求1所述的终端控制方法,所述方法之前还包括:The terminal control method according to claim 1, further comprising:
    提示所述终端的用户是否开启感应模式,当接收到来自用户的开启感应模式时,开启感应模式。The user of the terminal is prompted to enable the sensing mode, and when the receiving sensing mode is received from the user, the sensing mode is turned on.
  10. 根据权利要求9所述的终端控制方法,所述方法还包括:当所述感应模式开启后,接收来自用户设定的接收感应信号的应用优选级别。The terminal control method according to claim 9, further comprising: receiving an application preference level of the reception sensing signal set by the user when the sensing mode is turned on.
  11. 根据权利要求1-10任一项所述的终端控制方法,其中,所述检测到的感应对象对终端的感应动作包括以下至少之一:The terminal control method according to any one of claims 1 to 10, wherein the detected sensing action of the sensing object to the terminal comprises at least one of the following:
    接近所述终端的感应区域、摇动所述终端、对所述终端感应区域施加压力、滑动所述终端的感应区域。Approaching the sensing area of the terminal, shaking the terminal, applying pressure to the terminal sensing area, and sliding the sensing area of the terminal.
  12. 一种终端,包括控制模块,设置模块;其中,A terminal includes a control module and a setting module; wherein
    设置模块包括第一设置模块和第二设置模块,其中, The setting module includes a first setting module and a second setting module, wherein
    第一设置模块,设置为设置第一预设参数;第二设置模块,设置为设置第二预设参数;a first setting module, configured to set a first preset parameter; and a second setting module configured to set a second preset parameter;
    控制模块包括第一控制模块和第二控制模块,其中,The control module includes a first control module and a second control module, wherein
    第一控制模块:设置为当检测到终端的第一预设参数被有效触发时,启动所述第一预设参数对应的应用;The first control module is configured to: when it is detected that the first preset parameter of the terminal is effectively triggered, start an application corresponding to the first preset parameter;
    第二控制模块:设置为当所述应用处理启动状态时,且当检测到终端的第二预设参数被有效触发时,执行所述应用的相关操作;a second control module: configured to perform a related operation of the application when the application processes an activation state, and when detecting that the second preset parameter of the terminal is effectively triggered;
    所述第一预设参数包括第一预设的时间范围和第一预设的感应次数,所述第一预设的感应次数为检测到的感应对象对终端的感应动作的有效感应次数;The first preset parameter includes a first preset time range and a first preset sensing number, and the first preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal;
    所述第二预设参数包括第二预设的时间范围和第二预设的感应次数,所述第二预设的感应次数为检测到的感应对象对终端的感应动作的有效感应次数。The second preset parameter includes a second preset time range and a second preset sensing number, and the second preset sensing times is a number of effective sensing times of the detected sensing object to the sensing action of the terminal.
  13. 根据权利要求12所述的终端,其中,所述第一控制模块包括第一感应单元、第一记录单元,及第一执行单元,其中:The terminal according to claim 12, wherein the first control module comprises a first sensing unit, a first recording unit, and a first execution unit, wherein:
    第一感应单元,设置为检测感应对象对终端的感应动作是否在第一预设的感应范围内;The first sensing unit is configured to detect whether the sensing action of the sensing object to the terminal is within a first preset sensing range;
    第一记录单元,设置为当在第一预设的感应范围内时,记录感应对象落入第一预设感应范围内的感应次数为第一有效感应次数;The first recording unit is configured to: when the first preset sensing range is within, the number of times the sensing object falls within the first preset sensing range is the first effective sensing number;
    第一执行单元:设置为当在第一预设时间内记录的有效感应次数达到第一预设的感应次数时,启动所述预设的感应次数对应的应用。The first execution unit is configured to start an application corresponding to the preset number of sensing times when the number of effective sensing times recorded in the first preset time reaches the first preset number of sensing times.
  14. 根据权利要求12所述的终端,所述终端还包括标识模块,设置为对所述应用的状态进行标识。The terminal of claim 12, the terminal further comprising an identification module configured to identify a status of the application.
  15. 根据权利要求12所述的终端,其中,所述第二控制模块包括第二感应单元、第二记录单元,及第二执行单元,其中:The terminal according to claim 12, wherein the second control module comprises a second sensing unit, a second recording unit, and a second execution unit, wherein:
    第二感应单元:设置为当所述应用的状态为启动状态时,检测感应对象对终端的感应动作是否在第二预设的感应范围内; The second sensing unit is configured to: when the state of the application is an activated state, detecting whether the sensing action of the sensing object to the terminal is within a second preset sensing range;
    第二记录单元:设置为当在第二预设的范围内时,记录感应对象落入第二预设感应范围内的感应次数为第二有效感应次数;The second recording unit is configured to: when the second preset range is set, the number of times the sensing object falls within the second preset sensing range is the second effective sensing number;
    第二执行单元:设置为当在第二预设时间内记录的所述有效感应次数达到第二预设的感应次数时,执行所述应用的相关操作。The second execution unit is configured to perform a related operation of the application when the number of valid inductions recorded in the second preset time reaches the second preset number of inductions.
  16. 根据权利要求12或13所述的终端,所述终端还包括:The terminal according to claim 12 or 13, the terminal further comprising:
    第一重置模块:设置为当未在第一预设时间范围内达到第一预设的感应次数时,或者当在第一预设时间范围内未达到第一预设的感应次数时,重新进行检测并将有效感应次数重置为零。The first reset module is configured to: when the first preset number of sensing times is not reached within the first preset time range, or when the first preset sensing times are not reached within the first preset time range, The detection is performed and the number of effective inductions is reset to zero.
  17. 根据权利要求15所述的终端,所述终端还包括:The terminal of claim 15, the terminal further comprising:
    第二重置模块:设置为当未在第二预设时间范围内达到第二预设的感应次数时,或者当在第二预设时间范围内未达到第二预设的感应次数时,重新进行检测并将有效感应次数重置为零。The second reset module is configured to: when the second preset number of sensing times is not reached within the second preset time range, or when the second preset sensing times are not reached within the second preset time range, The detection is performed and the number of effective inductions is reset to zero.
  18. 根据权利要求13或15所述的终端,所述终端还包括:叠加模块:设置为对第一有效感应次数或第二有效感应次数分别进行累加。The terminal according to claim 13 or 15, the terminal further comprising: a superimposing module configured to accumulate the first effective sensing number or the second effective sensing number respectively.
  19. 根据权利要求12或13所述的终端,所述终端还包括:启动模块:设置为提示所述终端用户是否开启接近感应模式,当接收到来自用户的开启接近感应模式时,开启接近感应模式。The terminal according to claim 12 or 13, the terminal further comprising: an activation module configured to prompt the terminal user whether to enable the proximity sensing mode, and to activate the proximity sensing mode when receiving the proximity proximity sensing mode from the user.
  20. 根据权利要求19所述的终端,其中,所述第二设置模块还设置为:当感应模式开启后,接收用户设定接收感应信号的应用优选级别。The terminal according to claim 19, wherein the second setting module is further configured to: when the sensing mode is turned on, receive an application preference level that the user sets to receive the sensing signal.
  21. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-11任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-11.
PCT/CN2015/094567 2015-06-25 2015-11-13 Terminal and control method thereof WO2016206287A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510359945.7 2015-06-25
CN201510359945.7A CN106325473A (en) 2015-06-25 2015-06-25 Terminal and control method thereof

Publications (1)

Publication Number Publication Date
WO2016206287A1 true WO2016206287A1 (en) 2016-12-29

Family

ID=57584650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094567 WO2016206287A1 (en) 2015-06-25 2015-11-13 Terminal and control method thereof

Country Status (2)

Country Link
CN (1) CN106325473A (en)
WO (1) WO2016206287A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810235B (en) * 2017-04-26 2022-05-10 中兴通讯股份有限公司 Terminal and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102692995A (en) * 2011-03-21 2012-09-26 国基电子(上海)有限公司 Electronic device with proximity sensing function and proximity sensing control method
CN102957803A (en) * 2012-11-15 2013-03-06 广东欧珀移动通信有限公司 Mobile terminal program operating method and mobile terminal
CN204028809U (en) * 2014-07-07 2014-12-17 长沙维汉信息科技有限公司 A kind of manipulation of the Non-contact gesture for mobile electronic device peripheral hardware

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102692995A (en) * 2011-03-21 2012-09-26 国基电子(上海)有限公司 Electronic device with proximity sensing function and proximity sensing control method
CN102957803A (en) * 2012-11-15 2013-03-06 广东欧珀移动通信有限公司 Mobile terminal program operating method and mobile terminal
CN204028809U (en) * 2014-07-07 2014-12-17 长沙维汉信息科技有限公司 A kind of manipulation of the Non-contact gesture for mobile electronic device peripheral hardware

Also Published As

Publication number Publication date
CN106325473A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US10977347B2 (en) Device and method for authentication by a biometric sensor
CN106445238B (en) Edge touch-control suppressing method and device
CN106022072B (en) Realize method and device, the electronic equipment of unlocked by fingerprint
US9706100B2 (en) Imaging apparatus, method for setting voice command, and storage medium
JP6223384B2 (en) Electronic device and fingerprint recognition method
WO2017080330A1 (en) Terminal with fingerprint identification function
CN104866749B (en) Operate response method and device
US9275386B2 (en) Method for facilitating payment with a programmable payment card
CN105224847B (en) A kind of method and device of intelligent watch safe early warning
US20180031846A1 (en) Smart glasses and method for controlling the same
JP2015212698A5 (en)
CN108691458B (en) Door lock, door lock control method and device
WO2014183529A1 (en) Mobile terminal talk mode switching method, device and storage medium
CN104182145A (en) Method and device for preventing faulty operation of touch screen and mobile equipment
US20140329613A1 (en) Golf data collection system with rfid in golf club
US9478082B2 (en) Wearable device and associated control method
CN105426722A (en) Device and method for unlocking mobile terminal
CN108171165A (en) Fingerprint identification method, device and computer readable storage medium
CN108319836A (en) The method and apparatus for executing processing based on fingerprint recognition
CN105737506A (en) Method and system for controlling refrigerator
KR20150138005A (en) Electronic device and fingerprint recognition method
JP2018005775A5 (en) Electronic device having finger authentication function, optical device
CN106201285A (en) Prevent power key by the method and device of false touch, electronic equipment
WO2016206287A1 (en) Terminal and control method thereof
US9338154B2 (en) Authentication apparatus, authentication method, and non-transitory computer readable medium storing program

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: 15896171

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: 15896171

Country of ref document: EP

Kind code of ref document: A1