CN108449490A - A kind of terminal control method and terminal - Google Patents

A kind of terminal control method and terminal Download PDF

Info

Publication number
CN108449490A
CN108449490A CN201810142056.9A CN201810142056A CN108449490A CN 108449490 A CN108449490 A CN 108449490A CN 201810142056 A CN201810142056 A CN 201810142056A CN 108449490 A CN108449490 A CN 108449490A
Authority
CN
China
Prior art keywords
area
target
point
value
color value
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
Application number
CN201810142056.9A
Other languages
Chinese (zh)
Other versions
CN108449490B (en
Inventor
杨章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810142056.9A priority Critical patent/CN108449490B/en
Publication of CN108449490A publication Critical patent/CN108449490A/en
Application granted granted Critical
Publication of CN108449490B publication Critical patent/CN108449490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

The embodiment of the invention discloses a kind of terminal control method and terminals, it is related to field of terminal technology, it can solve to shelter from portions of display content when being shown on the display interface of terminal due to suspension ball, user needs to operate or check after the suspension ball is moved to other regions, so that the problem that user's operation terminal is not convenient enough.Concrete scheme is:In touch-control control in the case where the first area being presently on display interface is unsatisfactory for preset condition, the second area for meeting preset condition is determined on display interface, the second area is for showing touch-control control;Touch-control control is controlled with predetermined manner, second area is moved to from first area;Wherein, preset condition be all pixels point in region color value within the scope of the same color value, the difference between maximum color value and minimum color value within the scope of the same color value is less than or equal to the first predetermined threshold value.During the embodiment of the present invention is applied to terminal control touch-control control.

Description

A kind of terminal control method and terminal
Technical field
The present embodiments relate to field of terminal technology more particularly to a kind of terminal control method and terminals.
Background technology
With the fast development of intelligent terminal, the display screen of terminal is increasingly intended to shield comprehensively.It generally, can be by taking The physical button (such as Home key, Menu key) of the display screen bottom of fpc terminal realizes screen comprehensively.
However, after the physical button of cancellation display screen bottom, user is in using terminal, it is also necessary to use these physics The shortcut function of button such as needs the display interface of terminal to return quickly to main screen.Currently, display circle of terminal can be passed through The suspension ball shown on face substitutes these physical buttons, realizes some shortcut functions of terminal.For example, user passes through to terminal Display interface on some icons in the suspension ball that shows operated, corresponding shortcut function is executed with triggering terminal, such as On the display interface, triggering terminal rapidly enters the functions such as main interface, screen locking and the backstage cleaning of terminal.
But in the above method, since suspension ball is shown on the display interface of terminal, it is thus possible to display can be sheltered from Certain contents shown on interface, and when user needs to these content operations or checks, user is firstly the need of by the suspension ball Other regions of the display interface are moved to, then could operate or check these contents, so that user's operation terminal is not It is enough convenient.
Invention content
A kind of terminal control method of offer of the embodiment of the present invention and terminal, to solve since suspension ball is in display circle of terminal Shelter from portions of display content when being shown on face, user need could to operate after the suspension ball is moved to other regions or It checks, so that the problem that user's operation terminal is not convenient enough.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme that:
The first aspect of the present invention provides a kind of terminal control method, can be applied to terminal, the display interface of the terminal On show touch-control control, which includes:In the first area that touch-control control is presently on display interface In the case of being unsatisfactory for preset condition, determine that the second area for meeting preset condition, the second area are used on display interface Show touch-control control;Touch-control control is controlled with predetermined manner, second area is moved to from first area;Wherein, preset condition is The color value of all pixels point in one region is within the scope of the same color value, within the scope of the same color value most Difference between big color value and minimum color value is less than or equal to the first predetermined threshold value.
The second aspect of the present invention provides a kind of terminal, touch-control control is shown on the display interface of the terminal, the terminal Including:Determination unit and control unit.Wherein it is determined that unit, for being presently on display interface in touch-control control In the case that one region is unsatisfactory for preset condition, the second area for meeting preset condition, secondth area are determined on display interface Domain is for showing touch-control control.Control unit is moved to from first area for controlling touch-control control with predetermined manner and determines list The second area that member determines.Wherein, preset condition is the color value of all pixels point in a region in the same color It is worth in range, the difference between maximum color value and minimum color value within the scope of the same color value is less than or equal to first Predetermined threshold value.
The third aspect of the present invention provides a kind of terminal, which includes processor, memory and store on a memory And the computer program that can be run on a processor, it is realized as described in relation to the first aspect when which is executed by processor The step of terminal control method.
The fourth aspect of the present invention provides a kind of computer readable storage medium, is deposited on the computer readable storage medium Computer program is stored up, the step of terminal control method as described in relation to the first aspect is realized when which is executed by processor Suddenly.
In embodiments of the present invention, terminal can control touch-control control and be moved to second area from first area.Due to One region be unsatisfactory for the region of preset condition, and preset condition is all pixels point in region color value same Within the scope of one color value, thus in first area touch-control control may shelter from shown on display interface it is certain in Hold, and second area is to meet the region of preset condition, therefore terminal control touch-control control is moved to the secondth area from first area Domain can make user when needing to operate or check these contents, not need to touch-control control being moved to display interface Other regions, to improve the convenience of user's operation terminal.
Description of the drawings
Fig. 1 is a kind of configuration diagram of Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of terminal control method flow chart one provided in an embodiment of the present invention;
Fig. 3 is a kind of example schematic of first area and second area provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal control method flowchart 2 provided in an embodiment of the present invention;
Fig. 5 is a kind of terminal control method flow chart 3 provided in an embodiment of the present invention;
Fig. 6 is a kind of example schematic one of target area provided in an embodiment of the present invention;
Fig. 7 is a kind of example schematic two of target area provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of hardware architecture diagram of terminal provided in an embodiment of the present invention.
Specific implementation mode
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 describes, 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, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Term " first " and " second " in the specification and claims of the embodiment of the present invention etc. are for distinguishing not Same object, rather than for the particular order of description object.For example, first area and second area etc. are for distinguishing difference Region, rather than for describing the particular order in region.It is unless otherwise indicated, " more in the description of the embodiment of the present invention It is a " meaning refer to two or more.
The terms "and/or" is a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein "/" indicates that affiliated partner is relationship such as A/B expressions A or B either.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
A kind of terminal control method of offer of the embodiment of the present invention and terminal, can be applied to the mistake of terminal control touch-control control Journey can solve to shelter from when being shown on the display interface of terminal due to suspension ball in the prior art in part shows Hold, user needs to operate or check after the suspension ball is moved to other regions, so that user's operation terminal is inadequate Convenient problem.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android (Android) operating system can be ios operating systems, can also be other possible operating systems, the embodiment of the present invention is not Make specific limit.
Below by taking Android operation system as an example, introduce what terminal control method provided in an embodiment of the present invention was applied Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, respectively:Application layer, application framework layer, system operation library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation of the frame in accordance with application program In the case of principle, some application programs are developed based on application framework layer.
System operation library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour All kinds of resources needed for it are provided as system.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of terminal control method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that The terminal control method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal can by The software program is run in Android operation system realizes terminal control method provided in an embodiment of the present invention.
In the first embodiment of the present invention, Fig. 2 shows a kind of terminal control method provided in an embodiment of the present invention, This method can be applied to the terminal for the Android operation system for having as shown in Figure 1.As shown in Fig. 2, the terminal control method packet Include step 201 and step 202:
Step 201, in touch-control control the case where the first area being presently on display interface is unsatisfactory for preset condition Under, terminal determines the second area for meeting preset condition on display interface.
Wherein, touch-control control is shown on the display interface of terminal, second area is for showing the touch-control control.
Optionally, in the embodiment of the present invention, preset condition is the color value of all pixels point in a region same Within the scope of one color value.
In the embodiment of the present invention, first area is unsatisfactory for preset condition and can be understood as:At least one of first area For the color value of pixel with the color value of other pixels not within the scope of the same color value, which is the firstth area Pixel in domain in addition at least one pixel;Second area meets preset condition and can be understood as:In second area The color value of all pixels point is within the scope of the same color value.
Optionally, in the embodiment of the present invention, between the maximum color value and minimum color value within the scope of the same color value Difference be less than or equal to the first predetermined threshold value.
Illustratively, it is assumed that include color value 1, color value 2 and the (color value 1 of color value 3 in color value range a<Color value 2<Color value 3), the difference between color value 3 and color value 1 in color value range a is less than the first predetermined threshold value.
Optionally, in the embodiment of the present invention, touch-control control can be suspended window, which can be round, rectangle Or irregular shape etc..
Optionally, in the embodiment of the present invention, the size of first area can be equal to or more than the size of touch-control control;The The size in two regions can be equal to or more than the size of touch-control control.
Illustratively, this sentences suspended window to be illustrated for circle.First area and second area all can be with The equal region of the size of suspended window.For example, the central point of suspended window the location of current coordinate on display interface For (x1, y1), and the radius of suspended window is R, first area can be the region completely overlapped with suspended window, i.e. first area The coordinate of central point is (x1, y1), and the radius of first area is R, and the coordinate of the central point of second area is (x2, y2), and The radius of second area is R.
Illustratively, it is illustrated so that terminal is mobile phone as an example.As shown in (1) in Fig. 3, the display interface 11 of mobile phone 10 On show suspended window 12, first area 13 is the region completely overlapped with suspended window 12, at the central point O points of first area 13 The color value of pixel be Y1, mobile phone 10 determines that Y1 belongs to color value range b, and determines and have at least one in first area 13 It the color value of a pixel and is not belonging in color value range b, mobile phone 10 then determines that first area 13 is unsatisfactory for preset condition;Such as Shown in (2) in Fig. 3, mobile phone 10 determines the second area 14 for meeting preset condition on display interface 11, second area 14 The color value of pixel at central point P points is Y2, and mobile phone 10 determines that Y2 belongs to color value range a, and determines second area 14 In all pixels point color value in color value range a, then mobile phone 10 shows suspended window 12 in the second area 14.
Optionally, in the embodiment of the present invention, in conjunction with Fig. 2, as shown in figure 4, before above-mentioned steps 201, the present invention is implemented The terminal control method that example provides further includes step 401:
Preset M color value is divided into N number of color value range by step 401, terminal.
Wherein, N and M is positive integer, and N is less than or equal to M.
In the embodiment of the present invention, the maximum color value and minimum face within the scope of each color value in N number of color value range Difference between color value is less than or equal to the first predetermined threshold value.Each the color value in color value range can be discrete, It can be continuous.
Illustratively, it is assumed that M=20.Preset 20 color values are divided into 15 color value ranges by terminal, this 15 Maximum color value within the scope of each color value in color value range and the difference between minimum color value are less than or equal to the One predetermined threshold value.
Optionally, in the embodiment of the present invention, the step 201 in Fig. 4 could alternatively be step 402:
Step 402, in touch-control control the case where the first area being presently on display interface is unsatisfactory for preset condition Under, if terminal is not determined by the second area for meeting preset condition on display interface, terminal repartitions M color value For K color value range.
Wherein, K is positive integer, and K is less than N, the maximum color value and minimum color value within the scope of the same color value it Between difference be less than or equal to the second predetermined threshold value, the second predetermined threshold value be more than the first predetermined threshold value.
In the embodiment of the present invention, terminal can be default in execution step 402 and then secondary satisfaction determining on display interface The second area of condition.
Illustratively, preset 20 color values are reclassified as 10 color value ranges by terminal, 10 color values It is default that the maximum color value within the scope of each color value in range and the difference between minimum color value are less than or equal to second Threshold value.
Optionally, in the embodiment of the present invention, in conjunction with Fig. 2, as shown in figure 5, above-mentioned steps 201 can specifically pass through step 501- steps 504 are realized:
Step 501, in touch-control control the case where the first area being presently on display interface is unsatisfactory for preset condition Under, terminal with the sum of the coordinate value of the central point of first area and the first default value be target's center's point, with the second present count Value is radius of target, determines target area.
In the embodiment of the present invention, in the case where first area is unsatisfactory for preset condition, terminal can be by first area The abscissa of central point adds the first default value plus the first default value and/or ordinate, obtains a point, and should Point is determined as target's center's point in step 501.
Optionally, in the embodiment of the present invention, the first default value can be positive number, or negative.
Illustratively, as shown in Figure 6, it is assumed that the coordinate of the central point O points of first area 13 is (x1, y1), and first is default Numerical value is c.The abscissa of coordinate (x1, y1) is added the first default value c by mobile phone 10, and ordinate adds the first default value C, obtains an O ' point, and the O ' coordinates are (x1+c, y1+c), and mobile phone 10 is determined as target's center's point by the O ', and with The radius R of first area is radius of target, determines target area 15.
Certainly, in the embodiment of the present invention, terminal can also be default plus one by the abscissa of the central point of first area Threshold value and/or ordinate add another default value, obtain target's center's point.
Step 502, in the case where target area meets preset condition, target area is determined as second area by terminal.
In the embodiment of the present invention, the color value of all pixels point in the target area is within the scope of the same color value In the case of, target area is determined as second area by terminal.
Step 503, in the case where target area is unsatisfactory for preset condition, terminal redefines target's center's point.
Wherein, the target's center's point redefined is a point on the first circumference, and the center of circle of the first circumference is the firstth area The central point in domain, the radius of the first circumference are the first distance, the first distance be first area central point with, with first area The distance between target's center's point that the sum of the coordinate value of central point and the first default value determine.
Illustratively, as shown in fig. 7, in the case where target area 15 is unsatisfactory for preset condition, mobile phone 10 is with the firstth area The central point O points in domain are the center of circle, using the first distance between O points and as radius, determine the first circumference 16, and first is justified at O ' A point (such as Q points) on week 16 is determined as target's center's point.
Step 504, terminal are using the target's center's point redefined as target's center's point, using the second default value as target half Diameter redefines target area, until determining after meeting the target area of preset condition, will meet the target of preset condition Region is determined as second area.
In the embodiment of the present invention, terminal can be pre- with second using the target's center's point redefined as target's center's point If numerical value is radius of target, after redefining target area, in the case where the target area is unsatisfactory for preset condition, terminal exists A point is redefined on first circumference again as target's center's point, using the second default value as radius of target, again again Target area is determined, until determining the target area for meeting preset condition.
Illustratively, as shown in fig. 7, mobile phone 10 can using the target's center's point Q points redefined as target's center's point, with Second default value is radius of target, redefines target area 17;In the case where target area 17 is unsatisfactory for preset condition, Mobile phone 10 can redefine a point again as target's center's point, using the second default value as target on the first circumference 16 Radius redefines target area again, until determining the target area for meeting preset condition.
Optionally, in the embodiment of the present invention, after above-mentioned steps 504, terminal control side provided in an embodiment of the present invention Method further includes step 505:
Step 505 is being not determined by the mesh for meeting preset condition using the arbitrary point on the first circumference as target's center's point In the case of marking region, terminal is with the sum of the coordinate value of target's center's point redefined and third default value for target's center Point redefines target area using the second default value as radius of target.
Optionally, in the embodiment of the present invention, the arbitrary point on the first circumference is the target area that target's center's point determines In the case of being unsatisfactory for preset condition, terminal can add the abscissa of the target's center's point redefined in step 503 Third default value and/or ordinate add third default value, obtain target's center's point in step 505, and pre- with second If numerical value is radius of target, target area is redefined.
Optionally, in the embodiment of the present invention, third default value can be positive number, or negative.
Certainly, in the embodiment of the present invention, terminal can also be by the central point of the target area redefined in step 503 Abscissa adds another default value plus a predetermined threshold value and/or ordinate, obtains the target's center in step 505 Point.
Optionally, in the embodiment of the present invention, for terminal after executing the step 505, terminal can continue to execute step 503- steps 505 determine the target area for meeting preset condition until determining after meeting the target area of preset condition For second area.
Optionally, in the embodiment of the present invention, above-mentioned steps 505 could alternatively be step 506:
If step 506 is not determined by the second area for meeting preset condition on display interface, terminal is preset second Numerical value is adjusted to the 4th default value, and the 4th default value is less than the second default value.
In the embodiment of the present invention, when terminal is not determined by the second area for meeting preset condition on display interface, eventually End can turn the second default value in step 501- steps 504 down as the 4th default value, then proceed to execute step 501- steps 505 redefine target area, until determining after meeting the target area of preset condition, item is preset by meeting The target area of part is determined as second area.
Certainly, in the embodiment of the present invention, terminal can also be the case where being not determined by the second area for meeting preset condition Under, adjust the size of touch-control control.
Step 202, terminal control touch-control control are moved to second area with predetermined manner from first area.
Optionally, in the embodiment of the present invention, predetermined manner can be at the uniform velocity move mode, gradual move mode, along straight Line move mode or along curve movement mode etc..
It is understood that in the embodiment of the present invention, in the case where user needs autonomous touch-control control, Yong Huke With by being operated in terminal, after closing the function of automatically moving touch-control control with triggering terminal, user can be by touch-control Control is moved to any position on the display interface of terminal, such as the centre position on display interface.
The embodiment of the present invention provides a kind of terminal control method, and terminal can control touch-control control and is moved to from first area Second area.Since first area is to be unsatisfactory for the region of preset condition, and preset condition is all pixels in a region The color value of point is within the scope of the same color value, therefore the touch-control control in first area may shelter from display circle The certain contents shown on face, and second area is to meet the region of preset condition, therefore terminal control touch-control control is from first Region is moved to second area, and user can be made when needing to operate or check these contents, do not needed to touch-control control Other regions of display interface are moved to, to improve the convenience of user's operation terminal.
In second of embodiment of the present invention, Fig. 8 shows a kind of possibility of the terminal involved in the embodiment of the present invention Structural schematic diagram, as shown in figure 8, the terminal 80 may include:Determination unit 81 and control unit 82.
Wherein it is determined that unit 81, pre- for being unsatisfactory in the first area that touch-control control is presently on display interface If in the case of condition, the second area for meeting preset condition is determined on display interface, the second area is for showing touch-control Control.Control unit 82, for controlling touch-control control with predetermined manner, be moved to that determination unit 81 determines from first area the Two regions.Wherein, preset condition be all pixels point in region color value within the scope of the same color value, should The difference between maximum color value and minimum color value within the scope of the same color value is less than or equal to the first predetermined threshold value.
In one possible implementation, determination unit 81 are specifically used for:With the coordinate value of the central point of first area With the sum of the first default value target area is determined using the second default value as radius of target for target's center's point;In target area In the case that domain meets preset condition, target area is determined as second area;It is unsatisfactory for the feelings of preset condition in target area Under condition, target's center's point is redefined;Wherein, the target's center's point redefined is a point on the first circumference, the first circle The center of circle in week is the central point of first area, and the radius of the first circumference is the first distance, and the first distance is the center of first area Point with, with the distance between target's center's point of the sum of the coordinate value of the central point of first area and the first default value determination; Target area is redefined using the second default value as radius of target as target's center's point using the target's center's point redefined, Until determining after meeting the target area of preset condition, the target area for meeting preset condition is determined as second area.
In one possible implementation, determination unit 81 are additionally operable to using the arbitrary point on the first circumference as target In the case that central point is not determined by the target area for meeting preset condition, with the coordinate value of the target's center's point redefined With the sum of third default value target area is redefined using the second default value as radius of target for target's center's point.
In one possible implementation, the terminal 80 in the embodiment of the present invention further includes:Adjustment unit.Wherein, it adjusts Whole unit adjusts the second default value if for being not determined by the second area for meeting preset condition on display interface For the 4th default value, the 4th default value is less than the second default value.
In one possible implementation, the terminal 80 in the embodiment of the present invention further includes:Division unit.Wherein, it draws Subdivision is unsatisfactory for default item for being determined in determination unit in the first area that touch-control control is presently on display interface In the case of part, determined on the display interface before meeting the second area of the preset condition, by preset M color Value is divided into N number of color value range, and N and M are positive integer, and N is less than or equal to M.
In one possible implementation, division unit is preset if being additionally operable to be not determined by display interface to meet M color value is then reclassified as K color value range by the second area of condition, and K is positive integer, and K is less than N, same The difference between maximum color value and minimum color value within the scope of color value is less than or equal to the second predetermined threshold value, this second Predetermined threshold value is more than the first predetermined threshold value.
Terminal 80 provided in an embodiment of the present invention can realize each process that terminal is realized in above method embodiment, be It avoids repeating, which is not described herein again for detailed description and advantageous effect.
In the third embodiment of the present invention, a kind of hardware knot of Fig. 9 terminals of each embodiment to realize the present invention Structure schematic diagram.As shown in figure 9, terminal device 100 includes but not limited to:Radio frequency unit 101, network module 102, audio output list Member 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, the components such as processor 110 and power supply 111.It will be understood by those skilled in the art that terminal device knot shown in Fig. 9 Structure does not constitute the restriction to terminal device, and terminal device may include components more more or fewer than diagram, or combine certain A little components or different components arrangement.In embodiments of the present invention, terminal device include but not limited to mobile phone, tablet computer, Laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 110, for being unsatisfactory for presetting in the first area that touch-control control is presently on display interface In the case of condition, the second area for meeting preset condition is determined on display interface, the second area is for showing touch-control control Part;Touch-control control is controlled with predetermined manner, second area is moved to from first area;Wherein, preset condition is in a region All pixels point color value within the scope of the same color value, maximum color value within the scope of the same color value and Difference between minimum color value is less than or equal to the first predetermined threshold value.
Terminal device 100 provided in an embodiment of the present invention can realize that terminal device is realized each in above method embodiment A process, to avoid repeating, which is not described herein again for detailed description and advantageous effect.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 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 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set Standby communication.
Terminal device has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function that end equipment 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (GraphicsProcessing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Terminal device 100 further includes at least one sensor 105, 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 1061, and proximity sensor can close when terminal device 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 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 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (OrganicLight-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with terminal device Family is arranged and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and 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 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in fig.9, touch panel 1071 and display Panel 1061 is to realize the function that outputs and inputs of terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this Place does not limit.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.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 108 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 terminal device 100 or can be used in 100 He of terminal device Transmission data between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, 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 110 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Reason device 110 may include one or more processing units;Preferably, processor 110 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 110.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 100 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 110, and memory 109 is stored in On memory 109 and the computer program that can be run on the processor 110, the computer program are executed by processor 110 Each process of Shi Shixian above method embodiments, and identical technique effect can be reached, it is no longer superfluous here to avoid repeating It states.
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, realizes each process of above method embodiment when which is executed by processor, and can reach identical Technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only memory (Read-OnlyMemory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or Person's CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only 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 this There is also other identical elements in the process of element, method, 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 add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station 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 in 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 the protection of the present invention.

Claims (12)

1. a kind of terminal control method, which is characterized in that be applied to terminal, touch-control control is shown on the display interface of the terminal Part, the method includes:
In the touch-control control in the case where the first area being presently on the display interface is unsatisfactory for preset condition, The second area for meeting the preset condition is determined on the display interface, the second area is for showing the touch-control control Part;
The touch-control control is controlled with predetermined manner, the second area is moved to from the first area;
Wherein, the preset condition be all pixels point in region color value within the scope of the same color value, The difference between maximum color value and minimum color value within the scope of the same color value is less than or equal to the first default threshold Value.
2. according to the method described in claim 1, it is characterized in that, described determined on the display interface meets described preset The second area of condition, including:
With the sum of the coordinate value of the central point of the first area and the first default value for target's center's point, with the second present count Value is radius of target, determines target area;
In the case where the target area meets the preset condition, the target area is determined as the second area;
In the case where the target area is unsatisfactory for the preset condition, target's center's point is redefined;Wherein, again Determining target's center's point is a point on the first circumference, and the center of circle of first circumference is in the first area Heart point, the radius of first circumference are the first distance, first distance be the first area central point with, with described The distance between target's center's point that the sum of the coordinate value of the central point of first area and the first default value determine;
Using the target's center's point redefined as target's center's point, using second default value as radius of target, again It determines the target area, until determining after meeting the target area of the preset condition, will meet described default The target area of condition is determined as the second area.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
The mesh for meeting the preset condition is being not determined by as target's center's point using the arbitrary point on first circumference In the case of marking region, with the sum of the coordinate value of target's center's point redefined and third default value for target's center Point redefines the target area using second default value as radius of target.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
If being not determined by the second area for meeting the preset condition on the display interface, described second is preset Numerical value is adjusted to the 4th default value, and the 4th default value is less than second default value.
5. according to the method described in claim 1, it is characterized in that, described be taken in the touch-control control in the display interface It is determining on the display interface to meet the preset condition in the case that preceding residing first area is unsatisfactory for preset condition Before second area, the method further includes:
Preset M color value is divided into N number of color value range, N and M are positive integer, and N is less than or equal to M.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
If being not determined by the second area for meeting the preset condition on the display interface, by the M color Value is reclassified as K color value range, and K is positive integer, and K is less than N, maximum color value within the scope of the same color value and Difference between minimum color value is less than or equal to the second predetermined threshold value, and it is default that second predetermined threshold value is more than described first Threshold value.
7. a kind of terminal, which is characterized in that show touch-control control on the display interface of the terminal, the terminal includes:
Determination unit, for being unsatisfactory for default item in the first area that the touch-control control is presently on the display interface In the case of part, the second area for meeting the preset condition is determined on the display interface, the second area is for showing Show the touch-control control;
Control unit is moved to the determination unit for controlling the touch-control control with predetermined manner from the first area The determining second area;
Wherein, the preset condition be all pixels point in region color value within the scope of the same color value, The difference between maximum color value and minimum color value within the scope of the same color value is less than or equal to the first default threshold Value.
8. terminal according to claim 7, which is characterized in that the determination unit is specifically used for:
With the sum of the coordinate value of the central point of the first area and the first default value for target's center's point, with the second present count Value is radius of target, determines target area;
In the case where the target area meets the preset condition, the target area is determined as the second area;
In the case where the target area is unsatisfactory for the preset condition, target's center's point is redefined;Wherein, again Determining target's center's point is a point on the first circumference, and the center of circle of first circumference is in the first area Heart point, the radius of first circumference are the first distance, first distance be the first area central point with, with described The distance between target's center's point that the sum of the coordinate value of the central point of first area and the first default value determine;
Using the target's center's point redefined as target's center's point, using second default value as radius of target, again It determines the target area, until determining after meeting the target area of the preset condition, will meet described default The target area of condition is determined as the second area.
9. terminal according to claim 8, which is characterized in that the determination unit is additionally operable to first circumference On arbitrary point be in the case that target's center's point is not determined by the target area for meeting the preset condition, with again The sum of coordinate value and third default value of determining target's center's point are target's center's point, with second default value For radius of target, the target area is redefined.
10. terminal according to claim 9, which is characterized in that the terminal further includes:
Adjustment unit, if for being not determined by the second area for meeting the preset condition on the display interface, Second default value is adjusted to the 4th default value, the 4th default value is less than second default value.
11. terminal according to claim 7, which is characterized in that the terminal further includes:
Division unit, for determining be presently on the display interface in the touch-control control the in the determination unit In the case that one region is unsatisfactory for preset condition, on the display interface determine meet the preset condition second area it Before, preset M color value is divided into N number of color value range, N and M are positive integer, and N is less than or equal to M.
12. terminal according to claim 11, which is characterized in that the division unit, if being additionally operable in display circle It is not determined by the second area for meeting the preset condition on face, then the M color value is reclassified as K color It is worth range, K is positive integer, and K is less than N, the difference between maximum color value and minimum color value within the scope of the same color value Value is less than or equal to the second predetermined threshold value, and second predetermined threshold value is more than first predetermined threshold value.
CN201810142056.9A 2018-02-11 2018-02-11 Terminal control method and terminal Active CN108449490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810142056.9A CN108449490B (en) 2018-02-11 2018-02-11 Terminal control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810142056.9A CN108449490B (en) 2018-02-11 2018-02-11 Terminal control method and terminal

Publications (2)

Publication Number Publication Date
CN108449490A true CN108449490A (en) 2018-08-24
CN108449490B CN108449490B (en) 2020-11-17

Family

ID=63192467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810142056.9A Active CN108449490B (en) 2018-02-11 2018-02-11 Terminal control method and terminal

Country Status (1)

Country Link
CN (1) CN108449490B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814768A (en) * 2018-12-14 2019-05-28 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of the position optimization of suspended frame
CN111427492A (en) * 2020-03-19 2020-07-17 青岛海信移动通信技术股份有限公司 Display position control method and terminal
WO2022022443A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Method for moving control and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063123A (en) * 2014-05-28 2014-09-24 小米科技有限责任公司 Icon displaying method and device
CN104461287A (en) * 2014-11-27 2015-03-25 东莞宇龙通信科技有限公司 Handling method and device for floating object and terminal
CN105183862A (en) * 2015-09-11 2015-12-23 百度在线网络技术(北京)有限公司 POI labeling method and device
CN105302408A (en) * 2014-06-24 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for adjusting position of hover button and terminal
CN105808230A (en) * 2014-12-31 2016-07-27 深圳Tcl新技术有限公司 Method and device for moving suspension icon
CN106201181A (en) * 2016-06-29 2016-12-07 努比亚技术有限公司 The display device of icon and method in a kind of application
CN106909282A (en) * 2015-12-23 2017-06-30 阿里巴巴集团控股有限公司 Information processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063123A (en) * 2014-05-28 2014-09-24 小米科技有限责任公司 Icon displaying method and device
CN105302408A (en) * 2014-06-24 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for adjusting position of hover button and terminal
CN104461287A (en) * 2014-11-27 2015-03-25 东莞宇龙通信科技有限公司 Handling method and device for floating object and terminal
CN105808230A (en) * 2014-12-31 2016-07-27 深圳Tcl新技术有限公司 Method and device for moving suspension icon
CN105183862A (en) * 2015-09-11 2015-12-23 百度在线网络技术(北京)有限公司 POI labeling method and device
CN106909282A (en) * 2015-12-23 2017-06-30 阿里巴巴集团控股有限公司 Information processing method and device
CN106201181A (en) * 2016-06-29 2016-12-07 努比亚技术有限公司 The display device of icon and method in a kind of application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814768A (en) * 2018-12-14 2019-05-28 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of the position optimization of suspended frame
CN111427492A (en) * 2020-03-19 2020-07-17 青岛海信移动通信技术股份有限公司 Display position control method and terminal
WO2022022443A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Method for moving control and electronic device

Also Published As

Publication number Publication date
CN108449490B (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN109542282B (en) Interface display method and terminal equipment
CN110489029B (en) Icon display method and terminal equipment
CN107943551A (en) A kind of screen display method and mobile terminal
CN110445924B (en) Network task execution method and terminal equipment
CN109597551A (en) A kind of display control method and terminal device
CN108363524B (en) A kind of application icon display methods and mobile terminal
CN109828732A (en) A kind of display control method and terminal device
CN109976611B (en) Terminal device control method and terminal device
CN108287655A (en) A kind of interface display method, interface display apparatus and mobile terminal
CN109857495A (en) A kind of display control method and terminal device
CN109379484A (en) A kind of information processing method and terminal
CN110231972B (en) Message display method and terminal equipment
CN108762634A (en) A kind of control method and terminal
CN110069180A (en) A kind of function control method and terminal device
CN109032486A (en) A kind of display control method and terminal device
CN110058836A (en) A kind of output method and terminal device of audio signal
CN108900695A (en) A kind of display processing method and terminal device
CN108681427A (en) A kind of method and terminal device of access privilege control
CN110007822A (en) A kind of interface display method and terminal device
CN109753350A (en) A kind of method for managing resource and terminal device
CN108196757A (en) The setting method and mobile terminal of a kind of icon
CN110046013A (en) A kind of interface display method and terminal device
CN108449490A (en) A kind of terminal control method and terminal
CN110531903A (en) Screen display method, terminal device and storage medium
CN110012151A (en) A kind of information display method and terminal 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
GR01 Patent grant
GR01 Patent grant