Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that the combined method of a kind of picture and electronic equipment.
The problem that can solve how to reduce user operation complexity.
In order to solve above-mentioned technical problem, embodiments providing the combined method of a kind of picture, described method should
For electronic equipment, including:
When monitoring the target moved on display interface picture to be combined and stopping mobile, obtain described target and treat
The Pictures location that combination picture is residing after stopping moving;
The layout templates mated with described Pictures location is obtained according to described Pictures location;
Picture to be combined for described target is filled to described layout templates, is combined picture.
Wherein, described when monitoring the target moved on display interface picture to be combined and stopping mobile, obtain
Include before the Pictures location that described target picture to be combined is residing after stopping moving:
Monitor the drag operation that the target picture to be combined for display is carried out, when monitoring described drag operation, root
Described target picture to be combined is moved according to described drag operation.
Wherein, described when monitoring the target moved on display interface picture to be combined and stopping mobile, obtain
Include before the Pictures location that described target picture to be combined is residing after stopping moving:
Obtain and be chosen at least one picture to be combined carrying out picture combination;
Target picture to be combined is selected from described at least one picture to be combined;
Display interface shows described target picture to be combined.
Wherein, the described layout templates mated with described Pictures location according to the acquisition of described Pictures location includes:
The quantity of at least one picture to be combined described in acquisition;
From preset layout templates, at least one layout templates with described quantity Matching is obtained based on described quantity;
The target layout template mated with described Pictures location is obtained from least one layout templates described.
Wherein, described target layout template includes at least one phase cell;
The described target layout template mated with described Pictures location that obtains from least one layout templates described includes:
The phase cell position of each phase cell in each target layout template is obtained from least one layout templates described;
Calculate the distance between the phase cell position of each phase cell and described Pictures location, according to described each phase cell position with
Distance between described Pictures location obtains the target phase cell position that the spacing with described Pictures location is minimum;
Determine target phase cell according to described target phase cell position, the layout templates belonging to described target phase cell is defined as mesh
Mark layout templates.
Wherein, described filling by picture to be combined for described target to being combined picture in described layout templates includes:
Picture to be combined for described target is filled to described target phase cell;
In described at least one picture to be combined, by other pictures to be combined in addition to described target picture to be combined
Fill to other phase cells in addition to described target phase cell in described target layout template;
Combination picture is generated according to the layout templates after filling.
Wherein, described in described at least one picture to be combined, by other in addition to described target picture to be combined
In picture to be combined filling extremely described target layout template, other phase cells in addition to described target phase cell include:
When arbitrary the combination picture monitored in other pictures to be combined described carries out being dragged in other phase cells described
The operation of position at any one phase cell place time, described arbitrary picture to be combined is filled to any one phase cell described.
Correspondingly, the embodiment of the present invention also provides for the combination unit of a kind of picture, and described device includes:
First acquiring unit, for mobile when monitoring the stopping of the target moved on display interface picture to be combined
Time, obtain Pictures location residing after described target picture to be combined stops moving;
Second acquisition unit, for obtaining the layout templates mated with described Pictures location according to described Pictures location;
Combination picture unit, is combined figure for being filled by picture to be combined for described target to described layout templates
Sheet.
Wherein, described device also includes:
Monitoring means, the drag operation carried out for the target picture to be combined shown for monitoring;
Mobile unit, for when described monitoring means monitors described drag operation, moves according to described drag operation
Described target picture to be combined.
Wherein, described device also includes:
3rd acquiring unit, for obtaining at least one picture to be combined being chosen to carry out picture combination;
Select unit, for selecting target picture to be combined from described at least one picture to be combined;
Display unit, for showing described target picture to be combined on display interface.
Wherein, described second acquisition unit includes:
First obtains subelement, is used for the quantity of at least one picture to be combined described in obtaining;
Second obtains subelement, for obtaining from preset layout templates and described quantity Matching based on described quantity
At least one layout templates;
3rd obtains subelement, for obtaining the mesh mated with described Pictures location from least one layout templates described
Mark layout templates.
Wherein, described target layout template includes at least one phase cell;
Described 3rd obtains subelement includes:
4th obtains subelement, every for obtain in each target layout template from least one layout templates described
The phase cell position of individual phase cell;
Computation subunit, for calculating the distance between the phase cell position of each phase cell and described Pictures location, according to institute
State the distance between each phase cell position and described Pictures location and obtain the target phase that the spacing with described Pictures location is minimum
Case is put;
Determine subelement, for determining target phase cell according to described target phase cell position, belonging to described target phase cell
Layout templates is defined as target layout template.
Wherein, described combination picture unit includes:
First fills subelement, for being filled to described target phase cell by picture to be combined for described target;
Second fills subelement, is used in described at least one picture to be combined, will be except described target picture to be combined
Outside other pictures to be combined fill to described target layout template other phase cells in addition to described target phase cell respectively
In;
Generate picture element unit cell, for generating combination picture according to the layout templates after filling.
Wherein, described second fill subelement specifically for:
Move to other phase cells described when monitoring arbitrary the combination picture in other pictures to be combined described
In any one phase cell in drag operation time, described arbitrary picture to be combined is filled to any one phase cell described.
Correspondingly, the embodiment of the present invention additionally provides a kind of electronic equipment, and described electronic equipment includes: housing, processor,
Memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and sets
Put on circuit boards;Power circuit, powers for each circuit or the device for electronic equipment;Memorizer is used for storing and can perform
Program code;Processor runs corresponding with executable program code by reading the executable program code of storage in memorizer
Program, for perform following steps:
When monitoring the target moved on display interface picture to be combined and stopping mobile, obtain described target and treat
The Pictures location that combination picture is residing after stopping moving;
The layout templates mated with described Pictures location is obtained according to described Pictures location;
Picture to be combined for described target is filled to described layout templates, is combined picture.
Correspondingly, the embodiment of the present invention additionally provides a kind of storage medium, and wherein, this storage medium is used for storing application journey
Sequence, described application program is for operationally performing the combined method of a kind of picture described in the embodiment of the present invention.
Correspondingly, the embodiment of the present invention additionally provides a kind of application program, and wherein, this application program is for operationally holding
The combined method of a kind of picture described in the row embodiment of the present invention.
In embodiments of the present invention, mobile when monitoring the stopping of the target moved on display interface picture to be combined
Time, obtain Pictures location residing after described target picture to be combined stops moving, obtain with described according to described Pictures location
The layout templates of Pictures location coupling, fills picture to be combined for described target and is combined picture to described layout templates,
This makes electronic equipment can automatically obtain applicable layout templates according to the position of target picture to be combined place screen to carry out group
Closing picture, convenient user operates, easy user operation, improves user operation interest simultaneously, improves Consumer's Experience.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
The executive agent of the present invention can be electronic equipment, described electronic equipment comprise the steps that mobile phone, panel computer,
Palm PC or mobile internet device (Mobile Internet Device, MID) etc., above-mentioned electronic equipment is only to lift
Example, and non exhaustive, including but not limited to above-mentioned electronic equipment.
Refer to Fig. 1, for the first embodiment schematic flow sheet of the combined method of a kind of picture of the present invention.As it is shown in figure 1,
The combined method of a kind of picture described in the present embodiment includes step:
S100, when monitoring the target moved on display interface picture to be combined and stopping mobile, obtains described
The Pictures location that target picture to be combined is residing after stopping moving.
In embodiments of the present invention, when user need to be combined into a pictures to plurality of pictures, the operable electronics of user sets
Standby input picture combined command, when electronic equipment receives the picture combined command of user's input, electronic equipment can show figure
Sheet combination operation interface, thus user this operation interface operable carries out picture combination.Wherein, certain pictures need to be specified as user
After combination during the position of place combination picture, as user need to specify certain pictures, after being combined, the position at place need to be in combination
The left position of photo, user can read the picture in electronic equipment photograph album by picture combination operation interface, selects target to treat
Combination picture operates.
In embodiments of the present invention, after user selects target picture to be combined, electronic equipment can show on display interface
Showing target picture to be combined or the thumbnail of display target picture to be combined, wherein, the picture of display or thumbnail can be carried out
Drag operation, display interface can be the display interface at picture combination operation interface.Concrete, user can by touch control device or
Person's finger drag target picture to be combined moves, to change its position on display interface, needed for moving it to user
Position, wherein, touch control device includes the equipment such as pointer.When user's drag target picture to be combined moves, electronics
Equipment can monitor user's drag operation for target picture to be combined, and according to drag operation position on display interface
Target picture to be combined is moved in change.
In embodiments of the present invention, when electronic equipment moves target picture to be combined according to drag operation, electronics
Equipment can monitor whether the target moved picture to be combined stops mobile, wherein, and the mesh that electronic equipment monitoring moves
Mark whether picture to be combined stops mobile including: electronic equipment monitoring target picture to be combined stops traveling time, when stopping moving
When the dynamic time is more than predetermined threshold value, electronic equipment can determine that monitoring target picture to be combined stops mobile.
In embodiments of the present invention, when electronic equipment monitoring to the target moved picture to be combined stops mobile,
Electronic equipment can obtain Pictures location residing after target picture to be combined stops moving, and wherein, Pictures location can be target
The center of picture to be combined, it is intended that the coordinate that position, limit or other positions preset are positioned on screen.
S101, obtains the layout templates mated with described Pictures location according to described Pictures location.
In embodiments of the present invention, layout templates is for indicating the layout of combination picture picture.Electronic equipment can set up cloth
Office's template base, layout templates storehouse can include that at least one layout templates, each layout templates can include at least one phase cell.Its
In, electronic equipment can receive the layout templates of other electronic equipments transmission to carry out storing to layout templates storehouse, or obtains
The layout templates that user is arranged voluntarily carries out storing to layout templates storehouse.When user need to be combined picture, user can be from
Layout templates storehouse obtains required layout templates and is combined picture.
In embodiments of the present invention, electronic equipment obtains the layout mated with described Pictures location according to described Pictures location
Template may is that layout templates storehouse retrieved by electronic equipment, and acquisition includes the layout mould of the phase cell matched with described Pictures location
Plate.
Concrete, electronic equipment obtains and includes that the layout templates of the phase cell matched with Pictures location may is that electronics sets
The phase cell position of the standby each phase cell that can obtain in layout templates storehouse in each layout templates, calculates each phase cell position and picture
Distance between position, and from the multiple distances obtained, obtain minimum range, obtain and Pictures location according to minimum range
The minimum target phase cell position of spacing, thus determine target phase cell according to target phase cell position, belonging to target phase cell
Layout templates is defined as target layout template.Wherein, the phase cell position of phase cell can be that the layout templates as belonging to phase cell is carried out
Generate combination picture when display interface is displayed in full screen, phase cell in the position at the place, region corresponding to this combination picture,
Wherein, the position of phase cell can be the center of phase cell, it is intended that position, limit or other positions preset are positioned on screen
Coordinate.
S102, fills picture to be combined for described target and is combined picture to described layout templates.
In embodiments of the present invention, picture to be combined for target can be filled the mesh to target layout template by electronic equipment
In mark phase cell, meanwhile, electronic equipment also can point out user to be read out photograph album by picture combination operation interface, selects other figures
Sheet is filled with as picture to be combined, thus picture to be combined is filled in target layout except described mesh by electronic equipment one by one
In mark other phase cells the most especially, after all phase cells in target layout template are all filled, electronic equipment will generate group
Close picture.Wherein, the picture to be combined of the target on combination picture drags with user relative to the position of combination picture on screen
The target picture to be combined that target picture to be combined stops movement is identical relative to the position of screen.
In embodiments of the present invention, mobile when monitoring the stopping of the target moved on display interface picture to be combined
Time, obtain Pictures location residing after described target picture to be combined stops moving, obtain with described according to described Pictures location
The layout templates of Pictures location coupling, fills picture to be combined for described target and is combined picture to described layout templates,
This makes electronic equipment can obtain, according to the position of target picture to be combined place screen, the layout templates being suitable for and is combined figure
Sheet, convenient user operates, easy user operation, improves user operation interest simultaneously, improves Consumer's Experience.
Refer to Fig. 2, for the second embodiment schematic flow sheet of the combined method of a kind of picture of the present invention.As in figure 2 it is shown,
The combined method of a kind of picture described in the present embodiment includes step:
S200, obtains and is chosen at least one picture to be combined carrying out picture combination.
In embodiments of the present invention, when user need to be combined into a pictures to plurality of pictures, the operable electronics of user sets
Standby input picture combined command, when electronic equipment receives the picture combined command of user's input, electronic equipment can show figure
Sheet combination operation interface, thus user this operation interface operable carries out picture combination.Wherein, user can be by picture combination behaviour
Make interface and read the picture in electronic equipment photograph album, select to carry out at least one picture to be combined of picture combination, thus electronics
Equipment can obtain at least one picture to be combined being chosen to carry out picture combination.
S201, selects target picture to be combined from described at least one picture to be combined.
In embodiments of the present invention, it is chosen to carry out at least one figure to be combined of picture combination when electronic equipment gets
During sheet, electronic equipment can show at least one picture to be combined on display interface, and user can be according to display on display interface
Selecting target picture to be combined at least one picture to be combined, wherein, target picture to be combined is that user need to specify a combination thereof
After the picture of position of place combination picture.When user selects target to be combined from least one picture to be combined of display
After picture, electronic equipment can obtain target picture to be combined.
S202, shows described target picture to be combined on display interface.
In embodiments of the present invention, when objective cross picture selected by electronic equipment gets user, electronic equipment
Other pictures on interface can be removed, only show target picture to be combined or the thumbnail of display target picture to be combined, its
In, the picture of display or thumbnail can carry out drag operation, and display interface can be the display interface at picture combination operation interface.
Concrete, user can be moved by touch control device or finger drag target picture to be combined, to change it on display circle
Position on face, moves it to user desired position, and wherein, touch control device includes the equipment such as pointer.When user drags mesh
Marking picture to be combined when moving, electronic equipment can monitor user's drag operation for target picture to be combined, and according to
Target picture to be combined is moved in the change of drag operation position on display interface.
S203, when monitoring the target moved on display interface picture to be combined and stopping mobile, obtains described
Target picture to be combined is residing Pictures location information after stopping moving.
S204, obtains the layout templates mated with described Pictures location according to described Pictures location.
In embodiments of the present invention, electronic equipment can obtain the quantity of at least one picture to be combined, based on described quantity
Obtain and at least one layout templates of described quantity Matching from preset layout templates, wherein, concrete it may be that from advance
The layout templates storehouse put obtains at least one cloth that the phase cell quantity included is consistent with the quantity of at least one picture to be combined
Office's template, then from least one layout templates, obtain the target layout template mated with described Pictures location.
In embodiments of the present invention, from least one layout templates, obtain the target layout mated with described Pictures location
Template concrete it may be that electronic equipment can from least one layout templates the phase case of each phase cell in each layout templates
Put, calculate the distance between each phase cell position and Pictures location, and from the multiple distances obtained, obtain minimum range, root
Obtain, according to minimum range, the target phase cell position that the spacing with Pictures location is minimum, thus determine mesh according to target phase cell position
Mark phase cell, is defined as target layout template by the layout templates belonging to target phase cell.Wherein, the phase cell position of phase cell can be by
Layout templates belonging to phase cell carry out generate combination picture when display interface is displayed in full screen, phase cell is in this combination picture institute
The position at corresponding place, region, wherein, the position of phase cell can be the center of phase cell, it is intended that position, limit or other are pre-
If the coordinate that is positioned on screen of position.
S205, fills picture to be combined for described target to described target phase cell.
In embodiments of the present invention, electronic equipment can cut from target picture to be combined according to the specification of target phase cell
Take and meet the picture of specification and fill in target phase cell, wherein, after picture to be combined for target is filled to target phase cell, if
User is unsatisfied with the picture that goal standard is filled, the also removable picture filled of user, until display in goal standard
Picture meets user's requirement.
Other in addition to described target picture to be combined, in described at least one picture to be combined, are treated group by S206
Close picture to fill to other phase cells in addition to described target phase cell in described target layout template.
In embodiments of the present invention, when picture to be combined for target is filled to target phase cell by electronic equipment, electronic equipment
Also can obtain other pictures to be combined in addition to target picture to be combined and fill out the most at random at least one picture to be combined
It is charged in target layout template in other phase cells in addition to target phase cell.
Further, when picture to be combined for target is filled to target phase cell by electronic equipment, and electronic equipment may also display
Other pictures to be combined in addition to target picture to be combined, wherein, other present pictures to be combined can drag.Work as prison
Arbitrary the picture to be combined measuring other pictures to be combined carries out the position at one the phase cell place of people being dragged in other phase cells
When putting the operation in region, this picture to be combined carrying out dragging can be filled to this phase cell by electronic equipment.
S206, generates combination picture according to the layout templates after filling.
When electronic equipment generates after combination picture, electronic equipment exportable display combination picture, and can provide and share interface,
So that user shares interface by this, this combined photograph is shared away.
In embodiments of the present invention, the detailed description of the invention of step S203 and step S204 can be found in the step of foregoing invention
S100 and the detailed description of the invention of step S101, do not repeat at this.
In embodiments of the present invention, mobile when monitoring the stopping of the target moved on display interface picture to be combined
Time, obtain Pictures location residing after described target picture to be combined stops moving, obtain with described according to described Pictures location
The layout templates of Pictures location coupling, fills picture to be combined for described target and is combined picture to described layout templates,
This makes electronic equipment can automatically obtain applicable layout templates according to the position of target picture to be combined place screen to carry out group
Closing picture, convenient user operates, easy user operation, improves user operation interest simultaneously, improves Consumer's Experience.
Refer to Fig. 3, for the first embodiment schematic flow sheet of the combination unit of a kind of picture of the present invention.As it is shown on figure 3,
The combination unit of a kind of picture described in the present embodiment includes:
First acquiring unit 100, for when monitoring the stopping of the target moved on display interface picture to be combined
Time mobile, obtain Pictures location residing after described target picture to be combined stops moving.
Second acquisition unit 200, for obtaining the layout templates mated with described Pictures location according to described Pictures location.
Combination picture unit 300, is combined to described layout templates for being filled by picture to be combined for described target
Picture.
In embodiments of the present invention, the combination unit of described picture concretely electronic equipment, it is possible to set for electronics
Certain functional module in Bei, simply will be described explanation below as a example by electronic equipment.
In embodiments of the present invention, when user need to be combined into a pictures to plurality of pictures, the operable electronics of user sets
Standby input picture combined command, when electronic equipment receives the picture combined command of user's input, electronic equipment can show figure
Sheet combination operation interface, thus user this operation interface operable carries out picture combination.Wherein, certain pictures need to be specified as user
After combination during the position of place combination picture, as user need to specify certain pictures, after being combined, the position at place need to be in combination
The left position of photo, user can read the picture in electronic equipment photograph album by picture combination operation interface, selects target to treat
Combination picture operates.
In embodiments of the present invention, after user selects target picture to be combined, electronic equipment can show on display interface
Showing target picture to be combined or the thumbnail of display target picture to be combined, wherein, the picture of display or thumbnail can be carried out
Drag operation, display interface can be the display interface at picture combination operation interface.Concrete, user can by touch control device or
Person's finger drag target picture to be combined moves, to change its position on display interface, needed for moving it to user
Position, wherein, touch control device includes the equipment such as pointer.When user's drag target picture to be combined moves, electronics
Equipment can monitor user's drag operation for target picture to be combined, and according to drag operation position on display interface
Target picture to be combined is moved in change.
In embodiments of the present invention, when electronic equipment moves target picture to be combined according to drag operation, electronics
Equipment can monitor whether the target moved picture to be combined stops mobile, wherein, and the mesh that electronic equipment monitoring moves
Mark whether picture to be combined stops mobile including: electronic equipment monitoring target picture to be combined stops traveling time, when stopping moving
When the dynamic time is more than predetermined threshold value, electronic equipment can determine that monitoring target picture to be combined stops mobile.
In embodiments of the present invention, when electronic equipment monitoring to the target moved picture to be combined stops mobile,
First acquiring unit 100 can obtain Pictures location residing after target picture to be combined stops moving, and wherein, Pictures location is permissible
It it is the center of target picture to be combined, it is intended that the coordinate that position, limit or other positions preset are positioned on screen.
In embodiments of the present invention, layout templates is for indicating the figure chip layout of combination picture.Electronic equipment can set up cloth
Office's template base, layout templates storehouse can include that at least one layout templates, each layout templates can include at least one phase cell.Its
In, electronic equipment can receive the layout templates of other electronic equipments transmission to carry out storing to layout templates storehouse, or obtains
The layout templates that user is arranged voluntarily carries out storing to layout templates storehouse.When user need to be combined picture, user can be from
Layout templates storehouse obtains required layout templates and is combined picture.
In embodiments of the present invention, second acquisition unit 200, obtain and described Pictures location according to described Pictures location
The layout templates joined may is that second acquisition unit 200, retrieves layout templates storehouse, obtains and includes and described Pictures location phase
The layout templates of the phase cell joined.
Concrete, second acquisition unit 200, obtain and include that the layout templates of phase cell matched with Pictures location is permissible
It is: second acquisition unit 200, the phase cell position of each phase cell that can obtain in layout templates storehouse in each layout templates to calculate
Distance between each phase cell position and Pictures location, and from the multiple distances obtained, obtain minimum range, according to minimum
Distance obtains the target phase cell position that the spacing with Pictures location is minimum, thus determines target phase according to target phase cell position
Lattice, are defined as target layout template by the layout templates belonging to target phase cell.Wherein, the phase cell position of phase cell can be by phase cell
Belonging to layout templates carry out generate combination picture when display interface is displayed in full screen, phase cell is corresponding to this combination picture
The position at place, region, wherein, the position of phase cell can be the center of phase cell, it is intended that position, limit or other preset
Position is positioned at the coordinate on screen.
In embodiments of the present invention, picture to be combined for target can be filled to target layout mould by combination picture unit 300
In target phase cell in plate, meanwhile, combination picture unit 300 also can point out user to be read out by picture combination operation interface
Photograph album, selects other pictures to be filled with as picture to be combined, thus picture to be combined is filled into mesh by electronic equipment one by one
Mark layout is removed in described target other phase cells the most especially, after all phase cells in target layout template are all filled,
Electronic equipment will generate combination picture.Wherein, the picture to be combined of the target on combination picture relative to combination picture position with
The target picture to be combined that user's drag target on screen picture to be combined stops movement is identical relative to the position of screen.
Wherein, described device also includes:
Monitoring means, the drag operation carried out for the target picture to be combined shown for monitoring;
Mobile unit, for when described monitoring means monitors described drag operation, moves according to described drag operation
Described target picture to be combined.
Wherein, described device also includes:
3rd acquiring unit, for obtaining at least one picture to be combined being chosen to carry out picture combination;
Select unit, for selecting target picture to be combined from described at least one picture to be combined;
Display unit, for showing described target picture to be combined on display interface.
Described second acquisition unit 200 includes:
First obtains subelement, is used for the quantity of at least one picture to be combined described in obtaining;
Second obtains subelement, for obtaining from preset layout templates and described quantity Matching based on described quantity
At least one layout templates;
3rd obtains subelement, for obtaining the mesh mated with described Pictures location from least one layout templates described
Mark layout templates.
Wherein, described target layout template includes at least one phase cell;
Wherein, described 3rd acquisition subelement includes:
4th obtains subelement, every for obtain in each target layout template from least one layout templates described
The phase cell position of individual phase cell;
Computation subunit, for calculating the distance between the phase cell position of each phase cell and described Pictures location, according to institute
State the distance between each phase cell position and described Pictures location and obtain the target phase that the spacing with described Pictures location is minimum
Case is put;
Determine subelement, for determining target phase cell according to described target phase cell position, belonging to described target phase cell
Layout templates is defined as target layout template.
Wherein, described combination picture unit 300 includes:
First fills subelement, for being filled to described target phase cell by picture to be combined for described target;
Second fills subelement, is used in described at least one picture to be combined, will be except described target picture to be combined
Outside other pictures to be combined fill to described target layout template other phase cells in addition to described target phase cell respectively
In;
Generate picture element unit cell, for generating combination picture according to the layout templates after filling.
Described second fill subelement specifically for:
Move to other phase cells described when monitoring arbitrary the combination picture in other pictures to be combined described
In any one phase cell in drag operation time, described arbitrary picture to be combined is filled to any one phase cell described.
It is understood that the function of each functional module of the electronic equipment of the present embodiment can be according to said method embodiment
In method implement, it implements process and is referred to the associated description of said method embodiment, the most no longer carries out
Repeat
In embodiments of the present invention, mobile when monitoring the stopping of the target moved on display interface picture to be combined
Time, obtain Pictures location residing after described target picture to be combined stops moving, obtain with described according to described Pictures location
The layout templates of Pictures location coupling, fills picture to be combined for described target and is combined picture to described layout templates,
This makes electronic equipment can obtain, according to the position of target picture to be combined place screen, the layout templates being suitable for and is combined figure
Sheet, convenient user operates, easy user operation, improves user operation interest simultaneously, improves Consumer's Experience.
Refer to Fig. 4, for the first embodiment schematic flow sheet of a kind of electronic equipment of the present invention.As shown in Figure 4, this enforcement
A kind of electronic equipment described in example includes:
Housing 401, processor 402, memorizer 403, circuit board 404 and power circuit 405, wherein, circuit board 404 disposes
It is arranged on circuit board 404 at the interior volume that housing 401 surrounds, processor 402 and memorizer 403;Power circuit 405, uses
Power in each circuit or the device for electronic equipment;Memorizer 403 is used for storing executable program code;Processor 402 leads to
Cross the executable program code of storage in reading memorizer 403 and run the program corresponding with executable program code, for
Execution following steps:
When monitoring the target moved on display interface picture to be combined and stopping mobile, obtain described target and treat
The Pictures location that combination picture is residing after stopping moving;
The layout templates mated with described Pictures location is obtained according to described Pictures location;
Picture to be combined for described target is filled to described layout templates, is combined picture.
Wherein, stopping when described processor 402 monitors the target moved on display interface picture to be combined
Time mobile, before obtaining Pictures location residing after described target picture to be combined stops moving, described processor 402 is also held
OK:
Monitor the drag operation that the target picture to be combined for display is carried out;
When monitoring described drag operation, move described target picture to be combined according to described drag operation.
Wherein, stopping mobile when processor 402 monitors the target moved on display interface picture to be combined
Time, before obtaining Pictures location residing after described target picture to be combined stops moving, described processor 402 also performs:
Obtain and be chosen at least one picture to be combined carrying out picture combination;
Target picture to be combined is selected from described at least one picture to be combined;
Display interface shows described target picture to be combined.
Wherein, described processor 402 obtains the layout templates bag mated with described Pictures location according to described Pictures location
Include:
The quantity of at least one picture to be combined described in acquisition;
From preset layout templates, at least one layout templates with described quantity Matching is obtained based on described quantity;
The target layout template mated with described Pictures location is obtained from least one layout templates described.
Wherein, described target layout template includes at least one phase cell;
Described processor 402 obtains the target layout mated with described Pictures location from least one layout templates described
Template includes:
The phase cell position of each phase cell in each target layout template is obtained from least one layout templates described;
Calculate the distance between the phase cell position of each phase cell and described Pictures location, according to described each phase cell position with
Distance between described Pictures location obtains the target phase cell position that the spacing with described Pictures location is minimum;
Determine target phase cell according to described target phase cell position, the layout templates belonging to described target phase cell is defined as mesh
Mark layout templates.
Wherein, picture to be combined for described target is filled and is combined figure to described layout templates by described processor 402
Sheet includes:
Picture to be combined for described target is filled to described target phase cell;
In described at least one picture to be combined, by other pictures to be combined in addition to described target picture to be combined
Fill respectively to other phase cells in addition to described target phase cell in described target layout template;
Combination picture is generated according to the layout templates after filling.
Wherein, described in described at least one picture to be combined, processor 402 will except described target picture to be combined it
Other outer pictures to be combined are filled to described target layout template in other phase cells in addition to described target phase cell respectively
Including:
Move to other phase cells described when monitoring arbitrary the combination picture in other pictures to be combined described
In any one phase cell in drag operation time, described arbitrary picture to be combined is filled to any one phase cell described.
It is understood that the function of each functional module of the electronic equipment of the present embodiment can be according to said method embodiment
In method implement, it implements process and is referred to the associated description of said method embodiment, the most no longer carries out
Repeat.
In embodiments of the present invention, mobile when monitoring the stopping of the target moved on display interface picture to be combined
Time, obtain Pictures location residing after described target picture to be combined stops moving, obtain with described according to described Pictures location
The layout templates of Pictures location coupling, fills picture to be combined for described target and is combined picture to described layout templates,
This makes electronic equipment can obtain, according to the position of target picture to be combined place screen, the layout templates being suitable for and is combined figure
Sheet, convenient user operates, easy user operation, improves user operation interest simultaneously, improves Consumer's Experience.
Correspondingly, the embodiment of the present invention additionally provides a kind of storage medium, and wherein, this storage medium is used for storing application journey
Sequence, described application program is for operationally performing the combined method of a kind of picture of foregoing description.
Correspondingly, the embodiment of the present invention additionally provides a kind of application program, and wherein, this application program is for operationally holding
A kind of combined method of the picture of row foregoing description.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy
Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office
One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area
The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel
Close and combination.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or
Implicitly include at least one this feature.In describing the invention, " multiple " are meant that at least two, such as two, three
Individual etc., unless otherwise expressly limited specifically.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes
One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable
Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use
In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction
Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory
(ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits
Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable
Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning
His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage
Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under
Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function
Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried
Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium
In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould
Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as
When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, above-described embodiment can be changed, revise, replace and become by those of ordinary skill in the art within the scope of the invention
Type.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible
Instructing relevant hardware by computer program to complete, described program can be stored in computer read/write memory medium
In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access
Memory, RAM) etc..
The above disclosed present pre-ferred embodiments that is only, can not limit the right model of the present invention with this certainly
Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.