Disclosure of Invention
In view of the above, the technical problem to be solved by the present invention is to provide an image arrangement method and apparatus, so as to solve the defect that the operation is too complicated when a user searches for a picture at a functional terminal.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the present invention, there is provided a picture arrangement method, including the steps of: after a user operates the picture, judging whether the operation is a preset operation or not; if so, recording the operation trace of the picture; and mapping the picture to a specified virtual space according to the recorded operation trace.
Providing a method as described above, said mapping said picture to a specified virtual space according to said recorded operation trace, comprising: marking the picture according to the recorded operation trace; and mapping the marked pictures to a specified virtual space.
Providing a method as described above, where the preset operation includes picture editing, picture collection, or picture sharing, and the marking the picture according to the recorded operation trace includes: when the operation trace is a picture editing trace, marking the picture as an edited picture; when the operation trace is a picture collection trace, marking the picture as a collected picture; when the operation trace is a picture sharing trace, marking the picture as a shared picture; the method further comprises the following steps: and when the mark of the picture is the collected picture, if the collection of the picture is cancelled, canceling the mark, and removing the picture from the virtual space.
There is provided a method as described above, further comprising, after mapping the picture into a specified virtual space according to the recording: synchronously mapping the result of the operation on the picture to a mapping picture of the virtual space; or synchronously mapping the result of the operation on the mapping picture of the virtual space onto the picture.
There is provided a method as described above, the method further comprising: setting the picture of the virtual space as a screen locking background, a standby background or a desktop background according to the setting of a user, and playing the picture of the virtual space in a picture stream mode or displaying a playing icon of the picture of the virtual space in a display interface of a picture library when the terminal enters a screen locking state, a standby state or a desktop; and playing the picture of the virtual space in a picture stream mode according to the operation of the user on the playing icon.
According to another aspect of the present invention, there is provided a picture collating apparatus comprising: the processing unit is used for judging whether the operation is a preset operation or not after the user operates the picture; the recording unit is used for recording the operation trace of the picture when the processing unit judges that the operation is the preset operation; and the mapping unit is used for mapping the picture to a specified virtual space according to the operation trace recorded by the recording unit.
Providing an apparatus as described above, wherein the processing unit is further configured to mark the picture according to the operation trace recorded by the recording unit; the mapping unit is further configured to map the marked picture to a specified virtual space.
Providing an apparatus as described above, where the processing unit is further configured to mark the picture as an edited picture when the operation trace is a picture editing trace, or mark the picture as a collected picture when the operation trace is a picture collection trace, or mark the picture as a shared picture when the operation trace is a picture sharing trace, and cancel the mark when the picture is marked as a collected picture and the collection of the picture is cancelled; the mapping unit is further configured to remove the picture from the virtual space after the processing unit cancels the flag.
There is provided an apparatus as described above, where the mapping unit is further configured to synchronize a result of operating on the picture onto a mapping picture corresponding to the virtual space, or synchronize a result of operating on a mapping picture of the virtual space onto the picture.
There is provided an apparatus as described above, further comprising: and the display unit is used for displaying the playing icon of the picture in the virtual space in a display interface of the gallery and playing the picture in the virtual space in a picture stream mode according to the operation of the user on the playing icon.
There is provided an apparatus as described above, further comprising: the setting unit is used for setting the picture of the virtual space into a screen locking background, a standby background or a desktop background according to the setting of a user; and the display unit is used for playing the pictures of the virtual space in a picture stream mode when the terminal enters a screen locking state, a standby state or a desktop.
The method and the device for arranging the pictures can judge whether the operation of the user is the preset operation or not after the user operates the pictures, record the operation traces of the pictures after judging that the operation is the preset operation, and map the pictures to the appointed virtual space according to the recorded operation traces, so that the user can conveniently search the pictures. Moreover, in the embodiment, the virtual space is presented in a photo stream manner, so that efficiency of searching and browsing the corresponding mapping picture by the user is further improved, and after the user operates the corresponding picture and the mapping picture, the operation result is synchronized, so that operation experience of the user is further improved.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
For convenience of description, the pictures referred to in this specification refer to the pictures themselves stored in the respective folders, which are dispersed in the smart terminal. The mapping picture is a picture displayed in a virtual space after the picture itself is mapped to the virtual space. The photo stream refers to a dynamic display of the mapped pictures in the virtual space, such as a slide show.
Referring to fig. 1, the present invention provides a picture arranging apparatus, which can be used in various intelligent terminals, such as mobile phones. The device includes: a processing unit 110, a recording unit 111, a mapping unit 112, a display unit 113, and a setting unit 114.
The processing unit 110 is configured to determine whether an operation is a preset operation after the user operates the picture. Specifically, the preset operation includes picture editing, picture collection, or picture sharing.
A recording unit 111, configured to record an operation trace of the picture when the processing unit 110 determines that the operation is a preset operation. The recording referred to in the invention refers to the learning and statistics of the operation trace of the picture by the recording unit.
A mapping unit 112, configured to map the picture to a specified virtual space (including a virtual folder) according to the record of the recording unit 111.
Specifically, after the recording unit 111 finishes recording the picture, the processing unit 110 may further mark the picture according to the usage trace recorded by the recording unit 111, including: when the operation trace is a picture editing trace, the picture is marked as an edited picture, or when the operation trace is a picture collection trace, the picture is marked as a collected picture, or when the operation trace is a picture sharing trace, the picture is marked as a shared picture. After the pictures are marked, the marks of the pictures can also be directly displayed on the corresponding mapping pictures. For example, displaying the "edit" pattern on the mapped picture indicates that the user performs an editing operation on the corresponding picture, and displaying the "collect" pattern indicates that the user performs a collection operation on the corresponding picture. At this time, the mapping unit 112 maps the marked picture to the specified virtual space.
In practical applications, when a picture mapped to a virtual space is marked as a collected picture, if the user cancels the collection of the picture, the processing unit 110 is further configured to cancel the marking of the picture, and at this time, the mapping unit 112 is further configured to remove the picture from the virtual space after the processing unit cancels the marking.
In this embodiment, after the mapping unit 112 maps the marked picture to the specified virtual space, if the user operates the picture, the mapping unit 112 is further configured to map the result of the operation performed on the picture to the mapping picture corresponding to the virtual space synchronously, and similarly, if the user operates the mapping picture in the virtual space, the mapping unit 112 is further configured to synchronize the result of the operation performed on the mapping picture in the virtual space to the picture corresponding to the mapping picture.
A setting unit 114, configured to set a picture of the virtual space as a lock screen background, a standby background, or a desktop background according to a setting of a user; at this time, the display unit 113 is configured to play the pictures in the virtual space in a manner of a photo stream when the terminal enters a screen lock state, a standby state, or a desktop.
The display unit 113 may be further configured to display a playing icon of the picture in the virtual space on a display interface of the gallery, and play the picture in the virtual space in a manner of a photo stream according to an operation instruction of a user.
The picture arranging device provided by the embodiment can judge whether the operation of the user is the preset operation or not after the user operates the picture, record the operation trace of the picture after judging that the operation is the preset operation, and map the picture to the specified virtual space according to the record, so that the user can conveniently search the picture. Moreover, in the embodiment, the virtual space is presented in a photo stream manner, so that efficiency of searching and browsing the corresponding mapping picture by the user is further improved, and after the user operates the corresponding picture and the mapping picture, the operation result is synchronized, so that operation experience of the user is further improved.
On the basis of the above embodiment, the present invention further provides a picture arrangement method, please refer to fig. 2, the method flow includes:
s201, after the user operates the picture, judging whether the operation is a preset operation.
Specifically, the preset operation includes picture editing, picture collection, or picture sharing. After the user performs the preset operation on a certain picture, the picture is considered to have a special meaning for the user, and therefore the user can perform operations such as looking up the picture more frequently than other pictures.
The specific implementation method can judge according to the operation trace of the picture.
And S202, recording the operation trace of the picture when the operation of the user is judged to be the preset operation.
And S203, mapping the picture to a specified virtual space according to the record.
Specifically, the method comprises the following steps:
and S2031, marking the picture according to the recorded operation trace.
When the operation trace is a picture editing trace, marking the picture as an edited picture; when the operation trace is a picture collection trace, marking the picture as a collected picture; and when the operation trace is a picture sharing trace, marking the picture as a shared picture. In practical application, when the mark of the picture is a collected picture, if the collection of the picture is cancelled, the mark is cancelled, and the picture is removed from the virtual space.
S2032, the marked picture is mapped to a designated virtual space.
Specifically, after the picture is mapped to the designated virtual space, no matter what operation is performed on the picture by the user, the result of the operation performed on the picture by the user is synchronously mapped to the corresponding mapping picture in the virtual space. Similarly, if the user operates the mapping screens of the virtual space, the result of the operation on the mapping pictures of the virtual space is synchronously mapped to the corresponding pictures.
In practical application, in order to facilitate the user to view the mapping picture in the virtual space, the method further includes: displaying the playing icon of the picture in the virtual space in a display interface of the gallery; and playing the pictures of the virtual space in a picture stream mode according to an operation instruction of a user.
It should be noted that, in this embodiment, the pictures in the virtual space may also be set as a screen locking background, a standby background, or a desktop background according to the setting of the user, and when the terminal enters a screen locking state, a standby state, or a desktop, the pictures in the virtual space are played in a manner of a photo stream. When the terminal is in the screen locking state, the user can play the screen locking animation by performing double-finger sliding or single-finger sliding on the screen locking or clicking the screen
The picture arrangement method provided by the embodiment can judge whether the operation of the user is the preset operation or not after the user operates the picture, record the operation trace of the picture after judging that the operation is the preset operation, and map the picture to the specified virtual space according to the recorded use trace, so that the user can conveniently search. Moreover, in the embodiment, the virtual space is presented in a photo stream manner, so that efficiency of searching and browsing the corresponding mapping picture by the user is further improved, and after the user operates the corresponding picture and the mapping picture, the operation result is synchronized, so that operation experience of the user is further improved.
Referring to fig. 3, in order to make the present invention clearer, on the basis of the above embodiments, the present invention further provides another method for processing a picture, where in this embodiment, taking implementation of picture processing on a mobile phone as an example, the method flow includes:
s301, when the user operates the picture P1, determines the operation.
As shown in FIG. 4-a, the user has clicked the "favorites" button at the bottom of the picture P1.
And S302, when the picture 1 operation of the user is judged to be picture collection, recording the current operation trace of the user.
And S303, labeling the picture P1 and marking the picture P1 as a collected picture.
S304, the picture P1 is mapped to a virtual folder in the gallery, and a mapped picture P2 is generated.
S305, when the user opens the gallery to search, displaying the pictures in the virtual folder above the gallery display interface in a large picture mode, specifically as shown in FIG. 4-b.
S306, when the user clicks the playing icon on the large graph, the mapping pictures in the virtual folder are played in a slide way, as shown in FIG. 4-c, if mapping pictures P2, P3 and the like exist in the virtual folder, the mapping pictures P1, P2, P3 and the like in the virtual folder are played in sequence until the user presses a pause key, and the arrow direction in the figure represents the playing direction of the mapping pictures in the virtual folder.
And S307, when the mapping picture P2 is clicked by the user, displaying an operation option related to the mapping picture P2.
And S308, after the user operates the mapped picture P2, synchronizing the operation result to the picture P1.
In the present embodiment, if the operation by the user is to cancel the favorite, the tab of the mapped picture P2 is released while synchronizing the operation result to the picture P1, and then the mapped picture P2 is removed from the virtual folder. When the mapped picture P2 is removed from the virtual folder, the mapping relationship between the mapped picture P1 and the mapped picture P1 is lost, so that the action does not affect the mapped picture P2.
The picture sorting method provided by the embodiment can judge whether the operation of the user is the preset operation or not after the user operates the picture, record the operation trace of the picture after judging that the operation is the preset operation, and map the picture to the specified virtual space according to the record, so that the user can conveniently search the picture. In addition, in this embodiment, the picture in the virtual space is directly displayed in a large-size picture manner in the display interface of the gallery, and can be presented in a slide manner according to the operation of the user, so that the efficiency of the user in searching and browsing the corresponding mapping picture is further improved, and after the user operates the corresponding picture and the mapping picture, the operation result is synchronized, so that the operation experience of the user is further improved.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Any modifications, equivalents and improvements which may occur to those skilled in the art without departing from the scope and spirit of the present invention are intended to be within the scope of the claims.