Embodiment
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
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment
, and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims
Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other implications.It is also understood that this
Term "and/or" used herein refers to and comprising any or all possible group associated of list items purpose of one or more
Close.
Referring to Fig. 1, Fig. 1 is the flow chart of an embodiment of picture combination of the present invention.This method includes:
110:Judge whether the quantity of selected picture is more than the quantity of phase cell in selected picture gang form.
Specifically, when user wishes to be combined picture, user selects to be desired with first the picture of combination, and
In multiple picture combination die versions one of picture combination die version is selected for these pictures.Wherein, picture includes following at least one
:The picture (such as picture in mobile phone memory card, SD card etc.) that user is locally stored, or, the picture in cloud server,
Or, the picture (such as picture shared on wechat, QQ, microblogging etc.) in network.Picture combination die version is contained and can accommodated
The number of picture and the element such as layout of picture.Moreover, the number for the picture that picture combination die version can accommodate and
The layout of picture is realized by phase cell.A phase cell in picture gang form is used to fill a pictures, so, figure
The number for the picture that piece combination masterplate can accommodate is the quantity of phase cell, and the layout of picture combination die version is the cloth of phase cell
Office.After user have selected picture combination die version, equipment judges whether the quantity of selected picture is more than selected picture
The quantity of phase cell in gang form.If the quantity of selected picture is more than the number of phase cell in selected picture gang form
Amount, into step 120, if the quantity of selected picture is not more than the quantity of phase cell in selected picture gang form,
Into step 150.
120:The picture equal with the quantity of phase cell in selected picture gang form is obtained from selected picture.
Specifically, if the quantity of selected picture is more than the quantity of phase cell in selected gang form, obtain
The picture equal with the quantity of phase cell in selected picture gang form.It should be noted that acquired picture only need to be with
The quantity of phase cell is equal in selected picture gang form, and it is in selected picture to be not required to limit acquired picture
Any part picture, alternatively, in embodiments of the present invention, the priority for the picture that can be selected according to user is suitable
Sequence, the picture equal with the quantity of phase cell in selected picture gang form is obtained from the picture of user's selection, wherein obtaining
The picture taken is the picture of the front of the picture of user's selection.
130:The picture of acquisition is correspondingly filled in the phase cell of selected picture gang form.
Specifically, in previous step, equipment is obtained from selected picture and combined with selected picture
The equal picture of the quantity of phase cell in template, hereafter, the picture of acquisition is corresponded and is filled into selected picture combination die
In the phase cell of plate, a pictures are filled in each phase cell so as to realize.
140:Divided from least one target phase cell of selection in selected picture gang form to obtain first
New phase cell accommodates the original image in remaining picture and target phase cell.
Specifically, in previous step, by the picture equal with the quantity of phase cell in selected picture gang form
It is filled into the phase cell of picture combination die version, still, because the quantity of selected picture is more than selected picture combination die
The quantity of phase cell in plate, so some selected picture is not yet placed into picture combination die version.Now, from
At least one target phase cell of selection in selected picture gang form is divided accommodates residue to obtain the first new phase cell
Picture and target phase cell in original image.For example, a remaining picture is moved to one of them by user's instruction equipment
During phase cell, the phase cell that picture can be correspondingly moved to by equipment is divided into two the first new phase cells, one of them first new phase cell
For accommodating the original image before phase cell divides, another first new phase cell is used to accommodate the remaining picture for being moved to phase cell.
When remaining picture is more than one, other remaining pictures also can be moved to other by user according to above-mentioned method not to be had
There is the phase cell being divided.If the quantity of remaining picture is especially more, up to even all phase cells are all divided after, also after
It is continuous to have remaining picture, then it can will continue remaining picture and be moved in the first new phase cell to continue to divide the first new phase cell
Continue remaining picture to accommodate.Then, flow is terminated.
It is understood that here with a mobile pictures to phase cell, and phase cell is divided into two the first new phase cells and is
Example, still, in other implementations, more pictures can also be moved simultaneously to phase cell and phase cell is divided into multiple the
One new phase cell, is not especially limited herein.
150:Selected picture is correspondingly filled into the number with selected picture of selected picture gang form
Measure in equal phase cell, and terminate flow.
Picture mosaic extended method provided by the invention can apply to but be not limited to ios, Android, windows Phone,
On the Intelligent mobile equipments such as the mobile phones of the operating systems such as symbian, tablet personal computer, can also be applied to PC (PC,
Personal Computer) on.
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture
Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form
The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die
At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell
Original image.In embodiments of the present invention, can when the picture of user's selection is more than the quantity of phase cell in picture gang form
To be divided to one or more of picture gang form phase cell, for accommodating the picture being more than, user couple can be met
The requirement of the quantity of combination picture.It is that original phase cell is extended to be additionally, since when dividing phase cell, but is not changed former
There is an integral layout of picture combination die version, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
Referring to Fig. 2, Fig. 2 is the flow chart of another embodiment of picture combined method of the present invention.This method includes:
210:Judge whether the quantity of selected picture is more than the quantity of phase cell in selected puzzle template.
Judge whether the quantity of selected picture is more than the quantity of phase cell in selected picture gang form.
Specifically, when user wishes to be combined picture, user selects to be desired with first the picture of combination, and
In multiple picture combination die versions one of picture combination die version is selected for these pictures.Wherein, picture includes following at least one
:The picture (such as picture in mobile phone memory card, SD card etc.) that user is locally stored, or, the picture in cloud server,
Or, the picture (such as picture shared on wechat, QQ, microblogging etc.) in network.Picture combination die version is contained and can accommodated
The number of picture and the element such as layout of picture.Moreover, the number for the picture that picture combination die version can accommodate and
The layout of picture is realized by phase cell.A phase cell in picture gang form is used to fill a pictures, so, figure
The number for the picture that piece combination masterplate can accommodate is the quantity of phase cell, and the layout of picture combination die version is the cloth of phase cell
Office.After user have selected picture combination die version, equipment judges whether the quantity of selected picture is more than selected picture
The quantity of phase cell in gang form.If the quantity of selected picture is more than the number of phase cell in selected picture gang form
Amount, into step 220, if the quantity of selected picture is not more than the quantity of phase cell in selected picture gang form,
Into step 270.
220:The picture equal with the quantity of phase cell in selected picture gang form is obtained from selected picture.
Specifically, if the quantity of selected picture is more than the quantity of phase cell in selected gang form, obtain
The picture equal with the quantity of phase cell in selected picture gang form.It should be noted that acquired picture only need to be with
The quantity of phase cell is equal in selected picture gang form, and it is in selected picture to be not required to limit acquired picture
Any part picture.Alternatively, in embodiments of the present invention, the priority for the picture that can be selected according to user is suitable
Sequence, the picture equal with the quantity of phase cell in selected picture gang form is obtained from the picture of user's selection, wherein obtaining
The picture taken is the picture of the front of the picture of user's selection.
230:The picture of acquisition is correspondingly filled in the phase cell of selected picture gang form, and remaining picture is shown
Show the region outside selected picture gang form.
Specifically, in a step 220, equipment obtains and selected picture gang form from selected picture
The equal picture of the quantity of middle phase cell, hereafter, the picture of acquisition is corresponded and is filled into selected picture gang form
In phase cell, a pictures are filled in each phase cell so as to realize.Because the quantity of selected picture is more than picture combination die
The quantity of phase cell in plate, so, the picture of a part has been there remains, now, remaining picture can be temporarily displayed in selected
Region outside picture gang form, to facilitate user to operate these remaining pictures accordingly, by these remaining pictures
It is added in picture gang form, so as to improve the efficiency of picture combination.Alternatively, selected picture
Region outside gang form is the region of the selected picture gang form below or above, of course, selected
Region outside picture gang form is the selected picture gang form left or the region of right.For example, such as Fig. 3 institutes
Show, user have selected 12 pictures, and it is desirable that this 12 pictures is combined.But the picture combination die version of user's selection
Only 9 phase cells.Due to, the quantity of selected picture is more than the quantity of phase cell in selected puzzle template, so, equipment
6 pictures in 12 pictures are corresponding including in the phase cell 310 of selected puzzle template, then, remaining 3 are schemed
Piece is shown in the region 320 outside selected picture gang form.
240:The phase that one or more remaining picture is moved in selected picture gang form by detection user
The moving operation of lattice.
Specifically, user can select one or more residual graph in the region outside selected picture gang form
Piece, and moved by way of dragging in one of phase cell in picture to picture gang form.Certainly, implement in others
In mode, after user can also be by clicking on selection picture, click on a target phase cell and move.Terminal device is then accordingly examined
Measure the movement for the phase cell that one or more remaining picture is moved in selected picture gang form by detection user
Operation.
250:According to moving operation, determine that one or more remaining picture is moved to selected picture combination die by user
Target phase cell in plate.
Specifically, when user one or more remaining picture is moved in selected picture gang form wherein one
Individual phase cell, and when discharging remaining picture, then it is assumed that this phase cell is target phase cell.
260:Target phase cell is divided into multiple first new phase cells, and picture original in target phase cell and user are moved to
One or more remaining picture in target phase cell corresponds to respectively to be filled into the multiple first new phase cells.
Specifically, it is necessary to which target phase cell is divided into the multiple first new phase cells after target phase cell is determined.Dividing
When, target phase cell can be divided into multiple first new phase cells by traverse and/or by slitter line.Wherein, traverse or vertical
Tangent line includes at least two point of adjustment, and point of adjustment is used for position and the slope for adjusting traverse or slitter line.Certainly, at other
Embodiment in, target phase cell can also be divided into by the multiple first new phase cells by parabola or other line styles, this
Invention does not limit specifically.
It is that target phase cell is divided into by multiple first cenotypes by traverse, slitter line or transverse and longitudinal tangent line when needing selection
During lattice, editing interface can be divided with display target phase cell, wherein, show target phase cell on target phase cell division editing interface
The dividing mode of profile and target phase cell selects option, and the dividing mode selection option of target phase cell comprises at least crosscutting choosing
Item, rip cutting option, crosscutting rip cutting intersect at least one of option.When detecting that user selects the crosscutting option, pass through
The profile of target phase cell is divided into the multiple first new phase cell profiles by traverse, according to the multiple first new phase cell profiles by target phase
Lattice are divided into the multiple first new phase cells;When detecting that user selects rip cutting option, by slitter line by the profile of target phase cell
The multiple first new phase cell profiles are divided into, target phase cell is divided into multiple first cenotypes according to the multiple first new phase cell profiles
Lattice;In the situation for the target phase cell that more than two remaining pictures are moved in selected picture gang form by user
Under, when detecting that user selects crosscutting rip cutting to intersect option, the profile of target phase cell is divided by traverse and slitter line
For the multiple first new phase cell profiles, target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profiles.Its
In, the quantity of the first new phase cell is equal to user and remaining picture is moved into the quantity of target phase cell plus original graph in target phase cell
The quantity of piece.
When remaining picture is more, user can be by the others in the region outside selected picture gang form
Remaining picture is also moved to other phase cells not being divided according to above-mentioned method.If the quantity of remaining picture is special
It is more, after up to even all phase cells are all divided, also continue have remaining picture, then can will continue remaining picture and move
Move into the first new phase cell and continue remaining picture so that the first new phase cell is continued into division to accommodate.
For example, referring to Fig. 4 to Fig. 6, user's instruction equipment is by the region 320 outside selected picture gang form
One remaining picture is moved in the 5th phase cell 310 of picture combination die version, then the 5th phase cell 310 is target phase cell.
Now, it is by target by traverse or by slitter line that equipment, which ejects target phase cell division editing interface for user's selection,
Phase cell is divided into including the first new phase cell.The profile of target phase cell, crosscutting option are shown on target phase cell division editing interface
And rip cutting option.User can select crosscutting option or rip cutting option as needed.
As shown in figure 5, if user have selected crosscutting option, traverse will be shown on target phase cell division editing interface
510 and traverse 510 on three point of adjustment 511, user can adjust traverse 510 to adjust two the by point of adjustment
Ratio between one new phase cell.Similarly, will be aobvious on target phase cell division editing interface if user have selected rip cutting option
Show three point of adjustment on slitter line 520 and slitter line 520, user can adjust slitter line 520 to adjust by point of adjustment
Ratio between two the first new phase cells.It is understood that the quantity of point of adjustment can be configured according to the needs of user, can
Be two, three it is even more, do not limit specifically herein.
As shown in fig. 6, after user has selected traverse or slitter line, then equipment by traverse or slitter line by target
The profile of phase cell is divided into the multiple first new phase cell profiles, and target phase cell is divided into according to the multiple first new phase cell profiles
One new 311 and first new phase cell 313 of phase cell, wherein, the first new phase cell 311 is used to accommodate the picture before the division of target phase cell, the
Two new phase cells 313 are used to accommodate the remaining picture for being moved to target phase cell.
As shown in fig. 7, because remaining photograph shares three, so, after first remaining picture is handled, may be used also
To handle in the same manner other remaining pictures, until all remaining pictures are all disposed.
It is understood that it is divided into two first to target phase cell, and by target phase cell here with a mobile pictures
Exemplified by new phase cell, still, in other implementations, more pictures can also be moved simultaneously to target phase cell and by target
Phase cell is divided into the appropriate number of first new phase cell, is not especially limited herein.
270:Selected picture is correspondingly filled into the number with selected picture of selected picture gang form
Measure in equal phase cell, and terminate flow.
If it is understood that user want reduce combination picture quantity when, can also will at least partly it is remaining
Picture is removed from the first new phase cell, and one or more picture is removed when detecting user from the first new phase cell of target phase cell
When, repartitioned to obtain the second new phase cell to target phase cell to accommodate the picture not being moved out of in target phase cell, wherein the
The quantity of picture of the quantity of two new phase cells with not being moved out of is equal.
The method of picture combination provided by the invention can apply to but be not limited to ios, Android, windows
On the Intelligent mobile equipments such as the mobile phones of the operating systems such as Phone, symbian, tablet personal computer, it can also be applied in PC
On (PC, Personal Computer).
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture
Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form
The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die
At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell
Original image.In embodiments of the present invention, can when the picture of user's selection is more than the quantity of phase cell in picture gang form
To be divided to one or more of picture gang form phase cell, for accommodating the picture being more than, user couple can be met
The requirement of the quantity of combination picture.It is that original phase cell is extended to be additionally, since when dividing phase cell, but is not changed former
There is an integral layout of picture combination die version, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
The above-mentioned method for illustrating the embodiment of the present invention, following for being easy to preferably implement the embodiment of the present invention
Such scheme, correspondingly, the relevant device for implementing such scheme for coordinating is also provided below.
Referring to Fig. 8, Fig. 8 is the structural representation that picture of the present invention combines the unit an embodiment.Described device includes:
Judge module 810, acquisition module 820, filling module 830 and division module 840.
Judge module 810 is used to judge whether the quantity of selected picture to be more than phase in selected picture gang form
The quantity of lattice.
Acquisition module 820 is used for the number for being more than phase cell in selected picture gang form in the quantity of selected picture
During amount, the picture equal with the quantity of phase cell in selected picture gang form is obtained from selected picture, or,
It is when the quantity of selected picture is not more than the quantity of phase cell in selected picture gang form, selected picture is corresponding
It is filled into the phase cell equal with the quantity of selected picture of selected picture gang form.
Filling module 830 is used to correspondingly be filled in the picture of acquisition in the phase cell of selected picture gang form.
Division module 840 is used to be divided from least one target phase cell of selection in selected picture gang form
The original image in remaining picture and target phase cell is accommodated with the first new phase cell of acquisition.
Device shown in Fig. 8 can perform each step of the method shown in Fig. 1, referring specifically to Fig. 1 and associated description,
Not reinflated description herein.
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture
Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form
The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die
At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell
Original image.In theory, each phase cell is can be arbitrarily divided into multiple subregional, therefore user can be met to constitutional diagram
The requirement of the quantity of piece.It is that original phase cell is extended to be additionally, since when dividing phase cell, but does not change original picture
Combine the layout of masterplate, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
Refering to Fig. 9, Fig. 9 is the structural representation that picture of the present invention combines the unit another embodiment.Described device includes:
Judge module 910, acquisition module 920, filling module 930, division module 940 and weight sub-module 950.Wherein, division module
940 include detection unit 941, determining unit 942 and division unit 943.
The judge module 910 is used to judge whether the quantity of selected picture is more than selected picture gang form
The quantity of middle phase cell.
The acquisition module 920 is used to be more than in selected picture gang form in the quantity of the selected picture
During the quantity of phase cell, obtained from the selected picture equal with the quantity of phase cell in selected picture gang form
Picture.
The filling module 930 is used to the picture of the acquisition being correspondingly filled in the selected picture gang form
Phase cell in.
The division module 940 is used for from least one target phase cell of selection in the selected picture gang form
Divided to obtain the original image in the first new phase cell remaining picture of receiving and the target phase cell.
Alternatively, the filling module 930 is described selected specifically for the picture of the acquisition is correspondingly filled in
In the phase cell of picture gang form, and remaining picture is included into the region outside the selected picture gang form;Institute
Stating division module 940 includes detection unit 941, determining unit 942 and division unit 943, and the detection unit 941 is used to examine
Survey the shifting for the phase cell that the one or more remaining picture is moved in the selected picture gang form by user
Dynamic operation;The determining unit 942 is used for according to the moving operation, determines that user moves the one or more remaining picture
Move to the target phase cell in the selected picture gang form;The division unit 943 is used to draw the target phase cell
Divide multiple first new phase cells, and one that picture original in the target phase cell and user are moved in the target phase cell
Or multiple described remaining pictures correspond to be filled into the multiple first new phase cell respectively.
Alternatively, the division unit 943 is specifically used for the target phase cell by traverse and/or by slitter line
Divide the multiple first new phase cells.
Alternatively, the division unit 943 is specifically used for display target phase cell division editing interface, and the target phase cell is drawn
The profile and dividing mode selection option of the target phase cell are shown on lacing editing interface, wherein, the dividing mode choosing
Selecting option includes crosscutting option and rip cutting option, when detecting that user selects the crosscutting option, by traverse by described in
The profile of target phase cell is divided into the multiple first new phase cell profiles, according to the multiple first new phase cell profile by the target phase
Lattice are divided into the multiple first new phase cells;When detecting that user selects the rip cutting option, by slitter line by the target phase
The profile of lattice is divided into the multiple first new phase cell profiles, divides the target phase cell according to the multiple first new phase cell profile
For the multiple first new phase cells.
Alternatively, the dividing mode selection option also includes crosscutting rip cutting and intersects option;The division unit 943 is also used
In the target phase cell that two remaining pictures described above are moved in the selected picture gang form in user
In the case of, when detecting that user's selection crosscutting rip cutting intersects option, by traverse and slitter line by the target
The profile of phase cell is divided into the multiple first new phase cell profiles, draws the target phase cell according to the multiple first new phase cell profile
It is divided into the multiple first new phase cells.
Alternatively, the traverse or the slitter line include at least two point of adjustment, and the point of adjustment is used to adjust institute
State position and the slope of traverse or the slitter line.
Alternatively, the filling module 930 is additionally operable to:It is not more than in the quantity of the selected picture and (is less than or waits
In) quantity of phase cell in selected picture gang form when, the selected picture is correspondingly filled into selected figure
In the phase cell equal with the quantity of the selected picture of piece gang form.
Alternatively, described device also includes weight sub-module 950, and the heavy sub-module 950, which is used to work as, detects user from institute
State when removing one or more picture in the first new phase cell of target phase cell, the target phase cell is repartitioned to obtain
Two new phase cells to accommodate the picture not being moved out of in the target phase cell, wherein the quantity of the second new phase cell with it is described not by
The quantity of the picture of removal is equal.
Alternatively, the region outside the selected picture gang form is under the selected picture gang form
Side or the region of top.
Device shown in Fig. 9 can perform each step of the method shown in Fig. 1 and Fig. 2, referring specifically to Fig. 1, Fig. 2 with
And associated description, not reinflated description herein.
Refering to Figure 10, Figure 10 is the structural representation of the embodiment of terminal device one of the present invention.In present embodiment,
Terminal device 1000 can include RF (Radio Frequency, radio frequency) circuit 1010, include one or one
The memory 1020 of above computer-readable recording medium, input block 1030, display unit 1040, sensor 1050, audio
Circuit 1060, WiFi (wireless fidelity, Wireless Fidelity) module 1070, include one or more than one processing
The parts such as the processor 1080 and power supply 1090 of core.It will be understood by those skilled in the art that the terminal shown in Figure 10 is set
Standby structure does not form the restriction to terminal device, can include than illustrating more or less parts, or some portions of combination
Part, or different parts arrangement.Wherein:
RF circuits 1010 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information receives, transfer to one or more than one processor 1080 is handled;In addition, it is sent to up data are related to
Base station.Generally, RF circuits 1010 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators,
It is subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), double
Work device etc..In addition, RF circuits 1010 can also be communicated by radio communication with network and other equipment.The radio communication can be with
Using any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication,
Global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA
(Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division
Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS
(Short Messaging Service, Short Message Service) etc..
Memory 1020 can be used for storage software program and module, and processor 1080 is stored in memory by operation
1020 software program and module, so as to perform various function application and data processing.Memory 1020 can mainly include
Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use according to terminal device 1000
Data (such as voice data, phone directory etc.) created etc..Stored in addition, memory 1020 can include high random access
Device, nonvolatile memory can also be included, a for example, at least disk memory, flush memory device or other volatibility are consolidated
State memory device.Correspondingly, memory 1020 can also include Memory Controller, to provide processor 1080 and input block
The access of 1030 pairs of memories 1020.
Input block 1030 can be used for the numeral or character information for receiving input, and generation is set with user and function
Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 1030 may include to touch
Sensitive surfaces 131 and other input equipments 1032.Touch sensitive surface 1031, also referred to as touch display screen or Trackpad, collect
User on or near it touch operation (such as user using any suitable object or annex such as finger, stylus touch-sensitive
Operation on surface 1031 or near touch sensitive surface 1031), and corresponding attachment means are driven according to formula set in advance.
Optionally, touch sensitive surface 1031 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 1080, and can reception processing
Order that device 1080 is sent simultaneously is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface 1031.Except touch sensitive surface 1031, input block 1030 can also include other input equipments
1032.Specifically, other input equipments 1032 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, the one or more in action bars etc..
Display unit 1040 can be used for display by the information of user's input or be supplied to the information and terminal device of user
1000 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its any combination
To form.Display unit 1040 may include display panel 1041, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes
Configure display panel 1041.Further, touch sensitive surface 1031 can cover display panel 1041, when touch sensitive surface 1031 detects
After touch operation on or near it, processor 1080 is sent to determine the type of touch event, is followed by subsequent processing device 1080
Corresponding visual output is provided on display panel 1041 according to the type of touch event.Although in Fig. 10, touch sensitive surface
1031 realize input and input function with display panel 1041 is the part independent as two, but in some embodiments
In, touch sensitive surface 1031 and display panel 1041 can be integrated and realize input and output function.
Terminal device 1000 may also include at least one sensor 1050, for example, optical sensor, motion sensor and its
His sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can root
The brightness of display panel 1041 is adjusted according to the light and shade of ambient light, proximity transducer can be moved in one's ear in terminal device 1000
When, close display panel 1041 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect each
The size of (generally three axles) acceleration, can detect that size and the direction of gravity on direction when static, available for identifying mobile phone
The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of posture, Vibration identification correlation function (such as meter step
Device, percussion) etc.;Gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure as terminal device 1000
Etc. other sensors, will not be repeated here.
Voicefrequency circuit 1060, loudspeaker 1061, microphone 1062 can provide the audio between user and terminal device 1000
Interface.Electric signal after the voice data received conversion can be transferred to loudspeaker 1061, by loudspeaker by voicefrequency circuit 1060
1061 are converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by audio
Circuit 1060 is converted to voice data after receiving, then after voice data output processor 1080 is handled, through RF circuits 1010 with
Such as another terminal device is sent to, or voice data is exported to memory 1020 further to handle.Voicefrequency circuit
1060 are also possible that earphone jack, to provide the communication of peripheral hardware earphone and terminal device 1000.
WiFi belongs to short range wireless transmission technology, and terminal device 1000 can help user to receive by WiFi module 1070
Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although figure
10 show WiFi module 1070, but it is understood that, it is simultaneously not belonging to must be configured into for terminal device 1000, completely may be used
To be omitted as needed in the essential scope for do not change invention.
Processor 1080 is the control centre of terminal device 1000, utilizes each of various interfaces and connection whole mobile phone
Individual part, by running or performing the software program and/or module that are stored in memory 1020, and call and be stored in storage
Data in device 1020, the various functions and processing data of terminal device 1000 are performed, so as to carry out integral monitoring to mobile phone.Can
Choosing, processor 1080 may include one or more processing cores;Preferably, processor 1080 can integrate application processor and tune
Demodulation processor processed, wherein, application processor mainly handles operating system, user interface and application program etc., and modulatedemodulate is mediated
Reason device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1080
In.
Terminal device 1000 also includes the power supply 1090 (such as battery) to all parts power supply, it is preferred that power supply can be with
It is logically contiguous by power-supply management system and processor 1080, so as to by power-supply management system realize management charging, electric discharge, with
And the function such as power managed.Power supply 1090 can also include one or more direct current or AC power, recharging system,
The random component such as power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal device 1000 can also include camera, bluetooth module etc., will not be repeated here.
Specifically in the present embodiment, the display unit of terminal device is touch-screen display, and terminal device, which also includes, to be deposited
Reservoir, and one or more than one program, one of them or more than one program storage is in memory, and through matching somebody with somebody
Put with by one either more than one computing device state one or more than one program bag and contain and be used for what is operated below
Instruction:
Judge whether the quantity of selected picture is more than the quantity of phase cell in selected picture gang form;
If the quantity of the selected picture is more than the quantity of phase cell in selected picture gang form, from institute
State the picture that acquisition is equal with the quantity of phase cell in selected picture gang form in selected picture;
The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form;
Divided from least one target phase cell of selection in the selected picture gang form to obtain first
New phase cell accommodates the original image in remaining picture and the target phase cell.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, in the memory of the terminal, also include and be used to perform the instruction that operates below:
The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form, and by residual graph
Piece is shown in the region outside the selected picture gang form;
At least one target phase cell of selection from the selected picture gang form is divided to obtain
The step of first new phase cell accommodates the original image in the remaining picture and the target phase cell includes:
Detect the one or more remaining picture is moved in the selected picture gang form by user one
The moving operation of individual phase cell;
According to the moving operation, determine that the one or more remaining picture is moved to the selected figure by user
Target phase cell in piece gang form;
The target phase cell is divided into multiple first new phase cells, and picture original in the target phase cell and user are moved
Move to the one or more remaining picture in the target phase cell to correspond to respectively and be filled into the multiple first new phase cell.
In the third the possible embodiment provided based on second of possible embodiment, the terminal
Memory in, also include and be used to perform the instruction that operates below:
The target phase cell is divided into multiple first new phase cells by traverse and/or by slitter line.
In the 4th kind of possible embodiment provided based on the third possible embodiment, the terminal
Memory in, also include and be used to perform the instruction that operates below:
Display target phase cell divides editing interface, and the target phase cell is shown on the target phase cell division editing interface
Profile and dividing mode selection option, wherein, dividing mode selection option includes crosscutting option and rip cutting option,
When detecting that user selects the crosscutting option, the profile of the target phase cell is divided into by traverse more
Individual first new phase cell profile, the target phase cell is divided into multiple first cenotypes according to the multiple first new phase cell profile
Lattice;
When detecting that user selects the rip cutting option, the profile of the target phase cell is divided into by slitter line more
Individual first new phase cell profile, the target phase cell is divided into multiple first cenotypes according to the multiple first new phase cell profile
Lattice.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, the terminal
Memory in, also include and be used to perform the instruction that operates below:
The dividing mode selection option also includes crosscutting rip cutting and intersects option;
It is described by traverse and/or the target phase cell is divided into by the multiple first new phase cells by slitter line also to wrap
Include:
In the mesh that two remaining pictures described above are moved in the selected picture gang form by user
In the case of marking phase cell, when detecting that user's selection crosscutting rip cutting intersects option, by traverse and slitter line by institute
The profile for stating target phase cell is divided into the multiple first new phase cell profiles, according to the multiple first new phase cell profile by the target
Phase cell is divided into the multiple first new phase cells.
At the third to the 6th kind of possible implementation provided based on the 5th kind of any possible embodiment
In mode, in the memory of the terminal, also include and be used to perform the instruction operated below:
The traverse or the slitter line include at least two point of adjustment, and the point of adjustment is used to adjust the traverse
Or position and the slope of the slitter line.
In the 7th kind of possible embodiment provided based on the first possible embodiment, the terminal
Memory in, also include and be used to perform the instruction that operates below:
, will if the quantity of the selected picture is not more than the quantity of phase cell in selected picture gang form
The selected picture is correspondingly filled into the equal with the quantity of the selected picture of selected picture gang form
Phase cell in.
In the 8th kind of possible embodiment provided based on second of possible embodiment, the terminal
Memory in, also include and be used to perform the instruction that operates below:
When detecting that user removes one or more picture from the first new phase cell of the target phase cell, to the mesh
Mark phase cell is repartitioned to obtain the second new phase cell to accommodate the picture not being moved out of in the target phase cell, wherein described the
The quantity of two new phase cells is equal with the quantity of the picture not being moved out of.
The 9th kind of possible implementation provided based on second to the 8th kind any possible embodiment
In mode, in the memory of the terminal, also include and be used to perform the instruction operated below:
Region outside the selected picture gang form for below the selected picture gang form or on
The region of side.
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture
Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form
The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die
At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell
Original image.In embodiments of the present invention, can when the picture of user's selection is more than the quantity of phase cell in picture gang form
To be divided to one or more of picture gang form phase cell, for accommodating the picture being more than, user couple can be met
The requirement of the quantity of combination picture.It is that original phase cell is extended to be additionally, since when dividing phase cell, but is not changed former
There is an integral layout of picture combination die version, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention can not being limited with this certainly
Sharp scope, one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and weighed according to the present invention
Profit requires made equivalent variations, still falls within and invents covered scope.