CN104090655A - Terminal and terminal control method and device. - Google Patents

Terminal and terminal control method and device. Download PDF

Info

Publication number
CN104090655A
CN104090655A CN201410295027.8A CN201410295027A CN104090655A CN 104090655 A CN104090655 A CN 104090655A CN 201410295027 A CN201410295027 A CN 201410295027A CN 104090655 A CN104090655 A CN 104090655A
Authority
CN
China
Prior art keywords
attitude
terminal
angle
registration operation
predetermined registration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410295027.8A
Other languages
Chinese (zh)
Inventor
詹远
吴鸣
刘山荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410295027.8A priority Critical patent/CN104090655A/en
Publication of CN104090655A publication Critical patent/CN104090655A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention relates to a terminal and a terminal control method and device. The method includes: acquiring the current posture of the terminal, and determining a first preset operation corresponding to the current posture; generating a control signal according to the first preset operation so as to control the terminal. During actual application of the method, a user only needs to remember the correspondence of the posture of the terminal and the first preset operation to conveniently and fast operate the terminal by the method, the user does not need to see the corresponding buttons on the terminal by the aid of light or feel about the corresponding buttons on the terminal so as to operate the terminal, terminal operation is simplified, and simple and convenient operation is achieved.

Description

Terminal control method, device and terminal
Technical field
The disclosure relates to smart machine technical field, relates in particular to a kind of terminal control method, device and terminal.
Background technology
Along with the development of modern electronic technology, the use of the mobile radio terminals such as smart mobile phone, panel computer is more and more universal.
In mobile terminal use procedure; when user is current while not using terminal; for example: mobile terminal is static to be put on the table; or; mobile terminal is placed on to pocket medium, conventionally understands standby button or power button on manual operation mobile terminal touch screen or mobile terminal, carry out holding state; to save the electric energy of mobile terminal, improve the flying power of mobile radio terminal.When user reuses mobile terminal, need user's manual operation touch-screen or button, just can make terminal stop standby, enter normal operating condition.
This just causes at mobile terminal in standby state and recovers in the handoff procedure of normal operating condition, all need user to carry out corresponding operating at every turn, it is very inconvenient to use, especially for utilization, be arranged on the situation of carrying out standby by key control mobile terminal of side, the darker situation of light and user to mobile terminal in the unfamiliar situation of key position, user usually completes simply, easily holding state and recovers the switching between normal operating condition.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of terminal control method, device and terminal.
According to the first aspect of disclosure embodiment, a kind of terminal control method is provided, comprising:
Obtain the current attitude of terminal,
Determine first predetermined registration operation corresponding with described current attitude;
According to described the first predetermined registration operation, generate control signal, so that described terminal is controlled.
In conjunction with first aspect, in the possible implementation of first aspect the first, described the first predetermined registration operation comprises: standby operation, wake screen operator up, show that release application operating, broadcasting/shut-down operation, forwarding operation, volume amplifieroperation, volume reduce one or more in operation.
In conjunction with first aspect, in the possible implementation of first aspect the second, described in obtain the current attitude of terminal, comprising:
Detect the direction of axis of described terminal and the angle between preset direction;
Described angle and a plurality of predetermined angle interval are compared, and described predetermined angle interval at least comprises: stand upside down interval and upright interval;
When described angle is positioned at handstand interval, determine that described current attitude is handstand attitude;
When described angle is positioned at upright interval, determine that described current attitude is upright attitude.
In conjunction with the possible implementation of first aspect the second, in the third possible implementation of first aspect, described predetermined angle interval also comprises: horizontal interval, handstand inclination interval, upright inclination interval;
The described current attitude of obtaining terminal, also comprises:
When described angle is positioned at horizontal interval, determine that described current attitude is for keeping flat attitude;
When described angle is positioned at upright inclination interval, determine that described current attitude is upright lateral attitude;
When described angle is positioned at handstand inclination interval, determine that described current attitude is handstand lateral attitude.
In conjunction with the possible implementation of first aspect the second, in the 4th kind of possible implementation of first aspect, the direction of the axis of the described terminal of described detection and the angle between preset direction, comprising:
Obtain the mercury cut-off or the ball switch that are arranged in described terminal and in described terminal, be positioned at the electric signal producing under different attitudes;
According to described electric signal, calculate the direction of axis of described terminal and the angle between preset direction.
In conjunction with the possible implementation of first aspect the second, in the 5th kind of possible implementation of first aspect, the direction of the axis of the described terminal of described detection and the angle between preset direction, comprising:
The sensor that reception is arranged in described terminal is positioned at the sensing data producing under different attitudes in described terminal;
According to described sensing data, calculate the direction of axis of described terminal and the angle between preset direction.
In conjunction with the possible implementation of first aspect the second, in the 6th kind of possible implementation of first aspect, described definite first predetermined registration operation corresponding with described current attitude, comprising:
When described current attitude is handstand attitude, determine that first predetermined registration operation corresponding with described current attitude is standby operation;
When described current attitude is upright attitude, determine that first predetermined registration operation corresponding with described current attitude is for waking screen operator up.
In conjunction with the third possible implementation of first aspect, in the 7th kind of possible implementation of first aspect, described definite first predetermined registration operation corresponding with described current attitude, also comprises:
When described current attitude is when keeping flat attitude, handstand lateral attitude or upright lateral attitude, determine that first predetermined registration operation corresponding with described current attitude is for demonstration release application operating.
In conjunction with first aspect, in the 8th kind of possible implementation of first aspect, described method also comprises:
The attitude of obtaining described terminal in Preset Time section changes;
Determine with described attitude and change the second corresponding predetermined registration operation;
According to described the second predetermined registration operation, generate control signal, so that described terminal is controlled.
In conjunction with the 8th kind of possible implementation of first aspect, in the 9th kind of possible implementation of first aspect, the described attitude of obtaining described terminal in Preset Time section changes, and comprising:
In Preset Time section, repeatedly record the direction of the axis of detecting described terminal and the angle between preset direction;
The result that obtains according to record is calculated in Preset Time section, the direction of the axis of described terminal and the angle variable quantity between preset direction;
According to described angle variable quantity, determine that the attitude of described terminal changes, described attitude variation comprises: one or more in lateral oscillation, oscillation in the pitch mode, upset.
According to the second aspect of disclosure embodiment, a kind of terminal control mechanism is provided, comprising:
Attitude acquiring unit, for obtaining the current attitude of terminal;
The first predetermined registration operation determining unit, for determining first predetermined registration operation corresponding with described current attitude;
The first control module, for generating control signal according to described the first predetermined registration operation, so that described terminal is controlled.
In conjunction with second aspect, in the possible implementation of second aspect the first, described attitude acquiring unit, comprising:
Angle detection sub-unit, for detection of the direction of the axis of described terminal and the angle between preset direction;
Angle is subelement relatively, and for described angle and a plurality of predetermined angle interval are compared, described predetermined angle interval at least comprises: stand upside down interval and upright interval;
The first attitude is determined subelement, while standing upside down interval for being positioned at when described angle, determines that described current attitude is handstand attitude;
The second attitude is determined subelement, upright when interval for being positioned at when described angle, determines that described current attitude is upright attitude.
In conjunction with the possible implementation of second aspect the first, in the possible implementation of second aspect the second, described predetermined angle interval also comprises: horizontal interval, handstand inclination interval, upright inclination interval;
Described attitude acquiring unit, also comprises:
The 3rd attitude is determined subelement, for being positioned at horizontal when described angle when interval, determines that described current attitude is for keeping flat attitude;
The 4th attitude is determined subelement, for when described angle is positioned at upright inclination interval, determines that described current attitude is upright lateral attitude;
The 5th attitude is determined subelement, for when described angle is positioned at handstand inclination interval, determines that described current attitude is handstand lateral attitude.
In conjunction with the possible implementation of second aspect the first, in the third possible implementation of second aspect, described angle detection sub-unit comprises:
Electric signal obtains subelement, for obtaining the mercury cut-off or the ball switch that are arranged in described terminal, is positioned at the electric signal producing under different attitudes in described terminal;
The first angle computation subunit, for calculating the direction of axis of described terminal and the angle between preset direction according to described electric signal.
In conjunction with the possible implementation of second aspect the first, in the 4th kind of possible implementation of second aspect, described angle detection sub-unit, comprising:
Sensing data receives subelement, for receiving the sensor being arranged in described terminal, is positioned at the sensing data producing under different attitudes in described terminal;
The second angle computation subunit, for calculating the direction of axis of described terminal and the angle between preset direction according to described sensing data.
In conjunction with the possible implementation of second aspect the first, in the 5th kind of possible implementation of second aspect, described the first predetermined registration operation determining unit comprises:
The first predetermined registration operation is determined subelement, for when described current attitude is handstand attitude, determines that first predetermined registration operation corresponding with described current attitude is standby operation;
The second predetermined registration operation is determined subelement, for when described current attitude is upright attitude, determines that first predetermined registration operation corresponding with described current attitude is for waking screen operator up.
In conjunction with the possible implementation of second aspect the second, in the 6th kind of possible implementation of second aspect, described the first predetermined registration operation determining unit also comprises:
The 3rd predetermined registration operation is determined subelement, for when described current attitude is when keeping flat attitude, handstand lateral attitude or upright lateral attitude, determines that first predetermined registration operation corresponding with described current attitude is for demonstration release application operating.
In conjunction with second aspect, in the 7th kind of possible implementation of second aspect, described device also comprises:
Attitude changes acquiring unit, for obtain the attitude of described terminal in Preset Time section, changes;
The second predetermined registration operation determining unit, changes the second corresponding predetermined registration operation for determining with described attitude;
The second control module, for controlling described terminal according to described the second predetermined registration operation.
In conjunction with the 7th kind of possible implementation of second aspect, in the 8th kind of possible implementation of second aspect, described attitude changes acquiring unit, comprising:
Angle records subelement, for repeatedly record the direction of the axis of detecting described terminal and the angle between preset direction in Preset Time section;
Variable angle computing unit, for the result that obtains according to record calculate in Preset Time section, the direction of the axis of described terminal and the angle variable quantity between preset direction;
Attitude changes determines subelement, for according to described angle variable quantity, determines that the attitude of described terminal changes, and described attitude variation comprises: one or more in lateral oscillation, oscillation in the pitch mode, upset.
According to the third aspect of disclosure embodiment, a kind of terminal is provided, comprising:
Processor;
Storer for storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the current attitude of terminal,
Determine first predetermined registration operation corresponding with described current attitude;
According to described the first predetermined registration operation, generate control signal, so that described terminal is controlled.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The method, by obtaining the current attitude of terminal, can uniquely determine and first predetermined registration operation corresponding with current attitude then according to the first predetermined registration operation, can generate corresponding control signal, utilizes the control signal generating to realize terminal is controlled.
When practical application, user only need remember the corresponding relation of attitude and first predetermined registration operation of terminal, just can utilize the method quickly and easily terminal to be operated, and without checking corresponding button by light or groping corresponding button in terminal, terminal is operated, the operation steps of terminal is simplified, and mode of operation is simple, convenient.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows embodiment according to the invention, and is used from and explains principle of the present invention with instructions one.
Fig. 1 is according to the process flow diagram of a kind of terminal control method shown in an exemplary embodiment.
Fig. 2 is according to the attitude schematic diagram of a kind of terminal shown in an exemplary embodiment.
Fig. 3 is according to the attitude schematic diagram of the another kind of terminal shown in an exemplary embodiment.
Fig. 4 is according to the process flow diagram of a kind of terminal control method shown in another exemplary embodiment.
Fig. 5 is according to the schematic diagram of ball switch in a kind of terminal shown in an exemplary embodiment.
Fig. 6 is according to the schematic diagram of ball switch in the another kind of terminal shown in an exemplary embodiment.
Fig. 7 is according to the schematic diagram of modified ball switch in a kind of terminal shown in an exemplary embodiment.
Fig. 8 is according to the schematic diagram of mercury cut-off in a kind of terminal shown in an exemplary embodiment.
Fig. 9 is according to the schematic diagram of mercury cut-off in a kind of terminal shown in an exemplary embodiment.
Figure 10 is according to the process flow diagram of a kind of terminal control method shown in another exemplary embodiment.
Figure 11 is according to a kind of terminal control mechanism schematic diagram shown in an exemplary embodiment.
Figure 12 is according to a kind of terminal control mechanism schematic diagram shown in another exemplary embodiment
Figure 13 is according to the block diagram of a kind of terminal shown in an exemplary embodiment.
Embodiment
Here will at length to exemplary embodiment, describe, its example shown in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are only the examples with apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Fig. 1 is according to the process flow diagram of a kind of terminal control method shown in an exemplary embodiment, and as shown in Figure 1, this terminal control method, for terminal, comprises the following steps.
In step S101, obtain the current attitude of terminal.
The current attitude of terminal refers in the position of the current placement of terminal, and in disclosure embodiment, the sensor that can arrange in terminal or other checkout equipment come the position of sense terminals, then according to the current attitude of the location positioning terminal of terminal.
As shown in Figure 2, in figure, 1 is terminal, and in terminal 1, comprise two axis: x axle and y axle, wherein, y axle parallels with the long limit of terminal 1 screen, and the bearing of trend of y axle is from the sensing top, bottom of terminal 1, and x axle parallels with the minor face of terminal 1 screen, and the bearing of trend of x axle is from the execution right side, left side of terminal 1.
The direction that the vertical ground of take below makes progress describes as preset direction: when the bearing of trend of y axle and the angle between preset direction are less than the first predetermined angle, for example, the first predetermined angle is 15 °, and the current attitude of terminal is upright attitude so, as shown in Figure 2; And when between the bearing of trend of y axle and preset direction be greater than the second predetermined angle time, the second predetermined angle is greater than the first predetermined angle, for example: the second predetermined angle is 165 °, the current attitude of terminal is handstand attitude so, as shown in Figure 3.In other embodiment of the disclosure, as required, the attitude of terminal can also comprise other attitude outside upright attitude and handstand attitude.
In step S102, determine first predetermined registration operation corresponding with described current attitude.
Corresponding relation between the attitude of terminal and the first predetermined registration operation, can set by the mode of many experiments in advance, and unique corresponding first predetermined registration operation of each attitude of terminal.In addition, according to actual needs, user can also in use adjust the first predetermined registration operation corresponding to attitude.
In disclosure embodiment, the first predetermined registration operation can comprise: standby operation, wake screen operator up, show that release application operating, play operation, shut-down operation, forwarding operation, volume amplifieroperation and volume reduce one or more combinations in operation, when the first predetermined registration operation is two, can select two operations can mutually combining, for example: wake screen operator and play operation up, or, annular screen operation and volume amplifieroperation.In addition; the above-mentioned description about the first predetermined registration operation is only some distances of disclosure embodiment, and those of ordinary skills can be according on basis of the present disclosure; the method that the disclosure is provided is applied in the operation of other terminal, and these ought to all belong to protection domain of the present disclosure.
In step S103, according to described the first predetermined registration operation, generate control signal, so that described terminal is controlled.
According to the type of the first predetermined registration operation, the control signal of generation can be sent to corresponding software or hardware in terminal, for example: when the first predetermined registration operation is while showing release application operating, control signal can be for calling the signal of corresponding release application software, when the first predetermined registration operation is volume amplifieroperation and volume while reducing to operate, control signal can be the signal that loudspeaker in terminal is controlled.
The method that disclosure embodiment provides, by obtaining the current attitude of terminal, can uniquely determine and first predetermined registration operation corresponding with current attitude then according to the first predetermined registration operation, can generate corresponding control signal, utilize the control signal generating to realize terminal is controlled.
When practical application, user only need remember the corresponding relation of attitude and first predetermined registration operation of terminal, just can utilize the method quickly and easily terminal to be operated, and without checking corresponding button by light or groping corresponding button in terminal, terminal is operated, the operation steps of terminal is simplified, and mode of operation is simple, convenient.
Fig. 4 is according to the process flow diagram of a kind of terminal control method shown in an exemplary embodiment, and as shown in Figure 4, this terminal control method, for terminal, comprises the following steps.
In step S201, detect the direction of axis of described terminal and the angle between preset direction.
Take Fig. 2 as example, and the axis of terminal can be y axle, and the direction of axis can be the pointing direction of y axle in figure, and preset direction can be the direction of vertical ground.
In this step, angle can utilize the sensor or the detection of other checkout equipment that are arranged in terminal to obtain.
In embodiment of the disclosure, can be provided with mercury cut-off or ball switch in terminal, as shown in Figure 5, take ball switch as example, figure comprises: terminal 1, ball switch 2, wire 3 and ball 4, wherein, ball 4 is positioned at chamber 5, and the head end of two wires 3 lays respectively in chamber 5, and be provided with interval between the head end of two wires 3, in disclosure embodiment, with wire 3, be connected with the standby button of terminal 1, and when two wires 3 are communicated with, the standby button effect of terminal 1, make terminal enter into holding state, when two wires 3 are separated, terminal enters into screen wake-up states.
As shown in Figure 5, when terminal 1 is during in upright state, now ball 4 is positioned at one end of chamber 5, and the head end of two wires 3 is positioned at the other end of chamber 5, makes like this to disconnect between two wires 3, and terminal enters into screen wake-up states.As shown in Figure 6, when terminal 1 is during in handstand state, now the head end of ball 4 and wire 3 is all positioned at one end of chamber 5, and ball 4 couples together the head end of two wires 3, makes conducting between two wires 3, so terminal can enter into holding state.
On the basis of structural drawing shown in Fig. 5 and Fig. 6, step S201 can comprise the following steps.
In step a1, obtain the mercury cut-off or the ball switch that are arranged in described terminal and in described terminal, be positioned at the electric signal producing under different attitudes.
From foregoing description, electric signal can be the current signal of two wire 3 conductings.
In step a2, according to described electric signal, calculate the direction of axis of described terminal and the angle between preset direction.
From structural drawing shown in Fig. 5 and Fig. 6, angle only has two kinds of situations, 0 ° and 180 °.But in other embodiment of the disclosure, can also be by the structure of design mercury cut-off or ball switch, produce more electric signal, as shown in Figure 7, chamber 5 can be set to polygon, interior can the setting of chamber 5, organize wires more, in Fig. 7, wire has three groups to be respectively 31, 32 and 33, every group of wire has two wires, and the angle that wire does not arrange is on the same group different, like this when ball or mercury are during in the interior motion of chamber 5, attitude variation along with terminal, can be by different wire group conductings, and then produce different electric signal, and calculate other angle except 0 ° and 180 °.
In like manner, when adopting mercury cut-off, along with flowing of mercury, also can will between two wires 3, disconnect, as shown in Figure 8, in figure, 6 is mercury, or, by conducting between two wires 3, as shown in 9.
In embodiment of the disclosure, in terminal, be provided with gravity sensor, step S201 can comprise the following steps:
In step b1, receive the sensor being arranged in described terminal and in described terminal, be positioned at the sensing data producing under different attitudes.
In step b2, according to described sensing data, calculate the direction of axis of described terminal and the angle between preset direction.
In step S202, described angle and a plurality of predetermined angle interval are compared.
In disclosure embodiment, predetermined angle interval at least comprises: stand upside down interval and upright interval, and referring to the description in above-described embodiment, upright interval can be 0 °~15 °, handstand interval can be 165 °~180 °.In other embodiments, predetermined angle interval can also comprise: horizontal interval, handstand inclination interval and upright inclination interval, wherein: upright inclination interval can be 15 °~85 °, horizontal interval can be 85 °~95 °, and handstand inclination interval is 95 °~165 °.
When described angle is positioned at handstand interval, in step S203, determine that described current attitude is handstand attitude.
In step S204, determine that first predetermined registration operation corresponding with described current attitude is standby operation.
When described angle is positioned at upright interval, in step S205, determine that described current attitude is upright attitude.
In step S206, determine that first predetermined registration operation corresponding with described current attitude is for waking screen operator up.
In disclosure embodiment, the terminal of take is positioned at upright attitude and handstand attitude is example, upright attitude with wake screen operator up and be set to corresponding, and handstand attitude is set to corresponding with standby operation, like this when user stands upside down terminal, for example user is placed in pocket after terminal is stood upside down, make end in handstand state, by the method, can enter into holding state by control terminal, and work as user by mobile phone just immediately, user's handheld terminal for example, make end in upright state, by the method, can enter into screen wake-up states by control terminal.
Therefore, user only need remember the corresponding relation of attitude and first predetermined registration operation of terminal, just can utilize the method quickly and easily terminal to be operated, and without checking corresponding button by light or groping corresponding button in terminal, terminal is operated, the operation steps of terminal is simplified, and mode of operation is simple, convenient.
Figure 10 is according to the process flow diagram of a kind of terminal control method shown in an exemplary embodiment, and as shown in figure 10, this terminal control method, for terminal, comprises the following steps.
In step S301, obtain the current attitude of terminal.
In step S302, the attitude of obtaining described terminal in Preset Time section changes.
In the above-described embodiments, all directly according to the current attitude of terminal, to determine the first corresponding predetermined registration operation, in actual applications, can also change terminal is controlled according to the attitude of terminal, for example: by upright attitude, be converted to handstand attitude, or, by upright attitude, being converted to horizontal attitude etc., these attitudes change also can set in advance corresponding operation.
In disclosure embodiment, this step can comprise the following steps:
In step c1, in Preset Time section, repeatedly record the direction of the axis of detecting described terminal and the angle between preset direction.
In step c2, the result that obtains according to record is calculated in Preset Time section, the direction of the axis of described terminal and the angle variable quantity between preset direction.
In step c3, according to described angle variable quantity, determine that the attitude of described terminal changes.
Described attitude variation comprises: one or more combinations in lateral oscillation, oscillation in the pitch mode, upset.
In step S303, determine with described attitude and change the second corresponding predetermined registration operation.
In disclosure embodiment, can set up in advance the corresponding relation of attitude variation and the second predetermined registration operation, for example: when described attitude is changed to lateral oscillation, changing the second corresponding predetermined registration operation with described attitude is broadcasting/shut-down operation; When described attitude is changed to oscillation in the pitch mode, described attitude changes the second corresponding predetermined registration operation and can operate for volume adjusting; And when described attitude is changed to upset, changing the second corresponding predetermined registration operation with described attitude is forwarding operation.
In step S304, according to described the second predetermined registration operation, generate control signal, so that described terminal is controlled.
The method that disclosure embodiment provides, can also change terminal is controlled according to the attitude of terminal, for example: by upright attitude, be converted to handstand attitude, or, by upright attitude, be converted to horizontal attitude etc., these attitudes change also can set in advance corresponding operation.This embodiment, can be so that the mode of terminal control be more flexible, conveniently in conjunction with embodiment illustrated in fig. 1.
Figure 11 is according to a kind of terminal control mechanism schematic diagram shown in an exemplary embodiment.With reference to Figure 11, this device comprises attitude acquiring unit 11, the first predetermined registration operation determining unit 12 and the first control module 13.
This attitude acquiring unit 11 is configured to obtain the current attitude of terminal,
This first predetermined registration operation determining unit 12 is configured to determine first predetermined registration operation corresponding with described current attitude;
This first control module is configured to generate control signal according to described the first predetermined registration operation, so that described terminal is controlled.
In embodiment of the disclosure, this attitude acquiring unit 11 can comprise: angle detection sub-unit, angle comparison subelement, the first attitude determine that subelement and the second attitude determine subelement.
This angle detection sub-unit is configured to detect the direction of axis of described terminal and the angle between preset direction; In disclosure embodiment, angle detection sub-unit can comprise: electric signal obtains subelement and the first angle computation subunit, wherein: this electric signal obtains subelement and is configured to obtain the mercury cut-off or the ball switch that are arranged in described terminal and in described terminal, is positioned at the electric signal producing under different attitudes; This first angle computation subunit is configured to calculate the direction of axis of described terminal and the angle between preset direction according to described electric signal.
In addition, angle detection sub-unit can also comprise: sensing data receives subelement and the second angle computation subunit, wherein: this sensing data reception subelement is configured to receive the sensor being arranged in described terminal and in described terminal, is positioned at the sensing data producing under different attitudes; This second angle computation subunit is configured to calculate the direction of axis of described terminal and the angle between preset direction according to described sensing data.
This angle comparison subelement is configured to described angle and a plurality of predetermined angle interval to compare, and described predetermined angle interval at least comprises: stand upside down interval and upright interval;
This first attitude determines that subelement is configured to, when described angle is positioned at handstand interval, determine that described current attitude is handstand attitude;
This second attitude determines that subelement is configured to, when described angle is positioned at upright interval, determine that described current attitude is upright attitude.
In another embodiment of the disclosure, when the interval also predetermined angle interval of predetermined angle also comprises: when horizontal interval, handstand inclination interval, upright inclination interval, this attitude acquiring unit 11 also comprises: the 3rd attitude determines that subelement, the 4th attitude determine that subelement and the 5th attitude determine subelement.
The 3rd attitude determines that subelement is configured to, when described angle is positioned at horizontal interval, determine that described current attitude is for keeping flat attitude;
The 4th attitude determines that subelement is configured to when described angle is positioned at upright inclination interval, determines that described current attitude is upright lateral attitude;
The 5th attitude determines that subelement is configured to when described angle is positioned at handstand inclination interval, determines that described current attitude is handstand lateral attitude.
In disclosure embodiment, the first predetermined registration operation determining unit can comprise: the first predetermined registration operation determines that subelement and the second predetermined registration operation determine subelement, wherein:
This first predetermined registration operation determines that subelement is configured to when described current attitude is handstand attitude, determines that first predetermined registration operation corresponding with described current attitude is standby operation;
This second predetermined registration operation determines that subelement is configured to when described current attitude is upright attitude, determines that first predetermined registration operation corresponding with described current attitude is for waking screen operator up.
In addition, in other embodiments, the first predetermined registration operation determining unit can also comprise that the 3rd predetermined registration operation determines subelement.
The 3rd predetermined registration operation determines that subelement is configured to when described current attitude is when keeping flat attitude, handstand lateral attitude or upright lateral attitude, determines that first predetermined registration operation corresponding with described current attitude is for demonstration release application operating.Now, can directly slide on touch-screen release or carry out release by operation push-button of user.
This device that disclosure embodiment provides, by obtaining the current attitude of terminal, can uniquely determine and first predetermined registration operation corresponding with current attitude then according to the first predetermined registration operation, can generate corresponding control signal, utilize the control signal generating to realize terminal is controlled.
When practical application, user only need remember the corresponding relation of attitude and first predetermined registration operation of terminal, just can utilize this device quickly and easily terminal to be operated, and without checking corresponding button by light or groping corresponding button in terminal, terminal is operated, the operation steps of terminal is simplified, and mode of operation is simple, convenient.
On the basis of structure shown in Figure 11, as shown in figure 12, this terminal control mechanism can also comprise: attitude changes acquiring unit 14, the second predetermined registration operation determining unit 15 and the second control module 16.
This attitude changes the attitude variation that acquiring unit 14 is configured to obtain described terminal in Preset Time section;
This second predetermined registration operation determining unit 15 is configured to determine with described attitude and changes the second corresponding predetermined registration operation;
This second control module 16 is configured to according to described the second predetermined registration operation, described terminal be controlled.
In embodiment of the disclosure, attitude changes acquiring unit 14 and can comprise: angle records subelement, variable angle computation subunit and attitude and changes definite subelement, wherein:
This angle records subelement and be configured to repeatedly record the direction of the axis of detecting described terminal and the angle between preset direction in Preset Time section;
Result that this variable angle computing unit is configured to obtain according to record is calculated in Preset Time section, the direction of the axis of described terminal and the angle variable quantity between preset direction;
This attitude changes determines that subelement is configured to according to described angle variable quantity, determines that the attitude of described terminal changes, and described attitude variation comprises: one or more in lateral oscillation, oscillation in the pitch mode, upset.
This device that disclosure embodiment provides, can also change terminal is controlled according to the attitude of terminal, for example: by upright attitude, be converted to handstand attitude, or, by upright attitude, be converted to horizontal attitude etc., these attitudes change also can set in advance corresponding operation.This embodiment, can be so that the mode of terminal control be more flexible, conveniently in conjunction with embodiment illustrated in fig. 1.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment of relevant the method, will not elaborate explanation herein.
Figure 13 is according to the block diagram of a kind of terminal 800 shown in an exemplary embodiment.For example, terminal 800 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 13, terminal 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of processing components 802 common control terminals 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing components 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of terminal 800.The example of these data comprises for any application program of operation in terminal 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 806 is terminal 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for terminal 800.
Multimedia groupware 808 is included in the screen that an output interface is provided between described terminal 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When terminal 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when terminal 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensors, is used to terminal 800 that the state estimation of various aspects is provided.For example, sensor module 814 can detect the opening/closing state of terminal 800, the relative positioning of assembly, for example described assembly is display and the keypad of terminal 800, the position of all right sense terminals 800 of sensor module 814 or 800 1 assemblies of terminal changes, the existence that user contacts with terminal 800 or do not have the temperature variation of terminal 800 orientation or acceleration/deceleration and terminal 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, as WiFi, and 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 800 can be realized by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of terminal 800.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A non-provisional computer-readable recording medium, when the instruction in described storage medium is carried out by the processor of terminal, makes terminal can carry out a kind of terminal control method, and described method comprises:
Obtain the current attitude of terminal,
Determine first predetermined registration operation corresponding with described current attitude;
According to described the first predetermined registration operation, generate control signal, so that described terminal is controlled.
Those skilled in the art, considering instructions and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various modifications and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (20)

