CN106131329B - A kind of mobile terminal and working mode of mobile terminal selection method - Google Patents

A kind of mobile terminal and working mode of mobile terminal selection method Download PDF

Info

Publication number
CN106131329B
CN106131329B CN201610513260.8A CN201610513260A CN106131329B CN 106131329 B CN106131329 B CN 106131329B CN 201610513260 A CN201610513260 A CN 201610513260A CN 106131329 B CN106131329 B CN 106131329B
Authority
CN
China
Prior art keywords
mobile terminal
testing result
result
judging result
user
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
CN201610513260.8A
Other languages
Chinese (zh)
Other versions
CN106131329A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610513260.8A priority Critical patent/CN106131329B/en
Publication of CN106131329A publication Critical patent/CN106131329A/en
Application granted granted Critical
Publication of CN106131329B publication Critical patent/CN106131329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of mobile terminal and working mode of mobile terminal selection methods, pass through distance between detection mobile terminal first side and user's head and exports distance between the first testing result, and detection mobile terminal second side and user's head and export the second testing result;First testing result and second testing result are judged, judging result is obtained;Based on the judging result, corresponding working mode of mobile terminal is selected.Corresponding working mode of mobile terminal is selected based on mobile terminal usage mode to realize, the resource of mobile terminal is made to obtain reasonable employment, is brought convenience for user using mobile terminal.

Description

