CN109788124A - A kind of starting position of function bar determines method and device, mobile terminal - Google Patents
A kind of starting position of function bar determines method and device, mobile terminal Download PDFInfo
- Publication number
- CN109788124A CN109788124A CN201811574133.4A CN201811574133A CN109788124A CN 109788124 A CN109788124 A CN 109788124A CN 201811574133 A CN201811574133 A CN 201811574133A CN 109788124 A CN109788124 A CN 109788124A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- user
- front camera
- function bar
- location information
- 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.)
- Granted
Links
Landscapes
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of starting positions of function bar to determine method and device.The described method includes: the front camera for passing through the mobile terminal acquires the facial image of user in the case where mobile terminal is displayed in full screen the runnable interface of destination application and the mobile terminal is in transverse screen state;The facial image is analyzed, determines location information of the front camera relative to the user;According to the location information, the starting position of the function bar is determined.The invention avoids the function choosing-items that sideslip makes mistake, and reduce and click the phenomenon that other application program causes current application program to be interrupted, greatly improve the usage experience of user.
Description
Technical field
The present invention relates to mobile communication technology fields, more particularly to the starting location determining method and dress of a kind of function bar
It sets, mobile terminal.
Background technique
With the continuous development of science and technology, the use of mobile terminal (such as mobile phone) is more more and more universal, such as uses
Mobile phone plays game, viewing video etc..
Many mobile phones are proposed game mode, which ensure that user is beating to promote the experience that user plays game
It not will receive phone, the interference of short message etc. in game process.When user needs to use corresponding function, sideslip can be selected
Corresponding function.
And transverse screen is needed for most of come the game that operates, comprehensive screen mobile phone can break away from both sides.In transverse screen shape
Under state, in general, from mobile phone top (side where front camera), slid inward is the function choosing-item that will appear game mode,
Volume, brightness etc. can be entered from mobile phone bottom (i.e. side where USB port) slid inward, column is set.But it is used in user complete
When the transverse screen mode of face mobile phone plays game, it is difficult to judge which side is mobile phone top rapidly, which side is mobile phone bottom, and with
The position of side key increasingly centreization, it more difficult to which which side is game mode option for fast reaction, which side is function setting option, is breakked away
The function choosing-item to make mistake can bring bad experience to user, sometimes it is also possible to point interrupts game to other application,
Affect the usage experience of user.
Summary of the invention
The starting position that the embodiment of the present invention provides a kind of function bar determines method and device, to solve to exist in the prior art
In the case where mobile phone bottom or top can not be distinguished under transverse screen mode, lead to the function items to make mistake that break away, thereby increases and it is possible to cause to work as
Preceding application program is interrupted, the problem of affecting user experience.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of starting location determining methods of function bar, comprising: mobile whole
In the case that the runnable interface and the mobile terminal of end full screen display destination application are in transverse screen state, pass through the shifting
The facial image of the front camera acquisition user of dynamic terminal;The facial image is analyzed, determines the preposition camera shooting
Location information of the head relative to the user;According to the location information, the starting position of the function bar is determined.
Second aspect, the embodiment of the invention provides a kind of starting position determining means of function bar, comprising: facial image
Acquisition module, for mobile terminal full screen display destination application runnable interface and the mobile terminal be in transverse screen shape
In the case where state, the facial image of user is acquired by the front camera of the mobile terminal;Location information determining module is used
It is analyzed in the facial image, determines location information of the front camera relative to the user;Start position
Determining module, for determining the starting position of the function bar according to the location information.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
The step of starting location determining method of existing function bar as described in any one of the above embodiments.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, which is characterized in that the meter
Computer program is stored on calculation machine readable storage medium storing program for executing, and such as any of the above-described is realized when the computer program is executed by processor
The step of starting location determining method of the function bar.
In embodiments of the present invention, whole by the runnable interface and movement that are displayed in full screen destination application in mobile terminal
In the case that end is in transverse screen state, the facial image of user is acquired by the front camera of mobile terminal, to facial image
It is analyzed, determines location information of the front camera relative to user, the starting position of function bar is determined according to location information.
Scheme provided in an embodiment of the present invention distinguishes the bottom or top of mobile terminal without user, can be with the preposition camera shooting of direct basis
Head determines the starting position of function bar with the relative position of user, so as to avoid the function choosing-item to make mistake that breaks away, subtracts
Lack and clicked the phenomenon that other application program causes current application program to be interrupted, greatly improve user uses body
It tests.
Detailed description of the invention
Fig. 1 shows a kind of step flow chart of the starting location determining method of function bar provided in an embodiment of the present invention;
Fig. 2 shows a kind of step flow charts of the starting location determining method of function bar provided in an embodiment of the present invention;
Fig. 2 a shows a kind of schematic diagram for selecting window provided in an embodiment of the present invention;
Fig. 2 b shows the schematic diagram of a kind of front camera and user relative position provided in an embodiment of the present invention;
Fig. 3 shows a kind of structural schematic diagram of the starting position determining means of function bar provided in an embodiment of the present invention;
Fig. 4 shows a kind of structural schematic diagram of the starting position determining means of function bar provided in an embodiment of the present invention;
Fig. 5 shows a kind of structural block diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, the step of showing a kind of starting location determining method of function bar provided in an embodiment of the present invention stream
Cheng Tu can specifically include following steps:
Step 101: being displayed in full screen the runnable interface of destination application in mobile terminal and the mobile terminal is in cross
In the case where screen state, the facial image of user is acquired by the front camera of the mobile terminal.
The embodiment of the present invention can be applied to mobile terminal, and mobile terminal can be mobile phone, PDA (Personal
Digital Assistant, personal digital assistant), tablet computer etc. there is the mobile electronic device shielded comprehensively.
Destination application refers to the application program that installation has been downloaded in mobile terminal, can for game class application program,
The application program that video class application program etc. is run under screen mode toggle, the embodiments of the present invention are not limited thereto.
While the embodiment of the present invention is intended to apply to for screen mode toggle displaying target application program, transverse screen mode is shown
When the destination application, the scene of the starting position of function bar is determined.
Screen mode toggle refers in the screen indication range of mobile terminal all for one kind of displaying target application program
Display pattern, firstly, determining that a kind of mode that destination application is shown under screen mode toggle is to extract four angles of screen
Coordinate obtains application widget belonging to four angles using the coordinate of extraction, if the application widget at four angles is the same application window
Mouthful, then determine that destination application is shown under screen mode toggle;It is another to determine that destination application is shown under screen mode toggle
Kind mode is to extract the window height of screen height and destination application, if the height of destination application window and screen are high
It spends equal, then determines that destination application is shown under screen mode toggle.
Certainly, in the concrete realization, it can also determine that mobile terminal is answered with screen mode toggle displaying target otherwise
The case where with program, the embodiments of the present invention are not limited thereto.
In the case where determining mobile terminal with screen mode toggle displaying target application program, then it may determine that mobile terminal is
It is no to be in transverse screen mode.
Transverse screen mode refers to that the display interface of mobile terminal, in the concrete realization, can be by mobile whole with transverse screen display
Whether the sensor detection mobile terminal inside end is currently in transverse screen mode, and is the state of bright screen.
Certainly, in practical applications, it can also judge otherwise whether mobile terminal is in transverse screen mode, this hair
Bright embodiment is without restriction to this.
In the case where determining that mobile terminal is in transverse screen mode, then it can star the front camera of mobile terminal, and
Using the facial image of front camera acquisition user, and then execute step 102.
Step 102: the facial image being analyzed, determines position of the front camera relative to the user
Information.
After the facial image using front camera acquisition user, facial image can be analyzed, for example, right
User's face characteristic is analyzed, and when camera is located on the left of user, face user takes pictures, because camera is close to left side of the face
Portion, so left side face is greater than right side face in image, and can be by other feature auxiliary judgment, such as whether can see
Arrive ear location etc..
Specifically, facial image is analyzed after determining front camera relative to the location information of user, executes step
103。
Step 103: according to the location information, determining the starting position of the function bar.
It, can be according to front camera and user after determining front camera relative to the location information of user
Relative position information determines the starting position of function bar, for example, in the case where on the left of front camera is located at user, then
It can determine lateral location of the start bit setting in front camera side separate on mobile terminal screen of function bar;Or preceding
It sets in the case that camera is located at user right, then the start bit of function bar can be determined setting in close on mobile terminal screen
The lateral location etc. of front camera side will specifically be described in detail in following embodiments two.
After determining the starting position of function bar, modes can be shown etc. by voice broadcast either pop-up, with
The starting position of the current function bar of user is reminded, for example, popping up a pop-up, display text information " function in mobile phone top position
Field is in herein " or the information such as voice broadcast information " right side that function bar is located at you ", remind the starting of the current function bar of user
Position.
Specifically, receiving the slide in function bar starting position input in the case where function bar is hidden, showing function
It can column.Function bar starting position can be a region, and any position receives slide in this region, can all start
Function bar.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
By determining the starting position of function bar in the embodiment of the present invention, mobile terminal can not be distinguished to avoid user
The case where bottom and top, avoids the function choosing-item that makes mistake of breakking away, and reduces and clicks other application program and cause currently
The phenomenon that application program is interrupted.
The starting location determining method of function bar provided in an embodiment of the present invention is displayed in full screen target by mobile terminal and answers
In the case where being in transverse screen state with the runnable interface and mobile terminal of program, is acquired and used by the front camera of mobile terminal
The facial image at family, analyzes facial image, determines location information of the front camera relative to user, believes according to position
Cease the starting position for determining function bar.Scheme provided in an embodiment of the present invention, without user distinguish mobile terminal bottom or on
Portion can determine the starting position of function bar, with the relative position of direct basis front camera and user so as to avoid
Break away the function choosing-item to make mistake, reduces and clicks the phenomenon that other application program causes current application program to be interrupted,
Greatly improve the usage experience of user.
Embodiment two
Referring to Fig. 2, the step of showing a kind of starting location determining method of function bar provided in an embodiment of the present invention stream
Cheng Tu can specifically include following steps:
Step 201: being displayed in full screen the runnable interface of destination application in mobile terminal and the mobile terminal is in cross
In the case where screen state, the facial image of user is acquired by the front camera of the mobile terminal.
The embodiment of the present invention can be applied to mobile terminal, and mobile terminal can be mobile phone, PDA (Personal
Digital Assistant, personal digital assistant), tablet computer etc. there is the mobile electronic device shielded comprehensively.
Destination application refers to the application program that installation has been downloaded in mobile terminal, can for game class application program,
The application program that video class application program etc. is run under screen mode toggle, the embodiments of the present invention are not limited thereto.
While the embodiment of the present invention is intended to apply to for screen mode toggle displaying target application program, transverse screen mode is shown
When the destination application, the scene of the starting position of function bar is determined.
Screen mode toggle refers in the screen indication range of mobile terminal all for one kind of displaying target application program
Display pattern, firstly, determining that a kind of mode that destination application is shown under screen mode toggle is to extract four angles of screen
Coordinate obtains application widget belonging to four angles using the coordinate of extraction, if the application widget at four angles is the same application window
Mouthful, then determine that destination application is shown under screen mode toggle;It is another to determine that destination application is shown under screen mode toggle
Kind mode is to extract the window height of screen height and destination application, if the height of destination application window and screen are high
It spends equal, then determines that destination application is shown under screen mode toggle.
Certainly, in the concrete realization, it can also determine that mobile terminal is answered with screen mode toggle displaying target otherwise
The case where with program, the embodiments of the present invention are not limited thereto.
In the case where determining mobile terminal with screen mode toggle displaying target application program, then it may determine that mobile terminal is
It is no to be in transverse screen mode.
Transverse screen mode refers to that the display interface of mobile terminal, in the concrete realization, can be by mobile whole with transverse screen display
Whether the sensor detection mobile terminal inside end is currently in transverse screen mode, and is the state of bright screen.
Certainly, in practical applications, it can also judge otherwise whether mobile terminal is in transverse screen mode, this hair
Bright embodiment is without restriction to this.
In the case where determining that mobile terminal is in transverse screen mode, the front camera of mobile terminal can star, and adopt
The facial image of user is acquired, with front camera to carry out subsequent facial image analytic process.
Certainly, before the facial image using front camera acquisition user, function bar position can also be popped up and determined
The selection window of option chooses whether the starting position to function bar by user and is adjusted, specifically, with following preferred implementations
Example is described in detail.
In one preferred embodiment of the invention, above-mentioned steps 201 may include:
Step S1: the runnable interface of destination application is displayed in full screen in mobile terminal and the mobile terminal is in transverse screen
In the case where state, in the display interface display selection window of the mobile terminal;It wherein, include function in the selection window
Field sets determining option.
In embodiments of the present invention, it selects in window to include that function bar position determines option, the i.e. start bit of function bar
The option whether being adjusted is set, for example, referring to Fig. 2 a, shows a kind of signal for selecting window provided in an embodiment of the present invention
Figure shows the option of " display bottom identifies " as shown in Figure 2 a in selection window, should " display bottom mark " i.e. function bar
Position determines option, is used to indicate whether to determine the adjustment of the starting position of function bar, chooses " display bottom identifies " in user
Option when namely user when clicking button "Yes", indicate that the starting position of function bar can be executed;It is not chosen in user " aobvious
Show that bottom identifies " option when or user when clicking button "No", then it represents that without subsequent function bar starting position
Adjustment.
Step S2: in the case where the user chooses the function bar position and determines option, pass through the mobile terminal
Front camera acquisition user facial image.
In the case where user chooses function bar position and determines option, the starting position tune that can carry out function bar is indicated
It is whole, then start the front camera of mobile terminal, and using the facial image of front camera acquisition user, and carry out subsequent
Face characteristic discriminance analysis process.
In the runnable interface of mobile terminal full screen display destination application, and the case where mobile terminal is in transverse screen mode
Under, then it can star the front camera of mobile terminal, and using the facial image of front camera acquisition user, and then execute
Step 202.
Step 202: identifying the face features for including in the facial image.
Face features may include eyes of user feature, ear feature, left side of the face feature, right side face feature etc.,
The embodiments of the present invention are not limited thereto.
It, can be to the people for the user for including in facial image after the facial image using front camera acquisition user
Face facial characteristics is identified, and then executes step 203.
Step 203: according to the face features identified, determining position of the front camera relative to the user
Confidence breath.
In identifying facial image after the face features of user, it can be determined preposition according to recognition result
Location information of the camera relative to user, for example, the face features identified include left side of the face and right side face, and left side
Face area is greater than right side face area, indicates that front camera is located at the left side of user;In the face features identified
Including left side of the face and right side face, and right side face area is greater than left side face area, indicates that front camera is located at the right side of user
Side;Include ear feature in the face features identified, and in facial image only include left ear when, indicate front camera
Positioned at the left side of user, e.g., referring to Fig. 2 b, a kind of front camera provided in an embodiment of the present invention position opposite with user is shown
The schematic diagram set, as shown in Figure 2 b, when front camera is located on the left of user, using the facial image of front camera acquisition
In can be only seen left ear of user etc..
In the concrete realization, those skilled in the art can also determine front camera relative to user using other way
Location information, the embodiments of the present invention are not limited thereto.
After determining front camera relative to the location information of user, step 204 is executed.
Step 204: in the case where on the left of the front camera is located at the user, determining the starting of the function bar
Position is located at the lateral location on the mobile terminal screen far from the front camera side.
According to the analysis of the facial image of user as a result, in the case where determining that front camera is located on the left of user,
It can then determine lateral location of the start bit setting in front camera side separate on mobile terminal screen of function bar, namely
When user uses mobile terminal with transverse screen mode displaying target application program, the start bit of function bar is setting in mobile terminal screen
Relative to the right side of user on curtain, then user can skid off function bar by the right side boundary that right hand side slip moves terminal.
Step 205: in the case where the front camera is located at the user right, determining the starting of the function bar
Position is located at the lateral location on the mobile terminal screen close to the front camera side.
According to the analysis of the facial image of user as a result, in the case where determining that front camera is located at user right,
It can then determine that the starting position of function bar is adjusted to the lateral location on mobile terminal screen close to front camera side,
Namely when user uses mobile terminal with transverse screen mode displaying target application program, the start bit of function bar is setting in mobile whole
The left side on screen relative to user is held, then user can skid off function bar by the left border that left hand side slip moves terminal.
Under normal conditions, user get used to the right hand operate mobile terminal, determine function bar skid off position after,
It can also be adjusted according to the starting position of function bar, so that the starting position of function bar is in the right side of user always,
Function bar is set to the right side of user always according to the habit of user, so that the greatly convenient operation of user, is improved
The usage experience of user.In the concrete realization, the starting position of function bar can also be adjusted to phase according to the habit of user
For the left side of user, the embodiments of the present invention are not limited thereto.
Certainly, after determining the starting position of function bar, can show etc. just by voice broadcast either pop-up
Formula, to remind the starting position of the current function bar of user, for example, popping up a pop-up, display text information in mobile phone top position
The information such as " function bar is located at herein " or voice broadcast information " right side that function bar is located at you ", remind the current function bar of user
Starting position.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
Step 206: judging whether to detect the turning operation to the mobile terminal execution.
It is mobile after the location information according to front camera relative to user, the starting position for determining function bar
Terminal can be with real-time detection user to the turning operation of mobile terminal execution, in the concrete realization, can be by mobile terminal
Whether the devices such as the gyro sensor set perception user performs the turning operation of mobile terminal.
In the case where detecting turning operation, step 207 is executed.
Step 207: in the case where detecting the turning operation, redefining the starting position of the function bar.
In the case where detecting turning operation, then the starting position of function bar is redefined, that is, resurveys face figure
Picture, and determination step of the front camera relative to the location information of user is executed according to the facial image resurveyed, according to
Again the location information determined determines the starting position of function bar, so as to user overturn mobile terminal after, can be fast
Speed determines the starting position of function bar, further improves the usage experience of user.
The starting location determining method of function bar provided in an embodiment of the present invention, removing has the function of shown in embodiment one
Outside beneficial effect possessed by the starting location determining method on column, can also to user execute mobile terminal turning operation into
Row real-time detection, and in the case where detecting turning operation, the starting position of function bar is redefined, to determine that user can be real
When determine the starting position of function bar, further improve the usage experience of user.
Embodiment three
Referring to Fig. 3, the structure for showing a kind of starting position determining means of function bar provided in an embodiment of the present invention is shown
It is intended to, can specifically include:
Man face image acquiring module 310, for the runnable interface in mobile terminal full screen display destination application and institute
It states in the case that mobile terminal is in transverse screen state, the front camera for passing through the mobile terminal acquires the face figure of user
Picture;Location information determining module 320 determines the front camera relative to institute for analyzing the facial image
State the location information of user;Start position determination module 330, for determining opening for the function bar according to the location information
Dynamic position.
The starting position determining means of function bar provided in an embodiment of the present invention, by being displayed in full screen target in mobile terminal
In the case that the runnable interface and mobile terminal of application program are in transverse screen state, acquired by the front camera of mobile terminal
The facial image of user, analyzes facial image, determines location information of the front camera relative to user, according to position
Information determines the starting position of function bar.Scheme provided in an embodiment of the present invention, without user distinguish mobile terminal bottom or
Top can determine the starting position of function bar, with the relative position of direct basis front camera and user so as to keep away
Exempt from the function choosing-item to make mistake that breaks away, reduces and click the phenomenon that other application program causes current application program to be interrupted hair
It is raw, greatly improve the usage experience of user.
Example IV
Referring to Fig. 4, the structure for showing a kind of starting position determining means of function bar provided in an embodiment of the present invention is shown
It is intended to, can specifically include:
Man face image acquiring module 410, for the runnable interface in mobile terminal full screen display destination application and institute
It states in the case that mobile terminal is in transverse screen state, the front camera for passing through the mobile terminal acquires the face figure of user
Picture;Location information determining module 420 determines the front camera relative to institute for analyzing the facial image
State the location information of user;Start position determination module 430, for determining opening for the function bar according to the location information
Dynamic position;Turning operation judgment module 440 detects the turning operation to the mobile terminal execution for judging whether;Position
It sets and redefines module 450, in the case where detecting the turning operation, redefining the start bit of the function bar
It sets.
Preferably, the man face image acquiring module 410 includes: selection window display sub-module, in mobile terminal
In the case that the runnable interface and the mobile terminal of full screen display destination application are in transverse screen state, described mobile whole
The display interface display selection window at end;Wherein, option is determined comprising function bar position in the selection window;Facial image is adopted
Collect submodule, for passing through the mobile terminal in the case where the user chooses the function bar position and determines option
The facial image of front camera acquisition user.
Preferably, the location information determining module 420 includes: facial characteristics identification submodule 4201, for identification institute
State the face features for including in facial image;Location information determines submodule 4202, for according to the face face identified
Portion's feature determines location information of the front camera relative to the user.
Preferably, the starting position determination module 430 includes: the first starting position determination submodule 4301, is used for
In the case that the front camera is located on the left of the user, determine the start bit of the function bar setting in described mobile whole
Hold the lateral location on screen far from the front camera side;Second starting position determination submodule 4302, in institute
It states in the case that front camera is located at the user right, determines the start bit of the function bar setting in the mobile terminal
Close to the lateral location of the front camera side on screen.
The starting position determining means of function bar provided in an embodiment of the present invention, removing has the function of shown in embodiment three
Outside beneficial effect possessed by the starting position determining means on column, can also to user execute mobile terminal turning operation into
Row real-time detection, and in the case where detecting turning operation, the starting position of function bar is redefined, to determine that user can be real
When determine the starting position of function bar, further improve the usage experience of user.
Embodiment five
Referring to Fig. 5, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, for the runnable interface in mobile terminal full screen display destination application and the mobile terminal
In the case where transverse screen state, the facial image of user is acquired by the front camera of the mobile terminal;To the people
Face image is analyzed, and determines location information of the front camera relative to the user;According to the location information, really
The starting position of the fixed function bar.
In embodiments of the present invention, the runnable interface and mobile terminal of destination application are displayed in full screen by mobile terminal
In the case where transverse screen state, the facial image of user is acquired by the front camera of mobile terminal, to facial image into
Row analysis, determines location information of the front camera relative to user, and the starting position of function bar is determined according to location information.This
The scheme that inventive embodiments provide, the bottom or top of mobile terminal are distinguished without user, can be with direct basis front camera
The starting position of function bar is determined with the relative position of user, so as to avoid the function choosing-item to make mistake that breaks away, is reduced
The phenomenon that other application program causes current application program to be interrupted is clicked, greatly improve user uses body
It tests.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, 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 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in
On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510
The starting position of the above-mentioned function bar of Shi Shixian determines each process of embodiment of the method, and can reach identical technical effect, is
It avoids repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize that the starting position of above-mentioned function bar determines each of embodiment of the method when being executed by processor
A process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, described computer-readable to deposit
Storage media, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, 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 specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under 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 much
Form belongs within protection of the invention.
Claims (11)
1. a kind of starting location determining method of function bar characterized by comprising
The case where mobile terminal is displayed in full screen the runnable interface of destination application and the mobile terminal is in transverse screen state
Under, the facial image of user is acquired by the front camera of the mobile terminal;
The facial image is analyzed, determines location information of the front camera relative to the user;
According to the location information, the starting position of the function bar is determined.
2. the method according to claim 1, wherein described be displayed in full screen destination application in mobile terminal
In the case that runnable interface and the mobile terminal are in transverse screen state, are acquired and used by the front camera of the mobile terminal
The step of facial image at family, comprising:
The case where mobile terminal is displayed in full screen the runnable interface of destination application and the mobile terminal is in transverse screen state
Under, in the display interface display selection window of the mobile terminal;Wherein, it is determined in the selection window comprising function bar position
Option;
In the case where the user chooses the function bar position and determines option, pass through the front camera of the mobile terminal
Acquire the facial image of user.
3. the method according to claim 1, wherein described analyze the facial image, described in determination
The step of location information of the front camera relative to the user, comprising:
Identify the face features for including in the facial image;
According to the face features identified, location information of the front camera relative to the user is determined.
4. according to the method described in claim 3, determining the function bar it is characterized in that, described according to the location information
Starting position the step of, comprising:
In the case where on the left of the front camera is located at the user, determine the start bit of the function bar setting in described
Far from the lateral location of the front camera side on mobile terminal screen;
In the case where the front camera is located at the user right, determine the start bit of the function bar setting in described
Close to the lateral location of the front camera side on mobile terminal screen.
5. the method according to claim 1, wherein determining the function according to the location information described
After the step of starting position on column, further includes:
Judge whether to detect the turning operation to the mobile terminal execution;
In the case where detecting the turning operation, the starting position of the function bar is redefined.
6. a kind of starting position determining means of function bar characterized by comprising
Man face image acquiring module, runnable interface and the movement for being displayed in full screen destination application in mobile terminal are eventually
In the case that end is in transverse screen state, the front camera for passing through the mobile terminal acquires the facial image of user;
Location information determining module determines the front camera relative to described for analyzing the facial image
The location information of user;
Start position determination module, for determining the starting position of the function bar according to the location information.
7. device according to claim 6, which is characterized in that the man face image acquiring module includes:
Window display sub-module is selected, for the runnable interface in mobile terminal full screen display destination application and the movement
In the case that terminal is in transverse screen state, in the display interface display selection window of the mobile terminal;Wherein, the selection window
Option is determined comprising function bar position in mouthful;
Man face image acquiring submodule, for passing through in the case where the user chooses the function bar position and determines option
The facial image of the front camera acquisition user of the mobile terminal.
8. device according to claim 6, which is characterized in that the location information determining module includes:
Facial characteristics identifies submodule, the face features for including in the facial image for identification;
Location information determines submodule, for according to the face features that identify, determine the front camera relative to
The location information of the user.
9. device according to claim 8, which is characterized in that the starting position determination module includes:
First starting position determination submodule, in the case where on the left of the front camera is located at the user, determines
Lateral location of the start bit of the function bar setting in the front camera side separate on the mobile terminal screen;
Second starting position determination submodule, for determining in the case where the front camera is located at the user right
The start bit of the function bar is setting in the lateral location on the mobile terminal screen close to the front camera side.
10. device according to claim 6, which is characterized in that further include:
Turning operation judgment module detects the turning operation to the mobile terminal execution for judging whether;
Position redefines module, in the case where detecting the turning operation, redefining opening for the function bar
Dynamic position.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in function bar starting location determining method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811574133.4A CN109788124B (en) | 2018-12-21 | 2018-12-21 | Method and device for determining starting position of function bar and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811574133.4A CN109788124B (en) | 2018-12-21 | 2018-12-21 | Method and device for determining starting position of function bar and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109788124A true CN109788124A (en) | 2019-05-21 |
CN109788124B CN109788124B (en) | 2020-10-27 |
Family
ID=66498081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811574133.4A Active CN109788124B (en) | 2018-12-21 | 2018-12-21 | Method and device for determining starting position of function bar and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109788124B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190678A (en) * | 2019-12-25 | 2020-05-22 | 上海传英信息技术有限公司 | Terminal display method, mobile terminal and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006043174A2 (en) * | 2004-10-19 | 2006-04-27 | Nokia Corporation | Notifying a user |
CN102346646A (en) * | 2011-09-19 | 2012-02-08 | 百度在线网络技术(北京)有限公司 | Method and device for displaying contents on display screen of mobile terminal |
CN105980971A (en) * | 2014-02-17 | 2016-09-28 | 微软技术许可有限责任公司 | Multitasking and Full Screen Menu Contexts |
CN108345392A (en) * | 2018-02-08 | 2018-07-31 | 武汉云众科技有限公司 | A kind of multi-screen intelligently switches the method and system of touch control keyboard |
CN108509138A (en) * | 2017-02-27 | 2018-09-07 | 华为技术有限公司 | A kind of method and its terminal that taskbar button is shown |
-
2018
- 2018-12-21 CN CN201811574133.4A patent/CN109788124B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006043174A2 (en) * | 2004-10-19 | 2006-04-27 | Nokia Corporation | Notifying a user |
CN102346646A (en) * | 2011-09-19 | 2012-02-08 | 百度在线网络技术(北京)有限公司 | Method and device for displaying contents on display screen of mobile terminal |
CN105980971A (en) * | 2014-02-17 | 2016-09-28 | 微软技术许可有限责任公司 | Multitasking and Full Screen Menu Contexts |
CN108509138A (en) * | 2017-02-27 | 2018-09-07 | 华为技术有限公司 | A kind of method and its terminal that taskbar button is shown |
CN108345392A (en) * | 2018-02-08 | 2018-07-31 | 武汉云众科技有限公司 | A kind of multi-screen intelligently switches the method and system of touch control keyboard |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190678A (en) * | 2019-12-25 | 2020-05-22 | 上海传英信息技术有限公司 | Terminal display method, mobile terminal and computer readable storage medium |
CN111190678B (en) * | 2019-12-25 | 2024-03-12 | 上海传英信息技术有限公司 | Terminal display method, mobile terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109788124B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108459797B (en) | Control method of folding screen and mobile terminal | |
CN108427876A (en) | A kind of fingerprint identification method and mobile terminal | |
CN109151180A (en) | A kind of object identifying method and mobile terminal | |
CN109388304A (en) | A kind of screenshotss method and terminal device | |
CN108319390A (en) | A kind of control method and mobile terminal of flexible screen | |
CN108920059A (en) | Message treatment method and mobile terminal | |
CN107748648A (en) | Prevent the method and terminal device of fingerprint sensor false triggering | |
CN109874038A (en) | A kind of display methods and terminal of terminal | |
CN109618218B (en) | Video processing method and mobile terminal | |
CN109683785A (en) | A kind of information processing method and mobile terminal | |
CN108289151A (en) | A kind of operating method and mobile terminal of application program | |
CN109471571A (en) | Display methods, mobile terminal and the computer readable storage medium of suspension control | |
CN108984066A (en) | A kind of application icon display methods and mobile terminal | |
CN108881617A (en) | A kind of display changeover method and mobile terminal | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN110531915A (en) | Screen operating method and terminal device | |
CN109144228A (en) | A kind of fingerprint identification method and mobile terminal | |
CN108196757A (en) | The setting method and mobile terminal of a kind of icon | |
CN110018805A (en) | A kind of display control method and mobile terminal | |
CN109814799A (en) | Screen response control mehtod and terminal device | |
CN109922294A (en) | A kind of method for processing video frequency and mobile terminal | |
CN109521937A (en) | A kind of control method for screen display and mobile terminal | |
CN108510266A (en) | A kind of Digital Object Unique Identifier recognition methods and mobile terminal | |
CN109859718A (en) | Screen brightness regulation method and terminal device | |
CN109933267A (en) | The method and terminal device of controlling terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |