CN106814934A - icon processing method and terminal device - Google Patents

icon processing method and terminal device Download PDF

Info

Publication number
CN106814934A
CN106814934A CN201611169968.2A CN201611169968A CN106814934A CN 106814934 A CN106814934 A CN 106814934A CN 201611169968 A CN201611169968 A CN 201611169968A CN 106814934 A CN106814934 A CN 106814934A
Authority
CN
China
Prior art keywords
icon
human face
face region
terminal device
region
Prior art date
Application number
CN201611169968.2A
Other languages
Chinese (zh)
Inventor
李海峰
Original Assignee
深圳市金立通信设备有限公司
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 深圳市金立通信设备有限公司 filed Critical 深圳市金立通信设备有限公司
Priority to CN201611169968.2A priority Critical patent/CN106814934A/en
Publication of CN106814934A publication Critical patent/CN106814934A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KRECOGNITION OF DATA; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K9/00Methods or arrangements for reading or recognising printed or written characters or for recognising patterns, e.g. fingerprints
    • G06K9/00221Acquiring or recognising human faces, facial parts, facial sketches, facial expressions
    • G06K9/00228Detection; Localisation; Normalisation

Abstract

The embodiment of the invention discloses a kind of icon processing method and terminal device, the method includes:Obtain the background image of the application interface of terminal device;Recognition of face is carried out to the background image, the human face region in the background image is determined;It is determined that positioned at the icon of the human face region;Hide the icon.Terminal device it is determined that after human face region in the background image of application interface, it is determined that the icon in the human face region, hides the above-mentioned icon in above-mentioned application interface;Therefore the icon in the application interface will not block the human face region in background image.

Description

Icon processing method and terminal device

Technical field

The present invention relates to technical field of image processing, more particularly to a kind of icon processing method and terminal device.

Background technology

Nowadays picture can be set used as desktop wallpaper on terminal device such as mobile phone, user can select according to the hobby of oneself Picture is selected as desktop wallpaper, such as can select the pictures such as portrait, landscape, building as desktop wallpaper.Such as user can be with One full-length picture of selection is used as desktop wallpaper.Continuous renewal with terminal device hardware and software is upgraded, and terminal device can be with Substantial amounts of application program is installed, and desktop screen space is limited, personage's background wallpaper that user is set is often by desktop On icon blocked, it is impossible to see personage's wallpaper of the part that is blocked clearly.If application program is relatively more on desktop, application program Icon can shelter from some important target areas, at this moment such as face is accomplished by manual moving icon.

The deficiency of above-mentioned technical proposal is:When the desktop icons of terminal device have blocked the important area of desktop wallpaper When, user can only be manually operated the icon on mobile desktop to show the important area part of desktop wallpaper.

The content of the invention

A kind of icon processing method and terminal device are the embodiment of the invention provides, is realized when desktop icons are arranged, table Face icon does not block the target image of application interface.

On the one hand a kind of icon processing method is the embodiment of the invention provides, including:

Obtain the background image of the application interface of terminal device;

Recognition of face is carried out to the background image, the human face region in the background image is determined;

It is determined that positioned at the icon of the human face region;

Hide the icon.

The two aspect embodiment of the present invention additionally provide a kind of terminal device, including:

Acquiring unit, the background image of the application interface for obtaining terminal device;

Recognition unit, for carrying out recognition of face to the background image, determines the human face region in the background image;

Determining unit, for determining the icon positioned at the human face region;

Hidden unit, for hiding the icon.

In an optional implementation, the hidden unit, the figure specifically for hiding the human face region Be marked with and the icon title;

Or, the icon specifically for hiding the human face region shows the name of the icon.

As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:Terminal device is it is determined that using boundary After human face region in the background image in face, it is determined that above-mentioned in the icon of the human face region, hiding above-mentioned application interface Icon;Therefore the icon in the application interface will not block the human face region in background image.

Brief description of the drawings

Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.

Fig. 1 is embodiment of the present invention icon process flow schematic diagram;

Fig. 2 is the schematic diagram of embodiment of the present invention terminal device application interface;

Fig. 3 is embodiment of the present invention another kind icon process flow schematic diagram;

Fig. 4 is embodiment of the present invention terminal device structural representation;

Fig. 5 is embodiment of the present invention terminal device structural representation;

Fig. 6 is embodiment of the present invention terminal device structural representation;

Fig. 7 is embodiment of the present invention terminal device structural representation;

Fig. 8 is embodiment of the present invention terminal device structural representation.

Specific embodiment

In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step ground is described in detail, it is clear that described embodiment is only some embodiments of the invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.

A kind of icon processing method is the embodiment of the invention provides, as shown in figure 1, including:

101st, the background image of the application interface of terminal device is obtained;

Above-mentioned terminal device for example can be mobile phone, panel computer, notebook computer, palm PC etc..Above-mentioned Background As can be terminal device background wallpaper in image, or the image in the photo that uses as background wallpaper.On It can be landscape, building, personage etc. to state background image.The background image of the application interface of above-mentioned acquisition terminal device can be carried Take the pictorial information on above-mentioned application interface.

102nd, recognition of face is carried out to above-mentioned background image, determines the human face region in above-mentioned background image;

Recognition of face can be carried out to above-mentioned background image using image recognition technology such as facial contour identification technology, marked Go out human face region, determine the human face region in above-mentioned background image;Above-mentioned background first can also be recognized using image recognition technology Whether have whether facial image has facial image in such as parsing above-mentioned background image by Photo Browser in image, if the above-mentioned back of the body Facial image is included in scape image, recycles facial contour identification technology to carry out recognition of face to above-mentioned background image, and then really Human face region in fixed above-mentioned background image.Specific face recognition process can enable recognition of face device, by above-mentioned Background image is acquired, detects, feature extraction, recognition of face matching etc., the human face region in above-mentioned background image is carried out Mark, produces above-mentioned human face region.As shown in Fig. 2 the face in the above-mentioned background image that is just to determine of the black region in figure Region.

103rd, the icon positioned at above-mentioned human face region is determined;

Above-mentioned icon can be that system icon such as system sets icon, or application icon such as camera icon, mailbox Icon etc..Each icon has certain distributed areas, as shown in Fig. 2 one icon of each square region domain representation in figure Part in addition to the icon title, the corresponding rectangular area in square area lower section represents the title of the icon, each icon Distributed areas include square area and corresponding rectangular region, that is, each icon is above-mentioned length by the title of icon Square region and the part in addition to the icon title are above-mentioned square area composition.As can be seen from Figure 2 application interface Second distributed areas of icon of first icon of left number and left number in middle first row icon intersect with the human face region I.e. both overlay areas partially overlap.Distributed areas are positioned at above-mentioned face area with the icon that above-mentioned human face region intersects The icon in domain.

104th, above-mentioned icon is hidden.

It can be that the title and the icon for hiding the icon positioned at the human face region remove icon name to hide above-mentioned icon Part beyond title, for example, hide the corresponding rectangle of two square areas and lower section on the first row left side in Fig. 2 Domain;It can also hide the part positioned at the icon of human face region in addition to the icon title, display to hide above-mentioned icon The name of the icon, for example, hide two square areas on the first row left side in Fig. 2, shows the two square areas Corresponding rectangular region;Hide the portion that above-mentioned icon can also be the distributed areas for hiding the icon positioned at above-mentioned human face region Subregion, for example, hide the rectangular region of the first icon, shows the square area of the first icon, or, hide the second figure Target square area, shows the square area of the first icon.

In the embodiment of the present invention, terminal device it is determined that after human face region in the background image of application interface, it is determined that position In the icon of the human face region, the above-mentioned icon in above-mentioned application interface is hidden;Therefore the icon in the application interface will not hide Human face region in gear background image.

The method that the embodiment of the present invention proposes hidden icons on the basis of preceding embodiment, it is specific as follows:It is described to hide The icon includes:

Hide the icon of the human face region and the title of the icon;

Or, the icon of the human face region is hidden, show the name of the icon.

Hide above-mentioned icon can be hide the human face region icon title and the icon except icon title with Outer part, for example, hide the corresponding rectangular region of two square areas and lower section on the first row left side in Fig. 2;It is hidden It can also be part of the icon of the hiding human face region in addition to the icon title to hide above-mentioned icon, show the icon Name, for example, hide two square areas on the first row left side in Fig. 2, shows that the two square areas are corresponding rectangular Shape region.After hiding the icon of above-mentioned human face region, the human face region of above-mentioned background image would not be blocked, or most of Region will not be blocked.

Two kinds of figure calibration methods of hiding human face region are provided in the embodiment of the present invention, a kind of method can ensure above-mentioned The human face region of background image will not be blocked, and another method is the name for only showing above-mentioned icon, can both be can know that The position of icon is stated, can also cause most of region of above-mentioned human face region will not be blocked.

The figure calibration method determined positioned at human face region is the embodiment of the invention provides, it is specific as follows:The determination is located at The icon of the human face region includes:

Obtain the distributed areas of each icon on the application interface;

It is determined that being target distribution region with the distributed areas that the human face region intersects;

Determine the icon that the corresponding icon in the target distribution region is the human face region.

Above-mentioned icon can be that system icon such as system sets icon, or icon such as camera icon, mailbox icon Deng.Each icon has certain distributed areas, as shown in Fig. 2 one icon of each square region domain representation in figure is removed and is somebody's turn to do Part beyond icon title, the corresponding rectangular area in square area lower section represents the title of the icon, each icon point Cloth region includes square area and corresponding rectangular region.As can be seen from Figure 2 in application interface in first row icon Second distributed areas of icon of first icon of left number and left number and the human face region intersect both areas of coverage i.e. Domain partially overlaps.Distributed areas and the icon that the icon that above-mentioned human face region intersects is positioned at above-mentioned human face region.

Desktop configuration file is a kind of record desktop icons (icon, system icon etc.), plug-in unit attribute (icon sizes, figure Mark species, icon display particular location etc.) file, by parsing this document, display desktop icons layout.It is determined that being located at face The specific method of the icon in region can be parsing desktop (application interface) configuration file, obtain application interface on all icons with And the distributed areas of plug-in unit;The distributed areas of calculation icon and plug-in unit and the human face region of background image are to apply boundary in screen Intersection region on face;Desktop configuration file is read and parsed, the icon existed in the intersection region is calculated;Only read the figure Entitling claims, and without reading part of the icon in addition to title, shows the icon title for having read, or, whole icon is all Do not read.

In the embodiment of the present invention, determine to be located at people by the way that whether the distributed areas and human face region that judge icon intersect The icon in face region, can accurately and rapidly determine to be located at the icon of human face region.

Provided in the embodiment of the present invention and start hiding figure calibration method, it is specific as follows:The icon is hidden described Afterwards, methods described also includes:

Receive the touch operation for the icon distributed areas;

The icon is shown, and starts the corresponding application of the icon;

Or, methods described also includes:

Receive the first touch operation for the icon distributed areas;

Show the icon;

Second touch operation of the detection for the icon distributed areas within the preset time;

If detecting second touch operation, start the corresponding application program of the icon;If not detecting described Second touch operation, hides the icon.

Above-mentioned icon can be the title and the icon of the icon for hiding the human face region in addition to icon title Part, i.e., whole icon;Can also be part of the icon of the hiding human face region in addition to the icon title, display is described The name of icon.After terminal device receives the touch operation for the icon distributed areas, the icon can be shown, and Start the corresponding application of the icon;The icon can also be shown and detected within the preset time for icon distribution Second touch operation in region, if detecting second touch operation, starts the corresponding application program of the icon;If Second touch operation is not detected in the preset time, then hides the icon.

In the embodiment of the present invention, there is provided two kinds start hiding figure calibration method, and user can easily start hiding Icon.

In the embodiment of the present invention, the method that target area is set is additionally provided, it is specific as follows:In the acquisition terminal device Application interface background image after, methods described also includes:

Receive target area and instruction is set;

The target area is set and instructs the region specified in the application interface to be set to target area;

The hiding icon includes:

It is determined that positioned at the target icon of the target area;

Hide the icon and the target icon.

There may be other target area user to wish not hidden by icon in addition to human face region in above-mentioned background image Gear.User can set target area, can determine to be located at the target icon of the target area using identical method, hide The icon of the human face region and the target icon.Set target area specific method can be receive user length by Operation, the distributed areas of the target icon that the length is directed to by operation are exactly target area;Can also be the slip behaviour for receiving user Make, the region that the slide is slipped over is target area.

In the embodiment of the present invention, by setting the icon in the vanishing target region of target area, the need of different user are met Ask.

A kind of icon processing method is the embodiment of the invention provides, as shown in figure 3, including:

301st, the background wallpaper on present terminal equipment desktop is obtained;

302nd, above-mentioned background wallpaper is browsed and is parsed by Photo Browser;

303rd, start recognition of face device, above-mentioned background wallpaper is acquired, is detected, feature extraction, recognition of face matching;

304th, the human face region in above-mentioned background wallpaper is marked, produces human face region;

305th, above-mentioned human face region is sent to above-mentioned terminal device;

306th, above-mentioned terminal device preserves the human face region;

307th, above-mentioned terminal device reads and parses desktop configuration file, obtains all desktop icons, the distributed area of plug-in unit Domain;

308th, judge that above-mentioned human face region whether there is intersection region with above-mentioned distributed areas;If there is intersection region execution 309, otherwise, perform 312;

309th, the intersection region of above-mentioned icon, the distributed areas of plug-in unit and above-mentioned human face region is calculated;

310th, read and parse desktop configuration file, calculate the icon existed in above-mentioned intersection region;

311st, the part beyond the icon in intersection region and icon title is read respectively, is only read desktop icons Title, without reading the part beyond desktop icons title, the desktop icons title that display has been read;

312nd, read and parse desktop configuration file;

313rd, the part beyond desktop icons title and desktop icons title is read respectively, is read desk-top picture entitling Claim and the part beyond desktop icons title;

314th, the part beyond the desktop icons title and desktop icons title for having read is shown;

315th, the touch operation for the only desktop icons of display icon title is received;

316th, re-read and parse desktop configuration file, show the part beyond desktop icons title and icon title;

If the 317, being not detected by the click for region residing for above-mentioned desktop icons or touch behaviour within the preset time Make, perform 311.

In the embodiment of the present invention, terminal device it is determined that after human face region in the background image of application interface, it is determined that position In the icon of the human face region, the title of the icon is only shown;Therefore most of region of the icon of the human face region will not hide Human face region in gear background image.

The embodiment of the present invention additionally provides a kind of terminal device, as shown in figure 4, including:

Acquiring unit 401, the background image of the application interface for obtaining terminal device;

Recognition unit 402, for carrying out recognition of face to the background image, determines the face area in the background image Domain;

Determining unit 403, for determining the icon positioned at the human face region;

Hidden unit 404, for hiding the icon.

Implementation method is identical with the icon processing method in Fig. 1, is not described herein in detail.

The method that the embodiment of the present invention proposes hidden icons on the basis of preceding embodiment, it is specific as follows:It is described to hide The icon includes:

The hidden unit 404, specifically for hiding the icon of the human face region and the title of the icon;

Or, the icon specifically for hiding the human face region shows the name of the icon.

Hide above-mentioned icon can be hide the human face region icon title and the icon except icon title with Outer part, for example, hide the corresponding rectangular region of two square areas and lower section on the first row left side in Fig. 2;It is hidden It can also be part of the icon of the hiding human face region in addition to the icon title to hide above-mentioned icon, show the icon Name, for example, hide two square areas on the first row left side in Fig. 2, shows that the two square areas are corresponding rectangular Shape region.After hiding the icon of above-mentioned human face region, the human face region of above-mentioned background image would not be blocked.

Two kinds of figure calibration methods of hiding human face region are provided in the embodiment of the present invention, a kind of method can ensure above-mentioned The human face region of background image will not be blocked, and another method is the name for only showing above-mentioned icon, can make user Know the position of above-mentioned icon, can also cause most of region of above-mentioned human face region will not be blocked.

The figure calibration method determined positioned at human face region is the embodiment of the invention provides, it is specific as follows:

The acquiring unit 401, the distributed areas specifically for obtaining each icon on the application interface;

The determining unit 403, specifically for determining that with the distributed areas that the human face region intersects be target distribution Region;Determine the icon that the corresponding icon in the target distribution region is the human face region.

Above-mentioned icon can be that system icon such as system sets icon, or icon such as camera icon, mailbox icon Deng.Each icon has certain distributed areas, as shown in Fig. 2 one icon of each square region domain representation in figure is removed and is somebody's turn to do Part beyond icon title, the corresponding rectangular area in square area lower section represents the title of the icon, each icon point Cloth region includes square area and corresponding rectangular region.As can be seen from Figure 2 in application interface in first row icon Second distributed areas of icon of first icon of left number and left number and the human face region intersect both areas of coverage i.e. Domain partially overlaps.Distributed areas and the icon that the icon that above-mentioned human face region intersects is positioned at above-mentioned human face region.

Desktop configuration file is a kind of record desktop icons (icon, system icon etc.), plug-in unit attribute (icon sizes, figure Mark species, icon display particular location etc.) file, by parsing this document, display desktop icons layout.It is determined that being located at face The specific method of the icon in region can be parsing desktop (application interface) configuration file, obtain application interface on all icons with And the distributed areas of plug-in unit;The distributed areas of calculation icon and plug-in unit and the human face region of background image are to apply boundary in screen Intersection region on face;Desktop configuration file is read and parsed, the icon existed in the intersection region is calculated;Only read the figure Entitling claims, and without reading part of the icon in addition to title, shows the icon title for having read, or, whole icon is all Do not read.

In the embodiment of the present invention, determine to be located at people by the way that whether the distributed areas and human face region that judge icon intersect The icon in face region, can accurately and rapidly determine to be located at the icon of human face region.

Provided in the embodiment of the present invention and start hiding figure calibration method, it is specific as follows:Further, as shown in figure 5, The terminal device also includes:

First receiving unit 501, for receiving the touch operation for the icon distributed areas;

First display unit 502, for showing the icon;

First start unit 503, for starting the corresponding application of the icon;

Or, the terminal device also includes:

Second receiving unit 504, for receiving the first touch operation for the icon distributed areas;

Second display unit 505, for showing the icon;

Detection unit 506, for second touch operation of the detection for the icon distributed areas within the preset time;

Second start unit 507, for after the detection unit detects second touch operation, starting the figure Mark corresponding application program;

The hidden unit 404, is additionally operable to after the detection unit does not detect second touch operation, hides The icon.

Above-mentioned icon can be the title and the icon of the icon for hiding the human face region in addition to icon title Part, i.e., whole icon;Can also be part of the icon of the hiding human face region in addition to the icon title, display is described The name of icon.After terminal device receives the touch operation for the icon distributed areas, the icon can be shown, and Start the corresponding application of the icon;The icon can also be shown and the icon distributed area is directed in preset time detecting Second touch operation in domain, if detecting second touch operation within the preset time, the startup icon is corresponding should Use program;If not detecting second touch operation within the preset time, the icon is hidden.

In the embodiment of the present invention, there is provided two kinds start hiding figure calibration method, and user can easily start hiding Icon.

In the embodiment of the present invention, the method that target area is set is additionally provided, it is specific as follows:Further, such as Fig. 6 institutes Show, the terminal device also includes:

3rd receiving unit 601, instruction is set for receiving target area;

Setting unit 602, for the target area to be set into the region setting that instruction is specified in the application interface It is target area;

The determining unit 403, specifically for determining the target icon positioned at the target area;

The hidden unit 404, specifically for hiding the icon and the target icon.

There may be other target area user to wish not hidden by icon in addition to human face region in above-mentioned background image Gear.User can set target area, can determine to be located at the target icon of the target area using identical method, hide The icon of the human face region and the target icon.Set target area specific method can be receive user length by Operation, the distributed areas of the target icon that the length is directed to by operation are exactly target area;Can also be the slip behaviour for receiving user Make, the region that the slide is slipped over is target area.

In the embodiment of the present invention, by setting the icon in the vanishing target region of target area, the need of different user are met Ask.

The embodiment of the present invention additionally provides a kind of terminal device, as shown in fig. 7, comprises:Processor 701, memory 702, Input equipment 703, output equipment 704;Wherein memory 702 can be used for processor 701 perform it is slow required for data processing Deposit, can be also used for providing the memory space of the result data that processor 701 performs the data called of data processing and acquisition; Input equipment 703 is used to receive touch operation of user etc., and output equipment 704 is used to show application interface;

Wherein, above-mentioned processor 701, the background image of the application interface for obtaining terminal device;To the Background As carrying out recognition of face, the human face region in the background image is determined;It is determined that positioned at the icon of the human face region;Hide institute State icon.

Above-mentioned terminal device for example can be mobile phone, panel computer, notebook computer, palm PC etc..Above-mentioned Background As can be terminal device background wallpaper in image, or the image in the photo that uses as background wallpaper.On It can be landscape, building, personage etc. to state background image.The background image of the application interface of above-mentioned acquisition terminal device can be carried Take the picture on above-mentioned application interface.

Recognition of face can be carried out to above-mentioned background image using image recognition technology such as facial contour identification technology, marked Go out human face region, determine the human face region in above-mentioned background image;Above-mentioned background first can also be recognized using image recognition technology Whether have whether facial image has facial image in such as parsing above-mentioned background image by Photo Browser in image, if the above-mentioned back of the body Facial image is included in scape image, recycles facial contour identification technology to carry out recognition of face to above-mentioned background image, and then really Human face region in fixed above-mentioned background image.Specific face recognition process can enable recognition of face device, by above-mentioned Background image is acquired, detects, feature extraction, recognition of face matching etc., the human face region in above-mentioned background image is carried out Mark, produces above-mentioned human face region.As shown in Fig. 2 the face in the above-mentioned background image that is just to determine of the black region in figure Region.

Above-mentioned icon can be that system icon such as system sets icon, or application icon such as camera icon, mailbox Icon etc..Each icon has certain distributed areas, as shown in Fig. 2 one icon of each square region domain representation in figure Part in addition to the icon title, the corresponding rectangular area in square area lower section represents the title of the icon, each icon Distributed areas include square area and corresponding rectangular region.Each icon is above-mentioned rectangle by the title of icon Domain and the part in addition to the icon title are above-mentioned square area composition.As can be seen from Figure 2 first in application interface Second distributed areas of icon of first icon of left number and left number and the human face region in row's icon intersect i.e. both Overlay area partially overlap.Distributed areas and the figure that the icon that above-mentioned human face region intersects is positioned at above-mentioned human face region Mark.

It can be that the title and the icon for hiding the icon positioned at the human face region remove icon name to hide above-mentioned icon Part beyond title, for example, hide the corresponding rectangle of two square areas and lower section on the first row left side in Fig. 2 Domain;It can also hide the part positioned at the icon of human face region in addition to the icon title, display to hide above-mentioned icon The name of the icon, for example, hide two square areas on the first row left side in Fig. 2, shows the two square areas Corresponding rectangular region;Hide the portion that above-mentioned icon can also be the distributed areas for hiding the icon positioned at above-mentioned human face region Subregion, for example, hide the rectangular region of the first icon, shows the square area of the first icon, or, hide the second figure Target square area, shows the square area of the first icon.

In the embodiment of the present invention, terminal device it is determined that after human face region in the background image of application interface, it is determined that position In the icon of the human face region, the above-mentioned icon in above-mentioned application interface is hidden;Therefore the icon in the application interface will not hide Human face region in gear background image.

The method that the embodiment of the present invention proposes hidden icons on the basis of preceding embodiment, it is specific as follows:Above-mentioned treatment Device 701, includes for hiding the icon:

Hide the icon of the human face region and the title of the icon;

Or, the icon of the human face region is hidden, show the name of the icon.

Hide above-mentioned icon can be hide the human face region icon title and the icon except icon title with Outer part, for example, hide the corresponding rectangular region of two square areas and lower section on the first row left side in Fig. 2;It is hidden It can also be part of the icon of the hiding human face region in addition to the icon title to hide above-mentioned icon, show the icon Name, for example, hide two square areas on the first row left side in Fig. 2, shows that the two square areas are corresponding rectangular Shape region.After hiding the icon of above-mentioned human face region, the human face region of above-mentioned background image would not be blocked.

Two kinds of figure calibration methods of hiding human face region are provided in the embodiment of the present invention, a kind of method can ensure the above-mentioned back of the body The human face region of scape image will not be blocked, and another method is the name for only showing above-mentioned icon, can know user The position of the above-mentioned icon in road, can also cause most of region of above-mentioned human face region will not be blocked.

The figure calibration method determined positioned at human face region is the embodiment of the invention provides, it is specific as follows:Above-mentioned processor 701, for determining that the icon positioned at the human face region includes:

Obtain the distributed areas of each icon on the application interface;

It is determined that being target distribution region with the distributed areas that the human face region intersects;

Determine the icon that the corresponding icon in the target distribution region is the human face region.

Above-mentioned icon can be that system icon such as system sets icon, or icon such as camera icon, mailbox icon Deng.Each icon has certain distributed areas, as shown in Fig. 2 one icon of each square region domain representation in figure is removed and is somebody's turn to do Part beyond icon title, the corresponding rectangular area in square area lower section represents the title of the icon, each icon point Cloth region includes square area and corresponding rectangular region.As can be seen from Figure 2 in application interface in first row icon Second distributed areas of icon of first icon of left number and left number and the human face region intersect both areas of coverage i.e. Domain partially overlaps.Distributed areas and the icon that the icon that above-mentioned human face region intersects is positioned at above-mentioned human face region.

Desktop configuration file is a kind of record desktop icons (icon, system icon etc.), plug-in unit attribute (icon sizes, figure Mark species, icon display particular location etc.) file, by parsing this document, display desktop icons layout.It is determined that being located at face The specific method of the icon in region can be parsing desktop (application interface) configuration file, obtain application interface on all icons with And the distributed areas of plug-in unit;The distributed areas of calculation icon and plug-in unit and the human face region of background image are to apply boundary in screen Intersection region on face;Desktop configuration file is read and parsed, the icon existed in the intersection region is calculated;Only read the figure Entitling claims, and without reading part of the icon in addition to title, shows the icon title for having read, or, whole icon is all Do not read.

In the embodiment of the present invention, determine to be located at people by the way that whether the distributed areas and human face region that judge icon intersect The icon in face region, can accurately and rapidly determine to be located at the icon of human face region.

Provided in the embodiment of the present invention and start hiding figure calibration method, it is specific as follows:Above-mentioned processor 701, also uses In after the hiding icon, the touch operation for the icon distributed areas is received;

The icon is shown, and starts the corresponding application of the icon;

Or, it is described to be additionally operable to receive the first touch operation for the icon distributed areas;

Show the icon;

Second touch operation of the detection for the icon distributed areas within the preset time;

If detecting second touch operation, start the corresponding application program of the icon;If not detecting described Second touch operation, hides the icon.

Above-mentioned icon can be the title and the icon of the icon for hiding the human face region in addition to icon title Part, i.e., whole icon;Can also be part of the icon of the hiding human face region in addition to the icon title, display is described The name of icon.After terminal device receives the touch operation for the icon distributed areas, the icon can be shown, and Start the corresponding application of the icon;The icon can also be shown and the icon distributed area is directed in preset time detecting Second touch operation in domain, if detecting second touch operation, starts the corresponding application program of the icon;If not examining Second touch operation is measured, the icon is hidden.

In the embodiment of the present invention, there is provided two kinds start hiding figure calibration method, and user can easily start hiding Icon.

In the embodiment of the present invention, the method that target area is set is additionally provided, it is specific as follows:Above-mentioned processor 701, also uses In after the background image of the application interface of the acquisition terminal device, receive target area and instruction is set;

The target area is set and instructs the region specified in the application interface to be set to target area;

The hiding icon includes:

It is determined that positioned at the target icon of the target area;

Hide the icon and the target icon.

There may be other target area user to wish not hidden by icon in addition to human face region in above-mentioned background image Gear.User can set target area, and the target icon positioned at the target area is determined using identical method, hide described The icon of human face region and the target icon.The specific method for setting target area can be the length for receiving user by behaviour Make, the distributed areas of the target icon that the length is directed to by operation are exactly target area;Can also be the slide for receiving user, The region that the slide is slipped over is target area.

In the embodiment of the present invention, different user can be met with the icon in vanishing target region by setting target area Demand.

The embodiment of the present invention additionally provides another terminal device, as shown in figure 8, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details is not disclosed, and refer to present invention method part.The terminal Equipment can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that terminal device is as mobile phone as an example:

Fig. 8 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal device provided in an embodiment of the present invention.Ginseng Fig. 8 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, display unit 840th, sensor 850, voicefrequency circuit 860, Wireless Fidelity (wireless fidelity, WiFi) module 870, processor 880, And the grade part of power supply 890.It will be understood by those skilled in the art that the handset structure shown in Fig. 8 is not constituted to mobile phone Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.

Each component parts of mobile phone is specifically introduced with reference to Fig. 8:

RF circuits 810 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, processed to processor 880;In addition, up data is activation will be designed to base station.Generally, RF circuits 810 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 810 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..

Memory 820 can be used to store software program and module, and processor 880 is by running storage in memory 820 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 820 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 820 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.

Input block 830 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 830 may include that contact panel 831 and other inputs set Standby 832.Contact panel 831, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses The operation of any suitable object such as finger, stylus or annex on contact panel 831 or near contact panel 831), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 831 may include touch detecting apparatus and touch Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 880, and the order sent of receiving processor 880 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input Unit 830 can also include other input equipments 832.Specifically, other input equipments 832 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..

Display unit 840 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 840 may include display panel 841, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 841.Further, contact panel 831 can cover display panel 841, when contact panel 831 detect it is thereon or attached After near touch operation, processor 880 is sent to determine the type of touch event, with preprocessor 880 according to touch event Type corresponding visual output is provided on display panel 841.Although in fig. 8, contact panel 831 and display panel 841 It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control Panel 831 and display panel 841 be integrated and input that realize mobile phone and output function.

Mobile phone may also include at least one sensor 850, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 841, proximity transducer can close display panel 841 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.

Voicefrequency circuit 860, loudspeaker 861, microphone 862 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 860 will can receive, is transferred to loudspeaker 861, and sound is converted to by loudspeaker 861 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860 It is changed to voice data, then after voice data output processor 880 is processed, through RF circuits 810 to be sent to such as another mobile phone, Or export to memory 820 so as to further treatment voice data.

WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 8 shows WiFi module 870, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.

Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 820 and/or module, and call storage in memory 820 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 880 can be wrapped Include one or more processing units;Preferably, processor 880 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 880.

Mobile phone also includes the power supply 890 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 880, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.

Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..

In previous embodiment, the structure that each step method flow can be based on the terminal device is realized.It is worth noting that, In above-mentioned unlocked by fingerprint control device embodiment, included unit is to be divided according to function logic, but simultaneously Above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, the specific name of each functional unit is also For the ease of mutually differentiation, the protection domain being not intended to limit the invention.

In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in above-mentioned each method embodiment The hardware that program be can be by instruct correlation is completed, and corresponding program can be stored in a kind of computer-readable recording medium In, storage medium mentioned above can be read-only storage, disk or CD etc..

The present invention preferably specific embodiment is these are only, but protection scope of the present invention is not limited thereto, it is any Those familiar with the art the change that can readily occur in or replaces in the technical scope that the embodiment of the present invention is disclosed Change, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Enclose and be defined.

Claims (10)

1. a kind of icon processing method, it is characterised in that including:
Obtain the background image of the application interface of terminal device;
Recognition of face is carried out to the background image, the human face region in the background image is determined;
It is determined that positioned at the icon of the human face region;
Hide the icon.
2. method according to claim 1, it is characterised in that described to hide the icon and include:
Hide the icon of the human face region and the title of the icon;
Or, the icon of the human face region is hidden, show the name of the icon.
3. method according to claim 1 or claim 2, it is characterised in that the determination is located at the icon bag in the human face region Include:
Obtain the distributed areas of each icon on the application interface;
It is determined that being target distribution region with the distributed areas that the human face region intersects;
Determine the icon that the corresponding icon in the target distribution region is the human face region.
4. method according to claim 1 or claim 2, it is characterised in that it is described hide the icon after, methods described is also wrapped Include:
Receive the touch operation for the icon distributed areas;
The icon is shown, and starts the corresponding application of the icon;
Or, methods described also includes:
Receive the first touch operation for the icon distributed areas;
Show the icon;
Second touch operation of the detection for the icon distributed areas within the preset time;
If detecting second touch operation, start the corresponding application program of the icon;If not detecting described second Touch operation, hides the icon.
5. method according to claim 1, it is characterised in that in the background image of the application interface of the acquisition terminal device Afterwards, methods described also includes:
Receive target area and instruction is set;
The target area is set and instructs the region specified in the application interface to be set to target area;
The hiding icon includes:
It is determined that positioned at the target icon of the target area;
Hide the icon and the target icon.
6. a kind of terminal device, it is characterised in that including:
Acquiring unit, the background image of the application interface for obtaining terminal device;
Recognition unit, for carrying out recognition of face to the background image, determines the human face region in the background image;
Determining unit, for determining the icon positioned at the human face region;
Hidden unit, for hiding the icon.
7. terminal device according to claim 6, it is characterised in that
The hidden unit, specifically for hiding the icon of the human face region and the title of the icon;
Or, the icon specifically for hiding the human face region shows the name of the icon.
8. the terminal device according to claim 6 or 7, it is characterised in that
The acquiring unit, the distributed areas specifically for obtaining each icon on the application interface;
The determining unit, specifically for determining that with the distributed areas that the human face region intersects be target distribution region;Really Determine the icon that the corresponding icon in the target distribution region is the human face region.
9. the terminal device according to claim 6 or 7, it is characterised in that the terminal device also includes:
First receiving unit, for receiving the touch operation for the icon distributed areas;
First display unit, for showing the icon;
First start unit, for starting the corresponding application of the icon;
Or, the terminal device also includes:
Second receiving unit, for receiving the first touch operation for the icon distributed areas;
Second display unit, for showing the icon;
Detection unit, for second touch operation of the detection for the icon distributed areas within the preset time;
Second start unit, for after the detection unit detects second touch operation, starting the icon correspondence Application program;
The hidden unit, is additionally operable to after the detection unit does not detect second touch operation, hides the figure Mark.
10. the terminal device according to claim 6 or 7, it is characterised in that the terminal device also includes:
3rd receiving unit, instruction is set for receiving target area;
Setting unit, instructs the region specified in the application interface to be set to target area for the target area to be set Domain;
The determining unit, specifically for determining the target icon positioned at the target area;
The hidden unit, specifically for hiding the icon and the target icon.
CN201611169968.2A 2016-12-16 2016-12-16 icon processing method and terminal device CN106814934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611169968.2A CN106814934A (en) 2016-12-16 2016-12-16 icon processing method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611169968.2A CN106814934A (en) 2016-12-16 2016-12-16 icon processing method and terminal device

Publications (1)

Publication Number Publication Date
CN106814934A true CN106814934A (en) 2017-06-09

Family

ID=59110693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611169968.2A CN106814934A (en) 2016-12-16 2016-12-16 icon processing method and terminal device

Country Status (1)

Country Link
CN (1) CN106814934A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797742A (en) * 2017-11-14 2018-03-13 北京安云世纪科技有限公司 Adjust the method, apparatus and terminal of widget transparency
WO2019061282A1 (en) * 2017-09-29 2019-04-04 深圳传音通讯有限公司 Intelligent terminal and method for displaying application icons thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019061282A1 (en) * 2017-09-29 2019-04-04 深圳传音通讯有限公司 Intelligent terminal and method for displaying application icons thereof
CN107797742A (en) * 2017-11-14 2018-03-13 北京安云世纪科技有限公司 Adjust the method, apparatus and terminal of widget transparency

Similar Documents

Publication Publication Date Title
JP2015534693A (en) Desktop display method, apparatus, terminal, program, and recording medium
CN103309673B (en) A kind of conversation processing method based on gesture, device
KR20140076261A (en) Terminal and method for providing user interface using pen
WO2016107501A1 (en) Intelligent device control method and device
CN103455256B (en) The method and terminal of Rotation screen display picture
CN103400108B (en) Face identification method, device and mobile terminal
CN104966005B (en) A kind of access control method, and terminal device
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN106126015B (en) A kind of application program launching control method and terminal
WO2013182068A1 (en) Page display method, device and terminal
CN103853819B (en) A kind of method of acquisition of information, terminal and system
EP2890105A1 (en) Method, apparatus and terminal for generating thumbnail of image
CN104571979B (en) A kind of method and apparatus for realizing split view
CN104571787B (en) A kind of message display method and communication terminal
CN104519262B (en) Obtain the method, apparatus and terminal of video data
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
TWI512525B (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
CN106406892A (en) A shortcut function display method and device for applications and a terminal apparatus
CN104298436B (en) A kind of quickly revert operating method and terminal
CN104216915A (en) Webpage processing method, device and terminal equipment
CN104571778B (en) screen locking picture setting method and device
CN104238918A (en) List view assembly sliding display method and device
CN105498213B (en) Aiming method and device in shooting game
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN104519404B (en) The player method and device of graphic interchange format file

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170609