CN109521872A - A kind of mobile terminal screen spinning solution and its mobile terminal - Google Patents

A kind of mobile terminal screen spinning solution and its mobile terminal Download PDF

Info

Publication number
CN109521872A
CN109521872A CN201811251082.1A CN201811251082A CN109521872A CN 109521872 A CN109521872 A CN 109521872A CN 201811251082 A CN201811251082 A CN 201811251082A CN 109521872 A CN109521872 A CN 109521872A
Authority
CN
China
Prior art keywords
counting event
mobile terminal
external force
acceleration
screen rotation
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
CN201811251082.1A
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.)
CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd
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 CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd filed Critical CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201811251082.1A priority Critical patent/CN109521872A/en
Publication of CN109521872A publication Critical patent/CN109521872A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Abstract

The invention discloses a kind of mobile terminal screen spinning solution and its mobile terminals comprising obtains the acceleration information information under the currently used posture of user;External force acceleration is calculated based on the acceleration information information;External force acceleration is analyzed based on external force acceleration rate threshold, judges whether flip-flop number event;Counting event is analyzed based on default counting event, judge whether the counting event is default counting event, if the counting event is default counting event, corresponding screen rotation instruction is exported, enables screen rotation function and based on screen rotation instruction control screen rotation;If the counting event is not default counting event, screen rotation function is disabled.The present invention is in such a way that software and hardware combines, simple human-computer interaction function is realized, screen rotation direction is adjusted according to the actual demand of user, improves the accuracy of screen rotation technology, this method is easy to operate simultaneously, practicability is high, enhances user experience.

Description