1. a terminal control method, is characterized in that, comprising:
Obtain the current attitude of terminal,
Determine first predetermined registration operation corresponding with described current attitude;
According to described the first predetermined registration operation, generate control signal, so that described terminal is controlled.
2. method according to claim 1, it is characterized in that, described the first predetermined registration operation comprises: standby operation, wake screen operator up, show that release application operating, broadcasting/shut-down operation, forwarding operation, volume amplifieroperation, volume reduce one or more in operation.
3. method according to claim 1, is characterized in that, described in obtain the current attitude of terminal, comprising:
Detect the direction of axis of described terminal and the angle between preset direction;
Described angle and a plurality of predetermined angle interval are compared, and described predetermined angle interval at least comprises: stand upside down interval and upright interval;
When described angle is positioned at handstand interval, determine that described current attitude is handstand attitude;
When described angle is positioned at upright interval, determine that described current attitude is upright attitude.
4. method according to claim 3, is characterized in that, described predetermined angle interval also comprises: horizontal interval, handstand inclination interval, upright inclination interval;
The described current attitude of obtaining terminal, also comprises:
When described angle is positioned at horizontal interval, determine that described current attitude is for keeping flat attitude;
When described angle is positioned at upright inclination interval, determine that described current attitude is upright lateral attitude;
When described angle is positioned at handstand inclination interval, determine that described current attitude is handstand lateral attitude.
5. method according to claim 3, is characterized in that, the direction of the axis of the described terminal of described detection and the angle between preset direction, comprising:
Obtain the mercury cut-off or the ball switch that are arranged in described terminal and in described terminal, be positioned at the electric signal producing under different attitudes;
According to described electric signal, calculate the direction of axis of described terminal and the angle between preset direction.
6. method according to claim 3, is characterized in that, the direction of the axis of the described terminal of described detection and the angle between preset direction, comprising:
The sensor that reception is arranged in described terminal is positioned at the sensing data producing under different attitudes in described terminal;
According to described sensing data, calculate the direction of axis of described terminal and the angle between preset direction.
7. method according to claim 3, is characterized in that, described definite first predetermined registration operation corresponding with described current attitude, comprising:
When described current attitude is handstand attitude, determine that first predetermined registration operation corresponding with described current attitude is standby operation;
When described current attitude is upright attitude, determine that first predetermined registration operation corresponding with described current attitude is for waking screen operator up.
8. method according to claim 4, is characterized in that, described definite first predetermined registration operation corresponding with described current attitude, also comprises:
When described current attitude is when keeping flat attitude, handstand lateral attitude or upright lateral attitude, determine that first predetermined registration operation corresponding with described current attitude is for demonstration release application operating.
9. method according to claim 1, is characterized in that, described method also comprises:
The attitude of obtaining described terminal in Preset Time section changes;
Determine with described attitude and change the second corresponding predetermined registration operation;
According to described the second predetermined registration operation, generate control signal, so that described terminal is controlled.
10. method according to claim 9, is characterized in that, the described attitude of obtaining described terminal in Preset Time section changes, and comprising:
In Preset Time section, repeatedly record the direction of the axis of detecting described terminal and the angle between preset direction;
The result that obtains according to record is calculated in Preset Time section, the direction of the axis of described terminal and the angle variable quantity between preset direction;
According to described angle variable quantity, determine that the attitude of described terminal changes, described attitude variation comprises: one or more in lateral oscillation, oscillation in the pitch mode, upset.
11. 1 kinds of terminal control mechanisms, is characterized in that, comprising:
Attitude acquiring unit, for obtaining the current attitude of terminal;
The first predetermined registration operation determining unit, for determining first predetermined registration operation corresponding with described current attitude;
The first control module, for generating control signal according to described the first predetermined registration operation, so that described terminal is controlled.
12. devices according to claim 11, is characterized in that, described attitude acquiring unit, comprising:
Angle detection sub-unit, for detection of the direction of the axis of described terminal and the angle between preset direction;
Angle is subelement relatively, and for described angle and a plurality of predetermined angle interval are compared, described predetermined angle interval at least comprises: stand upside down interval and upright interval;
The first attitude is determined subelement, while standing upside down interval for being positioned at when described angle, determines that described current attitude is handstand attitude;
The second attitude is determined subelement, upright when interval for being positioned at when described angle, determines that described current attitude is upright attitude.
13. devices according to claim 12, is characterized in that, described predetermined angle interval also comprises: horizontal interval, handstand inclination interval, upright inclination interval;
Described attitude acquiring unit, also comprises:
The 3rd attitude is determined subelement, for being positioned at horizontal when described angle when interval, determines that described current attitude is for keeping flat attitude;
The 4th attitude is determined subelement, for when described angle is positioned at upright inclination interval, determines that described current attitude is upright lateral attitude;
The 5th attitude is determined subelement, for when described angle is positioned at handstand inclination interval, determines that described current attitude is handstand lateral attitude.
14. devices according to claim 12, is characterized in that, described angle detection sub-unit comprises:
Electric signal obtains subelement, for obtaining the mercury cut-off or the ball switch that are arranged in described terminal, is positioned at the electric signal producing under different attitudes in described terminal;
The first angle computation subunit, for calculating the direction of axis of described terminal and the angle between preset direction according to described electric signal.
15. devices according to claim 12, is characterized in that, described angle detection sub-unit, comprising:
Sensing data receives subelement, for receiving the sensor being arranged in described terminal, is positioned at the sensing data producing under different attitudes in described terminal;
The second angle computation subunit, for calculating the direction of axis of described terminal and the angle between preset direction according to described sensing data.
16. devices according to claim 12, is characterized in that, described the first predetermined registration operation determining unit comprises:
The first predetermined registration operation is determined subelement, for when described current attitude is handstand attitude, determines that first predetermined registration operation corresponding with described current attitude is standby operation;
The second predetermined registration operation is determined subelement, for when described current attitude is upright attitude, determines that first predetermined registration operation corresponding with described current attitude is for waking screen operator up.
17. devices according to claim 13, is characterized in that, described the first predetermined registration operation determining unit also comprises:
The 3rd predetermined registration operation is determined subelement, for when described current attitude is when keeping flat attitude, handstand lateral attitude or upright lateral attitude, determines that first predetermined registration operation corresponding with described current attitude is for demonstration release application operating.
18. devices according to claim 11, is characterized in that, described device also comprises:
Attitude changes acquiring unit, for obtain the attitude of described terminal in Preset Time section, changes;
The second predetermined registration operation determining unit, changes the second corresponding predetermined registration operation for determining with described attitude;
The second control module, for controlling described terminal according to described the second predetermined registration operation.
19. devices according to claim 18, is characterized in that, described attitude changes acquiring unit, comprising:
Angle records subelement, for repeatedly record the direction of the axis of detecting described terminal and the angle between preset direction in Preset Time section;
Variable angle computing unit, for the result that obtains according to record calculate in Preset Time section, the direction of the axis of described terminal and the angle variable quantity between preset direction;
Attitude changes determines subelement, for according to described angle variable quantity, determines that the attitude of described terminal changes, and described attitude variation comprises: one or more in lateral oscillation, oscillation in the pitch mode, upset.
20. 1 kinds of terminals, is characterized in that, comprising:
Processor;
Storer for storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the current attitude of terminal,
Determine first predetermined registration operation corresponding with described current attitude;
According to described the first predetermined registration operation, generate control signal, so that described terminal is controlled.
CN201410295027.8A 2014-06-25 2014-06-25 Terminal and terminal control method and device. Pending CN104090655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410295027.8A CN104090655A (en) 2014-06-25 2014-06-25 Terminal and terminal control method and device.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410295027.8A CN104090655A (en) 2014-06-25 2014-06-25 Terminal and terminal control method and device.