A kind of mobile terminal and working mode of mobile terminal selection method
Technical field
The present invention relates to the communications fields, and select more particularly, to a kind of mobile terminal and working mode of mobile terminal Selection method.
Background technique
Mobile terminal has been to go deep into the end product of human society life every aspect, is become in people's daily life Indispensable device.
Mobile terminal has mode used below when in use: head of being close to the users is i.e. close to user's left cheek or the right side The usage mode of side face cheek utilizes the usage mode for the separate user's head that wired or wireless headset or loudspeaker are realized. User can just feasible mobile terminal usage mode uses mobile terminal based on actual demand selecting party.
Existing mobile terminal can't be selected corresponding operating mode based on different usage modes, cannot achieve shifting Dynamic terminal resource adequately and reasonably utilizes, this brings inconvenience using mobile terminal to user.
Summary of the invention
The present invention provides a kind of mobile terminal and working mode of mobile terminal selection method, with solve existing mobile terminal without Method selects corresponding operating mode based on different usage modes, causes to be unable to use caused by reasonable employment mobile terminal resource Family problem inconvenient for use.
The embodiment of the invention provides a kind of mobile terminals, comprising:
First sensor, for detecting distance between mobile terminal first side and user's head and exporting the first detection knot Fruit, finger touches the first side in two sides of mobile terminal when the first side is user's hand-held mobile terminal;
Second sensor, for detecting distance between mobile terminal second side and user's head and exporting the second detection knot Fruit, the second side are the second side in described two sides;
Module is obtained, for judging first testing result and second testing result, obtains judgement knot Fruit;
Selecting module selects corresponding working mode of mobile terminal for being based on the judging result.
The embodiment of the invention also provides a kind of working mode of mobile terminal selection methods, comprising:
It detects distance between mobile terminal first side and user's head and exports the first testing result, and detection movement Distance and the second testing result of output between terminal second side and user's head;
First testing result and second testing result are judged to obtain judging result;
Mobile terminal usage mode is determined based on the judging result;
Based on determining mobile terminal usage mode, corresponding working mode of mobile terminal is selected.
From the above as can be seen that mobile terminal and working mode of mobile terminal selecting party provided in an embodiment of the present invention Method passes through distance between detection mobile terminal first side and user's head and exports the first testing result, and detection movement Distance and the second testing result of output between terminal second side and user's head;To first testing result and described second Testing result is judged, judging result is obtained;Based on the judging result, corresponding working mode of mobile terminal is selected.From And can realize and corresponding working mode of mobile terminal is selected based on mobile terminal usage mode, close the resource of mobile terminal Reason uses, and is brought convenience for user using mobile terminal.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is mobile terminal structure schematic diagram one provided in an embodiment of the present invention;
Fig. 2 is mobile terminal using process diagram provided in an embodiment of the present invention;
Fig. 3 is mobile terminal structure schematic diagram two provided in an embodiment of the present invention;
Fig. 4 is that modular structure schematic diagram one is obtained in mobile terminal provided in an embodiment of the present invention;
Fig. 5 is that modular structure schematic diagram two is obtained in mobile terminal provided in an embodiment of the present invention;
Fig. 6 is mobile terminal structure schematic diagram three provided in an embodiment of the present invention;
Fig. 7 is selecting module structural schematic diagram in mobile terminal provided in an embodiment of the present invention;
Fig. 8 is mobile terminal structure schematic diagram four provided in an embodiment of the present invention;
Fig. 9 is mobile terminal structure schematic diagram five provided in an embodiment of the present invention;
Figure 10 is working mode of mobile terminal selection method implementation process schematic diagram one provided in an embodiment of the present invention;
Figure 11 is working mode of mobile terminal selection method implementation process schematic diagram one provided in an embodiment of the present invention;
Figure 12 is mobile terminal structure schematic diagram six provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention Attached drawing, the technical solution of the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is this hair Bright a part of the embodiment, instead of all the embodiments.Based on described the embodiment of the present invention, ordinary skill Personnel's every other embodiment obtained, shall fall within the protection scope of the present invention.
Unless otherwise defined, the technical term or scientific term used herein should be in fields of the present invention and has The ordinary meaning that the personage of general technical ability is understood.Used in present patent application specification and claims " the One ", " second " and similar word are not offered as any sequence, quantity or importance, and are used only to distinguish different Component part.Equally, the similar word such as "one" or " one " does not indicate that quantity limits yet, but indicates that there are at least one. " connection " either the similar word such as " connected " is not limited to physics or mechanical connection, but may include electrical Connection, it is either direct or indirect."upper", "lower", "left", "right" etc. are only used for indicating relative positional relationship, work as quilt After the absolute position of description object changes, then the relative positional relationship also correspondingly changes.
The embodiment of the invention provides a kind of mobile terminals 10, as shown in Figure 1, the mobile terminal 10 can specifically include:
First sensor 11, for detecting distance between 10 first side of mobile terminal and user's head and exporting the first inspection It surveys as a result, finger touches first in two sides of mobile terminal 10 when the first side is user's hand-held mobile terminal 10 Side.
Second sensor 12, for detecting distance between 10 second side of mobile terminal and user's head and exporting the second inspection It surveys as a result, the second side is the second side in described two sides.
Mobile terminal 10 when in use, specific usage mode may include far from user's head usage mode and It is close to the users the usage mode on head, and in the usage mode for being close to the users head, can specifically include left side close to using Mode and right side are close to usage mode, i.e., user may be selected to be answered with left ear or auris dextra is answered.
Since different usage modes specifically may be embodied in 10 different sides of mobile terminal apart from user's head distance not Together, for example, mobile terminal 10 is apart from user's head meeting when user selects 10 usage mode of mobile terminal far from user's head It is far;For another example as shown in Fig. 2, when user's hand-held mobile terminal 10 and select close to head usage mode when, user's finger Touch the face that a side in two sides (such as arranged on left and right sides of mobile terminal 10) of mobile terminal 10 can be close to the users Cheek is that another side close to the head of user, and in two sides of user's finger touching mobile terminal 10 is often exposed at I.e. far from the head of user outside user's auricle.Therefore, the distance by detection 10 different sides of mobile terminal apart from user's head, It can determine that user uses the mode of mobile terminal 10.
So, mobile terminal 10 provided herein, by mobile terminal 10 first side predetermined position set Set first sensor 11 and second side predetermined position setting second sensor 12 with detect 10 different sides of mobile terminal away from With a distance from user's head, and the testing result acquired by judgement, it can be realized and 10 usage mode of mobile terminal is sentenced It is disconnected to determine, then corresponding 10 operating mode of mobile terminal can be selected based on identified 10 usage mode of mobile terminal.
The mode of the common hand-held mobile terminal 10 of user is in finger touching 10 horizontal direction of mobile terminal of user Arranged on left and right sides, palm hold the rear shell of mobile terminal 10 and show screen (attached drawing is to show) towards user mobile terminal 10 Head, specifically can be as shown in Fig. 2, therefore, 10 first side of mobile terminal and second side, specifically may be used involved in the application Arranged on left and right sides side opposite in horizontal direction when often using usage mode for mobile terminal 10.
In the embodiment of the present invention, one can be arranged in the first side of mobile terminal 10 and the predetermined position of second side Or multiple first sensors 11 and second sensor 12, for realizing 10 different sides of mobile terminal and user's head distance Detection.For example, a first sensor 11 can be arranged in the upper end (i.e. the upper left corner) of its first side in mobile terminal 10, its A second sensor 12 is arranged in the upper end (i.e. the upper right corner) of dual side-edge;In another embodiment, as shown in figure 3, removing A first sensor 11 is arranged in 10 first side upper end of mobile terminal and a second sensor is arranged in second side upper end Except 12, also one first sensor can be set again at the position of user's auricle in the middle-end of 10 first side of mobile terminal 11, a second sensor 12 is arranged in the middle-end in mobile terminal second side again at the position of user's auricle.So as to Effectively ensure the detection to mobile terminal 10 and user's head distance.
It, can be by weighting processing mode, by a side institute when a side of mobile terminal 10 is provided with multiple sensors The testing result that the multiple sensors being arranged export respectively summarizes the final detection result as the side and user's head distance, To keep mobile terminal 10 and the testing result of user's head distance more accurate.
Implement body is sensed involved in the embodiment of the present invention can include: capacitance type sensor, infrared sensor etc. can be real The sensor of now distance detection.
As shown in Figure 1, mobile terminal 10 provided by the embodiment of the present invention specifically can also include:
Module 13 is obtained, for judging the first testing result and the second testing result, obtains judging result.
Judging result acquired in module 13 is obtained, the determination to 10 usage mode of mobile terminal is particularly used in.
Specifically, being set to 10 different location of mobile terminal when user selects the usage mode far from user's head Therefore the meeting very little of testing result acquired in the sensor at place by the way that corresponding threshold value is arranged in advance, and works as first sensor 11 When the second testing result that the first testing result and second sensor 12 obtained obtains is respectively less than the threshold value, that is, it can determine whether to determine The current usage mode in 10 end of mobile terminal is the usage mode far from user's head.
And when user selection be close to the users head 10 usage mode of mobile terminal when, 10 different sides place of mobile terminal Testing result acquired in the sensor of setting can have difference, but can all be greater than above-mentioned set threshold value.Therefore, when first At least one of second testing result that the first testing result and second sensor 12 that sensor 11 obtains obtain detection knot When fruit is greater than threshold value, that is, it can determine whether to determine that the current usage mode of mobile terminal 10 is the usage mode on head of being close to the users.
It is being close to the users in the usage mode of head, user can choose left side answering mode or right side answering mode, such as Fig. 2 Shown, when user's selection receives calls on the left of, first sensor 11 is exposed at outside auricle, the face that second sensor 12 is close to the users Cheek, i.e. distance of the first sensor 11 relative to second sensor 12 apart from user's head farther out, then, 11 institute of first sensor The first testing result obtained certainly will be less than the second testing result acquired in second sensor 12, mobile whole so as to judge Holding 10 current usage modes is left side close to usage mode.Vice versa, and when user's selection receives calls on the right side of, second is passed Sensor 12 is exposed at outside auricle, and the cheek that first sensor 11 is close to the users, i.e., second sensor 12 is relative to first sensor 11 Distance apart from user's head farther out, then, the second testing result acquired in second sensor 12 certainly will less than first sensing Second testing result acquired in device 11, so as to judge that the current usage mode of mobile terminal 10 is right side close to user Formula.
In order to realize the acquisition of above-mentioned judging result, in one embodiment, as shown in figure 4, acquisition module 13 includes First acquisition unit 131, second acquisition unit 132 and third acquiring unit 133;Wherein:
First acquisition unit 131, for being set in advance when at least one in the first testing result and the second testing result is greater than The threshold value set, and the first testing result obtains the first judging result less than the second testing result.
First judging result, the usage mode for being particularly used in determining mobile terminal 10 is the head user that is close to the users Left side in formula is close to mode, so that selecting module 14 selects corresponding working mode of mobile terminal.
Second acquisition unit 132, for being greater than threshold value when at least one in the first testing result and the second testing result, and First testing result is greater than the second testing result, obtains the second judging result.
Second judging result, the usage mode for being particularly used in determining mobile terminal 10 is the head user that is close to the users Right side in formula is close to mode, so that selecting module 14 selects corresponding working mode of mobile terminal.
Third acquiring unit 133 obtains third and sentences for being respectively less than threshold value when the first testing result and the second testing result Disconnected result.
The third judging result, the usage mode for being particularly used in determining mobile terminal 10 is far from user's head user Formula, so that selecting module 14 selects corresponding working mode of mobile terminal.
In one embodiment, module 13 is obtained involved in the embodiment of the present invention can be used software realization.And another In one specific embodiment, obtaining module 13 can also be realized using simple hardware comparison circuit, specifically can be as shown in figure 5, logical It crosses in hardware comparison circuit and difference amplifier, the devices such as comparator is set, by the defeated of first sensor 11 and second sensor 12 It is worth after comparison circuit out and exports high or low level two states, to can not only realizes 10 usage mode of mobile terminal really It is fixed, the system resource of mobile terminal 10 can also be saved.
As shown in Figure 1, specifically can also include: in mobile terminal 10 provided by the embodiment of the present invention
Selecting module 14 selects corresponding working mode of mobile terminal for being based on judging result.
In the embodiment of the present invention, the determination of 10 usage mode of mobile terminal, final purpose is to realize mobile terminal 10 The selection of operating mode, thus it is user-friendly, such as ensure speech quality, or the corresponding soft and hardware operation of selection Mode, therefore, module 14 selected by the embodiment of the present invention, which is specifically also provided with, to be needed based on 10 usage mode of mobile terminal To select functional unit of corresponding operating mode, such as 16 selecting unit of antenna, operation mode selecting unit etc..
In the embodiment of the present invention, as shown in fig. 6, an antenna 16, example can respectively be arranged in each edge of mobile terminal 10 As first side upper end (such as upper left corner), first side lower end (such as lower left corner), second side upper end (such as upper right corner), Second side lower end (lower right corner).Although in this way, the positions such as user's head may during mobile terminal 10 is specifically used The antenna 16 being arranged at a certain position of mobile terminal 10, but mobile terminal 10 provided by the embodiment of the present invention are blocked, it can base In the current usage mode of mobile terminal 10, the other antennas 16 not being blocked are selected to be communicated, to can ensure that call matter Amount.
For example, being the head user that is close to the users when judging result is the first judging result i.e. 10 usage mode of mobile terminal Close to usage mode, the antenna 16 for being set to 10 second side upper end of mobile terminal may be hidden by user's head in left side in formula Gear, in such situation, selecting module 14 may be selected to be set to 10 first side upper end of mobile terminal, second side lower end etc. not by The lesser antenna 16 of range is blocked or blocks to be communicated;When judging result is 10 user of the second judging result, that is, mobile terminal Formula is the right side be close to the users in the usage mode of head close to usage mode, and selecting module 14 may be selected to be set to mobile terminal 10 Second side upper end, first side lower end antenna 16 communicated, and when judging result be third judging result i.e. it is mobile eventually Hold 10 usage modes be far from user's head usage mode, selecting module 14 specifically can in mutiple antennas 16 selection signal quality Meet for example best antenna 16 of preset requirement to be communicated.
Corresponding to the above-mentioned realization for selecting 16 function of respective antenna based on judging result, in one embodiment, such as Shown in Fig. 7, it can specifically include in selecting module 14 involved in the embodiment of the present invention:
First selecting unit 141, the second selecting unit 142 and third selecting unit 143;Wherein:
First selecting unit 141, for being the first judging result when judging result, then selection is set to mobile terminal 10 the The antenna of a side upper end and/or second side lower end is communicated.
Second selecting unit 142, for being the second judging result when judging result, then selection is set to mobile terminal 10 the The antenna of dual side-edge upper end and/or first side lower end is communicated.
Third selecting unit 143 is third judging result for working as judging result, then the selection signal matter in mutiple antennas The antenna that amount meets preset requirement is communicated.
As it can be seen that mobile terminal 10 provided by the embodiment of the present invention, can the usage mode based on mobile terminal 10 and select Corresponding antenna 16 is communicated, to can ensure that communication quality, is convenient for the user to use.
10 operation mode of mobile terminal involved in the embodiment of the present invention specifically can refer to software, hardware in mobile terminal 10 Different operation modes, such as left-handed mode, right-handed mode etc..
For example, when the usage mode judging result of mobile terminal 10 is the first judging result, i.e. mobile terminal 10 Usage mode is the left side be close to the users in the usage mode of head close to usage mode, and in such situation, usual user is left hand Using mobile terminal 10, therefore, the operation mode of mobile terminal 10 can be selected as left-handed mode by selecting module 14, to facilitate use Family uses.
As it can be seen that mobile terminal 10 provided by the embodiment of the present invention, can the usage mode based on mobile terminal 10 and select Corresponding mobile terminal operation mode, so as to be brought convenience for user using mobile terminal 10.
In order to reduce the load of mobile terminal 10, in the embodiment of the present invention, not when mobile terminal 10 is in standby Start the detection and arbitration functions of distance between 10 different sides of mobile terminal and user's head, is only needed in mobile terminal 10 According to 10 usage mode of mobile terminal select 10 operating mode of different mobile terminal when, then start 10 different sides of mobile terminal with The detection and arbitration functions of user's head distance, such as mobile terminal 10 are on call.
So, in an embodiment of the present invention, as shown in figure 8, mobile terminal 10 specifically can also include:
Trigger module 15, it is on call for working as mobile terminal 10, trigger first sensor 11 and second sensor 12 execute the operation of distance between detection 10 first side of mobile terminal and second side and user's head.
In one embodiment, it as shown in figure 9, can also include specifically calibration module 17 in mobile terminal 10, be used for Calibrate the testing result of first sensor 11 and second sensor 12.
For example, when obtaining judging result acquired in module 13 is third judging result, i.e. 10 user of mobile terminal Formula is far from the state of user's head usage mode, since first sensor 11 and second sensor 12 are apart from user's head Farther out, therefore, both theoretically the testing result of output is consistent distance, and if the first testing result and the under this state Two testing results it is actually distinct, such as first sensor 11 export testing result numerical value be 5, second sensor 12 export Testing result numerical value be 6, then the testing result numerical value that first sensor 11 exports can be added compensation 1 by calibration module 17, this Sample can more accurately compare the output valve of first sensor 11 and second sensor 12.
The realization of mobile terminal 10 provided by the embodiments of the present invention is, it can be achieved that be based on 10 usage mode of mobile terminal Corresponding 10 operating mode of mobile terminal is selected, the resource of mobile terminal 10 is made to obtain reasonable employment, is used for user mobile whole End 10 is brought convenience.
The embodiment of the invention also provides a kind of working mode of mobile terminal selection methods, are applied to aforementioned present invention and implement In mobile terminal provided by example, as shown in Figure 10, this method be can specifically include:
Step 101, it detects distance between 10 first side of mobile terminal and user's head and exports the first testing result, with And distance and the second testing result of output between detection 10 second side of mobile terminal and user's head.
It is specific to detect mobile terminal 10 first using the first sensor 11 being set at 10 first side of mobile terminal Distance and the first testing result of output between side and user's head, utilize be set at mobile terminal second side second to pass Sensor 12 detects distance between 10 second side of mobile terminal and user's head and exports the second testing result.Be detailed in it is above-mentioned about The description of first sensor 11 and second sensor 12.
Step 102, the first testing result and the second testing result are judged, obtains judging result.
First testing result and the second testing result can specifically be judged by acquisition module 13, obtain judging result, The judging result is used to determine the usage mode of mobile terminal 10.It is detailed in the description of above-mentioned acquisition module 13.
Step 103, it is based on the judging result, selects corresponding 10 operating mode of mobile terminal.
Corresponding 10 operating mode of mobile terminal is selected to can specifically include the correspondence day being arranged in selection mobile terminal 10 Line 16 is communicated, or corresponding 10 operation mode of mobile terminal of selection.It is detailed in the description of above-mentioned selecting module 14.
The realization of 10 work pattern selection method of mobile terminal provided by the embodiment of the present invention is, it can be achieved that based on mobile whole Hold 10 usage modes to select corresponding 10 operating mode of mobile terminal, the resource of mobile terminal 10 made to obtain reasonable employment, for Family is brought convenience using mobile terminal 10.
In a specific embodiment, this method can be with before detection 10 different sides of mobile terminal and user's head distance Include:
When mobile terminal 10 is on call, 10 first side of detection trigger mobile terminal and second side and account is used The operation of distance between portion.
The specific implementation process of this step can be detailed in the description of above-mentioned trigger module 15.The realization of the step can reduce movement The load of terminal 10.
In one embodiment, above-mentioned that first testing result and the second testing result are judged, obtain judgement knot The process of fruit can specifically include:
When at least one in the first testing result and the second testing result is greater than pre-set threshold value, and the first detection knot Fruit obtains the first judging result less than the second testing result.
The usage mode that first judging result is used to judge to determine mobile terminal 10 is head usage mode of being close to the users In left side close to usage mode.
When at least one in the first testing result and the second testing result is greater than the threshold value, and the first testing result is greater than Second testing result obtains the second judging result.
The usage mode that second judging result is used to judge to determine mobile terminal 10 is head usage mode of being close to the users In right side close to usage mode.
When the first testing result and the second testing result are respectively less than the threshold value, acquisition third judging result.
The usage mode that the third judging result is used to judge to determine mobile terminal 10 is far from user's head user Formula.
In one embodiment, described to be based on the judging result, select corresponding 10 operating mode of mobile terminal Process can specifically include:
Based on judging result, select to be set in the mutiple antennas 16 at different location and the judgement in mobile terminal 10 As a result corresponding antenna 16 is communicated;Wherein:
When judging result is the first judging result, then selection is set to 10 first side upper end of mobile terminal and/or second The antenna 16 of side lower end is communicated;
When judging result is the second judging result, then selection is set to 10 second side upper end of mobile terminal and/or first The antenna 16 of side lower end is communicated;
When judging result is third judging result, then selection signal quality meets the day of preset requirement in mutiple antennas 16 Line 16 is communicated.
In another embodiment, above-mentioned to be based on the judging result, select corresponding 10 operating mode of mobile terminal Process specifically can also include:
Based on judging result, corresponding 10 operation mode of mobile terminal is selected.
In another embodiment, above-mentioned to be based on the judging result, select corresponding working mode of mobile terminal Process can also include:
Based on third judging result, the first testing result and the second testing result are calibrated.
Specifically it is detailed in the description of above-mentioned calibration module 17.
With reference to the accompanying drawing 11, to a tool of 10 work pattern selection method of mobile terminal provided in an embodiment of the present invention The realization process of body embodiment is described in detail:
The embodiment can specifically include:
Step 111, when mobile terminal 10 is on call, trigger first sensor 11 and second sensor 12 carry out away from From detection, to realize the detection of mobile terminal 10 different sides and user's head distance.
Step 112, simultaneously output test result is obtained.
Can specifically include: first sensor 11 detects between 10 first side of mobile terminal and user's head distance and defeated First testing result out, second sensor 12 detect distance between 10 second side of mobile terminal and user's head and export second Testing result.
Step 113, judge whether the first testing result and the second testing result are greater than threshold value, and when the first testing result and When second testing result is respectively less than threshold value, step 115 is executed;When at least one in the first testing result and the second testing result is examined When surveying result greater than threshold value, step 114 is executed;
Step 114, judge the size between the first testing result and the second testing result.
Step 115, judging result is obtained.
It can specifically include in the step 115:
When at least one in the first testing result and the second testing result is greater than pre-set threshold value, and the first detection knot Fruit obtains the first judging result less than the second testing result, which is used to judge to determine making for mobile terminal 10 It is the left side be close to the users in the usage mode of head close to usage mode with mode.
When at least one in the first testing result and the second testing result is greater than the threshold value, and the first testing result is greater than Second testing result, obtains the second judging result, which is used for the usage mode for judging to determine mobile terminal 10 It is the right side be close to the users in the usage mode of head close to usage mode.
When the first testing result and the second testing result are respectively less than the threshold value, acquisition third judging result, the third The usage mode that judging result is used to judge to determine mobile terminal 10 is far from user's head usage mode.
Step 116, it is based on judging result, selects corresponding 10 operating mode of mobile terminal.
10 operating mode of mobile terminal referred to herein selection can specifically include 10 antenna 16 of mobile terminal selection, At least one of in selection of 10 operation mode of mobile terminal etc..
It can also include being examined when judging result is third judging result to the first testing result and second in the step It surveys result and carries out calibration operation.
10 work pattern selection method of mobile terminal, which can be realized in previous embodiment, provided by the embodiment of the present invention moves Each process that dynamic terminal 10 is realized, to avoid repeating, which is not described herein again.
The realization of 10 work pattern selection method of mobile terminal provided by the embodiment of the present invention is, it can be achieved that based on mobile whole Hold 10 usage modes to select corresponding 10 operating mode of mobile terminal, the resource of mobile terminal 10 made to obtain reasonable employment, for Family is brought convenience using mobile terminal 10.
Figure 12 is the block diagram for the mobile terminal 100 that another embodiment of the present invention provides.Mobile terminal 100 shown in Figure 12 It include: at least one processor 101, memory 102, at least one network interface 104 and user interface 103.
Various components in mobile terminal 100 are coupled by bus system 105.It is understood that bus system 105 is used Connection communication between these components of realization.Bus system 105 further includes power bus, control in addition to including data/address bus Bus and status signal bus in addition processed.But for the sake of clear explanation, various buses are all designated as bus system in Figure 12 105。
Wherein, user interface 103 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 102 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).Memory 102 described herein is intended to include but is not limited to these to be suitble to any other The memory of type.
In some embodiments, memory 102 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 1021 and application program 1022.
Wherein, operating system 1021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 1022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 1022.
In embodiments of the present invention, by the program or instruction of calling memory 102 to store, specifically, can be application The program or instruction stored in program 1022, processor 101 is for detecting between 100 first side of mobile terminal and user's head Distance simultaneously exports distance between the first testing result, and detection 100 second side of mobile terminal and user's head and exports the Two testing results;First testing result and the second testing result are judged, judging result is obtained;Based on judging result, choosing Select corresponding 100 operating mode of mobile terminal.
The method that the embodiments of the present invention disclose can be applied in processor 101, or be realized by processor 101. Processor 101 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 101 or the instruction of software form.Above-mentioned processing Device 101 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 102, and processor 101 reads the information in memory 102, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application SpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), Digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), Field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller In device, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 101 can be also used for when mobile terminal 100 it is on call, detection trigger mobile terminal The operation of distance between 100 first sides and second side and user's head.
Optionally, processor 101 can be also used for being greater than when at least one in the first testing result and the second testing result Pre-set threshold value, and the first testing result is less than second testing result, obtains the first judging result;When the first detection As a result it is greater than the threshold value at least one in the second testing result, and the first testing result is greater than the second testing result, obtains Second judging result;When the first testing result and the second testing result are respectively less than the threshold value, acquisition third judging result.
Optionally, processor 101 can be also used for selecting to be set to different positions in mobile terminal 100 based on judging result Antenna corresponding with judging result is communicated in the mutiple antennas (attached drawing is to show) at the place of setting;Wherein: when judging result is the One judging result, then selection is set to 100 first side upper end of mobile terminal and/or the antenna of second side lower end is led to News;When judging result is the second judging result, then selection is set to 100 second side upper end of mobile terminal and/or first side The antenna of lower end is communicated;When judging result be third judging result, then in mutiple antennas selection signal quality meet it is pre- If it is required that antenna communicated.
Optionally, processor 101 can be also used for calibrating the first testing result and the second detection based on third judging result As a result.
Mobile terminal 100 provided by the embodiment of the present invention can be realized mobile terminal 10 in previous embodiment realize it is each A process, to avoid repeating, which is not described herein again.
Mobile terminal 100 provided by the embodiment of the present invention based on the selection of 100 usage mode of mobile terminal, it can be achieved that corresponded to 100 operating mode of mobile terminal, so that the resource of mobile terminal 100 is obtained reasonable employment, for user use 100 band of mobile terminal To facilitate.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and replacement can also be made, these are improved and replacement Also it should be regarded as protection scope of the present invention.