A kind of mobile terminal screen spinning solution and its mobile terminal
Technical field
The present invention relates to intelligent terminal technical field more particularly to a kind of mobile terminal screen spinning solution and its movements eventually End.
Background technique
Acceleration transducer is a kind of sensor that can measure acceleration.Sensor passes through confrontation in accelerator The measurement of inertia force suffered by gauge block obtains acceleration value using Newton's second law.The mobile terminal devices such as mobile phone are all at present The characteristic that the current acceleration of gravity of mobile terminal is detected using acceleration transducer realizes the side that screen rotates automatically as it Method.
However directly realize that the disadvantage that screen rotates automatically is it according only to mobile whole using acceleration transducer The acceleration of gravity of posture i.e. mobile terminal of itself itself is held to control screen rotation, when mobile terminal is water relative to ground When level state, screen, which is shown, to become corresponding transverse screen state according to the acceleration of gravity data that acceleration transducer reports, when Mobile terminal relative to ground be vertical state when, just become corresponding vertical screen state.But this method is not by user Actual operational position be included in and consider range.When people's recumbency operates mobile terminal, especially when user is in a manner of lying on one's side When operating mobile terminal, it can be sent out by the practical just apparent direction of the acceleration transducer calculated mobile terminal direction of institute and user Raw biggish deviation, the picture display direction so as to cause mobile terminal output are not often inconsistent with the positive angle of user.This Outside, when user using mobile terminal play game, see video when, may be due to the neglectful little trick (example of hand Such as the biggish shaking of hand is caused since vehicle jolts) and screen has occurred in game process accidentally and rotates, affecting makes The experience sense of user.At this moment people are often turning off screen automatic rotation function, but needing to use this function next time It must be reopened again when energy, this will cause certain trouble, operate unfamiliar user's meeting especially for mobile terminal Meet with bigger puzzlement.Therefore the existing automatic rotation technique of screen in some cases, can not only play automatic calibration The purpose of screen display direction can be caused using upper puzzlement instead to user.
Application publication number is that the Chinese invention patent application of CN107102801A discloses one kind by obtaining user's face Image carries out recognition of face to obtain the angle of eyes line and terminal screen current picture display direction in facial image and close System, to determine whether the terminal screen spinning solution and device of triggering terminal screen rotation according to angular relationship.
However, being limited to ambient light when user uses based on the method that recognition of face carries out screen rotation and using shape State, if light is too dark or face can not be directed at screen, the practicality just be will be greatly reduced.
Summary of the invention
An object of the present invention at least that, for how to overcome the above-mentioned problems of the prior art, provide one kind Mobile terminal screen spinning solution and its device, be able to solve accuracy in existing screen rotation technology it is not high, influence user's body The problem of testing.
To achieve the goals above, the technical solution adopted by the present invention includes following aspects.
A kind of mobile terminal screen spinning solution, it is described to include:
Step 101: obtaining the acceleration information information of mobile terminal under the currently used posture of user;
Step 102: external force acceleration is calculated based on the acceleration information information;
Step 103: external force acceleration being analyzed based on external force acceleration rate threshold, judges whether to trigger repeatedly counting thing Part;
Step 104: the multiple counting event being analyzed based on default counting event, judges the continuous counter thing Whether part is to preset counting event, if the multiple counting event is default counting event, exports corresponding screen rotation Instruction enables screen rotation function and based on screen rotation instruction control screen rotation.
Preferably, a kind of mobile terminal screen spinning solution, the acceleration information information include acceleration of gravity and outer Power acceleration.
Preferably, a kind of mobile terminal screen spinning solution, the step 103 specifically include:
External force acceleration is analyzed based on external force acceleration rate threshold, when external force acceleration is greater than the external force acceleration When threshold value, the counting event in respective direction can be triggered, when external force acceleration is less than the external force acceleration rate threshold, then will not Trigger the counting event in respective direction;
The counting event is analyzed based on prefixed time interval, is preset when the counting event time interval is less than When time interval, then count to trigger multiple counting event.
Preferably, a kind of mobile terminal screen spinning solution, the step 103, further includes:
When the counting event is unsatisfactory for triggering the condition of multiple counting event, stops counting and disable screen rotation function Energy.
Preferably, a kind of mobile terminal screen spinning solution, the method also includes: if the multiple counting event is not It is default counting event, then disables screen rotation function.
Further, a kind of mobile terminal, the mobile terminal screen rotating device include:
Display;
One or more processors;
Memory;
One or more programs, wherein one or more of programs be stored in the memory and be configured as by One or more of processors execute, and one or more of programs include for executing either above-mentioned method method Instruction.
A kind of mobile terminal, comprising:
Display;With the device for executing either above-mentioned method method.
In conclusion by adopting the above-described technical solution, the present invention at least has the advantages that
1, the artificial acceleration degree generated when using mobile terminal by obtaining user, and convert artificial acceleration degree to Corresponding screen rotation instruction, realizes simple human-computer interaction function, can be improved existing mobile terminal screen rotation technique Accuracy;
2, meet user under special scenes to the user demand of screen rotation function, while this method is easy to operate, real With property height, user experience can be enhanced.
Detailed description of the invention
Fig. 1 is mobile terminal screen spinning solution flow chart according to an exemplary embodiment of the present invention;
Fig. 2 is mobile terminal apparatus structural schematic diagram according to an exemplary embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and embodiments, the present invention will be described in further detail, so that the purpose of the present invention, technology Scheme and advantage are more clearly understood.It should be appreciated that described herein, specific examples are only used to explain the present invention, and does not have to It is of the invention in limiting.
Fig. 1 shows mobile terminal screen spinning solution according to an exemplary embodiment of the present invention.The movement of the embodiment Terminal screen spinning solution specifically includes that
Step 101: obtaining the acceleration information information under the currently used posture of user;
Specifically, can make to one outside of mobile terminal when user is tapped using object or touches mobile terminal Firmly, consequent is the transient acceleration contrary with the applied external force, this transient acceleration is artificial production Raw external force acceleration, this transient acceleration equally can degree of being accelerated sensor detected.Therefore acceleration transducer obtains To current acceleration data information should be the total acceleration for including current acceleration of gravity and external force acceleration.It is obtaining Acceleration calculation module is transmitted to after to the acceleration information information to be calculated;
Step 102: external force acceleration is calculated based on the acceleration information information;
Specifically, after receiving the acceleration information information for carrying out acceleration sensor output, acceleration calculation module Containing corresponding software program, by the way that acceleration information information is subtracted gravitational acceleration component, external force acceleration can be acquired Size and Orientation.Acceleration information information, acceleration of gravity are the vector with direction and size, therefore they do obtained by subtraction External force acceleration is also the vector for having size and Orientation.Then acceleration calculation module can be to rotation determination module thereafter Export the external force acceleration.
Step 103: external force acceleration being analyzed based on artificial acceleration degree threshold value, judges whether to trigger repeatedly counting thing Part;
Specifically, the first rotation decision sub-module can be based on external force acceleration threshold after receiving the external force acceleration Value analyzes external force acceleration.Here external force acceleration rate threshold is vector (one set for having direction to have size Vector, if angle with horizontal plane is 45 degree, size 5cm/s2Acceleration rate threshold), external force acceleration and it carry out vector it is big Small comparison.When external force acceleration is greater than the external force acceleration rate threshold, triggering respective direction, (this direction is that external force adds The direction of speed) on counting event, when external force acceleration be less than the external force acceleration rate threshold when, then will not trigger respective party Upward counting event, external force dynamics and direction at this time all are not enough to generate the effect of direction transformation, it may be possible to an accident Situation, actually user are not desired to change screen direction at this time, therefore by the screen rotation of direction controlling module disabling mobile terminal Function.Then the counting event is analyzed based on prefixed time interval (such as: 1ms), when between the counting event time Judge it for single counting event when being greater than prefixed time interval.Single counting event shows the current external force movement of i.e. user A not instead of permanent action, one situation, actually user are not desired to change screen direction at this time, then cannot generate once in a while Continuous counter is an independent event.Stop counting at this time, reset counting and disable screen rotation function, waits next time External force is counted again when occurring.When the counting event time interval is less than prefixed time interval, show user Certain state is maintained when in use, and external force acceleration persistently is produced to mobile terminal, it is normal at this time to count, it is one Multiple counting event.
Step 104: multiple counting event being analyzed based on default counting event, judges that the multiple counting event is It is no to export corresponding screen rotation instruction if the multiple counting event is default counting event for default counting event, Enable screen rotation function and based on screen rotation instruction control screen rotation.
Specifically, the second rotation decision sub-module can analyze multiple counting event based on default counting event, sentence Whether the multiple counting event that breaks is default counting event.The default counting event can be customized by the user setting, class It is similar to the screen locking function of mobile terminal, user can be with the customized screen locking time, likewise, user can be certainly in the present invention The default counting event of definition setting one (can be determined as default counting thing when the counting of multiple counting event reaches several times Part) if the multiple counting event is default counting event, corresponding screen rotation instruction is exported, mobile terminal is enabled Screen rotation function and the screen rotation that control mobile terminal is instructed based on the screen rotation (towards external force acceleration direction); Further, if the multiple counting event is not default counting event, illustrate the setting of external force at this time and user not Matching, that is, be unsatisfactory for transformation screen direction condition set by user, equally disabling screen rotation function.
As shown in Fig. 2, the illustrative mobile terminal 310 of the present invention, comprising: display (input/output interface 313);One Or multiple processors 311;Memory 312;One or more programs, wherein one or more of programs are stored in described deposit It in reservoir and is configured as being executed by one or more of processors, one or more of programs include above-mentioned for executing The instruction of method.Power supply 314 is used to provide electric energy for mobile terminal 310.
Further, the mobile terminal includes: display;With the device for executing the above method.Described device tool Body includes: acceleration transducer, acceleration calculation module, rotation determination module, direction controlling module.
Wherein, acceleration transducer is for obtaining current acceleration information information and transmitting the acceleration information information To acceleration calculation module;Acceleration calculation module is based on the acceleration degree for receiving current acceleration data information It is believed that breath calculates external force acceleration, and the external force acceleration is exported to rotation determination module;Determination module is rotated, for connecing The external force acceleration is received, and artificial acceleration degree is analyzed based on external force acceleration rate threshold, judges whether flip-flop number thing Part;Counting event is analyzed based on default counting event, judges whether the counting event is default counting event;With to Direction controlling module exports corresponding screen rotation instruction;Direction controlling module, for receiving corresponding screen rotation instruction, and Control disabling screen rotation function is instructed according to screen rotation or enables screen rotation function, control screen rotation.
Further, the rotation determination module includes the first rotation decision sub-module and the second decision sub-module, wherein The first rotation decision sub-module is for judging whether flip-flop number event;When external force acceleration is greater than the external force acceleration When threshold value, the counting event in respective direction is triggered.The second selection decision sub-module is for determining that the counting event is It is no just to export corresponding screen rotation instruction when the counting event is default counting event for default counting event.
In above-described embodiment, by obtaining the acceleration that generates when using mobile terminal of user, and fully consider by External force acts on generated external force acceleration to mobile terminal, and converts corresponding screen rotation for external force acceleration and instruct, In such a way that software and hardware combines, simple human-computer interaction function is realized;It can be improved existing mobile terminal screen rotation The accuracy for turning technology meets user under special scenes to the user demand of screen rotation function, while this method operation is simple Single, practicability height, enhances user experience.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is carried on a non-volatile meter In calculation machine readable storage medium (such as ROM, magnetic disk, CD, server storage), including some instructions are used so that a shifting Dynamic terminal device (can be mobile phone, computer, server or the network equipment etc.) executes described in each embodiment of the present invention System structure and method.
It will be appreciated by those skilled in the art that: realize that all or part of the steps of above method embodiment can pass through program Relevant hardware is instructed to complete, program above-mentioned can store in mobile terminal read/write memory medium, which is holding When row, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only storage The various media that can store program code such as device (Read Only Memory, ROM), memory chip.
The above, the only detailed description of the specific embodiment of the invention, rather than limitation of the present invention.The relevant technologies The technical staff in field is not in the case where departing from principle and range of the invention, various replacements, modification and the improvement made It should all be included in the protection scope of the present invention.

Claims (7)

1. a kind of mobile terminal screen spinning solution, which is characterized in that described to include:
Step 101: obtaining the acceleration information information of mobile terminal under the currently used posture of user;
Step 102: external force acceleration is calculated based on the acceleration information information;
Step 103: external force acceleration being analyzed based on external force acceleration rate threshold, judges whether to trigger multiple counting event;
Step 104: the multiple counting event being analyzed based on default counting event, judges that the continuous counter event is It is no to export corresponding screen rotation instruction if the multiple counting event is default counting event for default counting event, Enable screen rotation function and based on screen rotation instruction control screen rotation.
2. mobile terminal screen spinning solution according to claim 1, which is characterized in that the acceleration information information packet Include acceleration of gravity and external force acceleration.
3. mobile terminal screen spinning solution according to claim 1, which is characterized in that the step 103 is specific to wrap It includes:
External force acceleration is analyzed based on external force acceleration rate threshold, when external force acceleration is greater than the external force acceleration rate threshold When, the counting event in respective direction can be triggered, when external force acceleration is less than the external force acceleration rate threshold, then will not be triggered Counting event in respective direction;
The counting event is analyzed based on prefixed time interval, when the counting event time interval is less than preset time When interval, then count to trigger multiple counting event.
4. mobile terminal screen spinning solution according to claim 3, which is characterized in that the step 103, further includes:
When the counting event is unsatisfactory for triggering the condition of multiple counting event, stops counting and disable screen rotation function.
5. mobile terminal screen spinning solution according to claim 1, which is characterized in that the method also includes: if The multiple counting event is not default counting event, then disables screen rotation function.
6. a kind of mobile terminal, which is characterized in that the mobile terminal screen rotating device includes:
Display;
One or more processors;
Memory;
One or more programs, wherein one or more of programs are stored in the memory and are configured as by described One or more processors execute, and one or more of programs include for executing according to claim 1 to method described in 5 Either method instruction.
7. a kind of mobile terminal characterized by comprising
Display;With for executing according to claim 1 to the device of either method described in 5 method.
CN201811251082.1A 2018-10-25 2018-10-25 A kind of mobile terminal screen spinning solution and its mobile terminal Pending CN109521872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811251082.1A CN109521872A (en) 2018-10-25 2018-10-25 A kind of mobile terminal screen spinning solution and its mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811251082.1A CN109521872A (en) 2018-10-25 2018-10-25 A kind of mobile terminal screen spinning solution and its mobile terminal

Publications (1)

Publication Number Publication Date
CN109521872A true CN109521872A (en) 2019-03-26

Family

ID=65774228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811251082.1A Pending CN109521872A (en) 2018-10-25 2018-10-25 A kind of mobile terminal screen spinning solution and its mobile terminal

Country Status (1)

Country Link
CN (1) CN109521872A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199061A (en) * 2020-09-30 2021-01-08 联想(北京)有限公司 Display method and device
CN112656049A (en) * 2020-12-18 2021-04-16 深圳市基克纳科技有限公司 Electronic cigarette interaction method and device and electronic cigarette

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391634A (en) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 Method for automatically controlling screen rotating mode of mobile terminal based on user panting
CN105320436A (en) * 2015-07-07 2016-02-10 崔景城 Method for triggering screen capturing by tapping screen with finger joint
CN108139779A (en) * 2015-12-11 2018-06-08 谷歌有限责任公司 Change the mode of operation of convertible computing device using accelerometer input

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391634A (en) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 Method for automatically controlling screen rotating mode of mobile terminal based on user panting
CN105320436A (en) * 2015-07-07 2016-02-10 崔景城 Method for triggering screen capturing by tapping screen with finger joint
CN108139779A (en) * 2015-12-11 2018-06-08 谷歌有限责任公司 Change the mode of operation of convertible computing device using accelerometer input

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199061A (en) * 2020-09-30 2021-01-08 联想(北京)有限公司 Display method and device
CN112656049A (en) * 2020-12-18 2021-04-16 深圳市基克纳科技有限公司 Electronic cigarette interaction method and device and electronic cigarette

