CN102118488B - Method and mobile terminal thereof applying gravity induction function - Google Patents

Method and mobile terminal thereof applying gravity induction function Download PDF

Info

Publication number
CN102118488B
CN102118488B CN200910261699.6A CN200910261699A CN102118488B CN 102118488 B CN102118488 B CN 102118488B CN 200910261699 A CN200910261699 A CN 200910261699A CN 102118488 B CN102118488 B CN 102118488B
Authority
CN
China
Prior art keywords
gravity sensing
module
application module
event
function
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.)
Active
Application number
CN200910261699.6A
Other languages
Chinese (zh)
Other versions
CN102118488A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp Nanjing Branch
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 ZTE Corp Nanjing Branch filed Critical ZTE Corp Nanjing Branch
Priority to CN200910261699.6A priority Critical patent/CN102118488B/en
Priority to PCT/CN2010/071080 priority patent/WO2010148669A1/en
Publication of CN102118488A publication Critical patent/CN102118488A/en
Application granted granted Critical
Publication of CN102118488B publication Critical patent/CN102118488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a mobile terminal thereof applying gravity induction function. The method comprises the steps as follows: the mobile terminal loads service software; gravity induction events and/or related events applying gravity induction on the mobile terminal are monitored through the service software; and the gravity induction function is controlled to be supported and an application module currently running is controlled to perform corresponding state switching according to the monitored events. The method and the mobile terminal comprehensively manage and control all application modules needing the gravity induction function to use the gravity induction function through the service software, so that the quantity of the application modules applying the gravity induction function cannot be limited, redundant module codes can be avoided at the same time, the system burden cannot be increased, the mobile terminal can be freely used by a user, and the user experiences can be improved greatly.

Description

A kind of method of application of weight inducing function and mobile terminal thereof
Technical field
The present invention relates to method and the mobile terminal thereof of application of weight inducing function, relate in particular to method and mobile terminal thereof that application of weight inducing function is realized application function state auto-switching.
Background technology
Along with the develop rapidly of mobile terminal hardware technology, more and more novel, the new function that is full of intention is introduced into mobile phone terminal field, has strengthened the practicality of mobile phone and recreational, for user brings abundanter operating experience and enjoyment.
Gravity sensing function is exactly so a kind of new technology function.Realize gravity sensing function, first need in mobile phone terminal, implant gravity sensor, be called again acceleration transducer.Gravity sensor is the gravity of object or accelerated motion signal to be converted to the transducer of the signal of telecommunication, is mainly used in inclination angle, inertia force, impact and vibrates isoparametric measurement.Most acceleration transducers are to carry out work according to the principle of piezoelectric effect.Piezoelectric effect refers to, for the heteropolar crystal that does not have symmetrical centre, be added in the external force on crystal, except making crystal generation deformation, also the polarized state of crystal will be changed because of this deformation, at crystals, set up electric field, this phenomenon that makes medium that polarization occur due to mechanical force is called direct piezoelectric effect.General acceleration transducer is exactly this characteristic of crystal modification causing due to acceleration of having utilized its inside.Because this distortion can produce voltage, as long as calculate the relation between the acceleration that voltage and power produces, just can degree of will speed up signal change into voltage signal and export.The mobile phone terminal of implantation gravity sensor is by analyzing the voltage signal data of gravity sensor output, with regard to the motion state of energy perception mobile phone terminal.
By implant gravity sensor in mobile phone terminal, for it has brought the function of a series of novelties, for example there is the following application scenarios:
Mobile phone turn-to-mute function.Cellphone subscriber often can be in a rush because of incoming call quarter-bell in session time, do not want to receive calls, but it is very tired owing to shyly hanging up the telephone, can be disturbed by making noise by the tinkle of bells, even can have influence on other people.In the case, turn-to-mute function just can allow the cellphone subscriber by the action of simple upset mobile phone, by the ring tone change of tune, be only quiet.
Mobile phone whipping switches picture or music.When cellphone subscriber listens to the music by player or pass through Photo Browser browsing pictures, may can't come round to the idea touch-screen or keyboard and just can easily realize the switching of picture and song.By the whipping function of gravity sensor, as long as simply mobile phone can be realized to this switching towards fixed-direction whipping.
Mobile phone horizontal/vertical screen automatically switches.When user uses mobile phone browsing pictures or PPT document, may need automatically to adjust screen orientation according to the length and width direction of picture or document, allow picture or document full frame optimization show.The horizontal/vertical screen automatic switching function of mobile phone can help user to realize above-mentioned functions.As long as by mobile phone clockwise or be rotated counterclockwise certain angle, screen orientation can corresponding switching and conveniently browse.
Conventionally, the horizontal/vertical screen automatic switching function of mobile phone is need in the application program of this automatic switching function, add corresponding gravity sensing function module at each, accepts and process gravity sensor to drive message or the event of sending.This method had both caused the redundancy of block code, had also increased system burden simultaneously.Because Windows Mobile operating system is a multiple task operating system, when the program of moving is more, corresponding concurrent scene is also a lot, and the application program of energy Rotation screen may interact, make system screen direction disorderly, be easy to produce the phenomenons such as flower screen or mobile phone be seemingly-dead.So many mobile phones support number of applications that horizontal/vertical screens automatically switch seldom, be conventionally restricted to one or two kind.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method and mobile terminal thereof of application of weight inducing function, can make the application module quantity of application of weight inducing function in mobile terminal unrestricted.
In order to solve the problems of the technologies described above, the invention provides a kind of method of application of weight inducing function, comprising:
Mobile terminal loads a service software, by the gravity sensing event of this service software monitoring mobile terminal and/or the dependent event of application of weight induction, and support the application module of gravity sensing function and current operation to realize corresponding state switching according to the event control monitoring.
Further, the method specifically comprises:
Described service software obtains the current state of described application module, when monitoring the dependent event generation of described gravity sensing event and/or application of weight induction, if judge, described application module is provided with described gravity sensing function, described application module is switched to corresponding another state from described current state.
Further, described gravity sensing event is by the monitor signal output of gravity sensor; The dependent event of described application of weight induction refers to the windows exchange event of the application module relevant to horizontal/vertical screen handoff functionality;
The current state that described service software gets described application module is the screen orientation of described application module current window, when having monitored described gravity sensing event, occur, or monitored described windows exchange event and occurred, if judge, described application module is provided with described horizontal/vertical screen automatic switching function, described application module is rotated to the hand-held direction of user from the screen orientation of described current window.
Further,
When described service software has monitored described gravity sensing event generation, if judge, described application module does not arrange described horizontal/vertical screen automatic switching function, keeps the screen orientation of the described current window of described application module; Or, when described service software has monitored described application module windows exchange event generation, if judge, described application module does not arrange described horizontal/vertical screen automatic switching function, described application module is rotated to the direction that user manually arranges from the screen orientation of described current window.
Further, the method also comprises:
The interface that described mobile terminal provides described application module that the switch of gravity sensing function is set, and the switch value of the described gravity sensing function arranging is kept in registration table; Described service software reads the switch value in described registration table before the switching of carrying out described state, to know whether the application module of described current operation is provided with described gravity sensing function.
In order to solve the problems of the technologies described above, the invention provides a kind of mobile terminal of application of weight inducing function, comprise obtain/handover module of interconnective state and gravity sensing event monitoring module, wherein:
Obtain/handover module of state, for according to the event occurring indication of gravity sensing event monitoring module output, controls and supports the application module of gravity sensing function and current operation to realize corresponding state switching;
Gravity sensing event monitoring module, for after monitoring the gravity sensing event of mobile terminal and/or the dependent event of application of weight induction, indicates to obtain/handover module of state outgoing event.
Further, this mobile terminal also comprises that gravity sensing function arranges module; Wherein:
Gravity sensing function arranges module, for providing application module that the interface of the switch of gravity sensing function and application thereof is set;
Obtain/handover module of state obtains the current state of application module, after incoming event is indicated, if judgement application module is provided with gravity sensing function, application module is switched to corresponding another state from current state.
Further,
The current state of the application module that obtain/handover module of state obtains is the screen orientation of application module current window, the first screen orientation rotation indication according to the output of gravity sensing event monitoring module, rotates to the hand-held direction of user by application module from the screen orientation of current window;
Gravity sensing event monitoring module is when the monitor signal output by gravity sensor occurs to gravity sensing event, or the windows exchange event that monitors application module occurs, if judgement application module is provided with horizontal/vertical screen automatic switching function, to obtain/handover module of state, export the first screen orientation rotation indication.
Further,
Obtain/handover module of state, according to the second screen orientation rotation indication of gravity sensing event monitoring module output, rotates to from the screen orientation of described current window the direction that user manually arranges by application module;
Gravity sensing event monitoring module monitors when having window handover event to occur, if judgement application module does not arrange described horizontal/vertical screen automatic switching function, is exported the second screen orientation rotation indication to obtain/handover module of state.
Further,
Gravity sensing function arranges module, and the switch value of the gravity sensing function of setting is kept in registration table;
Obtain/handover module of state reads the switch value in this registration table before the switching of carrying out state, to know whether the application module of current operation is provided with gravity sensing function.
The method of application of weight inducing function of the present invention and mobile terminal thereof, with the technical scheme that was all added with corresponding functional module in the application module that respectively needs gravity sensing function in the past, compare, owing to using this gravity sensing function by a service routine integrated management and all application modules of gravity sensing function that need of control, therefore make the application module quantity of application of weight inducing function unrestricted, also avoided the redundancy of block code, and can not increase system burden simultaneously.
Particularly for the application module that need to use horizontal/vertical screen handoff functionality, can as in the past, not interact, therefore can avoid system screen direction disorderly and produce flower screen or the fault such as mobile phone is seemingly-dead, and can support as much as possible the application module that each need to this horizontal/vertical screen handoff functionality, mobile terminal can indiscriminately ad. as one wishes be used in user's hand, greatly increased thus user's experience.
Accompanying drawing explanation
Fig. 1 is the embodiment of the method flow chart of application of weight inducing function of the present invention;
Fig. 2 is that mobile terminal gravity sensing function of the present invention arranges interface sectional drawing;
Fig. 3 is the flow chart of embodiment of the method for the horizontal/vertical screen automatic switching function of mobile phone terminal application of weight of the present invention induction;
Fig. 4 is the structured flowchart of the mobile terminal embodiment of application of weight inducing function of the present invention.
Embodiment
Mobile terminal of the present invention and application of weight inducing function thereof are realized the method automatically switching, basic conception is, utilize a service software as management and the control centre of application of weight inducing function, the gravity sensing event of monitoring perception terminal in when start is loaded in mobile terminal, comes application module current operation and that be provided with application of weight inducing function in control terminal to realize the switching of corresponding state with this.
Below in conjunction with accompanying drawing and preferred embodiment, technical scheme of the present invention is at length set forth.The embodiment below exemplifying is only for description and interpretation the present invention, and do not form the restriction to technical solution of the present invention.
As shown in Figure 1, be the embodiment of the method flow chart of application of weight inducing function of the present invention.Application of weight inducing function of the present invention is realized the method for application function state auto-switching, any one that can be applied in mobile phone terminal, palmtop PC, personal digital assistant (PDA, Personal Digital Assistant), digital camera and MP4 under Windows Mobile operating system need to be used on the portable mobile termianl of screen.By usining, be applied in mobile phone terminal under Windows Mobile operating system as embodiment below, said method of the present invention is described in detail, the step of this embodiment is carried out after mobile phone terminal opening, comprising:
110: loading service program;
At present, nearly all Pocket PC developer be all create an executable file and by the shortcut of this document be put into Windows in StartUp, after system is restarted, just can start like this this program at running background.In view of the number of processes in Windows CE is restricted to 32, Microsoft has proposed a solution of this problem that limited process runs application: support that as different threads, operating in a DLL service routine in process solves operation number of processes restricted problem.In windows Mobile (WM) 6.0, service routine is embodied as Dll file.After the windows directory of the Dll file compiling access arrangement of service routine, at registration table, add corresponding information; After starting device, WM just can load corresponding Dll file according to arranging of registration table by services.exe process, thereby starts service routine.At this, service routine is all to exist as the thread of services.exe.
Service unit of the present invention is also realized by operation service program, and this service routine is loaded after start.
120: the current state of obtaining the application module of front stage operation;
The current state of the MP3 music playing module that for example foreground is being moved is the title of a song.Again for example, the current state of the communication incoming call module that foreground is being moved is bell sound and/or vibration, etc.
130: whether monitoring has the dependent event of gravity sensing event and/or application of weight induction to occur, and is to carry out the following step, otherwise return to step 130, proceeds monitoring;
At this, gravity sensing event is by the monitor signal output of mobile phone terminal perception gravity sensor.The dependent event of application of weight induction is for example switched relevant current window handover event to horizontal/vertical screen, etc.
140: to judging whether the application module of foreground motion supports gravity sensing function, is to carry out corresponding the following step, proceeds monitoring otherwise return to step 130;
In order to control better gravity sensing function, strengthen user and experience, the present invention is provided with respectively switch for the application module of each support gravity sensing, and it arranges interface as shown in Figure 2.Each application module is kept in registration table the switching information of gravity sensing function, service routine of the present invention before each switching, all go to read registration table in these switch values, the application module of only opening switch is just regarded as supporting gravity sensing function.And, when gravity sensing function is set, can carry out necessary calibration to this function.
150: the state of the application module of front stage operation is switched to another state, then returns to step 120 and carry out.
For example the state of the MP3 music playing module of front stage operation and support gravity sensing function is switched to the title of a song.Again for example, foreground is being moved and is being supported the state of the communication incoming call module of gravity sensing function is switched to quiet, etc.
By above method step, can find out, service unit of the present invention is after being loaded, by the Infinite Cyclic application module of monitor terminal front stage operation always, and reach the object automatically switching to being provided with the state of the application module of gravity sensing function according to the gravity sensing event monitoring.
Said method of the present invention is compared with the scheme of adding corresponding code in each needs the application module of application of weight inducing function in the past, obviously can greatly reduce the redundancy of block code, also reduced significantly system burden simultaneously, and neither can make the application of the gravity sensing function of each application module influence each other, also can not make the number of modules of application of weight inducing function restricted.
Below the application example automatically switching by mobile phone terminal gravity sensing horizontal/vertical screen again, represents in more detail to technical scheme of the present invention.The flow process of this application example as shown in Figure 3, is carried out after mobile phone terminal opening, comprises the steps:
210: loading service program;
At the service routine of this loading, be equivalent to the control centre of whole system screen orientation.
220: the screen orientation that obtains the application module window of front stage operation;
In order to control better gravity sensing horizontal/vertical screen automatic switching function, strengthen user and experience, the present invention supports application of gravity sensing horizontal/vertical screen automatic switchover for each can arrange respectively switch.Switching information will be kept in registration table, service routine of the present invention before each switching, all can go to read registration table in these switch values, only have and just remove to switch its screen orientation to opening the application module of switch.If all switches, all in closed condition, will cut out gravity sensor power supply, can save thus the power consumption of system.
In fact horizontal/vertical screen switching comprises two parts content: without the horizontal/vertical screen that switches action, switch and have the horizontal/vertical screen of switching action to switch, by opening two sub-threads, processing respectively them.
Wherein, without the horizontal/vertical screen that switches action, switch and mainly refer to: when the window of the application module switching from support horizontal/vertical screen returns to the window of the application module of not supporting that horizontal/vertical screen switches, screen orientation can change.To this, by the variation of current active program items in monitoring registration table, know that variation has occurred foreground window.When foreground window changes, if current window belongs to the application module of supporting that horizontal/vertical screen switches, screen rotation is arrived to the hand-held direction of user, otherwise the direction that screen rotation is manually arranged to system.Processing this sub-thread switching without the horizontal/vertical screen that switches action comprises the steps:
2301: whether monitor current foreground window and switch, be to carry out the following step, otherwise return to step 2301 step, carry out;
2401: judge whether this foreground window belongs to the application module of supporting that horizontal/vertical screen automatically switches, is to carry out the following step, otherwise execution step 2502;
2501: current window is rotated to be to the hand-held direction of user, return to step 220 and carry out;
2502: by current window rotate to be system setting party to, return to step 220 and carry out.
A feature of the present invention be exactly retained that Microsoft Windows Mobile operating system carries can screen orientation (be system setting party to) function be manually set by user.General gravity sensing horizontal/vertical screen automatic switchover scheme, in order not produce conflict, has all been canceled the manual setting that Microsoft carries (being system setting) function.And service routine of the present invention is considered this scene, allow them in the situation that not clashing, coexist.
For there being the horizontal/vertical screen that switches action to switch, by monitoring gravity sensing event (signal of exporting by gravity sensor), realize.When switching action, produce, gravity sensor can be exported corresponding signal, and mobile phone terminal is received after this gravity sensing event, judges whether current window belongs to the application module of supporting that horizontal/vertical screen switches, be screen rotation to be arrived to the hand-held direction of user, otherwise do not need to do any processing.So just realized the automatic switchover of the screen orientation under various scenes.Processing this has another sub-thread of the horizontal/vertical screen switching of switching action to comprise the steps:
2302: whether monitoring has gravity sensing event to occur, and is to carry out the following step, otherwise return to step 2302, continue monitoring;
2402: judge whether this foreground window belongs to the application module of supporting that horizontal/vertical screen automatically switches, is to carry out the following step, otherwise return to step 2302, carry out;
2503: current window is rotated to be to the hand-held direction of user, return to step 220 and carry out.
Service routine of the present invention shown in Fig. 3, after being loaded, is monitored the screen orientation with whole system by wireless circulating and multithreading always, reaches the object that horizontal/vertical screen automatically switches.This service routine is owing to only need to judging front stage operation window, and by this service routine unified management screen orientation, therefore solved well the problem of screen orientation disorder when the concurrent horizontal/vertical screen of each application module automatically switches.Therefore the present invention can indiscriminately ad. as one wishes increase the quantity of supporting horizontal/vertical screen switch application module and the fault of not worrying screen orientation disorder.Simultaneously this invent maximum feature be retained that Microsoft Windows Mobile operating system carries screen orientation function is manually set, user can be selected according to personal like more neatly, therefore there is very high practicality.
This example has also been introduced rotation prompt facility.When user does not open gravity sensing function and during rotating mobile, the driving of bottom gravity sensor can perceive this action and by the event upper strata of throwing to.If receive this event in the application module of supporting rotation, whether monitoring thread will eject prompting inquiry user needs to open gravity sensing horizontal/vertical screen handoff functionality.This function at any time reminding user is opened horizontal/vertical screen automatic rotation function, allows user's browsing information in the best way.
The present invention is according to said method embodiment, the mobile terminal embodiment of application of weight inducing function is also correspondingly proposed, its structure as shown in Figure 4, this mobile terminal 300 comprises that the gravity sensing function connecting successively arranges module 310, obtain/handover module of state 320 and gravity sensing event monitoring module 330, wherein:
Gravity sensing function arranges module 310, for the interface of each application module that application of weight inducing function is set is provided, and writes in terminal system registration table and preserves result is set;
What gravity sensing function arranged that module 310 provides arranges interface as shown in Figure 2.
Obtain/handover module of state 320, for obtaining the current state of the application module of terminal front stage operation, according to event occurring indication and the reading from registration table of 330 outputs of gravity sensing event monitoring module, result is set, if the application module of judgement front stage operation is provided with gravity sensing function and application thereof, this application module is switched to another state from current state; If the application module of judgement front stage operation does not arrange gravity sensing function and application thereof, keep the current state of this application module;
Gravity sensing event monitoring module 330, for after monitoring the dependent event of gravity sensing event and/or application of weight induction, indicates to obtain/handover module of state 320 outgoing events.
Gravity sensing event monitoring module 330 is by the monitor signal output gravity sensing event of gravity sensor.The dependent event of application of weight induction for example refers to switch relevant current window handover event to horizontal/vertical screen.
Obtain/handover module of state 320 for example obtains the current window screen orientation of the application module of terminal front stage operation, if judgement foreground window switches, at judgement current window, belong to and support after horizontal/vertical screen application module, the screen orientation of current window is switched to the hand-held direction of user, if judgement current window does not belong to, support after horizontal/vertical screen application module, current window is switched to system setting party to (be the manual setting party of user to); Or according to the result that arranges of the event occurring indication of gravity sensing event monitoring module 330 outputs and the application module that reads corresponding front stage operation from registration table, if the application module of judgement front stage operation is provided with the horizontal/vertical screen automatic switching function of application of weight induction, this application module is switched to the hand-held direction of user from the screen orientation of current window; If the application module of judgement front stage operation does not arrange horizontal/vertical screen automatic switching function, keep the screen orientation of this application module current window.
Certainly, the present invention also can have other numerous embodiments, as used under other platforms such as Android (mobile phone operating system of increasing income based on Linux platform of Google exploitation), QT (the cross-platform graphical user interface GUI framework based on C Plus Plus).In the situation that not deviating from spirit of the present invention and essence thereof, those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (8)

1. a method for application of weight inducing function, comprising:
Mobile terminal loads a service software, by the dependent event of described service software monitoring gravity sensing event and/or application of weight induction, and support the application module of gravity sensing function and front stage operation to realize corresponding state switching according to the event control monitoring;
Wherein, described service software obtains the current state of described application module, when monitoring the dependent event generation of described gravity sensing event and/or application of weight induction, if judge, described application module is provided with described gravity sensing function, described application module is switched to corresponding another state from described current state.
2. in accordance with the method for claim 1, it is characterized in that, described gravity sensing event is by the monitor signal output of gravity sensor; The dependent event of described application of weight induction refers to the windows exchange event of the application module relevant to horizontal/vertical screen automatic switching function;
The current state that described service software gets described application module is the screen orientation of described application module current window, when having monitored described gravity sensing event, occur, or monitored described windows exchange event and occurred, if judge, described application module is provided with described horizontal/vertical screen automatic switching function, described application module is rotated to the hand-held direction of user from the screen orientation of described current window.
3. in accordance with the method for claim 2, it is characterized in that,
When described service software has monitored described gravity sensing event generation, if judge, described application module does not arrange described horizontal/vertical screen automatic switching function, keeps the screen orientation of the described current window of described application module; Or, when described service software has monitored described application module windows exchange event generation, if judge, described application module does not arrange described horizontal/vertical screen automatic switching function, described application module is rotated to the direction that user manually arranges from the screen orientation of described current window.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, also comprise:
The interface that described mobile terminal provides described application module that the switch of gravity sensing function is set, and the switch value of the described gravity sensing function arranging is kept in registration table; Described service software reads the switch value in described registration table before the switching of carrying out described state, to know whether the application module of described front stage operation is provided with described gravity sensing function.
5. a mobile terminal for application of weight inducing function, comprises obtain/handover module of interconnective state and gravity sensing event monitoring module, wherein:
Obtain/handover module of described state, for according to the event occurring indication of described gravity sensing event monitoring module output, controls and supports the application module of gravity sensing function and front stage operation to realize corresponding state switching;
Described gravity sensing event monitoring module, for after monitoring the gravity sensing event of described mobile terminal and/or the dependent event of application of weight induction, exports described event occurring indication to obtain/handover module of described state;
Wherein, also comprise that gravity sensing function arranges module; Wherein:
Described gravity sensing function arranges module, for providing described application module that the interface of the switch of gravity sensing function and application thereof is set;
Obtain/handover module of described state obtains the current state of described application module, after the described event occurring indication of input, if judge, described application module is provided with described gravity sensing function, described application module is switched to corresponding another state from described current state.
6. according to mobile terminal claimed in claim 5, it is characterized in that,
The current state of the described application module that obtain/handover module of described state obtains is the screen orientation of described application module current window, the first screen orientation rotation indication according to described gravity sensing event monitoring module output, rotates to the hand-held direction of user by described application module from the screen orientation of described current window;
Described gravity sensing event monitoring module is when the monitor signal output by gravity sensor occurs to described gravity sensing event, or the windows exchange event that monitors described application module occurs, if judge, described application module is provided with horizontal/vertical screen automatic switching function, to obtain/handover module of described state, exports described the first screen orientation rotation indication.
7. according to mobile terminal claimed in claim 6, it is characterized in that,
Obtain/handover module of described state, according to the second screen orientation rotation indication of described gravity sensing event monitoring module output, rotates to from the screen orientation of described current window the direction that user manually arranges by described application module;
Described gravity sensing event monitoring module monitors is when having described windows exchange event to occur, if judge, described application module does not arrange described horizontal/vertical screen automatic switching function, to obtain/handover module of described state, exports described the second screen orientation rotation indication.
8. according to the mobile terminal described in claim 5 to 7 any one, it is characterized in that,
Described gravity sensing function arranges module, and the switch value of the described gravity sensing function arranging is kept in registration table;
Obtain/handover module of described state reads the described switch value in described registration table before the switching of carrying out described state, to know whether the application module of described front stage operation is provided with described gravity sensing function.
CN200910261699.6A 2009-12-30 2009-12-30 Method and mobile terminal thereof applying gravity induction function Active CN102118488B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910261699.6A CN102118488B (en) 2009-12-30 2009-12-30 Method and mobile terminal thereof applying gravity induction function
PCT/CN2010/071080 WO2010148669A1 (en) 2009-12-30 2010-03-16 Method for applying gravity sensing function and mobile terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910261699.6A CN102118488B (en) 2009-12-30 2009-12-30 Method and mobile terminal thereof applying gravity induction function

Publications (2)

Publication Number Publication Date
CN102118488A CN102118488A (en) 2011-07-06
CN102118488B true CN102118488B (en) 2014-03-19

Family

ID=43385896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910261699.6A Active CN102118488B (en) 2009-12-30 2009-12-30 Method and mobile terminal thereof applying gravity induction function

Country Status (2)

Country Link
CN (1) CN102118488B (en)
WO (1) WO2010148669A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI550505B (en) * 2012-03-14 2016-09-21 三竹資訊股份有限公司 Device and method for locking up screen direction of the finance software
CN103631473B (en) * 2012-08-22 2016-12-21 三竹资讯股份有限公司 The apparatus and method that lock-screen based on application layer rotates
CN102929500B (en) * 2012-09-27 2016-02-10 东莞宇龙通信科技有限公司 The closing process method of mobile terminal and application program
CN102945076B (en) * 2012-10-19 2016-08-24 广东欧珀移动通信有限公司 A kind of display terminal image rotating method, device and a kind of display control program
CN103092342B (en) * 2012-12-31 2016-03-16 北京金山安全软件有限公司 Processing method and device of mobile terminal
CN103064559A (en) * 2013-01-07 2013-04-24 华为终端有限公司 Setting method and device of touch vibration function for touch panel
CN103220413A (en) * 2013-03-25 2013-07-24 深圳市金立通信设备有限公司 Communication device and communication information state identifying method in same
CN103294358B (en) * 2013-05-17 2016-12-28 小米科技有限责任公司 A kind of control the method for screen rotation, device and equipment
CN103530036A (en) * 2013-10-18 2014-01-22 惠州Tcl移动通信有限公司 Horizontal screen switching control method and mobile terminal
CN103677571A (en) * 2013-12-20 2014-03-26 乐视网信息技术(北京)股份有限公司 Method, module and system for locking screen direction and gravity sensing module
CN103677589A (en) * 2013-12-30 2014-03-26 腾讯科技(深圳)有限公司 Terminal screen picture rotation control method and device
CN103841267B (en) * 2014-03-17 2016-10-19 广州市久邦数码科技有限公司 A kind of note screenshot method and system
CN104391634A (en) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 Method for automatically controlling screen rotating mode of mobile terminal based on user panting
CN105260004B (en) * 2015-09-22 2019-03-05 Oppo广东移动通信有限公司 The screen rotation method and system of Android system terminal
JP6700775B2 (en) * 2015-12-22 2020-05-27 キヤノン株式会社 Electronic device and control method thereof
CN107589698B (en) * 2017-09-20 2021-05-25 友达光电股份有限公司 Sensing device applied to Internet of things and control method
CN108600855A (en) * 2018-04-16 2018-09-28 北京酷我科技有限公司 A kind of implementation method of portrait video
CN113220385A (en) * 2021-03-31 2021-08-06 荣耀终端有限公司 Automatic setting method for horizontal and vertical screens of mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030982A (en) * 2007-03-22 2007-09-05 宇龙计算机通信科技(深圳)有限公司 Apparatus and method for automatically adjusting display-screen content and direction
CN101567931A (en) * 2008-04-23 2009-10-28 英华达(上海)科技有限公司 Portable electronic device and display control method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100879517B1 (en) * 2006-08-16 2009-01-22 삼성전자주식회사 Mobile Terminal and Method for Changing Mode thereof
JP2008131248A (en) * 2006-11-20 2008-06-05 Nec Corp Portable telephone terminal, control method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030982A (en) * 2007-03-22 2007-09-05 宇龙计算机通信科技(深圳)有限公司 Apparatus and method for automatically adjusting display-screen content and direction
CN101567931A (en) * 2008-04-23 2009-10-28 英华达(上海)科技有限公司 Portable electronic device and display control method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2008-131248A 2008.06.05

Also Published As

Publication number Publication date
WO2010148669A1 (en) 2010-12-29
CN102118488A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN102118488B (en) Method and mobile terminal thereof applying gravity induction function
CN101581968B (en) Information processing apparatus, information processing method, information processing program, and mobile terminal
JP7498779B2 (en) Screen display method and electronic device
KR100630204B1 (en) Device and method for performing multi-tasking in wireless terminal
EP1635550A1 (en) Display apparatus for multitasking operation of a mobile terminal and related method
EP2684344B1 (en) Electronic apparatus use environment detecting method, electronic apparatus performance optimizing method and electronic apparatus
JP2006146910A (en) Portable terminal and resource management method for portable terminal
EP2207077A1 (en) Apparatus and method for presenting communication items
JP5313713B2 (en) Terminal device and program
CN105813232A (en) Mobile terminal and network sharing method
CN1767603A (en) Broadcast program recording and playback control method in portable terminal, the portable terminal
JP2011155524A (en) Portable terminal device
CN104219372A (en) A method and an apparatus for adjusting backlight brightness of a mobile terminal
CN114245208A (en) Method for setting refresh rate and related equipment
CN103002145A (en) Phone answering method and device based on mobile terminal
JP5697341B2 (en) Portable electronic devices
JP2007141064A (en) Portable terminal and menu display switching method
CN110336918A (en) Bright screen control method, device, storage medium and mobile terminal
JP4895744B2 (en) Mobile communication terminal
JP5277574B2 (en) Mobile phone
JP5557356B2 (en) Terminal device and program
JP5700939B2 (en) Portable electronic device and control method for the same
JP5288490B2 (en) Terminal device and program
CN1735242A (en) Control method for communication device
JP2013258705A (en) Terminal device and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: NANJING BRANCH OF ZTE CORPORATION

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20140113

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 210012 NANJING, JIANGSU PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20140113

Address after: 210012 Zhongxing communication, No. 68, Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing

Applicant after: Nanjing Branch of Zhongxing Communication Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corporation

GR01 Patent grant
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150805

Address after: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee after: ZTE Corporation

Address before: 210012 Zhongxing communication, No. 68, Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing

Patentee before: Nanjing Branch of Zhongxing Communication Co., Ltd.