Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie belowDrawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is onlyTo explain the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of elementBe conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mixGround uses.
It should be noted that description and claims of the invention are received and the term " first " in above-mentioned attached drawing, " theTwo " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plateComputer, laptop, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable matchmakerBody player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are mobileThe fixed terminals such as terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to specialExcept element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shiftingDynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base stationDownlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetratingFrequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communicationStandard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunicationsSystem), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (CodeDivision Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code DivisionMultiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous CodeDivision Multiple Access, TD SDMA), FDD-LTE (Frequency DivisionDuplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time DivisionDuplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 showsGo out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to needIt to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received orThe audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappearsBreath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be depositedStorage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data canTo be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographiesSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's earDisplay panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generalFor three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminalFamily setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 withAnd other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detectionTwo parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bandThe signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by itIt is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, canTo realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrapIt includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it canThe function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specificallyIt limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothingLine data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) endMouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, numberIt is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be withFor transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connectionA part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storageData in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.PlaceManaging device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediatedManage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainProcessing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, putThe functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below intoRow description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network systemSystem is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connectionFamily equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRANGround wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returningJourney (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy andCharging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 andThe control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registersSuch as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and useThe dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resourcePoint, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimediaSystem) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not onlySuitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA withAnd the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Please refer to Fig. 3.The embodiment of the invention provides a kind of methods based on gravity sensing identification elevator scene, are applied toThe mobile terminal for having gravity sensing sensor and acceleration transducer, comprising:
Step S1, detecting identifies that the mobile terminal is in elevator scene;
Step S2, application processor (Application Processor, AP) lateral root starts elevator according to the elevator sceneMode carries out network and is switched fast;
Step S3, the elevator scene is left according to the mobile terminal or will be left to the described AP lateral root, show that elevator is transportedRow state carries out network using the elevator mode and is switched fast.
Further, in the step S1, the detecting identifies that the mobile terminal is in elevator scene;Include:
Step S11, the movement tendency using mobile terminal described in gravity sensing sensor detecting in vertical direction;
Step S12, the speed/acceleration of the mobile terminal in vertical direction is detected using acceleration transducer;
Step S13, according in the vertical direction of the gravity sensing sensor detecting movement tendency and it is described plusSpeed/acceleration in the vertical direction of velocity sensor detecting, identifies that the mobile terminal is in elevator scene;Include:
The gravity sensing sensor detecting has movement tendency to the mobile terminal in vertical direction, adds in conjunction with describedWhen velocity sensor detects the mobile terminal in vertical direction and has certain speed/acceleration and occurs, that is, it may recognize that instituteMobile terminal is stated to be in elevator scene.
Further, in the step S2, application processor (Application Processor, AP) the lateral root evidenceThe elevator scene starting elevator mode carries out network and is switched fast;Include:
Step S21, it will identify that the elevator scene come reports AP (Application Processor, application processor)Elevator mode switch request is concurrently played in side;
Step S22, the described AP lateral root starts elevator mode according to the elevator mode switch request, carries out the net of mobile terminalNetwork is switched fast;
Wherein, the elevator mode are as follows: under elevator scene, cut the network of mobile terminal by 4G network inside elevator2G/3G network is changed to, and cuts off frequent search network request to reach power saving purpose, leaves elevator into normal 4G network ringsBehind border, network switching is quickly connected to 4G network.
Further, in the step S3, the elevator is left according to the mobile terminal or will be left to the AP lateral rootScene obtains elevator operation, carries out network using the elevator mode and is switched fast;Include:
Step S31, the described gravity sensing sensor and the acceleration transducer persistently detect the speed in vertical directionDegree/acceleration identifies that the mobile terminal leaves or will leave the elevator scene, obtains elevator operation;Include:
The gravity sensing sensor detecting has stopping to the movement of the mobile terminal in vertical direction or will stopTrend only;
The acceleration transducer detects the decline of the speed/acceleration in vertical direction or stops;
According to the movement tendency and the acceleration sensing in the vertical direction of the gravity sensing sensor detectingSpeed/acceleration in the vertical direction of device detecting, identifies that the mobile terminal leaves or will leave the elevatorScene judges the elevator operation that elevator will stop or stop.
Step S32, the elevator operation is reported to the side AP;
Step S33, the described AP lateral root is fast using elevator mode progress network according to the elevator operation reportedSpeed switching;Include:
Elevator is left into after normal 4G network environment, network switching is quickly connected to 4G network.
Further, the method also includes: step S4, the described sides AP when starting elevator mode, while it is fixed to start GPSPosition realizes that a certain range of position positioning carries out intelligent positioning memory retention for the place GPS location of elevator scene.
In this way, subsequent when the side AP receives elevator mode switch request or when the mobile terminal enters the intelligenceThe GPS location saved in memory can be positioned after AP determines, start elevator mode immediately, when shortening elevator pattern switchingBetween.
The embodiment of the invention provides a kind of methods based on gravity sensing identification elevator scene, applied to having gravity-feed tankThe mobile terminal of inductive sensing device and acceleration transducer, including detecting identify that the mobile terminal is in elevator scene, AP lateral rootIt carries out network according to elevator scene starting elevator mode to be switched fast, the AP lateral root is left according to the mobile terminal or willThe elevator scene is left, obtains elevator operation, network is carried out using the elevator mode and is switched fast.In this way, can be withHave in the scene fast moved in elevator/vertical direction, realizes quickly cutting for the detection and network that quickly carry out elevator modeIt changes, promotes user experience.
Please refer to Fig. 4.The embodiment of the invention provides a kind of devices based on gravity sensing identification elevator scene, are applied toThe mobile terminal for having gravity sensing sensor and acceleration transducer, comprising: detecting module 10, starting switching module 20,In:
The detecting module 10 identifies that the mobile terminal is in elevator scene for detecting;
The starting switching module 20, for being carried out in application processor lateral root according to elevator scene starting elevator modeNetwork is switched fast;Or the elevator scene is left or will left according to the mobile terminal, obtain elevator operation, benefitNetwork is carried out with the elevator mode to be switched fast.
Further, the detecting module 10 identifies that the mobile terminal is in elevator scene for detecting;It include: weightPower inductive pick-up 11, acceleration transducer 12, identification submodule 13, in which:
The gravity sensing sensor 11, for detecting the movement tendency of the mobile terminal in vertical direction;
The acceleration transducer 12, for detecting the speed/acceleration of the mobile terminal in vertical direction;
The identification submodule 13, the fortune in the vertical direction for being detected according to the gravity sensing sensor 11The speed/acceleration in the vertical direction that dynamic trend and the acceleration transducer 12 are detected identifies described mobile wholeEnd is in elevator scene;Include:
The gravity sensing sensor 11 detects the mobile terminal movement tendency in vertical direction, in conjunction with describedWhen acceleration transducer 12 detects the mobile terminal in vertical direction and has certain speed/acceleration and occurs, that is, it can recognizeThe mobile terminal is in elevator scene out.
Further, the starting switching module 20, for starting electricity according to the elevator scene in application processor lateral rootTerraced mode carries out network and is switched fast;It include: request submodule 21, promoter module 22, in which:
The request submodule 21 is initiated elevator pattern switching and is asked for will identify that the elevator scene come reports the side APIt asks;
The promoter module 22, for starting elevator mode according to the elevator mode switch request in the AP lateral root,The network for carrying out mobile terminal is switched fast;
Wherein, the elevator mode are as follows: under elevator scene, cut the network of mobile terminal by 4G network inside elevator2G/3G network is changed to, and cuts off frequent search network request to reach power saving purpose, leaves elevator into normal 4G network ringsBehind border, network switching is quickly connected to 4G network.
Further, the detecting module 10 is further used for: persistently identifying that the mobile terminal leaves or willThe elevator scene is left, elevator operation is obtained;Include:
The gravity sensing sensor 11, detect the movement of the mobile terminal in vertical direction have stopping or willThe trend of stopping;
The acceleration transducer 12 detects the speed/acceleration decline in vertical direction or stops;
The identification submodule 13 becomes according to the movement in the vertical direction of the gravity sensing sensor 11 detectingThe speed/acceleration in the vertical direction that gesture and the acceleration transducer 12 are detected, identify the mobile terminal fromThe elevator scene is opened or will be left, judges the elevator operation that elevator will stop or stop.
Further, the starting switching module 20, for being left in the AP lateral root according to the mobile terminal or willThe elevator scene is left, obtains elevator operation, network is carried out using the elevator mode and is switched fast;Include:
The request submodule 21, for the elevator operation to be reported to the side AP;
The promoter module 22, for, according to the elevator operation reported, utilizing the electricity in the AP lateral rootTerraced mode carries out network and is switched fast;Include:
Elevator is left into after normal 4G network environment, network switching is quickly connected to 4G network.
Further, described device further include: positioning memory retention module 30, for starting elevator mould in the side APWhen formula, while starting GPS positioning, realizes that a certain range of position positioning carries out the place GPS location of elevator sceneIntelligent positioning memory retention.
In this way, subsequent when the side AP receives elevator mode switch request or when the mobile terminal enters the intelligenceThe GPS location saved in memory can be positioned after AP determines, start elevator mode immediately, when shortening elevator pattern switchingBetween.
The embodiment of the invention provides a kind of devices based on gravity sensing identification elevator scene, applied to having gravity-feed tankThe mobile terminal of inductive sensing device and acceleration transducer, including detecting module detecting identify that the mobile terminal is in elevator fieldScape, starting switching module carry out network according to elevator scene starting elevator mode in AP lateral root and are switched fast, and describedThe elevator scene is left according to the mobile terminal or will be left to AP lateral root, obtains elevator operation, utilizes the elevatorMode carries out network and is switched fast.In this way, can have in the scene fast moved in elevator/vertical direction, realizes and quickly carry outThe detection of elevator mode and being switched fast for network promote user experience.
It should be noted that above-mentioned apparatus embodiment and embodiment of the method belong to same design, specific implementation process is detailedSee embodiment of the method, and the technical characteristic in embodiment of the method is corresponding applicable in described device embodiment, it is no longer superfluous hereIt states.
Technical solution of the present invention is described in further detail with reference to embodiments.
Please refer to Fig. 5.The embodiment of the invention provides a kind of methods based on gravity sensing identification elevator scene, are applied toThe mobile terminal for having gravity sensing sensor and acceleration transducer, comprising:
Step S501, the movement tendency using mobile terminal described in gravity sensing sensor detecting in vertical direction;PacketInclude: the gravity sensing sensor detecting has movement tendency to the mobile terminal in vertical direction.
Step S502, the speed/acceleration of the mobile terminal in vertical direction is detected using acceleration transducer;PacketIt includes: the speed/acceleration in the vertical direction of the acceleration transducer detecting.
Step S503, according in the vertical direction of the gravity sensing sensor detecting movement tendency and it is described plusSpeed/acceleration in the vertical direction of velocity sensor detecting, identifies that the mobile terminal is in elevator scene.
Step S504, it will identify that the elevator scene come reports the side AP, concurrently play elevator mode switch request.
Step S505, the described AP lateral root starts elevator mode according to the elevator mode switch request, carries out network and quickly cutsIt changes;
Wherein, the elevator mode are as follows: under elevator scene, cut the network of mobile terminal by 4G network inside elevator2G/3G network is changed to, and cuts off frequent search network request to reach power saving purpose, leaves elevator into normal 4G network ringsBehind border, network switching is quickly connected to 4G network.
Step S506, the described side AP starts GPS positioning when starting elevator mode, for the place of elevator sceneGPS location carries out intelligent positioning memory retention.
In this way, subsequent when the side AP receives elevator mode switch request or when the mobile terminal enters the intelligenceThe GPS location saved in memory can be positioned after AP determines, start elevator mode immediately, when shortening elevator pattern switchingBetween.
Step S507, the described gravity sensing sensor and the acceleration transducer persistently detect the speed in vertical directionDegree/acceleration.
Does step S508, the speed/acceleration in vertical direction decline or stops? if so, it is transferred to step S509,Otherwise, it is transferred to step S507.
Step S509, it identifies that the mobile terminal leaves or will leave the elevator scene, judges that elevator willThe elevator operation for stopping or stopping.
Step S510, the elevator operation information is reported to the side AP.
Step S511, the described AP lateral root carries out network according to the elevator operation reported, using the elevator modeIt is switched fast;Include:
Elevator is left into after normal 4G network environment, network switching is quickly connected to 4G network.
The embodiment of the invention provides a kind of methods based on gravity sensing identification elevator scene, applied to having gravity-feed tankThe mobile terminal of inductive sensing device and acceleration transducer, including detecting identify that the mobile terminal is in elevator scene, AP lateral rootIt carries out network according to elevator scene starting elevator mode to be switched fast, the AP lateral root is left according to the mobile terminal or willThe elevator scene is left, obtains elevator operation, network is carried out using the elevator mode and is switched fast.In this way, can be withHave in the scene fast moved in elevator/vertical direction, realizes quickly cutting for the detection and network that quickly carry out elevator modeIt changes, promotes user experience.
In addition, the embodiment of the present invention also provides a kind of mobile terminal, as shown in fig. 6, the mobile terminal 900 includes: to depositReservoir 902, processor 901 and it is stored in one for can running in the memory 902 and on the processor 901 or moreA computer program, the memory 902 and the processor 901 are coupled by bus system 903, it is one orIt is provided in an embodiment of the present invention a kind of based on gravity sensing to realize when the multiple computer programs of person are executed by the processor 901Identify the following steps of the method for elevator scene:
Step S1, detecting identifies that the mobile terminal is in elevator scene;
Step S2, application processor (Application Processor, AP) lateral root starts elevator according to the elevator sceneMode carries out network and is switched fast;
Step S3, the elevator scene is left according to the mobile terminal or will be left to the described AP lateral root, show that elevator is transportedRow state carries out network using the elevator mode and is switched fast.
Further, in the step S1, the detecting identifies that the mobile terminal is in elevator scene;Include:
Step S11, the movement tendency using mobile terminal described in gravity sensing sensor detecting in vertical direction;
Step S12, the speed/acceleration of the mobile terminal in vertical direction is detected using acceleration transducer;
Step S13, according in the vertical direction of the gravity sensing sensor detecting movement tendency and it is described plusSpeed/acceleration in the vertical direction of velocity sensor detecting, identifies that the mobile terminal is in elevator scene;Include:
The gravity sensing sensor detecting has movement tendency to the mobile terminal in vertical direction, adds in conjunction with describedWhen velocity sensor detects the mobile terminal in vertical direction and has certain speed/acceleration and occurs, that is, it may recognize that instituteMobile terminal is stated to be in elevator scene.
Further, in the step S2, application processor (Application Processor, AP) the lateral root evidenceThe elevator scene starting elevator mode carries out network and is switched fast;Include:
Step S21, it will identify that the elevator scene come reports AP (Application Processor, application processor)Elevator mode switch request is concurrently played in side;
Step S22, the described AP lateral root starts elevator mode according to the elevator mode switch request, carries out the net of mobile terminalNetwork is switched fast;
Wherein, the elevator mode are as follows: under elevator scene, cut the network of mobile terminal by 4G network inside elevator2G/3G network is changed to, and cuts off frequent search network request to reach power saving purpose, leaves elevator into normal 4G network ringsBehind border, network switching is quickly connected to 4G network.
Further, in the step S3, the elevator is left according to the mobile terminal or will be left to the AP lateral rootScene obtains elevator operation, carries out network using the elevator mode and is switched fast;Include:
Step S31, the described gravity sensing sensor and the acceleration transducer persistently detect the speed in vertical directionDegree/acceleration identifies that the mobile terminal leaves or will leave the elevator scene, obtains elevator operation;Include:
The gravity sensing sensor detecting has stopping to the movement of the mobile terminal in vertical direction or will stopTrend only;
The acceleration transducer detects the decline of the speed/acceleration in vertical direction or stops;
According to the movement tendency and the acceleration sensing in the vertical direction of the gravity sensing sensor detectingSpeed/acceleration in the vertical direction of device detecting, identifies that the mobile terminal leaves or will leave the elevatorScene judges the elevator operation that elevator will stop or stop.
Step S32, the elevator operation is reported to the side AP;
Step S33, the described AP lateral root is fast using elevator mode progress network according to the elevator operation reportedSpeed switching;Include:
Elevator is left into after normal 4G network environment, network switching is quickly connected to 4G network.
Further, the method also includes: step S4, the described sides AP when starting elevator mode, while it is fixed to start GPSPosition realizes that a certain range of position positioning carries out intelligent positioning memory retention for the place GPS location of elevator scene.
In this way, subsequent when the side AP receives elevator mode switch request or when the mobile terminal enters the intelligenceThe GPS location saved in memory can be positioned after AP determines, start elevator mode immediately, when shortening elevator pattern switchingBetween.
The method that the embodiments of the present invention disclose can be applied in the processor 901, or by the processor901 realize.The processor 901 may be a kind of IC chip, have signal handling capacity.During realization, onEach step for stating method can be complete by the integrated logic circuit of the hardware in the processor 901 or the instruction of software formAt.The processor 901 can be general processor, DSP or other programmable logic device, discrete gate or transistorLogical device, discrete hardware components etc..The processor 901 may be implemented or execute disclosed each in the embodiment of the present inventionMethod, step and logic diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with the present inventionThe step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or be handled with decodingHardware and software module combination in device execute completion.Software module can be located in storage medium, which, which is located at, depositsThe step of reservoir 902, the processor 901 reads the information in memory 902, completes preceding method in conjunction with its hardware.
It is appreciated that the memory 902 of the embodiment of the present invention can be volatile memory or nonvolatile memory,It also may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (ROM,Read-Only Memory), it is programmable read only memory (PROM, Programmable Read-Only Memory), erasableProgrammable read only memory (EPROM, Erasable Read-Only Memory), electricallyerasable ROM (EEROM) (EEPROM,Electrically Erasable Programmable Read-Only Memory), magnetic RAM (FRAM,Ferromagnetic Random Access Memory), flash memory (Flash Memory) or other memory technologies, CD onlyRead memory (CD-ROM, Compact Disk Read-Only Memory), digital versatile disc (DVD, Digital Video) or other optical disc storages, magnetic holder, tape, disk storage or other magnetic memory apparatus Disk;Volatile memory can be at randomIt accesses memory (RAM, Random Access Memory), by exemplary but be not restricted explanation, the RAM of many formsIt can use, such as static random access memory (SRAM, Static Random Access Memory), static random-access are depositedReservoir (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM,Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, SynchronousDynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic randomAccess memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized linksDynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambusRandom access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is depositedReservoir is intended to include but is not limited to the memory of these and any other suitable type.
It should be noted that above-mentioned mobile terminal embodiment and embodiment of the method belong to same design, implementedJourney is detailed in embodiment of the method, and the technical characteristic in embodiment of the method is corresponding applicable in the mobile terminal embodiment, thisIn repeat no more.
In addition, in the exemplary embodiment, the embodiment of the present invention also provides a kind of computer storage medium, specially calculateMachine readable storage medium storing program for executing is stored with base in the computer storage medium for example including the memory 902 for storing computer programIn one or more program of the method for gravity sensing identification elevator scene, the side based on gravity sensing identification elevator sceneIt is provided in an embodiment of the present invention a kind of based on gravity sensing to realize when one or more program of method is executed by processor 901Identify the following steps of the method for elevator scene:
Step S1, detecting identifies that the mobile terminal is in elevator scene;
Step S2, application processor (Application Processor, AP) lateral root starts elevator according to the elevator sceneMode carries out network and is switched fast;
Step S3, the elevator scene is left according to the mobile terminal or will be left to the described AP lateral root, show that elevator is transportedRow state carries out network using the elevator mode and is switched fast.
Further, in the step S1, the detecting identifies that the mobile terminal is in elevator scene;Include:
Step S11, the movement tendency using mobile terminal described in gravity sensing sensor detecting in vertical direction;
Step S12, the speed/acceleration of the mobile terminal in vertical direction is detected using acceleration transducer;
Step S13, according in the vertical direction of the gravity sensing sensor detecting movement tendency and it is described plusSpeed/acceleration in the vertical direction of velocity sensor detecting, identifies that the mobile terminal is in elevator scene;Include:
The gravity sensing sensor detecting has movement tendency to the mobile terminal in vertical direction, adds in conjunction with describedWhen velocity sensor detects the mobile terminal in vertical direction and has certain speed/acceleration and occurs, that is, it may recognize that instituteMobile terminal is stated to be in elevator scene.
Further, in the step S2, application processor (Application Processor, AP) the lateral root evidenceThe elevator scene starting elevator mode carries out network and is switched fast;Include:
Step S21, it will identify that the elevator scene come reports AP (Application Processor, application processor)Elevator mode switch request is concurrently played in side;
Step S22, the described AP lateral root starts elevator mode according to the elevator mode switch request, carries out the net of mobile terminalNetwork is switched fast;
Wherein, the elevator mode are as follows: under elevator scene, cut the network of mobile terminal by 4G network inside elevator2G/3G network is changed to, and cuts off frequent search network request to reach power saving purpose, leaves elevator into normal 4G network ringsBehind border, network switching is quickly connected to 4G network.
Further, in the step S3, the elevator is left according to the mobile terminal or will be left to the AP lateral rootScene obtains elevator operation, carries out network using the elevator mode and is switched fast;Include:
Step S31, the described gravity sensing sensor and the acceleration transducer persistently detect the speed in vertical directionDegree/acceleration identifies that the mobile terminal leaves or will leave the elevator scene, obtains elevator operation;Include:
The gravity sensing sensor detecting has stopping to the movement of the mobile terminal in vertical direction or will stopTrend only;
The acceleration transducer detects the decline of the speed/acceleration in vertical direction or stops;
According to the movement tendency and the acceleration sensing in the vertical direction of the gravity sensing sensor detectingSpeed/acceleration in the vertical direction of device detecting, identifies that the mobile terminal leaves or will leave the elevatorScene judges the elevator operation that elevator will stop or stop.
Step S32, the elevator operation is reported to the side AP;
Step S33, the described AP lateral root is fast using elevator mode progress network according to the elevator operation reportedSpeed switching;Include:
Elevator is left into after normal 4G network environment, network switching is quickly connected to 4G network.
Further, the method also includes: step S4, the described sides AP when starting elevator mode, while it is fixed to start GPSPosition realizes that a certain range of position positioning carries out intelligent positioning memory retention for the place GPS location of elevator scene.
In this way, subsequent when the side AP receives elevator mode switch request or when the mobile terminal enters the intelligenceThe GPS location saved in memory can be positioned after AP determines, start elevator mode immediately, when shortening elevator pattern switchingBetween.
It should be noted that the method based on gravity sensing identification elevator scene on above-mentioned computer readable storage mediumProgram embodiment and embodiment of the method belong to same design, and specific implementation process is detailed in embodiment of the method, and embodiment of the methodIn technical characteristic it is corresponding in the embodiment of above-mentioned computer readable storage medium be applicable in, which is not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, serviceDevice, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm, all of these belong to the protection of the present invention.