Similar Documents

Publication Publication Date Title
TWI712913B (en) Model safety detection method, device and electronic equipment
US20200184117A1 (en) Protecting content on a display device from a field-of-view of a person or device
US20180122197A1 (en) Dynamic haptic generation based on detected video events
CN107392056A (en) Terminal and child mode implementation method, computer-readable recording medium
US20220246015A1 (en) Fall detection method and apparatus, and wearable device
CN107292158A (en) Mobile terminal and pattern triggering method, computer-readable recording medium
WO2021114916A1 (en) Risk detection method, apparatus and device
US11809613B2 (en) Event-based camera with high-resolution frame output
US20210409632A1 (en) Depth based dynamic vision sensor
CN109521872A (en) A kind of mobile terminal screen spinning solution and its mobile terminal
CN107480497A (en) Mobile terminal and child mode implementation method, computer-readable recording medium
WO2020102110A1 (en) Event-based ir camera
US10868810B2 (en) Virtual reality (VR) scene-based authentication method, VR device, and storage medium
US10721347B2 (en) Detecting patterns and behavior to prevent a mobile terminal drop event
CN110196640A (en) A kind of method of controlling operation thereof and terminal
CN107249084A (en) Mobile terminal and routine call method, computer-readable recording medium
CN104808775B (en) Judge the device and method of head-wearing type intelligent device authentication effectiveness of information
US11902677B2 (en) Patch tracking image sensor
CN109831817B (en) Terminal control method, device, terminal and storage medium
CN110954972B (en) Wearable device, and falling detection method, device and storage medium thereof
CN104469020B (en) A kind of mobile terminal and its control method
CN108462831A (en) Image processing method, device, storage medium and electronic equipment
CN107437018A (en) Mobile terminal and its control method, computer-readable recording medium
Dingli et al. Turning homes into low-cost ambient assisted living environments
US20180051989A1 (en) Portable device with improved sensor position change detection

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190326

RJ01 Rejection of invention patent application after publication