CN108184013A - Terminal control method, device, computer installation and computer readable storage medium - Google Patents
Terminal control method, device, computer installation and computer readable storage medium Download PDFInfo
- Publication number
- CN108184013A CN108184013A CN201711377829.3A CN201711377829A CN108184013A CN 108184013 A CN108184013 A CN 108184013A CN 201711377829 A CN201711377829 A CN 201711377829A CN 108184013 A CN108184013 A CN 108184013A
- Authority
- CN
- China
- Prior art keywords
- terminal
- control
- preset
- equal
- dimensional
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0267—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
- H04W52/027—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The present invention provides a kind of terminal control method, and the terminal control method includes:Obtain the first control model of the terminal, if detecting, the terminal is in preset state, then judge whether the duration of the preset state is greater than or equal to preset duration, if the duration of the preset state is greater than or equal to preset duration, the terminal is controlled from first control mode switch to the second control model.The present invention also provides a kind of terminal control mechanism, computer installation and computer readable storage mediums.The present invention can more convenient switching terminal control model, improve user experience.
Description
Technical field
The present invention relates to electronic technology fields, and in particular to a kind of terminal control method, device, computer installation and calculating
Machine readable storage medium storing program for executing.
Background technology
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this part.
With the development of mobile Internet and mobile payment and universal, it is normal that mobile terminal has become people's daily life
Electronic equipment.Terminal is if wanting switch mode, for example, being switched to low-power consumption mode from normal power consumption, needs user
The screen of terminal is unlocked, finds corresponding switching push button, ability switching control pattern after being clicked is so cumbersome, uses
Family experience is poor.
Invention content
In consideration of it, it is necessary to provide a kind of terminal control method, device, computer installation and computer-readable storage mediums
Matter, can more convenient switching terminal control model, improve user experience.
The first aspect of the present invention provides a kind of terminal control method, applied to terminal, the method includes:
Obtain the first control model of the terminal;
If detecting, the terminal is in preset state, judges whether the duration of the preset state is more than or waits
In preset duration;Wherein, the preset state is more than or waits including at least one acceleration of the terminal on the first three-dimensional
In the first preset value;
If the duration of the preset state is greater than or equal to preset duration, the terminal is controlled from the described first control
Molding formula switches to the second control model, wherein it is described switch to the second control model include be switched to low-power consumption mode and/or
Enhance terminal and remind dynamics.
Further, it is described to be switched to low-power consumption mode, including:
Reduce the display brightness of the screen of the terminal;Or
Reduce the utilization rate of the processor of the terminal;Or
The terminal is controlled to put out the message that screen display receives;Or
The terminal is controlled to treat that PUSH message carries out concentration push by what is received in preset time period.
Further, the utilization rate of the processor for reducing the terminal, including:
At least one committed memory for closing the terminal is more than the process of preset value;Or
Close at least one process with default identifier of the terminal;Or
After sorting according to preset rules, close at least one sequence of the terminal after preset quantity process into
Journey.
Further, the enhancing terminal reminds dynamics, including:
Increase the reminding sound volume of the terminal;Or
Start the vibrating mode of the terminal;Or
Increase the shockproofness of the terminal.
Further, in the control terminal after first control mode switch to the second control model,
The method further includes:
Judge whether at least one acceleration of the terminal on the second three-dimensional is greater than or equal to the second preset value, wherein
Second three-dimensional is opposite with the first three-dimensional;
If at least one acceleration of the terminal on the second three-dimensional be greater than or equal to the second preset value, control described in
Terminal is from the second control mode switch to first control model.
Second aspect of the present invention provides a kind of terminal control mechanism, and applied to terminal, described device includes:
Acquisition module, for obtaining the first control model of the terminal;
Judgment module, for when detecting that the terminal is in preset state, judge the preset state it is lasting when
It is long whether to be greater than or equal to preset duration;Wherein, it is at least one on the first three-dimensional to include terminal for the preset state
Acceleration is greater than or equal to the first preset value;
Control module, for when the duration of the preset state is greater than or equal to preset duration, controlling the end
End from first control mode switch to the second control model, wherein it is described switch to the second control model include be switched to it is low
Power consumption mode and/or enhancing terminal remind dynamics.
Further, it is described to be switched to low-power consumption mode, it specifically includes:
Reduce the display brightness of the screen of the terminal;Or
Reduce the utilization rate of the processor of the terminal;Or
The terminal is controlled to put out the message that screen display receives;Or
The terminal is controlled to treat that PUSH message carries out concentration push by what is received in preset time period.
Further, the utilization rate of the processor for reducing the terminal, including:
At least one committed memory for closing the terminal is more than the process of preset value;Or
Close at least one process with default identifier of the terminal;Or
After sorting according to preset rules, close at least one sequence of the terminal after preset quantity process into
Journey.
Further, the enhancing terminal reminds dynamics, including:
Increase the reminding sound volume of the terminal;Or
Start the vibrating mode of the terminal;Or
Increase the shockproofness of the terminal.
Further, the judgment module is additionally operable to control the terminal from first control mode switch described
To the second control model, judge whether at least one acceleration of the terminal on the second three-dimensional is greater than or equal to second
Preset value, wherein the second three-dimensional is opposite with the first three-dimensional;
The control module is additionally operable to be greater than or equal to the when at least one acceleration of the terminal on the second three-dimensional
During two preset values, the terminal is controlled from the second control mode switch to first control model.
Third aspect present invention provides a kind of computer installation, and the computer installation includes processor, the processor
The step of terminal control method is realized during for performing the computer program stored in storage device.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the meter
The step of terminal control method is realized when calculation machine program is executed by processor.
It should be noted that the claim quantity due to claims limits, will not embody in detail in the claims
The claim of the corresponding device item of certain method items.
Terminal control method provided by the invention, device, computer installation and computer readable storage medium, described in acquisition
First control model of terminal, if detecting, the terminal is in preset state, judges the duration of the preset state
Whether preset duration is greater than or equal to;Wherein, the preset state include at least one on the first three-dimensional of terminal plus
Speed is greater than or equal to the first preset value, if the duration of the preset state is greater than or equal to preset duration, controls institute
Terminal is stated from first control mode switch to the second control model, wherein second control model that switches to includes switching
Dynamics is reminded for low-power consumption mode and/or enhancing terminal.The present invention can more convenient switching terminal control model, improve user
Experience.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is the flow chart for the terminal control method that first embodiment of the invention provides;
Fig. 2 is the schematic diagram that the terminal of the present invention is moved in the first three-dimensional;
Fig. 3 is the flow chart for the terminal control method that second embodiment of the invention provides;
Fig. 4 is the schematic diagram that the terminal of the present invention is moved in the second three-dimensional;
Fig. 5 is the illustrative structure chart of the terminal of the present invention;
Fig. 6 is the illustrative functional block diagram of the terminal control mechanism of the present invention.
Main element symbol description
Terminal | 1 |
Processor | 10 |
Storage device | 20 |
Information collecting device | 30 |
Terminal control mechanism | 100 |
Acquisition module | 11 |
Judgment module | 12 |
Control module | 13 |
Following specific embodiment will be further illustrated the present invention with reference to above-mentioned attached drawing.
Specific embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment
In feature can be combined with each other.
Elaborate many details in the following description to facilitate a thorough understanding of the present invention, described embodiment only
It is part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The normally understood meaning of technical staff is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
The schematic flow diagram of terminal control method that Fig. 1 is provided for first embodiment of the invention, the terminal control side
Method can be applied in terminal, it should be appreciated that the signified terminal of the present invention, can be mobile phone, tablet computer, palm PC,
Laptop, desktop computer, mobile unit, navigation equipment etc. can run the terminal of application software, and this is not restricted.
As shown in Figure 1, the terminal control method of present embodiment may include following steps:
S101:Obtain the first control model of terminal.
Control model when first control model is currently run for terminal, terminal operating can have under control model
Corresponding prompting mode (such as the tinkle of bells prompting or vibration prompting etc.) and power consumption mode, under corresponding power consumption mode, tool
There are the number of applications opened accordingly, the brightness case of screen, the mode for receiving message, the mode for showing message etc.,
It should be understood that it is only exemplary above.
S102:If detecting, the terminal is in preset state, judges whether the duration of the preset state is big
In or equal to preset duration, wherein, it is big that the preset state includes at least one acceleration of the terminal on the first three-dimensional
In or equal to the first preset value, if so, step S103 is performed, if it is not, then continuing to execute step S102 or directly terminating to flow
Journey.
The three-dimensional of present embodiment meaning is the direction for having concept of space, can refer to that terminal is transported in three dimensions
Direction of motion during row, for example, the movement locus of terminal can be arc, it can be former using certain of human body as three-dimensional coordinate
Point, then the direction of motion of terminal belongs to three-dimensional, as shown in Fig. 2, the starting point of movement is (x1, y1, z1), in motion process
Coordinate value be (x2, y2, z2), due to being arcuate movement, then<x2, y2, z2>In at least two values be variation, movement
Terminal be (x3, y3, z3);Or terminal is first moved and is moved straight down again obliquely, then this direction of motion belongs to three-dimensional side
To.For terminal when three-dimensional moves, each moment of terminal movement all has corresponding acceleration, can be by being arranged on end
The sensor at end obtains to obtain movable information, such as by acceleration transducer and/or gravity sensor and/or gyroscope etc.
Take movable information.
Such as, terminal is moved toward the earth's core direction, if detecting terminal in the acceleration toward the earth's core direction (gravity direction) movement
It spends a and is greater than or equal to the first preset value a1(such as 2m/s2), then when judging that acceleration a of the terminal when the gravity direction moves continues
Whether long t is greater than or equal to preset duration t0(such as 2s), if so, performing step S103.
Such as, terminal is moved along arching trajectory, if terminal is detected when being moved along arching trajectory, when at least one
Between acceleration a (being likely to be variation, it is also possible to constant) in long t more than or equal to the first preset value a1, then judge
Whether time length is greater than or equal to preset duration t0, if so, step S103 is performed, and similarly, other fortune of non-arcuate movement
Dynamic form (such as first moving along a straight line toward a direction, then move along a straight line toward other direction) can also adapt to accordingly, just differ herein
One repeats.
Wherein, preset duration can be the duration average value obtained by the repetition test under a scene.
It is understood that this step can first judge whether to detect the terminal on the first three-dimensional at least
One acceleration is greater than or equal to the first preset value, if it is detected judging in the terminal in first three-dimensional
On time for being kept of at least one acceleration whether be greater than or equal to preset duration, if it is, performing step S103.
S103:The terminal is controlled from first control mode switch to the second control model, wherein, wherein described cut
The second control model is shifted to include being switched to low-power consumption mode and/or enhancing terminal prompting dynamics.
Wherein, terminal can include at least one of following when the first control mode switch is low-power consumption mode:It reduces
The display brightness of the screen of the terminal, the utilization rate of the processor of the reduction terminal, the control terminal are put out screen display and are connect
Message, the control terminal received treats that PUSH message carries out concentration push by what is received in preset time period.In low-power consumption
Under pattern, the lower power consumption of terminal can improve the cruising ability of terminal well.
Terminal when receiving message either when receiving incoming call or receive using push advertisement when, generally
The bright screen of meeting is shown, alternatively, user sometimes forgets to close screen, screen illuminating state meeting certain time, by reducing eventually
The display brightness of the screen at end can reduce the energy consumption of terminal.
Likewise, the utilization rate of the processor by reducing terminal can correspondingly reduce the power consumption of terminal, can pass through
At least one of in the following manner reduces the utilization rate of the processor of the terminal:Close at least one occupancy of the terminal
Memory is more than the process of preset value, closes at least one process with default identifier of the terminal, according to default rule
After then sorting, process of at least one sequence of the terminal after preset quantity process is closed.
Process is that primary calculating activity and operating system of the program that can concurrently perform on some data acquisition system carry out
The base unit of Resource Distribution and Schedule, process is generally related with the program of operation, and each process has uniquely in systems
One ID identifies it, this ID is exactly Process identifier (PID), and process includes three basic status, respectively run mode, ready
State and waiting state, the process of terminal can occupy memory headroom, and each process needs to occupy certain CPU, terminal fortune at runtime
The more process of row, the power consumption of processor can be bigger, and the processor of terminal can be reduced by closing a certain number of processes and is made
With rate.
It is described sort according to preset rules after, close at least one sequence of the terminal after preset quantity process
Process (such as close other all processes) after first three, such as can be by all processes of terminal according in occupying
The size deposited is ranked up or is ranked up according to the time order and function of establishment, can will occupy the bigger process of memory and sort
Preceding, the smaller process sequence of memory will be occupied in rear or opposite sequence;The preceding process sequence of creation time can be existed
Before, by the sequence of creation time posterior process rear, the latter sorts on the contrary.The preset rules of present embodiment can will be created
The sequence of time posterior process is built preceding, by the preceding process sequence of creation time rear, so when the process of closing, can will be created
Build more long process (such process is not it is possible that need to use) closing.
Likewise, putting out screen by control terminal shows the message received, the energy consumption of terminal can be also reduced, screen puts out screen
Can making terminal, screen can also show various letters when putting out screen for display (Always On Display, and can be described as putting out screen prompting)
Breath puts out screen display and does not need to light screen, puts out screen display for screen display is just always on, needs the electric energy consumed can be more
It is few, therefore, the energy consumption of terminal can be reduced.
Likewise, the terminal is controlled to treat that PUSH message carries out concentration push by what is received in preset time period, also may be used
The energy consumption of terminal is reduced, the message that terminal receives push each time is required to display once, and repeatedly receiving then can repeatedly show, and
By (such as in 1 hour of user setting) in preset time period receive treat that PUSH message carries out concentration push, it is primary to show,
Energy consumption can be reduced accordingly.
It is described enhancing terminal remind dynamics, can be when terminal prompting mode include bell mode, increase the terminal
Reminding sound volume;If the prompting mode of terminal does not include vibration prompting, the vibrating mode or if whole of terminal can be started
The prompting mode at end includes vibration prompting, then can increase the shockproofness of the terminal.
Illustratively, when user's using terminal finishes, terminal is needed to be put into trousers pocket (or being held on desktop),
When terminal is put into trousers pocket, the mass motion of terminal is downward, detects that whole downward acceleration is greater than or equal at this time
First preset value, and the duration of whole acceleration when moving downward be greater than or equal to preset duration, wherein, preset duration
Can be the average value that user repeatedly puts duration needed for trousers pocket, after being put into trousers pocket, since user does not use mobile phone directly,
Terminal enters low-power consumption mode and (volume, prompting mode is turned up to reduce the energy consumption of terminal and/or improve the prompting dynamics of terminal
It is adjusted to shake, strengthens vibrations etc.) it allows the user to understand information state in time.
The terminal control method that present embodiment is provided, obtains the first control model of the terminal, if detecting institute
It states terminal and is in preset state, then judge whether the duration of the preset state is greater than or equal to preset duration, if described
The duration of preset state is greater than or equal to preset duration, then controls the terminal from first control mode switch to the
Two control models, present embodiment can more convenient switching terminal control model, improve user experience.
Fig. 3 is the schematic flow diagram of terminal control method that second embodiment of the invention provides.Second embodiment party
The main distinction of formula and first embodiment is, is further included in second embodiment and switches back into the first control model.
It should be noted that in the range of the spirit or essential attributes of the present invention, each specific side suitable for first embodiment
Case can also be accordingly suitable for second embodiment, for the sake of saving space and avoiding repetition, and details are not described herein again.
The specific method step of present embodiment is as follows:
S201:Obtain the first control model of terminal.
S202:Whether the terminal is judged in the first preset state, if so, step S203 is performed, if it is not, then returning
It performs this step or directly terminates flow.
Wherein, first preset state is more than or waits including at least one acceleration of the terminal on the first three-dimensional
In the first preset value.
S203:Judge whether the duration of the preset state is greater than or equal to preset duration, if so, performing step
S204, if it is not, then returning to execution step S202 or directly terminating flow.
S204:The terminal is controlled from first control mode switch to the second control model, wherein, it is described to switch to
Second control model includes being switched to low-power consumption mode and/or enhancing terminal reminds dynamics.
S205:It is default to judge whether at least one acceleration of the terminal on the second three-dimensional is greater than or equal to second
Value, wherein the second three-dimensional and the first three-dimensional are on the contrary, if so, execution step S206, this step is performed if it is not, then returning
Suddenly or directly terminate flow.
Second three-dimensional is the direction with concept of space, refers to terminal as first three-dimensional
The direction of motion when space is run, e.g., the first three-dimensional refer to terminal along arching trajectory to the side of an end motion
To, and the second three-dimensional refer to terminal along arching trajectory to the direction of another end motion, as shown in figure 4, certainly, terminal
The track moved twice can have certain deviation, and deviation may be considered the second three-dimensional and the within limits
One three-dimensional is opposite.
The second preset value described in present embodiment can be the value identical with the first preset value or differ
Value, such as the first preset value can be a1(such as 2m/s2), the second preset value can be a2(such as 1m/s2Or 2m/s2)。
S206:The terminal is controlled from the second control mode switch to first control model.
Present embodiment one is illustrative, when user's using terminal finishes, after terminal is put into trousers pocket (or it is held on table
On face), terminal enters low-power consumption mode and/or improves the prompting dynamics of terminal, when user needs to reuse mobile phone, from trousers
Bag takes out terminal, and the direction of motion of terminal is opposite with direction of motion when being put into trousers pocket, determines in whole fortune upwards
Acceleration when dynamic is greater than or equal to the second preset value, then is switched to first control model, such as comes back to normal power consumption
Pattern and/or regular prompt dynamics is adjusted back, being so convenient to take out terminal from trousers pocket can restore to the first control model.
Present embodiment further comprises other than the advantageous effect with first embodiment and switches back into the first control mould
Formula and etc., the first control model of terminal is obtained, whether the terminal is detected in preset state, if so, described in judging
Whether the duration of preset state is greater than or equal to preset duration, if so, controlling the terminal from the described first control mould
Formula switches to the second control model, judges whether at least one acceleration of the terminal on the second three-dimensional is greater than or equal to the
Two preset values, wherein the second three-dimensional and the first three-dimensional are on the contrary, if so, control the terminal from the second control model
First control model is switched to, present embodiment when terminal meets certain condition, can switch back into the first control mould
Formula improves user experience.
Fig. 5 be terminal 1 provided by the invention a kind of embodiment structure chart, as shown in figure 5, the terminal can apply it is upper
Each embodiment is stated, terminal 1 provided by the present invention is described below, the terminal 1 can include terminal control mechanism
100, terminal 1 may also include processor 10, storage device 20, information collecting device 30 and be stored in the storage device 20
In and the computer program (instruction) that can be run on the processor 10, such as terminal control program etc. certainly can be with
Including other hardware components, such as screen, button, public address set, communication device etc., details are not described herein.
The processor 10 can be central processing unit (Central Processing Unit,
CPU), can also be other general processors, digital signal processor (Digital Signal Processor,
DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate
Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystal
Pipe logical device, discrete hardware components etc..General processor can be microprocessor or the processor can also be it is any often
Processor of rule etc., the processor are the control centres of the terminal 1, utilize various interfaces and the entire terminal 1 of connection
Various pieces.
The storage device 20 can be used for storing the computer program and/or module, and the processor 10 passes through operation
Or it performs the computer program being stored in the storage device 20 and/or module and calls and be stored in storage device 20
Data, realize the various functions of the server.The storage device 20 can mainly include storing program area and storage data
Area, wherein, storing program area can storage program area, application program needed at least one function etc.;Storage data field can deposit
Storage uses created data etc. according to mobile phone.In addition, storage device 20 can include high random access storage device, also
It can include non-volatile memory device, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media
Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk storage dress
Put part, flush memory device or other volatile solid-state storage device parts.
Described information harvester 30 can include but is not limited to range sensor, gravity sensor, acceleration transducer
With gyroscope etc., described information harvester 30 can be used for the movable information of acquisition terminal, for example, including direction of motion information,
Acceleration information during movement, motion velocity information etc..
The terminal control mechanism 100, available for obtaining the first control model of the terminal, if detecting the terminal
In preset state, then judge whether the duration of the preset state is greater than or equal to preset duration;Wherein, it is described default
State includes at least one acceleration of the terminal on the first three-dimensional and is greater than or equal to the first preset value, if the default shape
The duration of state is greater than or equal to preset duration, then controls the terminal from first control mode switch to the second control
Pattern wherein second control model that switches to includes being switched to low-power consumption mode and/or enhancing terminal prompting dynamics, passes through
Terminal control mechanism 100, can more convenient switching terminal control model, improve user experience.
The terminal control mechanism 100, it may also be used for obtain the first control model of terminal, detect whether the terminal is located
In preset state, if so, judging whether the duration of the preset state is greater than or equal to preset duration, if so, control
The terminal is made from first control mode switch to the second control model, judges terminal on the second three-dimensional at least
Whether one acceleration is greater than or equal to the second preset value, wherein the second three-dimensional and the first three-dimensional on the contrary, if so,
The terminal is controlled from the second control mode switch to first control model, by terminal control mechanism 100, can worked as
When terminal meets certain condition, the first control model is switched back into, improves user experience.
The processor 10 is realized in above-mentioned each embodiment when performing the computer program in terminal control method
Step, such as step S101-S103 shown in FIG. 1.Alternatively, the processor 10 realizes each mould when performing the computer program
The function of block/unit.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the storage device 20, and is performed by the processor, to complete the present invention.It is one
Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used to retouch
State implementation procedure of the computer program in the terminal 1.For example, the terminal control mechanism 100 can include obtaining
Module 11, judgment module 12 and control module 13, as shown in fig. 6, each module concrete function is as follows:
The acquisition module 11, available for being used to obtain the first control model of the terminal.
The judgment module 12, available for when detecting that the terminal is in preset state, judging the preset state
Duration whether be greater than or equal to preset duration;Wherein, the preset state includes terminal on the first three-dimensional
At least one acceleration is greater than or equal to the first preset value.
The control module 13, when the duration of the preset state is greater than or equal to preset duration, described in control
Terminal is from first control mode switch to the second control model, wherein second control model that switches to includes being switched to
Low-power consumption mode and/or enhancing terminal remind dynamics.
Further, it is described to be switched to low-power consumption mode, it may include at least one of following:Reduce the screen of the terminal
Display brightness, the processor for reducing the terminal utilization rate, the control terminal put out message, the control that screen display receives
The terminal treats that PUSH message carries out concentration push by what is received in preset time period.
Further, the utilization rate of the processor for reducing the terminal, it may include at least one of following:Close institute
At least one committed memory for stating terminal is more than the process of preset value, closes at least one with default identifier of the terminal
Number process, sort according to preset rules after, close at least one sequence of the terminal after preset quantity process into
Journey.
Further, the enhancing terminal reminds dynamics, it may include:Increase the terminal reminding sound volume, start described in
The vibrating mode of terminal, the shockproofness of the increase terminal.
Further, the judgment module 12, it may also be used for control the terminal from first control model described
It switches to after the second control model, judges whether at least one acceleration of the terminal on the second three-dimensional is greater than or equal to
Second preset value, wherein the second three-dimensional is opposite with the first three-dimensional;
The control module 13, it may also be used for when at least one acceleration of the terminal on the second three-dimensional is more than or waits
When the second preset value, the terminal is controlled from the second control mode switch to first control model.
The terminal 1 can be the computing devices such as PC server and cloud server.It will be understood by those skilled in the art that
The schematic diagram is only the restriction of the example of terminal 1, not structure paired terminal 1, can be included more more or fewer than illustrating
Component either combines certain components or different components, such as the terminal 1 can also include input-output equipment, network
Access device, bus etc..
If the integrated module/unit of the terminal 1 is realized in the form of SFU software functional unit and is independent product
Sale in use, can be stored in a computer read/write memory medium.It is of the invention to realize based on such understanding
All or part of flow in embodiment method is stated, relevant hardware can also be instructed to complete by computer program, institute
The computer program stated can be stored in a computer readable storage medium, which, can when being executed by processor
The step of realizing above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, the computer
Program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer can
Reading medium can include:Any entity or device, recording medium, USB flash disk, mobile hard of the computer program code can be carried
Disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need what is illustrated
It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice
When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium, which does not include electric carrier wave, to be believed
Number and telecommunication signal.
In several embodiments provided by the present invention, it should be appreciated that the method and apparatus can also pass through
Other modes realize that device embodiment described above is only illustrative, the division of the module, only a kind of
Division of logic function, when realization, can there is other dividing mode.
It is obvious to a person skilled in the art that the present invention is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Profit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims
Variation includes within the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.This
Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple
Device can also be realized by same device or system by software or hardware.The first, the second grade words are used for representing name
Claim, and do not represent any particular order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference
The present invention is described in detail in preferred embodiment, it will be understood by those of ordinary skill in the art that, it can be to the present invention's
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a kind of terminal control method, applied to terminal, which is characterized in that the method includes:
Obtain the first control model of the terminal;
If detecting, the terminal is in preset state, judges whether the duration of the preset state is greater than or equal in advance
If duration;Wherein, the preset state includes at least one acceleration of the terminal on the first three-dimensional and is greater than or equal to the
One preset value;
If the duration of the preset state is greater than or equal to preset duration, the terminal is controlled from the described first control mould
Formula switches to the second control model, wherein second control model that switches to includes being switched to low-power consumption mode and/or enhancing
Terminal reminds dynamics.
2. terminal control method according to claim 1, which is characterized in that it is described to be switched to low-power consumption mode, including:
Reduce the display brightness of the screen of the terminal;Or
Reduce the utilization rate of the processor of the terminal;Or
The terminal is controlled to put out the message that screen display receives;Or
The terminal is controlled to treat that PUSH message carries out concentration push by what is received in preset time period.
3. terminal control method according to claim 2, which is characterized in that the processor for reducing the terminal makes
With rate, including:
At least one committed memory for closing the terminal is more than the process of preset value;Or
Close at least one process with default identifier of the terminal;Or
After sorting according to preset rules, process of at least one sequence of the terminal after preset quantity process is closed.
4. terminal control method according to claim 1, which is characterized in that the enhancing terminal reminds dynamics, including:
Increase the reminding sound volume of the terminal;Or
Start the vibrating mode of the terminal;Or
Increase the shockproofness of the terminal.
5. according to claim 1-4 any one of them terminal control methods, which is characterized in that the control terminal from
After first control mode switch to the second control model, the method further includes:
Judge whether at least one acceleration of the terminal on the second three-dimensional is greater than or equal to the second preset value, wherein second
Three-dimensional is opposite with the first three-dimensional;
If at least one acceleration of the terminal on the second three-dimensional is greater than or equal to the second preset value, the terminal is controlled
From the second control mode switch to first control model.
6. a kind of terminal control mechanism, applied to terminal, which is characterized in that described device includes:
Acquisition module, for obtaining the first control model of the terminal;
Judgment module, for when detecting that the terminal is in preset state, judging the duration of the preset state to be
It is no to be greater than or equal to preset duration;Wherein, the preset state includes terminal at least one acceleration on the first three-dimensional
Degree is greater than or equal to the first preset value;
Control module, for when the duration of the preset state be greater than or equal to preset duration when, control the terminal from
First control mode switch is to the second control model, wherein second control model that switches to includes being switched to low-power consumption
Pattern and/or enhancing terminal remind dynamics.
7. terminal control mechanism according to claim 6, which is characterized in that it is described to be switched to low-power consumption mode, it is specific to wrap
It includes:
Reduce the display brightness of the screen of the terminal;Or
Reduce the utilization rate of the processor of the terminal;Or
The terminal is controlled to put out the message that screen display receives;Or
The terminal is controlled to treat that PUSH message carries out concentration push by what is received in preset time period.
8. the terminal control mechanism described according to claim 6 or 7, it is characterised in that:
The judgment module is additionally operable in the control terminal from first control mode switch to the second control model
Later, judge whether at least one acceleration of the terminal on the second three-dimensional is greater than or equal to the second preset value, wherein the
Two three-dimensionals are opposite with the first three-dimensional;
The control module is additionally operable to be greater than or equal to second in advance when at least one acceleration of the terminal on the second three-dimensional
If during value, the terminal is controlled from the second control mode switch to first control model.
9. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is deposited for performing
The step of the terminal control method as described in any one in claim 1-5 is realized during the computer program stored in storage device
Suddenly.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of terminal control method as described in any one in claim 1-5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711377829.3A CN108184013A (en) | 2017-12-19 | 2017-12-19 | Terminal control method, device, computer installation and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711377829.3A CN108184013A (en) | 2017-12-19 | 2017-12-19 | Terminal control method, device, computer installation and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108184013A true CN108184013A (en) | 2018-06-19 |
Family
ID=62546473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711377829.3A Withdrawn CN108184013A (en) | 2017-12-19 | 2017-12-19 | Terminal control method, device, computer installation and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108184013A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109550242A (en) * | 2018-11-19 | 2019-04-02 | 网易(杭州)网络有限公司 | The control method and device of virtual role in game |
CN115391032A (en) * | 2022-08-15 | 2022-11-25 | 上海慧程工程技术服务有限公司 | Memory optimization method for industrial Internet of things edge equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104104801A (en) * | 2014-07-25 | 2014-10-15 | 小米科技有限责任公司 | Terminal reminding method and device |
CN105183188A (en) * | 2015-09-14 | 2015-12-23 | 小米科技有限责任公司 | Screen control method and device of electronic equipment |
CN105700685A (en) * | 2016-01-13 | 2016-06-22 | 广东欧珀移动通信有限公司 | Switching method and system for prompting modes |
CN106572251A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Mode switching method, mode switching device and terminal |
-
2017
- 2017-12-19 CN CN201711377829.3A patent/CN108184013A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104104801A (en) * | 2014-07-25 | 2014-10-15 | 小米科技有限责任公司 | Terminal reminding method and device |
CN105183188A (en) * | 2015-09-14 | 2015-12-23 | 小米科技有限责任公司 | Screen control method and device of electronic equipment |
CN105700685A (en) * | 2016-01-13 | 2016-06-22 | 广东欧珀移动通信有限公司 | Switching method and system for prompting modes |
CN106572251A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Mode switching method, mode switching device and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109550242A (en) * | 2018-11-19 | 2019-04-02 | 网易(杭州)网络有限公司 | The control method and device of virtual role in game |
CN109550242B (en) * | 2018-11-19 | 2022-09-23 | 网易(杭州)网络有限公司 | Method and device for controlling virtual character in game |
CN115391032A (en) * | 2022-08-15 | 2022-11-25 | 上海慧程工程技术服务有限公司 | Memory optimization method for industrial Internet of things edge equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110585726B (en) | User recall method, device, server and computer readable storage medium | |
CN108293079A (en) | For the striding equipment buddy application of phone | |
CN108900770A (en) | A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera | |
CN107610698A (en) | A kind of method for realizing Voice command, robot and computer-readable recording medium | |
CN107193598A (en) | One kind application startup method, mobile terminal and computer-readable recording medium | |
CN109802881A (en) | A kind of orientation prompting processing method and processing device of group chat message | |
CN106095263A (en) | For showing method and the electronic equipment thereof of user interface | |
CN107402808B (en) | Process management method, device, storage medium and electronic equipment | |
CN107393534A (en) | Voice interactive method and device, computer installation and computer-readable recording medium | |
CN107506017A (en) | Charging reminding method and device, electronic equipment and computer-readable recording medium | |
CN111080429B (en) | Virtual resource acquisition method, device and storage medium | |
CN104932896A (en) | Information processing method and electronic equipment | |
CN106408250A (en) | Schedule management method and terminal | |
CN107920162A (en) | Control method, mobile terminal and the computer-readable recording medium of alarm clock | |
CN106874057A (en) | A kind of information input method and its equipment | |
CN108184013A (en) | Terminal control method, device, computer installation and computer readable storage medium | |
CN109803360A (en) | WiFi dormancy control method, device, electronic equipment and storage medium | |
CN106200976A (en) | A kind of motion-activated method and terminal | |
CN107368998A (en) | Agenda managing method and Related product | |
CN108181980A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN104572265B (en) | Control the method and mobile terminal device of application operation | |
CN106202493A (en) | A kind of travel information creation method and terminal | |
CN106407792B (en) | Control the method and speaker of mobile terminal | |
CN107908687A (en) | Content delivery method and device, computer installation and computer-readable recording medium | |
CN104966188B (en) | A kind of information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180619 |