Publications (1)

Publication Number Publication Date
CN104090655A true CN104090655A (en) 2014-10-08

Family

ID=51638376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410295027.8A Pending CN104090655A (en) 2014-06-25 2014-06-25 Terminal and terminal control method and device.

Country Status (1)

Country Link
CN (1) CN104090655A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657057A (en) * 2015-01-06 2015-05-27 小米科技有限责任公司 Terminal waking method and device
CN104951208A (en) * 2015-06-16 2015-09-30 广东欧珀移动通信有限公司 Application program control method and mobile terminal
CN106020663A (en) * 2016-05-07 2016-10-12 乐视控股(北京)有限公司 A terminal controlling method and device
CN106131973A (en) * 2016-07-07 2016-11-16 广东小天才科技有限公司 Data transmission method and system
CN106383574A (en) * 2016-09-05 2017-02-08 广东欧珀移动通信有限公司 Screen unlocking method and device and mobile terminal
CN106445366A (en) * 2016-09-19 2017-02-22 深圳市金立通信设备有限公司 Terminal and method for operating and executing same
CN106850972A (en) * 2017-01-10 2017-06-13 深圳市欧瑞博电子有限公司 The control method and device of smart machine
CN108537013A (en) * 2017-12-29 2018-09-14 广东欧珀移动通信有限公司 Electronic device, screen locking control method and Related product
CN110058686A (en) * 2019-03-27 2019-07-26 南京维沃软件技术有限公司 A kind of control method and terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178615A (en) * 2007-12-12 2008-05-14 美新半导体(无锡)有限公司 Gesture, movement induction system and portable electronic apparatus using same
CN103218061A (en) * 2013-04-22 2013-07-24 零度智控(北京)智能科技有限公司 Control method and control device on basis of handheld terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178615A (en) * 2007-12-12 2008-05-14 美新半导体(无锡)有限公司 Gesture, movement induction system and portable electronic apparatus using same
CN103218061A (en) * 2013-04-22 2013-07-24 零度智控(北京)智能科技有限公司 Control method and control device on basis of handheld terminal device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657057A (en) * 2015-01-06 2015-05-27 小米科技有限责任公司 Terminal waking method and device
CN104951208A (en) * 2015-06-16 2015-09-30 广东欧珀移动通信有限公司 Application program control method and mobile terminal
CN104951208B (en) * 2015-06-16 2019-10-25 Oppo广东移动通信有限公司 A kind of control method and mobile terminal of application program
CN106020663A (en) * 2016-05-07 2016-10-12 乐视控股(北京)有限公司 A terminal controlling method and device
CN106131973A (en) * 2016-07-07 2016-11-16 广东小天才科技有限公司 Data transmission method and system
CN106383574A (en) * 2016-09-05 2017-02-08 广东欧珀移动通信有限公司 Screen unlocking method and device and mobile terminal
CN106445366A (en) * 2016-09-19 2017-02-22 深圳市金立通信设备有限公司 Terminal and method for operating and executing same
CN106850972A (en) * 2017-01-10 2017-06-13 深圳市欧瑞博电子有限公司 The control method and device of smart machine
CN108537013A (en) * 2017-12-29 2018-09-14 广东欧珀移动通信有限公司 Electronic device, screen locking control method and Related product
CN110058686A (en) * 2019-03-27 2019-07-26 南京维沃软件技术有限公司 A kind of control method and terminal device

Similar Documents

Publication Publication Date Title
CN104090655A (en) Terminal and terminal control method and device.
CN104866199B (en) Button operation processing method and processing device under singlehanded mode, electronic equipment
CN104182173A (en) Camera switching method and device
CN105468152A (en) Terminal operation control method and device based on wearable equipment, and equipment
CN104219383A (en) Terminal power information prompting method and device
CN104657057A (en) Terminal waking method and device
CN104318741A (en) Bluetooth device control method and device
CN104035662A (en) Interface display method, device and terminal
CN103970500A (en) Method and device for displaying picture
CN105117033A (en) Connection method and device of external equipment
CN104244045B (en) The method that control video pictures presents and device
CN105204808A (en) Picture projection method and device and terminal equipment
CN105388453A (en) Method and device for positioning intelligent device
CN103995666A (en) Method and device for setting work mode
CN104320542A (en) Method and device for sending reminding message
CN105446616A (en) Screen display control method, apparatus and device
CN104010072A (en) Electric quantity prompt method and device
CN105094318A (en) Mode switching method and apparatus
CN103927200A (en) Electronic equipment awakening method and related device
JP2016527577A (en) User command execution method, execution device, program, and storage medium
CN104123075B (en) The method of control terminal and device
CN107102801A (en) Terminal screen spinning solution and device
CN105224171A (en) icon display method, device and terminal
CN105467880A (en) Method and apparatus for controlling intelligent socket work state
CN105516469A (en) Clock control method and device

Legal Events

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

Application publication date: 20141008

RJ01 Rejection of invention patent application after publication