Claims (6)

1. a kind of mobile terminal characterized by comprising
First sensor, for detecting distance between mobile terminal first side and user's head and exporting the first testing result, Finger touches the first side in two sides of mobile terminal when the first side is user's hand-held mobile terminal;
Second sensor, for detecting distance between mobile terminal second side and user's head and exporting the second testing result, The second side is the second side in described two sides;
Module is obtained, for judging first testing result and second testing result, obtains judging result;
Selecting module selects corresponding working mode of mobile terminal for being based on the judging result;
The acquisition module includes first acquisition unit, second acquisition unit and third acquiring unit;Wherein:
First acquisition unit, for being set in advance when at least one in first testing result and second testing result is greater than The threshold value set, and first testing result is less than second testing result, obtains the first judging result;
Second acquisition unit, for being greater than the threshold when at least one in first testing result and second testing result Value, and first testing result is greater than second testing result, obtains the second judging result;
Third acquiring unit is obtained for being respectively less than the threshold value when first testing result and second testing result Third judging result;
The selecting module further includes first selecting unit, the second selecting unit and third selecting unit;Wherein:
First selecting unit, for being the first judging result when judging result, then selection is set on mobile terminal first side The antenna of end and/or second side lower end is communicated;
Second selecting unit, for being the second judging result when judging result, then selection is set on mobile terminal second side The antenna of end and/or first side lower end is communicated;
Third selecting unit, for being third judging result when judging result, then selection signal quality meets in mutiple antennas The antenna of preset requirement is communicated.
2. mobile terminal as described in claim 1, which is characterized in that further include:
Trigger module, it is on call for working as mobile terminal, it triggers the first sensor and the second sensor is held The operation of distance between row detection mobile terminal first side and second side and user's head.
3. mobile terminal as described in claim 1, which is characterized in that the selecting module further include:
Calibration module calibrates first testing result and second testing result for being based on the third judging result.
4. a kind of selection method of working mode of mobile terminal is applied to mobile terminal, which is characterized in that the selection method packet It includes:
It detects distance between mobile terminal first side and user's head and exports the first testing result, and detection mobile terminal Distance and the second testing result of output between second side and user's head;When the first side is user's hand-held mobile terminal Finger touches the first side in two sides of mobile terminal, and the second side is second side in described two sides Side;
First testing result and second testing result are judged, judging result is obtained;
Based on the judging result, corresponding working mode of mobile terminal is selected;
Described to judge first testing result and second testing result, the process for obtaining judging result includes:
When at least one in first testing result and second testing result is greater than pre-set threshold value, and described the One testing result is less than second testing result, obtains the first judging result;
When at least one in first testing result and second testing result is greater than the threshold value, and first detection As a result it is greater than second testing result, obtains the second judging result;
When first testing result and second testing result are respectively less than the threshold value, acquisition third judging result;
It is described to be based on the judging result, select the process of corresponding working mode of mobile terminal to include:
Based on judging result, select to be set in mobile terminal corresponding with the judging result in the mutiple antennas at different location Antenna communicated;Wherein:
When judging result is the first judging result, then selection is set under mobile terminal first side upper end and/or second side The antenna at end is communicated;
When judging result is the second judging result, then selection is set under mobile terminal second side upper end and/or first side The antenna at end is communicated;
When judging result is third judging result, then the antenna that selection signal quality meets preset requirement in mutiple antennas carries out Communication.
5. selection method as claimed in claim 4, which is characterized in that the method is in detection mobile terminal different sides and uses Before the head distance of family further include:
When mobile terminal is on call, the spacing of detection trigger mobile terminal first side and second side and user's head From operation.
6. method as claimed in claim 4, which is characterized in that it is described to be based on the judging result, it selects corresponding mobile whole Hold the process of operating mode further include:
Based on the third judging result, first testing result and second testing result are calibrated.
CN201610513260.8A 2016-06-30 2016-06-30 A kind of mobile terminal and working mode of mobile terminal selection method Active CN106131329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610513260.8A CN106131329B (en) 2016-06-30 2016-06-30 A kind of mobile terminal and working mode of mobile terminal selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610513260.8A CN106131329B (en) 2016-06-30 2016-06-30 A kind of mobile terminal and working mode of mobile terminal selection method

Publications (2)

Publication Number Publication Date
CN106131329A CN106131329A (en) 2016-11-16
CN106131329B true CN106131329B (en) 2019-08-20

Family

ID=57468078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610513260.8A Active CN106131329B (en) 2016-06-30 2016-06-30 A kind of mobile terminal and working mode of mobile terminal selection method

Country Status (1)

Country Link
CN (1) CN106131329B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337025B (en) * 2017-01-20 2019-12-27 北京小米移动软件有限公司 Method and device for transmitting uplink signal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795864A (en) * 2014-01-29 2014-05-14 华为技术有限公司 Method for selecting front camera and back camera of mobile terminal and mobile terminal
CN103885586A (en) * 2014-02-20 2014-06-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104735256A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Method and device for judging holding mode of mobile terminal
CN105704317A (en) * 2016-03-08 2016-06-22 北京小米移动软件有限公司 Antenna parameter adjustment method and apparatus, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795864A (en) * 2014-01-29 2014-05-14 华为技术有限公司 Method for selecting front camera and back camera of mobile terminal and mobile terminal
CN103885586A (en) * 2014-02-20 2014-06-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104735256A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Method and device for judging holding mode of mobile terminal
CN105704317A (en) * 2016-03-08 2016-06-22 北京小米移动软件有限公司 Antenna parameter adjustment method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN106131329A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN107277838B (en) A kind of the WIFI method of controlling antenna and mobile terminal of mobile terminal
CN107204786B (en) A kind of switching method and mobile terminal of signal receiving path
CN106231662B (en) A kind of method for handover control and terminal of terminal antenna
CN109840032A (en) The calibration method and device, electronic equipment and storage medium of proximity sensor
US20160345275A1 (en) Method and Device for Controlling Transmitting Power
US8707215B2 (en) Hand-held device and method for operating a single pointer touch sensitive user interface
CN104503574B (en) A kind of calibration method of range sensor, apparatus and system
CN106657806B (en) A kind of exposure method and mobile terminal
CN107272956A (en) A kind of display methods, mobile terminal and computer-readable recording medium
CN104811524B (en) A kind of terminal radio frequency performance test methods and its device
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106332199B (en) A kind of method and mobile terminal of mobile terminal access LTE network
CN109738004A (en) The calibration method and device, electronic equipment and storage medium of proximity sensor
CN106713715B (en) A kind of photographic method and mobile terminal
CN106131329B (en) A kind of mobile terminal and working mode of mobile terminal selection method
CN108989492A (en) Electronic device and driving detection method
US9298170B1 (en) Watch capable of automatically turning on backlight and related method
CN106225806A (en) The calibration method of Magnetic Sensor, device and mobile terminal
CN108759892A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN107360321B (en) A kind of detection method and mobile terminal of digital signal processor DSP
KR101219101B1 (en) Smartphone, Multimeter using that smartphone and a method thereod
CN106253996A (en) Sensitivity decay testing method and device
CN107465234B (en) A kind of charge control method, mobile terminal and adapter
CN106651300B (en) A kind of method and terminal that event is reminded
CN106376152B (en) A kind of brightness adjusting method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant