Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In the specific implementation, image processing method provided in an embodiment of the present invention is applicable to mobile phone, tablet computer, notebook
The terminals such as computer or digital camera, i.e., picture processing unit provided in an embodiment of the present invention concretely appointing in above-mentioned terminal
Some module in one kind of anticipating or above-mentioned terminal, herein with no restrictions.Above-mentioned terminal is only citing, and non exhaustive, includes
But it is not limited to above-mentioned terminal.
Below in conjunction with Fig. 1 to Fig. 9, image processing method provided in an embodiment of the present invention and device are specifically retouched
It states.
Fig. 1 is participated in, is the first embodiment flow diagram of image processing method provided in an embodiment of the present invention.This implementation
Image processing method described in example, including step:
S101, obtains preset picture processing information, includes the number of picture cutting region in the picture processing information
With the location information of picture cutting region.
In some possible embodiments, terminal can be first from terminal local memory space or network share space
Obtain picture and its picture specification to be processed.Wherein, above-mentioned picture to be processed voluntarily can shoot or create for terminal user
One picture.After terminal user's shooting or creation obtain above-mentioned picture to be processed, then picture to be processed can be stored to end
Hold local storage space or network share spatially.The picture specification of above-mentioned picture to be processed includes:The length of picture to be processed
Degree and width.In the specific implementation, can then be advised according to picture after terminal acquires above-mentioned picture to be processed and its picture specification
Lattice establish coordinate system.In the specific implementation, coordinate system described in the embodiment of the present invention can be used for determine to picture to be processed into
The specific location of each cutting region when row cutting process, cutting starting point coordinate, cutting end point including each cutting region are sat
It is marked with and the length and width of cutting region, picture to be processed is cut into multiple small pictures, and the small figure that cutting is obtained
Piece is spliced, is recombinated, and obtaining the splicing picture of picture to be processed, (the splicing picture of above-mentioned picture to be processed is alternatively referred to as purpose
Picture).
In some possible embodiments, if Fig. 2, Fig. 2 are the schematic diagram of coordinate system provided in an embodiment of the present invention.Eventually
End can be to be processed using the length L of picture to be processed as X-axis using the top left corner apex of picture to be processed as coordinate origin (X0, Y0)
The width W of picture is that Y-axis establishes coordinate system, wherein the X axis right side is positive direction, is positive direction under Y-axis.
In some possible embodiments, it after terminal obtains picture to be processed, can also obtain at preset picture
Manage information.Specifically, terminal can obtain the above-mentioned picture processing information of terminal user's setting in advance, and is stored to specified and deposited
Store up space.When terminal starts picture process flow, above-mentioned picture processing letter can be obtained from above-mentioned designated memory space in advance
Breath.Wherein, above-mentioned picture processing information may include:The number of picture cutting region and the location information of picture cutting region etc..
That is, terminal user can preset the cutting number for being cut picture to be processed, that is, by picture to be processed into
Row cuts the number of desired picture cutting region, and a cutting region is cleavable to obtain a designated pictures, and then can will cut
The designated pictures cut are spliced to obtain splicing picture.The location information of above-mentioned picture cutting region may include:Cutting area
The information such as the length and width of the starting point coordinate in domain, terminal point coordinate and cutting region, herein with no restrictions.Terminal establishes coordinate
After system, then the specific location of each cutting region in picture to be processed can be determined according to above-mentioned preset picture processing information,
And then each cutting region can be determined in every part of picture to be processed and is cut from picture to be processed and obtains corresponding picture.
S102 determines institute required for carrying out cutting process to picture to be processed according to the number of the picture cutting region
The number N of picture to be processed is stated, and obtains the described N parts picture to be processed.
In some possible embodiments, terminal acquire terminal to the picture of picture to be processed processing information it
Afterwards, then it can handle information according to above-mentioned picture picture to be processed is cut or recombinated.In the specific implementation, the present invention is implemented
Example can store above-mentioned picture to be processed in multiple figure layers, i.e., each figure layer stores an above-mentioned picture to be processed, terminal respectively
Picture to be processed can be cut in each figure layer, and then the picture cut in each figure layer is spliced, obtain one
The picture (the splicing picture of picture i.e. to be processed) of Zhang Xin.
In the specific implementation, terminal can handle the number of the picture cutting region limited in information according to above-mentioned picture, determine
The number of above-mentioned picture to be processed required for cutting process is carried out to picture to be processed, wherein each picture cutting region pair
Answer an above-mentioned picture to be processed.For example, the number for working as the picture cutting region that terminal acquires is N, then it can determine needs
Picture to be processed is cut into N parts, and then N parts of pictures are spliced, recombinate to obtain new picture.Terminal determines that picture is cut
It after the number N in region, then can determine the number N of the picture to be processed of needs, and then can cut every part of picture to be processed is above-mentioned
The corresponding designated pictures in a given cut region are cut, then all designated pictures are spliced, obtain splicing picture.Specifically
, after terminal has determined the number N for carrying out above-mentioned picture to be processed required for cutting process to picture to be processed, then it can obtain
N parts of above-mentioned pictures to be processed are taken, obtain corresponding picture to cut from every part of picture to be processed.Wherein, above-mentioned N natural number,
Specific size can be determining according to practical application scene, herein with no restrictions.
S103 is determined according to the location information of the picture cutting region and is cut on every picture to be processed
Each cutting region, and the corresponding designated pictures of each cutting region are cut from each Zhang Suoshu picture to be processed.
In some possible embodiments, terminal has determined the number N of picture to be processed, and obtains from designated memory space
After obtaining N parts of identical pictures (picture i.e. to be processed), then the picture limited in information can be handled according to above-mentioned picture and cut
The location information in region is cut, determines each cutting region cut on every picture to be processed.Specifically, terminal can root
According to limited in above-mentioned picture processing information the cutting starting point of first picture cutting region, cutting end point, length, width and
The information such as cutting profile determine first cutting region that picture cutting is carried out on first picture to be processed, and then can root
According to limited in above-mentioned picture processing information the cutting starting point of second picture cutting region, cutting end point, length, width and
The information such as cutting profile determine second cutting region that picture cutting is carried out on second picture to be processed.And then it can root
The determination of the information such as cutting starting point, cutting end point, length, width and cutting profile according to each cutting region is to be processed at every
The each cutting region cut on picture.Terminal determined the cutting region that is cut on every picture to be processed it
Afterwards, then it can be cut from every picture to be processed and obtain the corresponding designated pictures of each cutting region.
If Fig. 3, Fig. 3 are a treatment effect figures of picture to be processed.Assuming that the picture cutting set in picture processing information
The number in region is 4, and terminal can be determined according to the number of above-mentioned picture cutting region needs 4 identical pictures to complete to scheme
Cutting, the splicing of piece.In the specific implementation, terminal can realize the processing of picture by figure layer, wherein each figure layer is one corresponding
Picture, terminal can handle in each figure layer and obtain a picture, and then the picture of each figure layer is spliced, is recombinated.Example
Such as, terminal can cut first picture cutting region of picture to be processed in the first figure layer, first picture cutting region
Range includes:Cut starting point A1, length L1, width W1 or cutting profile (such as rectangle), wherein cutting starting point, length, width
After degree and shape (rectangle) determine, then it can determine cutting end point A4, repeat no more below;It is cut in the second figure layer to be processed
Second picture cutting region of picture, the range of second picture cutting region include:Cut starting point A2, length L2, width
W2 or cutting profile (such as rectangle);The third picture cutting region of picture to be processed, third are cut in third figure layer
The range of picture cutting region includes:Cut starting point A3, length L3, width W3 or cutting profile (such as rectangle);In the 4th figure
The 4th picture cutting region of picture to be processed is cut in layer, the range of the 4th picture cutting region includes:Cut starting point
A4, length L4, width W4 or cutting profile (such as rectangle);Wherein, the length of above-mentioned L1, L2, L3 and L4 and be less than it is to be processed
The length L of picture, the width of above-mentioned W1, W2, W3 and W4 and the width W less than or equal to picture to be processed.
In some possible embodiments, terminal handles information according to preset picture and determines each picture pair to be processed
When the cutting region answered, in combination with the coordinate system of above-mentioned foundation, determine that cutting region of the picture to be processed in each figure layer exists
Specific location in coordinate system, such as first cutting of the picture to be processed on the first figure layer (corresponding first picture to be processed)
Region, second cutting region etc. of the picture to be processed in the second figure layer (corresponding second picture to be processed), wherein above-mentioned the
One figure layer or the second figure layer are any one in each figure layer, herein with no restrictions.Specifically, terminal can be with coordinate system
Origin (X0, Y0) is the starting point A1 of the picture cutting region of the first figure layer (concretely first figure layer), in conjunction with the first figure layer
Length L1 and width W1 in the range (starting point A1, length L1, width W1) of corresponding picture cutting region determine
The first cutting region B1 in one figure layer is (X0, Y0, L1, W1).It, then can be according to after terminal determines the first cutting region B1
The length and width of one cutting region determines that (concretely second figure layer can also be third to picture to be processed in the second figure layer
A figure layer or the 4th figure layer) in cutting starting point A2, and then can according to the length of the picture cutting region of the second figure layer and
Width determines second cutting region B2 of the picture to be processed in the second figure layer.For example, due to the starting point of the first cutting region B1
Coordinate origin (X0, Y0), length L1, width W1, then can determine the starting point coordinate of the second cutting region B2 be (X0+L1,
Y0), the length of the second cutting region B2 be L2, width W2, thus can determine the second cutting region B2 be (X0+L1, Y0, L2,
W2).Similarly, it may be determined that third cutting region B3 (X0, Y0+W1, L3, W3) of the picture to be processed in third figure layer,
The 4th cutting region B4 (X0+L1, Y0+W1, L4, W4) etc. in 4th figure layer.
In some possible embodiments, terminal has determined picture to be processed (corresponding each to be processed in each figure layer
Picture) in picture cutting region after, then can be cut on each picture to be processed and obtain the corresponding finger of each cutting region
Determine picture.For example, terminal can intercept corresponding first picture of the first cutting region from first picture to be processed, and
The each picture that intercepts corresponding second picture of the second cutting region etc. on two pictures to be processed, and then cutting can be obtained into
Row splicing, recombination obtain the splicing picture with default picture interval or picture dislocation effect.
S104 spells each designated pictures according to position of the designated pictures in the picture to be processed
It connects, to obtain splicing picture.
In some possible embodiments, after each picture that terminal is cut from each picture to be processed,
It can then be spliced according to position of the above-mentioned each designated pictures in picture to be processed, obtain splicing picture.In the specific implementation,
Terminal can also obtain the picture combination mode of the preset picture splicing of terminal user, recombination, and then can be according to above-mentioned picture
Combination is spliced each designated pictures, is recombinated, and splicing picture is obtained.Wherein, it can be set in above-mentioned picture combination mode
It is fixed when splicing each picture, placement position or splicing interval of each picture etc., and then above-mentioned cutting can be obtained the
One picture or second picture are spliced, and splicing picture is obtained.For example, terminal user can preset putting for the first picture
Position is the designated position C1 on painting canvas, and the placement position of second picture is the designated position C2 on painting canvas, the first picture and the
S1 is divided between the splicing of two pictures.Terminal is according to the placement position of the picture limited in above-mentioned picture processing mode by the first picture
It exports with second picture to the designated position on picture display interface, then a new picture can be obtained, be figure to be processed
Piece is added to cutting visual effect.
The embodiment of the present invention can obtain the pictures such as number or the location information of preset picture cutting region processing information,
The number to picture to be processed required for picture to be processed progress cutting process is determined according to the number of picture cutting region, into
And it can be cut in every part of picture to be processed and obtain the corresponding each designated pictures of location information of picture cutting region.That is this hair
Bright embodiment can cut the corresponding designated pictures in a given cut region on every picture to be processed, realize to each cutting
The independent processing of the picture in region enhances the processing flexibility and interest of picture to be processed.The embodiment of the present invention can also incite somebody to action
The designated pictures that each cutting region is cut are spliced, and enhance the visual effect of picture splicing shows power.
It referring to fig. 4, is the second embodiment flow diagram of image processing method provided in an embodiment of the present invention.This implementation
Image processing method described in example, including step:
S201 obtains a picture to be processed, described in calculating from network share space or terminal local memory space
The picture specification of picture to be processed is simultaneously stored in designated memory space.
In some possible embodiments, terminal user can voluntarily shoot a photo by the shooting function of mobile phone,
Perhaps a picture is voluntarily created by the picture authoring tools in terminal and will shoot or create obtained photo (wait locate
Reason picture) it stores into mobile phone local storage space.Terminal can directly obtain above-mentioned figure to be processed from its local storage space
Piece, to handle above-mentioned picture to be processed.In the specific implementation, terminal can also be from network when terminal is in connected state
A picture is downloaded in the communal space as picture to be processed, the picture to be processed that downloading obtains can also be stored to terminal local
Memory space, and then the picture to be processed that can obtain above-mentioned downloading is cut, splices reorganization, obtains having predetermined effect
The picture of fruit.Wherein, above-mentioned network share space may include:QQ space, Renren Network, microblogging, wechat, Baidu's cloud, ends of the earth community
Or the communal space that social network-i i-platforms provide such as know, above-mentioned social network-i i-platform is only citing, and non exhaustive, include but
It is not limited to above-mentioned social network-i i-platform, herein with no restrictions.
It in some possible embodiments, then can picture specification meter after terminal acquires above-mentioned picture to be processed
Calculation tool calculates the picture specification of picture to be processed, and the picture specification of picture to be processed is stored to designated memory space.Eventually
End in the process of processing, if desired obtains the picture specification of picture to be processed to picture to be processed, then can specify from above-mentioned
It is directly acquired in position, without calculating again.
S202, obtains preset picture processing information, includes the number of picture cutting region in the picture processing information
With the location information of picture cutting region.
In the specific implementation, the specific implementation process that above-mentioned terminal obtains preset picture processing information can be found in above-mentioned first
Step S101 in embodiment, details are not described herein.
It is deposited it should be noted that above-mentioned image processing data can preset and store to the specified of terminal for terminal user
The information in space is stored up, when above-mentioned picture processing information is used to indicate terminal to picture to be processed progress cutting process, needed for terminal
The number of determining picture cutting region and the location information of picture cutting region.The location information of above-mentioned picture cutting region has
Body can be the information such as cutting starting point, cutting terminal, Cutting Length, cutting width or cutting profile, herein with no restrictions.
S203 determines institute required for carrying out cutting process to picture to be processed according to the number of the picture cutting region
The number N of picture to be processed is stated, and obtains the described N parts picture to be processed, the N is natural number.
In the specific implementation, above-mentioned terminal acquisition carries out picture to be processed to cut the specific of required N part picture to be processed
Realization process can be found in the step S102 in above-mentioned first embodiment, and details are not described herein.
S204 is determined according to the location information of the picture cutting region and is cut on every picture to be processed
Each cutting region location information, and the corresponding finger of each cutting region is cut from each Zhang Suoshu picture to be processed
Determine picture.
In the specific implementation, above-mentioned terminal, which obtains the cutting from each picture to be processed, obtains the corresponding finger of each cutting region
The specific implementation process for determining picture can be found in step S103 in above-mentioned first embodiment, and details are not described herein.
It should be noted that the location information of each cutting region described in the embodiment of the present invention includes:It is each to cut
Cut the cutting starting point in region, the cutting end point of each cutting region, the length of each cutting region, each cutting region width
Or cutting profile of each cutting region etc..Wherein, above-mentioned cutting starting point concretely coordinate system pair in the embodiment of the present invention
The cutting starting point coordinate for each cutting region answered, above-mentioned cutting end point can be the corresponding each cutting region of above-mentioned coordinate system
End coordinates are cut, herein with no restrictions.
S205 spells each designated pictures according to position of the designated pictures in the picture to be processed
It connects, to obtain splicing picture.
In the specific implementation, above-mentioned terminal is spliced the obtained designated pictures of cutting, the specific implementation process that recombinates can
Referring to the step S104 in above-mentioned first embodiment, details are not described herein.
It further, can be according to above-mentioned when terminal splices each designated pictures that picture to be processed is cut
(picture i.e. to be processed is above-mentioned each specified by before cutting in home position of each designated pictures in above-mentioned picture to be processed
Region locating for picture), determine the splicing sequence of above-mentioned each designated pictures, and will be above-mentioned according to the splicing of above-mentioned determination sequence
Each designated pictures are spliced, and splicing picture is obtained.
For example, terminal can intercept the corresponding first picture D1 of first cutting region in first figure layer such as Fig. 5,
The corresponding second picture D2 of second cutting region is intercepted in second figure layer, and third is intercepted in third figure layer and is cut
The corresponding third picture D3 in region is cut, the corresponding 4th picture D4 of the 4th cutting region is intercepted in the 4th figure layer,
And then can according to the position of above-mentioned each designated pictures D1, D2, D3 and D4 in former picture to be processed by above-mentioned four pictures D1,
D2, D3 and D4 are spliced according to placement position sequence, are recombinated, and a new picture is obtained.
Further, in some possible embodiments, terminal presets picture when picture carries out splicing recombination
Combination, i.e., the picture combination mode each picture cut from picture to be processed spliced, recombinated.Its
In, above-mentioned picture combination mode may include:Picture splicing sequence and picture stitching position etc., that is, can be in above-mentioned picture combination side
When each picture is spliced on painting canvas by setting in formula, each picture puts sequence (picture splicing sequence) and placement position
(picture stitching position), and splicing interval etc..Further, above-mentioned cutting can be obtained according to above-mentioned picture splicing sequence
First picture or second picture are exported to painting canvas, and are put the first picture and second picture according to above-mentioned picture stitching position
It puts to designated position (i.e. the placement position of the first picture or second picture), obtains the splicing picture of picture to be processed.For example,
The placement position of the first picture can be preset when terminal profile picture processing mode as the designated position C1 on painting canvas, the second figure
The placement position of piece is the designated position C2 on painting canvas, is divided into S1 between the first picture and the splicing of second picture.Terminal is according to upper
The placement position for stating the picture limited in picture processing mode exports the first picture and second picture to picture display interface
Designated position after, then a new picture can be obtained, such as Fig. 5, Fig. 5 are picture to be processed provided in an embodiment of the present invention
Another treatment effect figure.Terminal can cut from picture to be processed according to the cutting region determined in above-mentioned Fig. 3 and obtain four figures
Piece D1, D2, D3 and D4, then above-mentioned picture D1, D2, D3 and D4 are exported to designated position C1, C2, C3 on picture display interface
And C4, it is divided into S1 between the splicing of each picture, is added to cutting visual effect for picture to be processed.
In some possible embodiments, after each designated pictures that cutting obtains are carried out splicing recombination by terminal,
Also designated pictures content can be filled in the other positions other than the position of each designated pictures in spliced map on piece, for example,
Designated pictures content etc. is filled on picture splicing interval.Wherein, above-mentioned designated pictures content may include:Above-mentioned each specified figure
The mark information etc. of any image (such as lace figure, hacures etc.) other than piece or above-mentioned each designated pictures, herein not
It is limited.Wherein, the mark information of above-mentioned designated pictures may include:The shooting time of designated pictures (is also picture to be processed
Shooting time), the shooting location (being also the shooting location of picture to be processed) of the designated pictures includes in above-mentioned designated pictures
Marker title or above-mentioned designated pictures the coordinate position (seat of the corresponding cutting region of i.e. above-mentioned each designated pictures
Cursor position) etc., herein with no restrictions.
In the specific implementation, canvas location except the designated position of above-mentioned painting canvas concretely the first picture and second picture
Splicing interval, i.e. gap between the first picture and the placement position of second picture.Terminal can be on above-mentioned splicing interval, root
Designated pictures data are filled to above-mentioned painting canvas according to the fill order of preset designated pictures content, and/or according to pre-
If designated pictures content filling color be designated pictures content colouring.In embodiments of the present invention, terminal can also first basis
The background filling color of designated pictures content is painting canvas colouring, then will be on designated pictures fills to the painting canvas.Such as Fig. 6,
Terminal can fill white at the splicing interval of the first picture and second picture, and lace figure is filled on above-mentioned splicing interval
" O ", to increase the magic effect of picture, i.e. predetermined pictures effect.Wherein, above-mentioned magic effect is only in predetermined pictures effect
One kind, the actual demand that above-mentioned predetermined pictures effect can be handled according to picture is determining, herein with no restrictions.
Further, terminal can also obtain the filling mode of the preset picture splicing effect of terminal user, including:Figure
The fill style of piece frame lines, the filling color of above-mentioned picture frame lines or the backstyle for splicing picture etc..At this
In inventive embodiments, after the first picture that cutting obtains or second picture are spliced the designated position to painting canvas by terminal,
Also picture frame lines can be added in the frame of above-mentioned first picture or second picture.That is, terminal can be imitated according to above-mentioned picture
The fill style of the picture frame lines limited in the filling mode of fruit adds phase as the frame of the first picture or second picture
The lines answered, and the corresponding color of filling color limited in the filling mode of above-mentioned picture effect can be filled for above-mentioned lines,
It can paint for above-mentioned frame lines, enhance the picture that the first picture and second picture splice shows power.Such as Fig. 6,
Fig. 6 is another treatment effect figure of picture to be processed provided in an embodiment of the present invention.Terminal can add side for the picture D1 in Fig. 5
Wire item, and paint for above-mentioned frame lines, it may be, for example, frame lines and fill red (red is represented with black in Fig. 6) etc..
The embodiment of the present invention can obtain the pictures such as number or the location information of preset picture cutting region processing information,
The number to picture to be processed required for picture to be processed progress cutting process is determined according to the number of picture cutting region, into
And it can be cut in every part of picture to be processed and obtain the corresponding each designated pictures of location information of picture cutting region.That is this hair
Bright embodiment can cut the corresponding designated pictures in a given cut region on every picture to be processed, realize to each cutting
The independent processing of the picture in region enhances the processing flexibility and interest of picture to be processed.The embodiment of the present invention can also incite somebody to action
The designated pictures that each cutting region is cut are spliced, added on the obtained picture of cutting picture frame lines,
Designated pictures data are added on the splicing interval of picture, are that designated pictures data or painting canvas are painted, are improved picture processing
Flexibility and interest, enhance the visual effect of picture splicing shows power.
It is the schematic structural diagram of the first embodiment of picture processing unit provided in an embodiment of the present invention referring to Fig. 7.This implementation
Picture processing unit described in example, including:
Module 10 is obtained, includes that picture is cut in the picture processing information for obtaining preset picture processing information
The number in region and the location information of picture cutting region.
The number of determining module 20, the picture cutting region obtained according to the acquisition module is determined to figure to be processed
The number N, the N that piece carries out the picture to be processed required for cutting process are natural number.
The acquisition module 10 is also used to obtain the described N parts picture to be processed.
The location information of cutting module 30, the picture cutting region for being obtained according to the acquisition module determines
The each cutting region cut on every picture to be processed, and each institute is cut from each Zhang Suoshu picture to be processed
State the corresponding designated pictures of cutting region.
Splicing module 40, each designated pictures for cutting the switching module exist according to the designated pictures
Position in the picture to be processed is spliced, to obtain splicing picture.
In some possible embodiments, terminal can by obtain module 10 first from terminal local memory space or
Picture and its picture specification to be processed is obtained in network share space.Wherein, above-mentioned picture to be processed can be for terminal user voluntarily
One picture of shooting or creation.It, then can will be wait locate after terminal user's shooting or creation obtain above-mentioned picture to be processed
Reason picture is stored to terminal local memory space or network share spatially.The picture specification of above-mentioned picture to be processed includes:
The length and width of picture to be processed.In the specific implementation, terminal by obtain module 10 acquire above-mentioned picture to be processed and
After its picture specification, then coordinate system can be established according to picture specification.In the specific implementation, seat described in the embodiment of the present invention
The specific location of mark system each cutting region when can be used for determining to picture to be processed progress cutting process, including each cutting area
The length and width for cutting starting point coordinate, cutting end point coordinate and cutting region in domain, picture to be processed is cut into more
A small picture, and obtained small picture will be cut and spliced, recombinated, the splicing picture for obtaining picture to be processed is (above-mentioned wait locate
The splicing picture of reason picture is alternatively referred to as purpose picture).
In some possible embodiments, if Fig. 2, Fig. 2 are the schematic diagram of coordinate system provided in an embodiment of the present invention.Eventually
End can be to be processed using the length L of picture to be processed as X-axis using the top left corner apex of picture to be processed as coordinate origin (X0, Y0)
The width W of picture is that Y-axis establishes coordinate system, wherein the X axis right side is positive direction, is positive direction under Y-axis.
In some possible embodiments, it after acquisition module 10 obtains picture to be processed, can also obtain preset
Picture handles information.Specifically, obtain module 10 can obtain in advance terminal user setting above-mentioned picture processing information, and by its
It stores to designated memory space.When terminal starts picture process flow, obtaining module 10 can be empty from above-mentioned specified storage in advance
Between middle obtain above-mentioned picture and handle information.Wherein, above-mentioned picture processing information may include:The number and picture of picture cutting region
The location information etc. of cutting region.That is, terminal user can preset the cutting for being cut picture to be processed
Number, that is, picture to be processed cut the number of desired picture cutting region, a cutting region is cleavable to obtain one
Part designated pictures, and then can will cut obtained designated pictures and be spliced to obtain splicing picture.Above-mentioned picture cutting region
Location information may include:The information such as the length and width of the starting point coordinate of cutting region, terminal point coordinate and cutting region, herein
With no restrictions.Terminal is established after coordinate system, and determining module 20 can then be determined according to above-mentioned preset picture processing information wait locate
Manage picture in each cutting region specific location, and then can be determined in every part of picture to be processed each cutting region and to
Cutting obtains corresponding picture in processing picture.In the specific implementation, the specific implementation process of above-mentioned acquisition module can be found in this hair
Step S101 in the first embodiment for the image processing method that bright embodiment provides, details are not described herein.
In some possible embodiments, the picture processing letter that module 10 acquires terminal to picture to be processed is obtained
After breath, determining module 20 then can handle information according to above-mentioned picture and picture to be processed is cut or recombinated.It is specific real
In existing, the embodiment of the present invention can store above-mentioned picture to be processed in multiple figure layers, i.e., each figure layer store respectively one it is above-mentioned
Picture to be processed, the picture that terminal can cut picture to be processed in each figure layer, and then will cut in each figure layer
Spliced, obtains a new picture (the splicing picture of picture i.e. to be processed).
In the specific implementation, determining module 20 can handle of the picture cutting region limited in information according to above-mentioned picture
Number determines the number that above-mentioned picture to be processed required for cutting process is carried out to picture to be processed, wherein each picture cutting
Region corresponds to an above-mentioned picture to be processed.For example, when the number for obtaining the picture cutting region that module 10 acquires is N,
Determining module 20, which then can determine, needs for picture to be processed to be cut into N parts, and then is spelled N parts of pictures by splicing module 40
It connects, recombinate and obtain new picture.Determining module 20 determine picture cutting region number N after, then can determine needs wait locate
The number N of picture is managed, and then given cut region pair can be opened in every part of above-mentioned cutting one of picture to be processed by cutting module 30
The designated pictures answered, then spliced all designated pictures by splicing module 40, obtain splicing picture.Specifically, determining
After module 20 has determined the number N for carrying out above-mentioned picture to be processed required for cutting process to picture to be processed, then it can lead to
It crosses acquisition module 10 and obtains N parts of above-mentioned pictures to be processed, obtained with being cut from every part of picture to be processed by cutting module 30
Corresponding picture.Wherein, above-mentioned N natural number, specific size can be determining according to practical application scene, herein with no restrictions.Specifically
In realization, the specific implementation process of above-mentioned determining module can be found in the first reality of image processing method provided in an embodiment of the present invention
The step S102 in example is applied, details are not described herein.
In some possible embodiments, determining module 20 has determined the number N of picture to be processed, and by obtaining mould
After block 10 acquires N parts of identical pictures (picture i.e. to be processed) from designated memory space, cutting module 30 then can basis
The location information of the picture cutting region limited in above-mentioned picture processing information, determination are cut on every picture to be processed
Each cutting region.It is cut specifically, cutting module 30 can handle first picture limited in information according to above-mentioned picture
The information such as cutting starting point, cutting end point, length, width and the cutting profile in region determine on first picture to be processed
First cutting region of picture cutting is carried out, and then second picture limited in information can be handled according to above-mentioned picture and cut
The information such as cutting starting point, cutting end point, length, width and the cutting profile in region determine on second picture to be processed
Carry out picture cutting second cutting region, and then can according to the cutting starting point of each cutting region, cutting end point, length,
The information such as width and cutting profile determine each cutting region cut on every picture to be processed.Cutting module 30
After the cutting region cut on every picture to be processed has been determined, then it can cut and obtain from every picture to be processed
The corresponding designated pictures of each cutting region.
If Fig. 3, Fig. 3 are a treatment effect figures of picture to be processed.Assuming that the picture cutting set in picture processing information
The number in region be 4, cutting module 30 can according to the number of above-mentioned picture cutting region determine need 4 identical pictures come
Complete cutting, the splicing of picture.In the specific implementation, cutting module 30 can realize the processing of picture by figure layer, wherein each
Figure layer corresponds to a picture, and cutting module 30 can handle in each figure layer and obtain a picture, and then can pass through splicing module
The picture of each figure layer is spliced, is recombinated by 40.For example, cutting module 30 can cut picture to be processed in the first figure layer
First picture cutting region, the range of first picture cutting region include:Cut starting point A1, length L1, width W1 or
Cutting profile (such as rectangle), wherein after cutting starting point, length, width and shape (rectangle) determine, then can determine cutting eventually
Point A4, repeats no more below;Cutting module 30 can cut second picture cutting region of picture to be processed in the second figure layer,
The range of second picture cutting region includes:Cut starting point A2, length L2, width W2 or cutting profile (such as rectangle);It cuts
The third picture cutting region of picture to be processed can be cut in third figure layer by cutting module 30, third picture cutting region
Range includes:Cut starting point A3, length L3, width W3 or cutting profile (such as rectangle);Cutting module 30 can be in the 4th figure layer
4th picture cutting region of middle cutting picture to be processed, the range of the 4th picture cutting region include:Starting point A4 is cut,
Length L4, width W4 or cutting profile (such as rectangle);Wherein, the length of above-mentioned L1, L2, L3 and L4 and be less than picture to be processed
Length L, the width of above-mentioned W1, W2, W3 and W4 and the width W less than or equal to picture to be processed.
In some possible embodiments, cutting module 30 according to preset picture handle information determine each it is to be processed
When the corresponding cutting region of picture, in combination with the coordinate system of above-mentioned foundation, cutting of the picture to be processed in each figure layer is determined
The specific location of region in a coordinate system, for example, picture to be processed in the first figure layer (corresponding first picture to be processed) the
One cutting region, second cutting region etc. of the picture to be processed on the second figure layer (corresponding second picture to be processed), wherein
Above-mentioned first figure layer or the second figure layer are any one in each figure layer, herein with no restrictions.Specifically, cutting module 30
It can be the starting point A1 of the picture cutting region of the first figure layer (concretely first figure layer) with the origin (X0, Y0) of coordinate system,
In conjunction with the corresponding picture cutting region of the first figure layer range (starting point A1, length L1, width W1) in length L1 and
Width W1 determines that the first cutting region B1 in the first figure layer is (X0, Y0, L1, W1).Cutting module 30 determines the first cutting area
After the B1 of domain, then picture to be processed can be determined in the second figure layer (concretely according to the length and width of the first cutting region
Two figure layers can also be third figure layer or the 4th figure layer) in cutting starting point A2, and then can be according to the figure of the second figure layer
The length and width of piece cutting region determines second cutting region B2 of the picture to be processed in the second figure layer.For example, due to
The starting point of one cutting region B1 is coordinate origin (X0, Y0), length L1, width W1, and cutting module 30 then can determine second
The starting point coordinate of cutting region B2 is (X0+L1, Y0), and the length of the second cutting region B2 is L2, thus width W2 can determine
Second cutting region B2 is (X0+L1, Y0, L2, W2).Similarly, cutting module 30 can determine picture to be processed in third figure layer
On third cutting region B3 (X0, Y0+W1, L3, W3), in the 4th figure layer the 4th cutting region B4 (X0+L1,
Y0+W1, L4, W4) etc..
In some possible embodiments, cutting module 30 has determined that picture to be processed is (each corresponding in each figure layer
Picture to be processed) in picture cutting region after, then can be cut on each picture to be processed and obtain each cutting region pair
The designated pictures answered.For example, cutting module 30 can intercept the first cutting region corresponding first from first picture to be processed
Picture intercepts corresponding second picture of the second cutting region etc. on second picture to be processed, and then can pass through splicing module
Each picture that cutting obtains is spliced, is recombinated by 40, obtains the spelling with default picture interval or picture dislocation effect
Map interlinking piece.In the specific implementation, the specific implementation process of above-mentioned cutting module can be found in picture processing provided in an embodiment of the present invention
Step S103 in the first embodiment of method, details are not described herein.
In some possible embodiments, each picture that cutting module 30 is cut from each picture to be processed
Later, splicing module 40 can then be spliced according to position of the above-mentioned each designated pictures in picture to be processed, be spliced
Picture.In the specific implementation, splicing module 40 can also obtain the picture combination side of the preset picture splicing of terminal user, recombination
Formula, and then each designated pictures can be spliced according to above-mentioned picture combination mode, be recombinated, obtain splicing picture.Wherein, on
It states when can be set in picture combination mode by the splicing of each picture, placement position of each picture or splicing interval etc., in turn
The first picture or second picture that above-mentioned cutting obtains can be spliced, obtain splicing picture.For example, terminal user can be pre-
The placement position of the first picture is first set as the designated position C1 on painting canvas, the placement position of second picture is specified on painting canvas
Position C2 is divided into S1 between the first picture and the splicing of second picture.Splicing module 40 is limited according in above-mentioned picture processing mode
The placement position of picture the first picture and second picture are exported to the designated position on picture display interface, then can obtain
The picture new to one is added to cutting visual effect for picture to be processed.In the specific implementation, the specific reality of above-mentioned splicing module
Existing process can be found in the step S104 in the first embodiment of image processing method provided in an embodiment of the present invention, no longer superfluous herein
It states.
In embodiments of the present invention, terminal can obtain the pictures such as number or the location information of preset picture cutting region
Information is handled, picture to be processed required for carrying out cutting process to picture to be processed is determined according to the number of picture cutting region
Number, and then can be cut in every part of picture to be processed and obtain the corresponding each Zhang Zhiding figure of location information of picture cutting region
Piece.I.e. the embodiment of the present invention can cut the corresponding designated pictures in a given cut region on every picture to be processed, realize
Independent processing to the picture of each cutting region enhances the processing flexibility and interest of picture to be processed.In the present invention
In embodiment, terminal can also splice the designated pictures that each cutting region is cut, and enhance the view of picture splicing
That feels effect shows power.
It is the schematic structural diagram of the second embodiment of picture processing unit provided in an embodiment of the present invention referring to Fig. 8.This implementation
Picture processing unit described in example, including:
Module 10 is obtained, includes that picture is cut in the picture processing information for obtaining preset picture processing information
The number in region and the location information of picture cutting region.
In the specific implementation, the specific implementation process of above-mentioned acquisition module 10 can be found in reality performed by above-mentioned acquisition module 10
Existing mode, details are not described herein.
Further, above-mentioned acquisition module 10 can also be used to obtain picture to be processed.Terminal user can pass through the bat of mobile phone
Camera shooting function voluntarily shoots a photo, or voluntarily creates a picture by the picture authoring tools in terminal, and will shooting
Or the photo (picture to be processed) that creation obtains is stored into mobile phone local storage space.Obtaining module 10 can be directly from it
Above-mentioned picture to be processed is obtained in ground memory space, to handle above-mentioned picture to be processed.In the specific implementation, at terminal
When connected state, a picture can also be downloaded as picture to be processed from network share space by obtaining module 10, can also be incited somebody to action
Obtained picture to be processed is downloaded to store to terminal local memory space, so can by picture to be processed that above-mentioned downloading obtains into
Row cutting, splicing reorganization, obtain the picture with desired effects.Wherein, above-mentioned network share space may include:QQ is empty
Between, Renren Network, microblogging, wechat, Baidu's cloud, ends of the earth community or the communal space that social network-i i-platforms provide such as know, it is above-mentioned
Social network-i i-platform is only citing, and non exhaustive, including but not limited to above-mentioned social network-i i-platform, herein with no restrictions.
It in some possible embodiments, then can picture after acquisition module 10 acquires above-mentioned picture to be processed
Specification calculating instrument calculates the picture specification of picture to be processed, and the picture specification of picture to be processed is stored to specified storage sky
Between.Terminal in the process of processing, if desired obtains the picture specification of picture to be processed to picture to be processed, then can be from above-mentioned
It is directly acquired in designated position, without calculating again.
Place is treated in the number determination of determining module 21, the picture cutting region for being obtained according to the acquisition module
Managing picture and carrying out the number N, the N of the picture to be processed required for cutting process is natural number;The acquisition module 10,
It is also used to obtain the described N parts picture to be processed.
Implementation performed by the acquisition module 20 in above-described embodiment can be performed in above-mentioned determining module 21, further
, it can also carry out following operation:
In some possible embodiments, above-mentioned determining module 21 is specifically used for:
Location information determination according to the picture cutting region of the acquisition module acquisition is described to be processed at every
The location information of each cutting region cut on picture;
Wherein, the location information of each cutting region includes:It is the cutting starting point of each cutting region, described each
The cutting end point of a cutting region, the length of each cutting region, the width of each cutting region and described each
At least one of the cutting profile of a cutting region.
It is deposited it should be noted that above-mentioned image processing data can preset and store to the specified of terminal for terminal user
The information in space is stored up, when above-mentioned picture processing information is used to indicate terminal to picture to be processed progress cutting process, needed for terminal
The number of determining picture cutting region and the location information of picture cutting region.The location information of above-mentioned picture cutting region has
Body can be the information such as cutting starting point, cutting terminal, Cutting Length, cutting width or cutting profile, herein with no restrictions.
The location information of cutting module 30, the picture cutting region for being obtained according to the acquisition module determines
The each cutting region cut on every picture to be processed, and each institute is cut from each Zhang Suoshu picture to be processed
State the corresponding designated pictures of cutting region.
In the specific implementation, the specific implementation process of above-mentioned cutting module 30 can be found in reality performed by above-mentioned cutting module 30
Existing mode, details are not described herein.
It should be noted that the location information of each cutting region described in the embodiment of the present invention includes:It is each to cut
Cut the cutting starting point in region, the cutting end point of each cutting region, the length of each cutting region, each cutting region width
Or cutting profile of each cutting region etc..Wherein, above-mentioned cutting starting point concretely coordinate system pair in the embodiment of the present invention
The cutting starting point coordinate for each cutting region answered, above-mentioned cutting end point can be the corresponding each cutting region of above-mentioned coordinate system
End coordinates are cut, herein with no restrictions.
Splicing module 41, each designated pictures for cutting the switching module exist according to the designated pictures
Position in the picture to be processed is spliced, to obtain splicing picture.
In the specific implementation, realization side performed by the splicing module 40 in above-described embodiment can be performed in above-mentioned splicing module 41
Formula further can also carry out following operation:
In some possible embodiments, above-mentioned splicing module 41 is specifically used for:
According to position of each designated pictures in the picture to be processed, the spelling of each designated pictures is determined
Sequence is connect, and splices each designated pictures according to the splicing sequence, obtains the splicing picture.
In the specific implementation, when splicing module 41 splices each designated pictures that picture to be processed is cut, it can
According to home position of the above-mentioned each designated pictures in above-mentioned picture to be processed, (picture i.e. to be processed is above-mentioned by before cutting
Region locating for each designated pictures), determine the splicing sequence of above-mentioned each designated pictures, and suitable according to the splicing of above-mentioned determination
Sequence splices above-mentioned each designated pictures, obtains splicing picture.
For example, terminal can intercept the corresponding first picture D1 of first cutting region in first figure layer such as Fig. 5,
The corresponding second picture D2 of second cutting region is intercepted in second figure layer, and third is intercepted in third figure layer and is cut
The corresponding third picture D3 in region is cut, the corresponding 4th picture D4 of the 4th cutting region is intercepted in the 4th figure layer,
And then can according to the position of above-mentioned each designated pictures D1, D2, D3 and D4 in former picture to be processed by above-mentioned four pictures D1,
D2, D3 and D4 are spliced according to placement position sequence, are recombinated, and a new picture is obtained.
In some possible embodiments, picture processing unit provided in an embodiment of the present invention further includes:
Module 50 is filled, the spliced map on piece for splicing in the splicing module is in addition to each designated pictures
Position except other positions on fill designated pictures content;
Wherein, the designated pictures content includes:Any image or each described other than each designated pictures
The mark information of designated pictures;
The mark information of the designated pictures includes:The shooting time of the designated pictures, the shooting of the designated pictures
Place, the coordinate position of the marker title or the designated pictures that include in the designated pictures.
In some possible embodiments, above-mentioned filling module 50 is specifically used for:
According to the fill order of the preset designated pictures content by the designated pictures fills to the splicing
On picture;Or
According to the fill order of the preset designated pictures content by the designated pictures fills to the splicing
It on picture, and is designated pictures content colouring according to the filling color of the preset designated pictures content;Or
The background colouring that color is the splicing picture, and root are filled according to the background of the preset designated pictures content
According to the fill order of the preset designated pictures content by the designated pictures fills to the spliced map on piece.
In some possible embodiments, above-mentioned filling module 50, for being added on the frame of the designated pictures
The default corresponding picture frame lines of the fill style;Alternatively, adding default the fill style pair on the frame of the designated pictures
The picture frame lines answered, and it is color for the picture frame lines fill color.
Further, in some possible embodiments, terminal can preset figure when picture carries out splicing recombination
Piece combination, i.e., the picture combination mode each picture cut from picture to be processed spliced, recombinated.Its
In, above-mentioned picture combination mode may include:Picture splicing sequence and picture stitching position etc., that is, can be in above-mentioned picture combination side
When each picture is spliced on painting canvas by setting in formula, each picture puts sequence (picture splicing sequence) and placement position
(picture stitching position), and splicing interval etc..Further, above-mentioned cutting can be obtained according to above-mentioned picture splicing sequence
First picture or second picture are exported to painting canvas, and are put the first picture and second picture according to above-mentioned picture stitching position
It puts to designated position (i.e. the placement position of the first picture or second picture), obtains the splicing picture of picture to be processed.For example,
The placement position of the first picture can be preset when terminal profile picture processing mode as the designated position C1 on painting canvas, the second figure
The placement position of piece is the designated position C2 on painting canvas, is divided into S1 between the first picture and the splicing of second picture.Terminal is according to upper
The placement position for stating the picture limited in picture processing mode exports the first picture and second picture to picture display interface
Designated position after, then a new picture can be obtained, such as Fig. 5, Fig. 5 are picture to be processed provided in an embodiment of the present invention
Another treatment effect figure.Cutting module 30 can cut from picture to be processed according to the cutting region determined in above-mentioned Fig. 3 and obtain
Four picture D1, D2, D3 and D4, then exported above-mentioned picture D1, D2, D3 and D4 to picture display interface by splicing module 41
On designated position C1, C2, C3 and C4, be divided into S1 between the splicing of each picture, be added to cutting visual effect for picture to be processed.
In some possible embodiments, each designated pictures that cutting obtains are carried out splicing recombination by splicing module 41
Later, it can also be filled in other positions other than the position of each designated pictures by filling module 50 in spliced map on piece
Designated pictures content, for example, filling module 50 can splice in picture fills designated pictures content etc. on interval.Wherein, above-mentioned finger
Determining image content may include:Any image (such as lace figure, hacures etc.) or above-mentioned other than above-mentioned each designated pictures
The mark information etc. of each designated pictures, herein with no restrictions.Wherein, the mark information of above-mentioned designated pictures may include:It is specified
The shooting time (being also the shooting time of picture to be processed) of picture, the shooting location of the designated pictures (is also figure to be processed
The shooting location of piece), the coordinate position of the marker title or above-mentioned designated pictures that include in above-mentioned designated pictures is (on i.e.
State the coordinate position of the corresponding cutting region of each designated pictures) etc., herein with no restrictions.
In the specific implementation, canvas location except the designated position of above-mentioned painting canvas concretely the first picture and second picture
Splicing interval, i.e. gap between the first picture and the placement position of second picture.Filling module 50 can be between above-mentioned splicing
Every upper, designated pictures data are filled to above-mentioned painting canvas according to the fill order of preset designated pictures content, and/or
It is the colouring of designated pictures content according to the filling color of preset designated pictures content.In embodiments of the present invention, module is filled
50, which first can also fill color according to the background of designated pictures content, is that painting canvas is painted, then by designated pictures fills to the picture
On cloth.Such as Fig. 6, white can be filled at the splicing interval of the first picture and second picture by filling module 50, and in above-mentioned splicing
Lace figure " O " is filled on interval, to increase the magic effect of picture, i.e. predetermined pictures effect.Wherein, above-mentioned magic effect is only
One of predetermined pictures effect, the actual demand that above-mentioned predetermined pictures effect can be handled according to picture determines, does not limit herein
System.
Further, filling module 50 can also obtain the filling mode of the preset picture splicing effect of terminal user,
Including:The backstyle of the fill style of picture frame lines, the filling color of above-mentioned picture frame lines or splicing picture
Deng.In embodiments of the present invention, splicing module 41 splices the first picture or second picture that cutting obtains to painting canvas
After designated position, filling module 50 can also add picture frame lines in the frame of above-mentioned first picture or second picture.
That is, the fill style for the picture frame lines that filling module 50 can limit in the filling mode according to above-mentioned picture effect is first
The frame of picture or second picture adds corresponding lines, and the filling mode of above-mentioned picture effect can be filled for above-mentioned lines
The corresponding color of filling color of middle restriction can paint for above-mentioned frame lines, enhance the first picture and second picture is spelled
The picture connect shows power.If Fig. 6, Fig. 6 are another treatment effect figure of picture to be processed provided in an embodiment of the present invention.
Frame lines can be added for the picture D1 in Fig. 5 by filling module 50, and be painted for above-mentioned frame lines, may be, for example, frame lines
Fill red (red is represented with black in Fig. 6) etc..In the specific implementation, the specific implementation process of above-mentioned filling module can be found in this
Step S205 in the second embodiment for the image processing method that inventive embodiments provide, details are not described herein.
In embodiments of the present invention, terminal can obtain the pictures such as number or the location information of preset picture cutting region
Information is handled, picture to be processed required for carrying out cutting process to picture to be processed is determined according to the number of picture cutting region
Number, and then can be cut in every part of picture to be processed and obtain the corresponding each Zhang Zhiding figure of location information of picture cutting region
Piece.I.e. terminal can cut the corresponding designated pictures in a given cut region on every picture to be processed, and realization is cut to each
The independent processing for cutting the picture in region enhances the processing flexibility and interest of picture to be processed.In embodiments of the present invention,
Terminal can also splice the designated pictures that each cutting region is cut, and picture side is added on the picture that cutting obtains
Wire item adds designated pictures data on the splicing interval of picture, is that designated pictures data or painting canvas are painted, improves figure
The flexibility and interest of piece processing, enhance the visual effect of picture splicing shows power.
It is the example structure schematic diagram of terminal provided in an embodiment of the present invention referring to Fig. 9.It is as described in this embodiment
Terminal, including:Memory 1000 and picture processing unit 2000, above-mentioned memory 1000 are connected with picture processing unit 2000.
In the specific implementation, above-mentioned memory 1000 is used to store a set of program code, above-mentioned picture processing unit 2000 is used
In calling the program code stored in above-mentioned memory 1000, execute described in image processing method provided by the above embodiment
Implementation, details are not described herein.That is, in embodiments of the present invention, above-mentioned picture processing unit 2000 concretely this hair
Picture processing unit described in the first embodiment or second embodiment of the picture processing unit that bright embodiment provides,
Implementation can be found in above-described embodiment, and details are not described herein.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the 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 disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.