CN103927115B - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN103927115B CN103927115B CN201410099362.0A CN201410099362A CN103927115B CN 103927115 B CN103927115 B CN 103927115B CN 201410099362 A CN201410099362 A CN 201410099362A CN 103927115 B CN103927115 B CN 103927115B
- Authority
- CN
- China
- Prior art keywords
- pictures
- input
- picture
- input operation
- new picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 16
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims description 46
- 230000004044 response Effects 0.000 claims description 44
- 230000008569 process Effects 0.000 claims description 21
- 230000003068 static effect Effects 0.000 claims description 9
- 238000010924 continuous production Methods 0.000 claims description 4
- 230000003993 interaction Effects 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an information processing method and electronic equipment and belongs to the field of information processing. The information processing method includes acquiring and displaying multiple pictures through a display unit; acquiring a first input operation relating to M input points; responding to the first input operation, namely determining M pictures corresponding to the M input points from the multiple pictures; controlling the M pictures to move according to tracks of the M input points; when moving of the M pictures meet preset conditions, generating a generation instruction; when the first input operation is finished, recording N related pictures from start to stop of the first input operation, enabling the N pictures to respond to the generation instruction to generate a new picture, and displaying the new picture. The electronic equipment comprises an acquiring unit, the display unit and a responding unit. The new picture is generated on the basis of multiple pictures, a novel picture processing mode is provided, and picture processing can be easily realized through a simple interaction mode like the first input operation.
Description
Technical Field
The present invention relates to the field of information processing, and in particular, to an information processing method and an electronic device.
Background
Currently, a plurality of photos are usually stored in a terminal. The user can store the shot photos in the terminal and browse, view or delete the stored photos when needed. The user can also print, copy, transmit to other devices for saving and the like on the photos.
However, at present, the means for managing photos are very limited, the functions implemented are relatively simple, and it is difficult to meet more complex management requirements.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information processing method and an electronic device, so as to generate a new picture based on multiple pictures. The technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an information processing method, where the method is applied to an electronic device, where the electronic device includes a display unit, and the method includes:
obtaining a plurality of pictures;
displaying the plurality of pictures through the display unit;
obtaining a first input operation, wherein the first input operation relates to M input points, M is an integer and M is more than or equal to 2;
in response to the first input operation:
determining M pictures corresponding to the M input points from the plurality of pictures;
controlling the M pictures to move according to the trajectories of the M input points;
when the movement of the M pictures meets a preset condition, generating a generation instruction;
when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, responding the generation instruction by the N pictures to generate a new picture, wherein N is more than or equal to M;
and displaying the new picture.
Wherein the generating a new picture by responding to the generation instruction with the N pictures comprises:
splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and performing loop playing on the N pictures in the new picture.
Wherein the recording of the N pictures involved in the first input operation from start to end includes:
in the continuous process of the first input operation, if the M input points are not separated all the time, recording N pictures corresponding to the M input points, wherein N = M; or,
in the process of continuing the first input operation, if M =2 and one input point is not left all the time and the other input point is repeatedly entered and exited, recording a picture corresponding to the one input point and a picture corresponding to the other input point each time the other input point enters, and obtaining N pictures, wherein N is greater than M.
Wherein, the recording the picture corresponding to the input point and the picture corresponding to the other input point when entering each time, after obtaining N pictures, further comprises:
recording the time interval between each entry and the next entry of the other entry point;
the generating a new picture by responding to the generating instruction by the N pictures comprises the following steps:
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and executing loop playing on the N pictures in the new picture according to the specified sequence and the recorded time interval.
Wherein the method further comprises:
after the N pictures are synthesized into a dynamic new picture in response to the generation instruction, displaying the new picture in a preview window;
receiving an adjusting instruction, wherein the adjusting instruction comprises a playing sequence and/or a playing time interval set by a user;
and updating the new picture according to the adjusting instruction.
Wherein, when the movement of the M pictures meets a predetermined condition, generating a generation instruction comprises:
and when the pictures are overlapped in the moving process of the M pictures, generating a generation instruction.
Wherein the method further comprises:
judging whether M input points related to the first input operation leave;
and if the M input points involved in the first input operation are all away, determining that the first input operation is finished.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a plurality of pictures and acquiring a first input operation, the first input operation relates to M input points, M is an integer and is more than or equal to 2;
a display unit for displaying the plurality of pictures;
a response unit configured to, in response to the first input operation:
determining M pictures corresponding to the M input points from the plurality of pictures;
controlling the M pictures to move according to the trajectories of the M input points;
when the movement of the M pictures meets a preset condition, generating a generation instruction;
when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, responding the generation instruction by the N pictures to generate a new picture, wherein N is more than or equal to M;
the display unit is further configured to: and displaying the new picture.
Wherein the response unit includes:
the first picture generation module is used for splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and the second picture generation module is used for responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and the N pictures in the new picture execute loop playing.
Wherein the response unit includes:
a first recording module, configured to record, in a process where the first input operation continues, N pictures corresponding to M input points if all the M input points do not leave all the time, where N = M; or,
and a second recording module, configured to record, in a process of continuing the first input operation, if M =2 and one of the input points is not left all the time while the other input point is repeatedly entering and leaving, a picture corresponding to the one input point and a picture corresponding to the other input point each time enter, so as to obtain N pictures, where N > M.
Wherein the second recording module is further configured to:
recording the time interval between each entry and the next entry of the other entry point;
the response unit includes:
and the picture generation module is used for responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and the N pictures in the new picture execute loop playing according to the specified sequence and the recorded time interval.
Wherein the display unit is further configured to: after the second picture generation module responds to the generation instruction to synthesize the N pictures into a dynamic new picture, displaying the new picture in a preview window;
the electronic device further includes:
and the updating unit is used for receiving an adjusting instruction, wherein the adjusting instruction comprises a playing sequence and/or a playing time interval set by a user, and updating the new picture according to the adjusting instruction.
Wherein the response unit includes:
and the instruction generating module is used for generating a generating instruction when the pictures are overlapped in the moving process of the M pictures.
Wherein the response unit further comprises:
the judging module is used for judging whether the M input points related to the first input operation leave all the input points; and if the M input points involved in the first input operation are all away, determining that the first input operation is finished.
The technical scheme provided by the invention has the beneficial effects that: obtaining a plurality of pictures and displaying the plurality of pictures; obtaining a first input operation involving M input points, in response to the first input operation: determining M pictures corresponding to the M input points from the plurality of pictures; controlling the M pictures to move according to the trajectories of the M input points; when the movement of the M pictures meets a preset condition, generating a generation instruction; when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, and responding to the generation instruction by the N pictures to generate a new picture; and displaying the new picture, realizing the generation of a new picture based on a plurality of pictures, providing a novel picture processing mode, enriching the picture processing function, and easily processing the picture by a simple interaction mode of first input operation.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an information processing method provided in embodiment 1 of the present invention;
fig. 2 is a flowchart of an information processing method provided in embodiment 2 of the present invention;
fig. 3 is a flowchart of an information processing method provided in embodiment 3 of the present invention;
fig. 4 is a structural diagram of an electronic device provided in embodiment 4 of the present invention;
fig. 5 is another structural diagram of the electronic device provided in embodiment 4 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example 1
Referring to fig. 1, the present embodiment provides an information processing method applied to an electronic device including a display unit, the method including:
101: obtaining a plurality of pictures;
the number and format of the pictures stored in the electronic device are not limited in this embodiment.
102: displaying the plurality of pictures through the display unit;
103: obtaining a first input operation, the first input operation involving M input points, M being an integer and M ≧ 2;
wherein the first input operation is performed by one operation body. The first input operation may be performed by the operating body through the touch screen, in which case, the point contacted by the first input operation on the touch screen is the M input points involved. Alternatively, the first input operation may be performed by the operation body through another electronic device wirelessly connected, in which case, the action of the operation body on the other electronic device may be mapped to corresponding M input points on the screen of the electronic device, which is not described herein too much.
104: in response to the first input operation:
determining M pictures corresponding to the M input points from the plurality of pictures;
controlling the M pictures to move according to the trajectories of the M input points;
when the movement of the M pictures meets a preset condition, generating a generation instruction;
when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, and responding to the generation instruction by the N pictures to generate a new picture, wherein N is more than or equal to M;
in this embodiment, a trajectory of any one of the M input points may be a straight-line trajectory, or may also be a curved-line trajectory, or may also be a point with a fixed position, which is not specifically limited in this embodiment. A scene in which the trajectory of an input point is a fixed point means that the input point does not move, but stays at the point for a certain period of time, and thus, the trajectory of the input point is a point.
When the track of one input point is a straight track, the picture corresponding to the input point is controlled to move along the straight track. When the track of one input point is a curved track, the picture corresponding to the input point is controlled to move along the curved track. When the track of one input point is one point, the picture corresponding to the input point is controlled to be kept at the original position.
105: the new picture is displayed.
In this embodiment, generating a new picture by using the N pictures in response to the generation instruction may include:
splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and circularly playing the N pictures in the new picture.
The spliced static new picture includes the N pictures, and positions and sizes of the N pictures in the new picture may be set as needed, which is not specifically limited in this embodiment. The playing sequence and the playing time interval of the N pictures in the dynamic new picture can also be set as required. There are various formats of the dynamic new picture, which are not specifically limited in this embodiment, for example, the format may be a GIF animation format.
In this embodiment, the method may further include:
after the N pictures are synthesized into a dynamic new picture in response to the generation instruction, displaying the new picture in a preview window; receiving an adjusting instruction, wherein the adjusting instruction comprises a playing sequence and/or a playing time interval set by a user; and updating the new picture according to the adjusting instruction.
In this embodiment, when the movement of the M pictures satisfies the predetermined condition, generating a generation instruction may include:
when the pictures are overlapped in the moving process of the M pictures, a generation instruction is generated.
In this embodiment, the method may further include:
judging whether M input points related to the first input operation leave; and if the M input points involved in the first input operation are all away, determining that the first input operation is finished.
In the method provided by the embodiment, a plurality of pictures are obtained and displayed; obtaining a first input operation involving M input points, in response to the first input operation: determining M pictures corresponding to the M input points from the plurality of pictures; controlling the M pictures to move according to the trajectories of the M input points; when the movement of the M pictures meets a preset condition, generating a generation instruction; when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, and responding to the generation instruction by the N pictures to generate a new picture; and displaying the new picture, realizing the generation of a new picture based on a plurality of pictures, providing a novel picture processing mode, enriching the picture processing function, and easily processing the picture by a simple interaction mode of first input operation.
Example 2
Referring to fig. 2, the present embodiment provides an information processing method applied to an electronic device including a display unit, the method including:
201: obtaining a plurality of pictures;
202: displaying the plurality of pictures through the display unit;
203: obtaining a first input operation, the first input operation involving M input points, M being an integer and M ≧ 2;
204: determining M pictures corresponding to the M input points from the plurality of pictures;
the picture corresponding to the input point means that the input point falls into the picture and can be located at any position in the picture.
205: controlling the M pictures to move according to the trajectories of the M input points;
206: when the pictures are overlapped in the moving process of the M pictures, generating a generation instruction;
the overlapping of the pictures means that at least two pictures in the M pictures overlap, and certainly, more than two pictures may overlap, which is not specifically limited in this embodiment. For example, there are 3 pictures from picture 1 to picture 3, which may be that picture 1 overlaps with picture 2, or picture 2 overlaps with picture 3, or picture 1 overlaps with picture 2 and picture 3 also overlap, and the like, and this embodiment is not limited in this respect.
In this embodiment, when there is an overlap of pictures, it is considered that picture synthesis is triggered to be performed, specifically, by a generation instruction, and a picture to be synthesized is determined by a picture corresponding to an input point related to the first input operation. The number of pictures N corresponding to the input point may be equal to the number of pictures M corresponding to the input point at the start of the first input operation, or may be greater than the number of pictures M corresponding to the input point at the start of the first input operation, until the first input operation is completed.
207: judging whether the M input points related to the first input operation leave all, and determining that the first input operation is ended when the M input points related to the first input operation leave all;
in this embodiment, of the M input points involved in the first input operation, if one input point is not left, the first input operation is considered to be not ended, and if all the M input points are left, the first input operation is considered to be ended.
208: when the first input operation is finished, in the continuous process of the first input operation, if the M input points are not left all the time, recording N pictures corresponding to the M input points, wherein N = M, and responding to the generation instruction by the N pictures to generate a new picture;
in this embodiment, the first input operation involves M input points at the beginning, and since each input point is not left during the first operation, the input point involved until the end of the first input operation is still the M input points, and there is no change, that is, no new picture is added, and the input points are still M pictures.
For example, a user selects two pictures on a touch screen of a mobile phone by two fingers respectively, and performs a drag operation until the two pictures are overlapped and then releases the fingers, thereby completing a first input operation, where M = 2.
Wherein, generating a new picture by responding to the generation instruction with the N pictures may include:
splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and circularly playing the N pictures in the new picture.
209: the new picture is displayed.
In this embodiment, the method may further include:
after the N pictures are synthesized into a dynamic new picture in response to the generation instruction, displaying the new picture in a preview window;
receiving an adjusting instruction, wherein the adjusting instruction comprises a playing sequence and/or a playing time interval set by a user;
and updating the new picture according to the adjusting instruction.
Wherein the preview window is used to adjust the synthesized dynamic new picture, and the adjustment includes adjusting the playing sequence and/or the playing time interval. The user can select to adjust only the playing sequence, or only the playing time interval, or both the playing sequence and the playing time interval as required. When the playing time interval is adjusted, the playing time intervals of the N pictures can be adjusted to be the same time interval, that is, the pictures are played at a constant speed. Of course, the time interval between every two adjacent pictures in the N pictures may also be adjusted separately, which may be different from each other, and this embodiment is not specifically limited to this.
In the method provided by the embodiment, a plurality of pictures are obtained and displayed; obtaining a first input operation involving M input points; determining M pictures corresponding to the M input points from the plurality of pictures; controlling the M pictures to move according to the trajectories of the M input points; when the pictures are overlapped in the moving process of the M pictures, generating a generation instruction; when the M input points involved in the first input operation are all separated, determining that the first input operation is ended; when the first input operation is finished, if the M input points are not left all the time in the continuous process of the first input operation, recording N pictures corresponding to the M input points, and responding the generation instruction by the N pictures to generate a new picture; and displaying the new picture, realizing the generation of a new picture based on a plurality of pictures, providing a novel picture processing mode, enriching the picture processing function, and easily processing the picture by a simple interaction mode of first input operation.
Example 3
Referring to fig. 3, the present embodiment provides an information processing method applied to an electronic device including a display unit, the method including:
301: obtaining a plurality of pictures;
302: displaying the plurality of pictures through the display unit;
303: obtaining a first input operation, the first input operation involving M input points, M being an integer and M ≧ 2;
304: determining M pictures corresponding to the M input points from the plurality of pictures;
305: controlling the M pictures to move according to the trajectories of the M input points;
306: when the pictures are overlapped in the moving process of the M pictures, generating a generation instruction;
307: judging whether the M input points related to the first input operation leave all, and determining that the first input operation is ended when the M input points related to the first input operation leave all;
308: when the first input operation is finished, in the process of continuing the first input operation, if M =2 and one input point is not left all the time and the other input point is repeatedly entered and left, recording a picture corresponding to the one input point and a picture corresponding to the other input point each time the other input point enters, obtaining N pictures, wherein N is larger than M, and responding to the generation instruction by using the N pictures to generate a new picture;
in this embodiment, the first input operation has two input points, one of which stays on the screen and does not leave, so that the first input operation is not finished, and the other input point stays on the screen intermittently and repeatedly enters and leaves. Although the number of the input points is not changed, the corresponding pictures of the other input point are changed each time the other input point enters, so that the number of the pictures corresponding to the two input points is not two any more by the end of the first input operation.
For example, a user selects a picture 1 and a picture 2 on a touch screen of a mobile phone by two fingers respectively, holds the picture 1, performs a drag operation on the picture 2 until the picture 1 and the picture 2 are overlapped and then released, then reselects a picture 3 to drag until the picture 1 is overlapped and then released, and so on until two fingers are released after the picture 5 is reselected and dragged until the picture 1 is overlapped, the number of pictures involved in the first input operation is changed from M =2 at the beginning to N =5 at the end, and therefore, the pictures 1 to 5 are finally synthesized into a new picture.
Wherein, generating a new picture by responding to the generation instruction with the N pictures may include:
splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and circularly playing the N pictures in the new picture.
309: the new picture is displayed.
In this embodiment, recording the picture corresponding to the input point and the picture corresponding to the other input point each time the input point enters, and after obtaining N pictures, the method may further include:
recording the time interval between each entry and the next entry of the other entry point;
accordingly, generating a new picture in response to the generation instruction with the N pictures may include:
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and executing loop playing on the N pictures in the new picture according to the specified sequence and the recorded time interval.
The time interval between each entry and the next entry of the other input point can be used as the playing time interval between the corresponding two pictures, so that the loop playing can be performed according to the playing time interval. In addition, the time when the other input point enters for the first time may be the same as the time when the one input point enters, or may be different. When the two are the same, the playing time interval between the picture corresponding to the first input point and the picture corresponding to the other input point when the other input point enters for the first time can be set. When the two are different, the time interval between the two can be recorded as the playing time interval between the two corresponding pictures.
In this embodiment, the method may further include:
after the N pictures are synthesized into a dynamic new picture in response to the generation instruction, displaying the new picture in a preview window;
receiving an adjusting instruction, wherein the adjusting instruction comprises a playing sequence and/or a playing time interval set by a user;
and updating the new picture according to the adjusting instruction.
In the method provided by the embodiment, a plurality of pictures are obtained and displayed; obtaining a first input operation involving M input points; determining M pictures corresponding to the M input points from the plurality of pictures; controlling the M pictures to move according to the trajectories of the M input points; when the pictures are overlapped in the moving process of the M pictures, generating a generation instruction; when the M input points involved in the first input operation are all separated, determining that the first input operation is ended; when the first input operation is finished, in the process of continuing the first input operation, if M =2 and one input point is not left all the time and the other input point is repeatedly entered and left, recording a picture corresponding to the one input point and a picture corresponding to the other input point each time the other input point enters, obtaining N pictures in total, and generating a new picture by using the N pictures in response to the generation instruction; and displaying the new picture, realizing the generation of a new picture based on a plurality of pictures, providing a novel picture processing mode, enriching the picture processing function, and easily processing the picture by a simple interaction mode of first input operation.
Example 4
Referring to fig. 4, the present embodiment provides an electronic apparatus including:
an obtaining unit 401, configured to obtain a plurality of pictures and obtain a first input operation, where the first input operation involves M input points, M is an integer and M is greater than or equal to 2;
a display unit 402 for displaying the plurality of pictures;
a response unit 403, configured to, in response to the first input operation:
determining M pictures corresponding to the M input points from the plurality of pictures;
controlling the M pictures to move according to the trajectories of the M input points;
when the movement of the M pictures meets a preset condition, generating a generation instruction;
when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, and responding to the generation instruction by the N pictures to generate a new picture, wherein N is more than or equal to M;
the display unit 402 is further configured to: the new picture is displayed.
In this embodiment, the response unit 403 may include:
the first picture generation module is used for splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and the second picture generation module is used for responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and the N pictures in the new picture execute loop playing.
In this embodiment, the response unit 403 may include:
a first recording module, configured to record, in a process where the first input operation continues, N pictures corresponding to the M input points if the M input points do not leave all the time, where N = M; or,
and a second recording module, configured to record, in a process of continuing the first input operation, if M =2 and one of the input points is not left all the time while the other input point is repeatedly entering and leaving, a picture corresponding to the one input point and a picture corresponding to the other input point each time enter, so as to obtain N pictures, where N > M.
Further, the second recording module may be further configured to: recording the time interval between each entry and the next entry of the other entry point;
accordingly, the response unit 403 may include:
and the picture generation module is used for responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and the N pictures in the new picture execute loop playing according to the specified sequence and the recorded time interval.
Referring to fig. 5, in this embodiment, the display unit 402 may further be configured to: after the second picture generation module responds to the generation instruction to synthesize the N pictures into a dynamic new picture, displaying the new picture in a preview window;
the electronic device may further include:
an updating unit 404, configured to receive an adjustment instruction, where the adjustment instruction includes a playing sequence and/or a playing time interval set by a user, and update the new picture according to the adjustment instruction.
In this embodiment, the response unit 403 may include:
and the instruction generating module is used for generating a generating instruction when the pictures are overlapped in the moving process of the M pictures.
In this embodiment, the response unit 403 may further include:
the judging module is used for judging whether the M input points related to the first input operation leave all the input points; and if the M input points involved in the first input operation are all away, determining that the first input operation is finished.
The electronic device provided in this embodiment may execute the method provided in any of the above method embodiments, and the detailed process is described in the method embodiments and is not described herein again.
In the electronic device provided by this embodiment, a plurality of pictures are obtained and displayed; obtaining a first input operation involving M input points, in response to the first input operation: determining M pictures corresponding to the M input points from the plurality of pictures; controlling the M pictures to move according to the trajectories of the M input points; when the movement of the M pictures meets a preset condition, generating a generation instruction; when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, and responding to the generation instruction by the N pictures to generate a new picture; and displaying the new picture, realizing the generation of a new picture based on a plurality of pictures, providing a novel picture processing mode, enriching the picture processing function, and easily processing the picture by a simple interaction mode of first input operation.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (14)
1. An information processing method, applied to an electronic device including a display unit, the method comprising:
obtaining a plurality of pictures;
displaying the plurality of pictures through the display unit;
obtaining a first input operation, wherein the first input operation relates to M input points, M is an integer and M is more than or equal to 2;
in response to the first input operation:
determining M pictures corresponding to the M input points from the plurality of pictures;
controlling the M pictures to move according to the trajectories of the M input points;
when the movement of the M pictures meets a preset condition, generating a generation instruction;
when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, responding the generation instruction by the N pictures to generate a new picture, wherein N is more than or equal to M;
and displaying the new picture.
2. The method of claim 1, wherein said generating a new picture with said N pictures in response to said generation instruction comprises:
splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and performing loop playing on the N pictures in the new picture.
3. The method according to claim 1, wherein the recording of the N pictures involved in the first input operation from beginning to end comprises:
in the continuous process of the first input operation, if the M input points are not separated all the time, recording N pictures corresponding to the M input points, wherein N is M; or,
in the process of continuing the first input operation, if M is 2 and one input point is not left all the time and the other input point is repeatedly entered and left, recording a picture corresponding to the one input point and a picture corresponding to the other input point each time, and obtaining N pictures, wherein N is larger than M.
4. The method according to claim 3, wherein the recording of the picture corresponding to the one input point and the picture corresponding to the other input point at each entry time for obtaining N pictures further comprises:
recording the time interval between each entry and the next entry of the other entry point;
the generating a new picture by responding to the generating instruction by the N pictures comprises the following steps:
and responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and executing loop playing on the N pictures in the new picture according to the specified sequence and the recorded time interval.
5. The method of claim 2, further comprising:
after the N pictures are synthesized into a dynamic new picture in response to the generation instruction, displaying the new picture in a preview window;
receiving an adjusting instruction, wherein the adjusting instruction comprises a playing sequence and/or a playing time interval set by a user;
and updating the new picture according to the adjusting instruction.
6. The method according to claim 1, wherein when the movement of the M pictures satisfies a predetermined condition, generating a generation instruction comprises:
and when the pictures are overlapped in the moving process of the M pictures, generating a generation instruction.
7. The method of claim 1, further comprising:
judging whether M input points related to the first input operation leave;
and if the M input points involved in the first input operation are all away, determining that the first input operation is finished.
8. An electronic device, characterized in that the electronic device comprises:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a plurality of pictures and acquiring a first input operation, the first input operation relates to M input points, M is an integer and is more than or equal to 2;
a display unit for displaying the plurality of pictures;
a response unit configured to, in response to the first input operation:
determining M pictures corresponding to the M input points from the plurality of pictures;
controlling the M pictures to move according to the trajectories of the M input points;
when the movement of the M pictures meets a preset condition, generating a generation instruction;
when the first input operation is finished, recording N pictures related to the first input operation from the beginning to the end, responding the generation instruction by the N pictures to generate a new picture, wherein N is more than or equal to M;
the display unit is further configured to: and displaying the new picture.
9. The electronic device of claim 8, wherein the response unit comprises:
the first picture generation module is used for splicing the N pictures to obtain a static new picture in response to the generation instruction; or,
and the second picture generation module is used for responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and the N pictures in the new picture execute loop playing.
10. The electronic device of claim 8, wherein the response unit comprises:
a first recording module, configured to record, in a process where the first input operation continues, N pictures corresponding to M input points if all the M input points do not leave all the time, where N is M; or,
and a second recording module, configured to record, in a process of continuing the first input operation, if M is 2 and one of the input points does not leave all the time while another input point repeatedly enters and leaves, a picture corresponding to the one input point and a picture corresponding to the another input point each time enter, so as to obtain N pictures in total, where N > M.
11. The electronic device of claim 10, wherein the second recording module is further configured to: recording the time interval between each entry and the next entry of the other entry point;
the response unit includes:
and the picture generation module is used for responding to the generation instruction to synthesize the N pictures into a dynamic new picture, and the N pictures in the new picture execute loop playing according to the specified sequence and the recorded time interval.
12. The electronic device of claim 9,
the display unit is further configured to: after the second picture generation module responds to the generation instruction to synthesize the N pictures into a dynamic new picture, displaying the new picture in a preview window;
the electronic device further includes:
and the updating unit is used for receiving an adjusting instruction, wherein the adjusting instruction comprises a playing sequence and/or a playing time interval set by a user, and updating the new picture according to the adjusting instruction.
13. The electronic device of claim 8, wherein the response unit comprises:
and the instruction generating module is used for generating a generating instruction when the pictures are overlapped in the moving process of the M pictures.
14. The electronic device of claim 8, wherein the response unit further comprises:
the judging module is used for judging whether the M input points related to the first input operation leave all the input points; and if the M input points involved in the first input operation are all away, determining that the first input operation is finished.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410099362.0A CN103927115B (en) | 2014-03-17 | 2014-03-17 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410099362.0A CN103927115B (en) | 2014-03-17 | 2014-03-17 | Information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103927115A CN103927115A (en) | 2014-07-16 |
CN103927115B true CN103927115B (en) | 2017-03-22 |
Family
ID=51145352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410099362.0A Active CN103927115B (en) | 2014-03-17 | 2014-03-17 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103927115B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123112B (en) * | 2014-07-29 | 2018-12-14 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794781A (en) * | 2004-12-22 | 2006-06-28 | 乐金电子(中国)研究开发中心有限公司 | Method for photomontage using mobile communication terminal |
CN101111841A (en) * | 2005-01-28 | 2008-01-23 | 皇家飞利浦电子股份有限公司 | Dynamic photo collage |
CN102326181A (en) * | 2009-01-28 | 2012-01-18 | 惠普发展公司,有限责任合伙企业 | Dynamic image collage |
CN102801942A (en) * | 2012-07-23 | 2012-11-28 | 北京小米科技有限责任公司 | Method and device for recording video and generating GIF (Graphic Interchange Format) dynamic graph |
CN102930522A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Device achieving picture splicing and method achieving same |
CN103093447A (en) * | 2013-01-18 | 2013-05-08 | 南京大学 | Cutting and splicing method of concentration of pictures of computer |
JP5241750B2 (en) * | 2010-02-09 | 2013-07-17 | シャープ株式会社 | Image display apparatus, image forming apparatus, image display method, computer program, and recording medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9152292B2 (en) * | 2009-02-05 | 2015-10-06 | Hewlett-Packard Development Company, L.P. | Image collage authoring |
-
2014
- 2014-03-17 CN CN201410099362.0A patent/CN103927115B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794781A (en) * | 2004-12-22 | 2006-06-28 | 乐金电子(中国)研究开发中心有限公司 | Method for photomontage using mobile communication terminal |
CN101111841A (en) * | 2005-01-28 | 2008-01-23 | 皇家飞利浦电子股份有限公司 | Dynamic photo collage |
CN102326181A (en) * | 2009-01-28 | 2012-01-18 | 惠普发展公司,有限责任合伙企业 | Dynamic image collage |
JP5241750B2 (en) * | 2010-02-09 | 2013-07-17 | シャープ株式会社 | Image display apparatus, image forming apparatus, image display method, computer program, and recording medium |
CN102801942A (en) * | 2012-07-23 | 2012-11-28 | 北京小米科技有限责任公司 | Method and device for recording video and generating GIF (Graphic Interchange Format) dynamic graph |
CN102930522A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Device achieving picture splicing and method achieving same |
CN103093447A (en) * | 2013-01-18 | 2013-05-08 | 南京大学 | Cutting and splicing method of concentration of pictures of computer |
Also Published As
Publication number | Publication date |
---|---|
CN103927115A (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022048478A1 (en) | Multimedia data processing method, multimedia data generation method, and related device | |
WO2020083021A1 (en) | Video recording method and apparatus, video playback method and apparatus, device, and storage medium | |
KR20220130197A (en) | Filming method, apparatus, electronic equipment and storage medium | |
US20240290355A1 (en) | Video processing method and apparatus, electronic device and storage medium | |
CN109275028B (en) | Video acquisition method, device, terminal and medium | |
US20170352379A1 (en) | Video editing using mobile terminal and remote computer | |
JP6529267B2 (en) | INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM | |
US20160323507A1 (en) | Method and apparatus for generating moving photograph | |
CN109168026A (en) | Instant video display methods, device, terminal device and storage medium | |
WO2017014800A1 (en) | Video editing on mobile platform | |
CN105898523B (en) | A kind of video broadcasting method and device | |
US8837912B2 (en) | Information processing apparatus, information processing method and program | |
US10115431B2 (en) | Image processing device and image processing method | |
CN112333536A (en) | Audio and video editing method, equipment and computer readable storage medium | |
CN104038848A (en) | Video processing method and video processing device | |
CN103916596A (en) | Method and apparatus for controlling contents in electronic device | |
EP4171006A1 (en) | Previewing method and apparatus for effect application, and device and storage medium | |
CN113806306B (en) | Media file processing method, device, equipment, readable storage medium and product | |
CN105025344A (en) | Inter-cut method and device | |
RU2017102479A (en) | CREATION OF ELECTRONIC IMAGES, EDITING IMAGES AND SIMPLIFIED DEVICE FOR EDITING AUDIO / VIDEO, METHOD OF FILM PRODUCTION BEGINNING FROM STILL IMAGES AND FRAMEWORKS | |
CN115022696A (en) | Video preview method and device, readable medium and electronic equipment | |
CN103927115B (en) | Information processing method and electronic equipment | |
CN106325667A (en) | Method and device for quickly locating target object | |
CN104079701A (en) | Method and device of controlling video display on mobile terminal | |
CN107690088A (en) | A kind of intelligence plays the method and device of video |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |