CN109871169A - The interface UI method of adjustment, device, terminal and storage medium - Google Patents
The interface UI method of adjustment, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109871169A CN109871169A CN201910159523.3A CN201910159523A CN109871169A CN 109871169 A CN109871169 A CN 109871169A CN 201910159523 A CN201910159523 A CN 201910159523A CN 109871169 A CN109871169 A CN 109871169A
- Authority
- CN
- China
- Prior art keywords
- terminal
- user
- interface
- posture
- face distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The embodiment of the invention discloses a kind of interface UI method of adjustment, device, terminal and storage mediums.Wherein, which comprises under bright screen state, obtain the face distance of terminal posture and terminal and user;Judge whether the face distance of the terminal posture and the terminal and user are in preset range, if it is not, the interface UI is then adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.The embodiment of the present invention promotes user to adjust the posture of operating terminal by adjusting UI interface display, to reduce because using mobile terminal to the harm of user's bring and security risk.
Description
Technical field
The present embodiments relate to intelligent terminal technical field more particularly to a kind of interface UI methods of adjustment, device, terminal
And storage medium.
Background technique
With popularizing for the mobile terminal devices such as smart phone and tablet computer, various conveniences are provided to people's life,
People are also increasingly dependent on mobile terminal.However prolonged use mobile terminal, people's body, physiological health are caused to bear
Face is rung, such as thumb race (hand/finger is numb, deforms), and cervical vertebra ache even deforms, eye eyesight decline etc., and if
Mobile phone, which is played, when being also possible to lead to serious consequence in specific environmental condition use, such as driving causes traffic accident.
At present in view of the above-mentioned problems, mainly being solved by reducing terminal screen visible angle or control using the time, but
It is that when reducing visible angle to make the non-face mobile phone screen of user, screen content may not seen, control is needed using the time
User has stronger self-control.So that the solution effect of aforesaid way is not obvious.
Summary of the invention
The embodiment of the invention provides a kind of interface UI method of adjustment, device, terminal and storage mediums, pass through tune to reach
Whole UI interface display is reduced because using mobile terminal to endanger to user's bring and reducing the purpose of security risk.
In a first aspect, the embodiment of the invention provides a kind of interface UI methods of adjustment, comprising:
Under bright screen state, the face distance of terminal posture and terminal and user is obtained;
Judge whether the face distance of the terminal posture and the terminal and user are in preset range, if it is not, then
The interface UI is adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
Second aspect, the embodiment of the invention also provides a kind of interfaces UI to adjust device, comprising:
Module is obtained, for obtaining the face distance of terminal posture and terminal and user under bright screen state;
Judgement adjustment module, for judging the face distance of the terminal posture and the terminal and user whether in pre-
If in range, if it is not, the interface UI is then adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
The third aspect, the embodiment of the invention also provides a kind of terminals, comprising:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the interface the UI method of adjustment as described in any embodiment of the present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the interface the UI method of adjustment as described in any embodiment of the present invention when the program is executed by processor.
A kind of interface UI method of adjustment, device, terminal and storage medium provided in an embodiment of the present invention, in the bright screen shape of terminal
Under state, when the face distance of the terminal posture and terminal and user that determine to get is greater than preset range, the adjustment interface UI is aobvious
Show, user is promoted to adjust the posture of operating terminal, to reduce because using mobile terminal to the harm of user's bring and security risk.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for interface UI method of adjustment that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of interface UI method of adjustment provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram for interface UI method of adjustment that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow diagram for interface UI method of adjustment that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for interface UI adjustment device that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for terminal that the embodiment of the present invention six provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for interface UI method of adjustment that the embodiment of the present invention one provides, and the present embodiment is applicable to
The case where adjusting terminal UI interface display by dynamic, user is promoted to adjust the posture of operating terminal, this method can be by corresponding
The interface UI adjustment device execute, which can be realized by the way of software and/or hardware, and is configured in terminal,
Such as smart phone or tablet computer.
As shown in Figure 1, the interface the UI method of adjustment provided in the embodiment of the present invention may include:
S110, under bright screen state, obtain terminal posture and terminal and user face distance.
Since the face distance of terminal posture and terminal and user reflects the posture of user's current operation terminal,
It only (need to show that terminal is used in user) when terminal is in bright screen state, obtain the face of terminal posture and terminal and user
Distance i.e. can determine user's current operation terminal posture whether standard.Specifically, each sensing of acquisition terminal built-in can be passed through
Device data collected determine terminal posture and terminal and the face distance of user, for example, according to the gyroscope configured in terminal
Terminal posture is determined with the data of gravity sensor acquisition, wherein terminal posture includes terminal inclination angle;According to what is configured in terminal
Front camera and the data of range sensor acquisition determine terminal and face distance.Further, front camera can also be true
Angle of the human eye relative to terminal screen is determined, with the relationship at this visual angle that can determine position of human eye and terminal.
S120, judge whether the face distance of the terminal posture and the terminal and user are in preset range, if
It is no, then the interface UI is adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
After determining terminal posture and the terminal and the face distance of user, only it need to judge whether it is in preset standard
Can determine in range user's current operation terminal posture whether standard.Wherein, preset range is illustratively inclined including terminal
Angle is in vertical 45 ° -90 °, 30 ° of level, and the face distance of terminal and user are in 20-30 centimetres, further, preset range
It further include the visual angle of terminal lower than position of human eye.
If resolute terminal posture and terminal and the face distance of user are not in preset range, then according to terminal posture and
Mapping relations between terminal and the face distance of user and preset adjustment amplitude, pass through the side for moving up and down or moving left and right
Formula adjust the interface UI on content display position, such as first by the content shown on the current interface UI integrally reduce and to surrounding into
Row virtualization processing, then the interface UI after diminution is carried out up and down or moved left and right, so that the interface UI adjusted promotes user's tune
Whole UI operation posture.Illustratively, user lies flat on the bed operating terminal, passes through the data of gyroscope and gravity sensor acquisition
Terminal inclination angle is determined lower than 45 ° and terminal and the face distance of user are less than 20 centimetres, then according to present terminal inclination angle and adjustment
The mapping relations of amplitude adjust downwards the display position of content on the interface UI.
In the embodiment of the present invention, under the bright screen state of terminal, by the data that each sensor acquires determine terminal posture and
The face distance of terminal and user, and when the face distance for determining terminal posture and terminal and user is greater than preset range, it adjusts
Whole UI interface display promotes user to adjust the posture of operating terminal, to reduce because using mobile terminal to endanger to user's bring
And security risk.
Embodiment two
Fig. 2 is a kind of flow diagram of interface UI method of adjustment provided by Embodiment 2 of the present invention.It is more than the present embodiment
It states and optimizes based on embodiment, as shown in Fig. 2, the interface the UI method of adjustment provided in the embodiment of the present invention may include:
S210, under bright screen state, the prompting message of emergency mode is shown on the interface UI, and detect whether user inputs
The operational order of emergency mode is opened, if so, executing S220, otherwise executes S230.
In the present embodiment, for guarantee user be in case of emergency badly in need of can normal use terminal, under bright screen state,
The prompting message of emergency mode is shown on the interface UI, such as shows that emergency mode selects dialog box on the interface UI, for user
Selection, and the instruction execution corresponding operation inputted according to user.
S220, into emergency mode, and within a preset period of time lock the interface UI.
Then show that user needs using terminal into emergency mode, therefore lock the interface UI within a preset period of time, i.e., in advance
It if being adjusted without UI in the period, and is being more than to continue to execute S230 after preset time period, wherein preset time period can basis
The respective demand of user is set, such as 10 minutes.
S230, the operation for obtaining terminal posture and terminal and face distance is executed.
Illustratively, terminal posture is determined according to the data of gyroscope and the gravity sensor acquisition configured in terminal;Root
Terminal and face distance are determined according to the data of front camera and the range sensor acquisition configured in terminal.
S240, judge whether the face distance of the terminal posture and the terminal and user are in preset range, if
It is no, then the interface UI is adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
In the present embodiment, by showing that the prompting message of emergency mode so that user selects, can avoid because of UI circle
Face adjusts and influences user's normal use, and then promotes user's operation experience.
Embodiment three
Fig. 3 is a kind of flow diagram for interface UI method of adjustment that the embodiment of the present invention three provides.It is more than the present embodiment
It states and optimizes based on embodiment, as shown in figure 3, the interface the UI method of adjustment provided in the embodiment of the present invention may include:
S310, the prompting message for showing emergency mode on the interface UI under bright screen state, and detect whether user inputs
The operational order of emergency mode is opened, if so, executing S320, otherwise executes S330.
S320, into emergency mode, and within a preset period of time lock the interface UI.
More than after preset time period, S330 is continued to execute.
S330, the current location for obtaining the terminal judge whether the terminal is in safety according to the current location
Otherwise operating environment executes S350 if so then execute S340.
When the bright screen of terminal, show that terminal is used in user, starting GPS positions terminal, to obtain working as terminal
Front position judges whether terminal is in secure operating environment according to terminal current location, wherein secure operating environment includes at least
Indoor environment.Further, since user may go out during operating terminal or mobile, therefore, in order to ensure that the interface UI adjusts
Accuracy, for the first time starting GPS terminal is positioned after, periodically terminal can be positioned, and continue to execute as
Lower step.
S340, the operation for obtaining terminal posture and terminal and the face distance of user is executed.
Illustratively, terminal posture is determined according to the data of gyroscope and the gravity sensor acquisition configured in terminal;Root
Terminal and face distance are determined according to the data of front camera and the range sensor acquisition configured in terminal.
S350, the interface UI for locking target application relevant to operating environment is presently in, and detecting user's operation
When other application in addition to the target application, the behaviour for obtaining terminal posture and terminal and the face distance of user is executed
Make.
If judging that terminal is in non-secure operations environment according to terminal current location, such as on road, then further root
Currently used environment is determined according to gyroscope, acceleration transducer etc..Illustratively, determining non-secure operations environment is driving shape
State, due to drive when use the application terminated in the short time such as digital map navigation, short message, phone, it is determined that digital map navigation, short message,
The application such as phone is target application, and the interface lock onto target application UI does not adjust.Detecting user's operation except the target
When other application except, for example, user open be news category or novel class focuses on task at hand stronger application, described in execution
The operation of terminal posture and terminal and face distance is obtained, so as to the subsequent face distance according to terminal posture and terminal and user
The interface UI is adjusted, terminal can not be absorbed in user, to abandon continuing to use terminal.
S360, judge whether the face distance of the terminal posture and the terminal and user are in preset range, if
It is no, then the interface UI is adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture
In the present embodiment, after the bright screen of terminal, determine whether terminal is currently in secure operating environment by GPS positioning,
And according to the interface adjustment UI of determining current operation environment adaptability, user is promoted to adjust the posture of operating terminal, to reduce
Because using mobile terminal to the harm of user's bring and security risk.
Example IV
Fig. 4 is a kind of flow diagram for interface UI method of adjustment that the embodiment of the present invention four provides.It is more than the present embodiment
It states and optimizes based on embodiment, as shown in figure 4, on the basis of the above embodiments, the UI provided in the embodiment of the present invention
Interface method of adjustment can also include:
S410, under bright screen state, start timer, and in conjunction with the front camera real-time monitoring configured in the terminal
The duration of user's continuous use terminal.
When the bright screen of terminal, shows that terminal is used in user, then start timer and start timing, made with recording user continuously
With the duration of terminal, i.e. terminal duration is intended for single use in record user.In another embodiment, before in conjunction with being configured in terminal
The duration that terminal is used continuously in camera real-time monitoring user is set, specifically, front camera can real-time detection eyes of user phase
For the angle of terminal screen, determine that user is to leave during the bright screen of terminal with this, promoting determining user with this continuously makes
With the accuracy of terminal duration.
S420, judge that duration section belonging to the duration of terminal is used continuously in user, according to the duration section in UI circle
Corresponding healthalert is shown on face, wherein different duration sections correspond to different degrees of healthalert.
Illustratively, the duration that terminal is used continuously in user gives user's level-one health and mentions in 0.5~1h of duration section
It wakes up, such as in UI interface display prompting frame, and the display reminding term in prompting frame, such as " it is more than 30 that mobile phone, which has been used continuously, in you
Minute, belong to tired eye, ask your eyes, cervical vertebra etc. under activity ".
The duration of terminal is used continuously in 2~3h of duration section in user, gives the prompting of user's second level, such as at the interface UI
It displays the prompt box, and the display reminding term in prompting frame, such as " you have added up using mobile phone to be more than 2h/4h, and having continued to use can
Energy meeting deteriorated vision, asks your eyes, cervical vertebra etc. under activity ".And it can periodically remind, such as be defaulted as mentioning for every 15 minutes
It wakes up primary.
If the duration that terminal is used continuously in user is more than 4h, UI interface display prompting frame then gives the serious three-level of user
Warning.
In the present embodiment, add up the duration of using terminal according to user, the health of showed different mentions on the interface UI
It wakes up, to remind user to rest, gives user's bring health hazard using mobile terminal because of long-time to reduce.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for interface UI adjustment device that the embodiment of the present invention five provides.As shown in figure 5, should
Device includes:
Module 510 is obtained, for obtaining the face distance of terminal posture and terminal and user under bright screen state;
Judgement adjustment module 520, for judging whether the face distance of the terminal posture and the terminal and user is located
In in preset range, if it is not, the interface UI is then adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
In the present embodiment, under the bright screen state of terminal, judge to adjust module terminal posture according to acquired in acquisition module
With the face distance of terminal and user, UI interface display is adjusted, user is promoted to adjust the posture of operating terminal, to reduce because using
Mobile terminal is endangered to user's bring and security risk.
On the basis of the above embodiments, the judgement adjustment module includes adjustment unit, and the adjustment unit is used for:
According to the mapping between the terminal posture and the terminal and the face distance of user and preset adjustment amplitude
Relationship adjusts the display position of content on the interface UI by way of moving up and down or moving left and right.
On the basis of the above embodiments, described device further include:
Urgent reminding module for showing the prompting message of emergency mode on the interface UI, and detects the behaviour of user's input
It instructs;
Locking module, if enter emergency mode for detecting that user inputs the operational order of opening emergency mode, and
The interface UI is locked within a preset period of time;
First determination module, if being obtained described in execution for detecting that user inputs the operational order of closing emergency mode
Take the operation of terminal posture and terminal and face distance.
On the basis of the above embodiments, described further includes the second determination module, and second determination module is used for:
The current location for obtaining the terminal judges whether the terminal is in safety operation ring according to the current location
Border, wherein the secure operating environment includes at least indoor environment;
If judging to execute the behaviour for obtaining terminal posture and terminal and face distance in secure operating environment
Make;
If judging to be not in secure operating environment, the UI of target application relevant to operating environment is presently in is locked
Interface, and when detecting other application of the user's operation in addition to the target application, execute the acquisitions terminal posture with
The operation of terminal and face distance.
On the basis of the above embodiments, the acquisition module is specifically used for:
Terminal posture is determined according to the data of gyroscope and the gravity sensor acquisition configured in the terminal, wherein institute
Stating terminal posture includes terminal inclination angle;With
According to the data of the front camera that is configured in the terminal and range sensor acquisition determine terminal and face away from
From.
On the basis of the above embodiments, described device further include:
Duration monitoring modular starts timer under bright screen state, and preposition takes the photograph in conjunction with what is configured in the terminal
As the duration of terminal is used continuously in head real-time monitoring user;
Reminding module, for judging that duration section belonging to the duration of terminal is used continuously in user, according to the duration area
Between corresponding healthalert is shown on the interface UI, wherein different duration sections correspond to different degrees of healthalert.This hair
The interface UI provided by any embodiment of the invention method of adjustment can be performed in the adjustment device of the interface UI provided by bright embodiment, has
The standby corresponding functional module of execution method and beneficial effect.
Embodiment six
Fig. 6 is the structural schematic diagram for the terminal that the embodiment of the present invention six provides.Fig. 6, which is shown, to be suitable for being used to realizing the present invention
The block diagram of the exemplary terminal 12 of embodiment.The terminal 12 that Fig. 6 is shown is only an example, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in fig. 6, terminal 12 is showed in the form of universal computing device.The component of terminal 12 may include but unlimited
In one or more processor or processor 16, memory 28, different system components (including memory 28 and place are connected
Manage device 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Terminal 12 typically comprises a variety of computer system readable media.These media can be it is any can be by terminal 12
The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory
Device (RAM) 30 and/or cache memory 32.Terminal 12 may further include other removable/nonremovable, volatile
Property/nonvolatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing immovable, non-
Volatibility magnetic medium (Fig. 6 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 6, can provide for can
The disc driver of mobile non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable anonvolatile optical disk (such as CD-
ROM, DVD-ROM or other optical mediums) read-write CD drive.In these cases, each driver can pass through one
A or multiple data media interfaces are connected with bus 18.Memory 28 may include at least one program product, which produces
Product have one group of (for example, at least one) program module, these program modules are configured to perform the function of various embodiments of the present invention
Energy.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual
Execute the function and/or method in embodiment described in the invention.
Terminal 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.),
Can also be enabled a user to one or more equipment interacted with the terminal 12 communication, and/or with enable the terminal 12 with
One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical
Letter can be carried out by input/output (I/O) interface 22.Also, terminal 12 can also by network adapter 20 and one or
The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown,
Network adapter 20 is communicated by bus 18 with other modules of terminal 12.It should be understood that although not shown in the drawings, can combine
Terminal 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit,
External disk drive array, RAID system, tape drive and data backup storage system etc..
The program that processor 16 is stored in memory 28 by operation, at various function application and data
Reason, such as realize the interface UI method of adjustment provided by the embodiment of the present invention, comprising:
Under bright screen state, the face distance of terminal posture and terminal and user is obtained;
Judge whether the face distance of the terminal posture and the terminal and user are in preset range, if it is not, then
The interface UI is adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
Embodiment seven
A kind of storage medium comprising computer executable instructions is provided in the embodiment of the present invention, the computer is executable
Instruction is used to execute a kind of interface UI method of adjustment when being executed by computer processor, this method comprises:
Under bright screen state, the face distance of terminal posture and terminal and user is obtained;
Judge whether the face distance of the terminal posture and the terminal and user are in preset range, if it is not, then
The interface UI is adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
Certainly, a kind of storage medium comprising computer executable instructions provided in the embodiment of the present invention calculates
The method operation that machine executable instruction is not limited to the described above, can also be performed UI circle provided in any embodiment of that present invention
Relevant operation in the method for adjustment of face.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).Note that the above is only a better embodiment of the present invention and the applied technical principle.This field
Technical staff is able to carry out for a person skilled in the art it will be appreciated that the invention is not limited to the specific embodiments described herein
Various apparent variations are readjusted and are substituted without departing from protection scope of the present invention.Therefore, although by implementing above
Example is described in further detail the present invention, but the present invention is not limited to the above embodiments only, is not departing from the present invention
It can also include more other equivalent embodiments in the case where design, and the scope of the present invention is by scope of the appended claims
It determines.
Claims (10)
1. a kind of interface UI method of adjustment, which is characterized in that the described method includes:
Under bright screen state, the face distance of terminal posture and terminal and user is obtained;
Judge whether the face distance of the terminal posture and the terminal and user are in preset range, if it is not, then adjusting
The interface UI, so that the interface UI adjusted promotes user to adjust UI operation posture.
2. the method according to claim 1, wherein the interface adjustment UI includes:
According to the mapping relations between the terminal posture and the terminal and the face distance of user and preset adjustment amplitude,
The display position of content on the interface UI is adjusted by way of moving up and down or moving left and right.
3. the method according to claim 1, wherein before obtaining terminal posture and terminal and face distance,
The method also includes:
The prompting message of emergency mode is shown on the interface UI, and detects the operational order of user's input;
If detecting, user inputs the operational order for opening emergency mode, enters emergency mode, and lock within a preset period of time
Determine the interface UI;
If detecting, user inputs the operational order for closing emergency mode, executes the acquisition terminal posture and terminal and face
The operation of distance.
4. the method according to claim 1, wherein before obtaining terminal posture and terminal and face distance,
The method also includes:
The current location for obtaining the terminal judges whether the terminal is in secure operating environment according to the current location,
Wherein, the secure operating environment includes at least indoor environment;
If judging to execute the operation for obtaining terminal posture and terminal and face distance in secure operating environment;
If judging to be not in secure operating environment, UI circle of target application relevant to operating environment is presently in is locked
Face, and when detecting other application of the user's operation in addition to the target application, execute the acquisition terminal posture and end
The operation at end and face distance.
5. method according to any one of claims 1-4, which is characterized in that obtain terminal posture and terminal and face away from
From, comprising:
Terminal posture is determined according to the data of gyroscope and the gravity sensor acquisition configured in the terminal, wherein the end
Holding posture includes terminal inclination angle;With
Terminal and face distance are determined according to the data of front camera and the range sensor acquisition configured in the terminal.
6. the method according to claim 1, wherein the method also includes:
Under bright screen state, start timer, and continuous in conjunction with the front camera real-time monitoring user configured in the terminal
The duration of using terminal;
Judge that duration section belonging to the duration of terminal is used continuously in user, is shown on the interface UI according to the duration section pair
The healthalert answered, wherein different duration sections correspond to different degrees of healthalert.
7. a kind of interface UI adjusts device, which is characterized in that described device includes:
Module is obtained, for obtaining the face distance of terminal posture and terminal and user under bright screen state;
Judgement adjustment module, for judging the face distance of the terminal posture and the terminal and user whether in default model
In enclosing, if it is not, the interface UI is then adjusted, so that the interface UI adjusted promotes user to adjust UI operation posture.
8. device according to claim 7, which is characterized in that described device further include:
Urgent reminding module, for showing the prompting message of emergency mode on the interface UI, and the operation for detecting user's input refers to
It enables;
Locking module, if entering emergency mode, and pre- for detecting that user inputs the operational order of opening emergency mode
If locking the interface UI in the period;
First determination module, if executing the acquisition eventually for detecting that user inputs the operational order of closing emergency mode
Hold the operation of posture and terminal and face distance.
9. a kind of terminal characterized by comprising
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as the interface UI as claimed in any one of claims 1 to 6 method of adjustment.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as the interface UI as claimed in any one of claims 1 to 6 method of adjustment is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910159523.3A CN109871169A (en) | 2019-03-04 | 2019-03-04 | The interface UI method of adjustment, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910159523.3A CN109871169A (en) | 2019-03-04 | 2019-03-04 | The interface UI method of adjustment, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871169A true CN109871169A (en) | 2019-06-11 |
Family
ID=66919615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910159523.3A Pending CN109871169A (en) | 2019-03-04 | 2019-03-04 | The interface UI method of adjustment, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871169A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750156A (en) * | 2019-09-29 | 2020-02-04 | 上海掌门科技有限公司 | Method and device for posture correction reminding |
CN111414112A (en) * | 2020-03-05 | 2020-07-14 | 联想(北京)有限公司 | Information display method and device and electronic equipment |
CN113031774A (en) * | 2021-03-24 | 2021-06-25 | 维沃移动通信有限公司 | Prompting method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104503657A (en) * | 2014-12-08 | 2015-04-08 | 小米科技有限责任公司 | Image processing method and device |
CN105630345A (en) * | 2014-11-06 | 2016-06-01 | 阿里巴巴集团控股有限公司 | Display direction control method and device |
CN106406848A (en) * | 2016-03-28 | 2017-02-15 | 乐视控股(北京)有限公司 | Terminal horizontal/vertical screen switching method and device |
CN107462253A (en) * | 2016-06-06 | 2017-12-12 | 腾讯科技(深圳)有限公司 | A kind of navigation data processing method, apparatus and system |
US20180088577A1 (en) * | 2016-09-28 | 2018-03-29 | Lg Electronics Inc. | Vehicle Control Device Mounted On Vehicle And Method For Controlling The Vehicle |
CN108052368A (en) * | 2017-12-28 | 2018-05-18 | 维沃移动通信有限公司 | A kind of application display interface control method and mobile terminal |
CN109062755A (en) * | 2018-06-29 | 2018-12-21 | 珠海市魅族科技有限公司 | A kind of mobile terminal usage behavior monitoring based reminding method, device, medium and equipment |
-
2019
- 2019-03-04 CN CN201910159523.3A patent/CN109871169A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630345A (en) * | 2014-11-06 | 2016-06-01 | 阿里巴巴集团控股有限公司 | Display direction control method and device |
CN104503657A (en) * | 2014-12-08 | 2015-04-08 | 小米科技有限责任公司 | Image processing method and device |
CN106406848A (en) * | 2016-03-28 | 2017-02-15 | 乐视控股(北京)有限公司 | Terminal horizontal/vertical screen switching method and device |
CN107462253A (en) * | 2016-06-06 | 2017-12-12 | 腾讯科技(深圳)有限公司 | A kind of navigation data processing method, apparatus and system |
US20180088577A1 (en) * | 2016-09-28 | 2018-03-29 | Lg Electronics Inc. | Vehicle Control Device Mounted On Vehicle And Method For Controlling The Vehicle |
CN108052368A (en) * | 2017-12-28 | 2018-05-18 | 维沃移动通信有限公司 | A kind of application display interface control method and mobile terminal |
CN109062755A (en) * | 2018-06-29 | 2018-12-21 | 珠海市魅族科技有限公司 | A kind of mobile terminal usage behavior monitoring based reminding method, device, medium and equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750156A (en) * | 2019-09-29 | 2020-02-04 | 上海掌门科技有限公司 | Method and device for posture correction reminding |
CN111414112A (en) * | 2020-03-05 | 2020-07-14 | 联想(北京)有限公司 | Information display method and device and electronic equipment |
CN113031774A (en) * | 2021-03-24 | 2021-06-25 | 维沃移动通信有限公司 | Prompting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11726324B2 (en) | Display system | |
CN103927250B (en) | A kind of terminal user's attitude detecting method | |
EP3035656B1 (en) | Method and apparatus for controlling an electronic device | |
CN109871169A (en) | The interface UI method of adjustment, device, terminal and storage medium | |
US20180285544A1 (en) | Method for adaptive authentication and electronic device supporting the same | |
US9685001B2 (en) | System and method for indicating a presence of supplemental information in augmented reality | |
US10402625B2 (en) | Intelligent electronic device and method of operating the same | |
RU2615320C2 (en) | Method, apparatus and terminal device for image processing | |
US20180025733A1 (en) | Activating voice assistant based on at least one of user proximity and context | |
AU2017293746B2 (en) | Electronic device and operating method thereof | |
KR102278945B1 (en) | Image processing method and electronic device supporting the same | |
US20180276465A1 (en) | Method of recognition based on iris recognition and electronic device supporting the same | |
KR102117261B1 (en) | Range detection and bio-certification method, machine-readable storage medium and terminal | |
KR20190009101A (en) | Method for operating speech recognition service, electronic device and server supporting the same | |
CN108647504B (en) | Method and system for realizing information safety display | |
CN109215293A (en) | A kind of method for detecting fatigue driving, device and vehicle-mounted terminal equipment | |
CN110341617B (en) | Eyeball tracking method, device, vehicle and storage medium | |
EP3287924B1 (en) | Electronic device and method for measuring heart rate based on infrared rays sensor using the same | |
CN105512613A (en) | Smartphone-based eye fatigue detection method | |
EP3358443A1 (en) | Method and mobile device for activating eye tracking function | |
CN110971948A (en) | Control method and device of smart television, smart television and medium | |
US20200324074A1 (en) | Electronic device and method for providing information for stress relief by same | |
KR20180013564A (en) | Electronic device and method for controlling activation of camera module | |
CN103955271B (en) | A kind of mobile terminal and method that user's attitude detection is realized by operating system | |
CN106557168A (en) | Intelligent glasses and its control method, control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190611 |