Disclosure of Invention
The embodiment of the disclosure at least provides a method and a device for object operation processing and a computer storage medium.
In a first aspect, an embodiment of the present disclosure provides a method for processing an object operation, including:
responding to the first trigger operation, and enabling the multimedia resources displayed in the page to enter an editing state;
determining a plurality of selected multimedia resources to be edited in the multimedia resources in an editing state;
responding to synchronous dragging operation aiming at the plurality of multimedia resources to be edited, and determining target multimedia resources in the multimedia resources according to the dragging destination positions of the synchronous dragging operation in the page;
and processing the plurality of multimedia resources to be edited according to the attribute information of the target multimedia resources.
In a possible implementation manner, after determining a plurality of multimedia assets to be edited that are selected from the multimedia assets in the editing state, before responding to a synchronous drag operation for the plurality of multimedia assets to be edited, the method further includes:
and responding to the triggering operation aiming at any multimedia resource to be edited, and overlapping the plurality of multimedia resources to be edited.
In a possible implementation manner, the responding to the triggering operation for any multimedia resource to be edited to overlap the plurality of multimedia resources to be edited includes:
and responding to the triggering operation aiming at any multimedia resource to be edited, and overlapping the multimedia resources to be edited according to the selected sequence of the multimedia resources to be edited.
In a possible implementation manner, the determining, according to the drag destination position of the synchronous drag operation in the page, a target multimedia resource among the multimedia resources includes:
and after determining that the contact ratio between the dragging destination position and any multimedia resource in the page is greater than or equal to a first set threshold value, taking the any multimedia resource as the target multimedia resource.
In a possible implementation manner, the processing the plurality of multimedia assets to be edited according to the attribute information of the target multimedia asset includes:
if the target multimedia resource is determined to be a multimedia resource set according to the attribute information of the target multimedia resource, adding the plurality of multimedia resources to be edited into the multimedia resource set;
and if the target multimedia resource is determined to be a single multimedia resource according to the attribute information of the target multimedia resource, establishing a new multimedia resource set based on the plurality of multimedia resources to be edited and the single multimedia resource.
In a possible implementation, the creating a new multimedia asset set based on the plurality of multimedia assets to be edited and the single multimedia asset includes:
creating a folder corresponding to the new multimedia resource set;
and placing the plurality of multimedia resources to be edited and the single multimedia resource into the folder, and naming the folder according to the name of the folder confirmed by the user.
In one possible embodiment, the method further comprises:
in the case where the plurality of multimedia assets to be edited includes at least one multimedia asset set and at least one single multimedia asset, performing a packet processing operation on the at least one single multimedia asset to change the at least one multimedia asset set from a state of overlapping with the at least one single multimedia asset to a state of being separated from the at least one single multimedia asset.
In one possible embodiment, the method further comprises:
and setting the arrangement sequence of the multimedia resources to be edited in the multimedia resource set according to the reading attribute information corresponding to the multimedia resources to be edited.
In a possible implementation, in case that the target multimedia resource is multiple, the method further comprises:
and moving the position of at least one target multimedia resource in the two target multimedia resources after the dragging destination position is determined to be positioned between any two target multimedia resources, so that the plurality of multimedia resources to be edited are positioned between the two target multimedia resources.
In a possible embodiment, after determining that the drag destination is located between any two target multimedia assets, moving the location of at least one of the two target multimedia assets comprises:
and when the dragging destination position is determined to be positioned between any two target multimedia resources and the contact ratio of the dragging destination position and the target multimedia resource positioned in the page in the two target multimedia resources is smaller than a first set threshold value and larger than a second set threshold value, moving the position of at least one target multimedia resource in the two target multimedia resources.
In a possible implementation manner, before moving the position of at least one target multimedia resource of two target multimedia resources when it is determined that the drag destination position is located between any two target multimedia resources, the method further includes:
and starting timing, and displaying the transposition prompt information after the timing time reaches the set time.
In a possible implementation, moving the position of at least one of the two target multimedia assets so that the plurality of multimedia assets to be edited are located between the two target multimedia assets comprises:
and setting the arrangement sequence of the plurality of multimedia resources to be edited between the two target multimedia resources according to the reading attribute information corresponding to the plurality of multimedia resources to be edited respectively.
In a second aspect, an embodiment of the present disclosure further provides a method for processing an object operation, including:
responding to the first trigger operation, and enabling the multimedia resources displayed in the page to enter an editing state;
determining a plurality of selected multimedia resources to be edited in the multimedia resources in an editing state;
and responding to the second trigger operation, processing the plurality of multimedia resources to be edited, and generating a multimedia resource set.
In an optional implementation manner, in response to the second trigger operation, processing the plurality of multimedia assets to be edited to generate a multimedia asset set includes:
responding to a second trigger operation, and overlapping the multimedia resources to be edited;
and after the overlapping is completed, generating the multimedia resource set.
In a third aspect, an embodiment of the present disclosure further provides an apparatus for object operation processing, including:
the first response module is used for responding to the first trigger operation and enabling the multimedia resources displayed in the page to enter an editing state;
the determining module is used for determining a plurality of selected multimedia resources to be edited in the multimedia resources in the editing state;
the second response module is used for responding to synchronous dragging operation aiming at the plurality of multimedia resources to be edited and determining target multimedia resources in the multimedia resources according to the dragging destination positions of the synchronous dragging operation in the page;
and the processing module is used for processing the plurality of multimedia resources to be edited according to the attribute information of the target multimedia resources.
In a possible embodiment, the apparatus further comprises: and the fourth response module is used for responding to the triggering operation aiming at any multimedia resource to be edited and overlapping the plurality of multimedia resources to be edited.
In a possible implementation manner, when the fourth response module executes a triggering operation in response to any multimedia resource to be edited and overlaps the multiple multimedia resources to be edited, the fourth response module is specifically configured to: and responding to the triggering operation aiming at any multimedia resource to be edited, and overlapping the multimedia resources to be edited according to the selected sequence of the multimedia resources to be edited.
In a possible implementation manner, when determining a target multimedia resource in the multimedia resources according to the drag destination position of the synchronous drag operation in the page, the second response module is specifically configured to: and after determining that the contact ratio between the dragging destination position and any multimedia resource in the page is greater than or equal to a first set threshold value, taking the any multimedia resource as the target multimedia resource.
In a possible implementation manner, when the processing module processes the multiple multimedia resources to be edited according to the attribute information of the target multimedia resource, the processing module is specifically configured to: if the target multimedia resource is determined to be a multimedia resource set according to the attribute information of the target multimedia resource, adding the plurality of multimedia resources to be edited into the multimedia resource set; and if the target multimedia resource is determined to be a single multimedia resource according to the attribute information of the target multimedia resource, establishing a new multimedia resource set based on the plurality of multimedia resources to be edited and the single multimedia resource.
In a possible implementation manner, when the processing module executes creating a new multimedia resource set based on the multiple multimedia resources to be edited and the single multimedia resource, the processing module is specifically configured to: creating a folder corresponding to the new multimedia resource set; and placing the plurality of multimedia resources to be edited and the single multimedia resource into the folder, and naming the folder according to the name of the folder confirmed by the user.
In a possible implementation manner, the fourth response module is further configured to, in a case that at least one multimedia asset set and at least one single multimedia asset are included in the plurality of multimedia assets to be edited, perform a packet processing operation on the at least one single multimedia asset, and transition the at least one multimedia asset set from a state of overlapping with the at least one single multimedia asset to a state of being separated from the at least one single multimedia asset.
In a possible implementation manner, the processing module is further configured to set an arrangement order of the multiple multimedia resources to be edited in the multimedia resource set according to the reading attribute information corresponding to the multiple multimedia resources to be edited.
In a possible implementation manner, in a case that the target multimedia asset is multiple, the processing module is further configured to, after determining that the drag destination location is located between any two target multimedia assets, move the location of at least one target multimedia asset of the two target multimedia assets, so that the multiple multimedia assets to be edited are located between the two target multimedia assets.
In a possible implementation manner, when determining that the drag destination is located between any two target multimedia resources and moving the position of at least one target multimedia resource of the two target multimedia resources, the processing module is specifically configured to: and when the dragging destination position is determined to be positioned between any two target multimedia resources and the contact ratio of the dragging destination position and the target multimedia resource positioned in the page in the two target multimedia resources is smaller than a first set threshold value and larger than a second set threshold value, moving the position of at least one target multimedia resource in the two target multimedia resources.
In a possible implementation manner, the processing module is further configured to start timing, and display the transposition prompt information after the timing time reaches the set time.
In a possible implementation manner, when the moving of the position of at least one target multimedia asset of the two target multimedia assets is executed, so that the plurality of multimedia assets to be edited are located between the two target multimedia assets, the processing module is specifically configured to: and setting the arrangement sequence of the plurality of multimedia resources to be edited between the two target multimedia resources according to the reading attribute information corresponding to the plurality of multimedia resources to be edited respectively.
In a fourth aspect, an embodiment of the present disclosure further provides an apparatus for object operation processing, including:
the first response module is used for responding to the first trigger operation and enabling the multimedia resources displayed in the page to enter an editing state;
the determining module is used for determining a plurality of selected multimedia resources to be edited in the multimedia resources in the editing state;
and the third response module is used for responding to the second trigger operation, processing the plurality of multimedia resources to be edited and generating a multimedia resource set.
In a possible implementation manner, when the third response module executes a second trigger operation in response to process the multiple multimedia resources to be edited to generate a multimedia resource set, the third response module is specifically configured to: responding to a second trigger operation, and overlapping the multimedia resources to be edited; and after the overlapping is completed, generating the multimedia resource set.
In a fifth aspect, this disclosure also provides a computer device, a processor, a memory, and a computer program product, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory, and when the machine-readable instructions are executed by the processor, the machine-readable instructions are executed by the processor to perform the steps in the first aspect, or any one of the possible implementations of the first aspect, or to perform the steps in the second aspect, or to perform the steps in one of the possible implementations of the second aspect.
In a sixth aspect, this disclosure also provides a computer-readable storage medium, on which a computer program is stored, which when executed performs the steps in the first aspect, or any one of the possible implementations of the first aspect, or performs the steps in the second aspect, or performs the steps in one of the possible implementations of the second aspect.
The method, the device and the computer storage medium for processing the object operation respond to the first trigger operation, and the multimedia resource displayed in the page enters an editing state; determining a plurality of selected multimedia resources to be edited in the multimedia resources in the editing state; responding to synchronous dragging operation aiming at a plurality of multimedia resources to be edited, and determining target multimedia resources in the multimedia resources according to the dragging target positions of the synchronous dragging operation in the page; processing the multimedia resource to be edited according to the attribute information of the target multimedia resource; in the embodiment of the disclosure, a user can synchronously drag and process a plurality of multimedia resources to be edited selected in a page, so that the time spent by the user in processing the multimedia resources to be edited is reduced, and the processing efficiency is improved.
In addition, in the embodiment of the disclosure, the user can quickly group and arrange the multiple to-be-edited multimedia resources selected in the page through the triggering operation, so that the time spent by the user for arranging the multiple to-be-edited multimedia resources is reduced, and the arranging efficiency is improved.
For the description of the effects of the above-mentioned apparatus, computer device, and computer-readable storage medium for object operation processing, reference is made to the description of the above-mentioned method for object operation processing, which is not repeated herein.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of embodiments of the present disclosure, as generally described and illustrated herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
Research shows that when a user arranges books in a bookshelf editing interface, the user can only arrange one book in an interactive mode of clicking, selecting or dragging and the like generally, and if more books to be arranged exist in the current bookshelf editing interface, the user needs to spend a large amount of time to finish arrangement, so that the arrangement process is long in time consumption and low in efficiency.
Based on the above research, the present disclosure provides an object operation processing method and apparatus, and a computer storage medium, where a user can quickly arrange a plurality of multimedia resources to be edited selected in a page through a synchronous drag operation or a trigger operation, thereby implementing simultaneous processing of the plurality of multimedia resources to be edited.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a method for object operation processing disclosed in the embodiments of the present disclosure is described in detail, where an execution subject of the method for object operation processing provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, and the computer device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the method of object manipulation processing may be implemented by a processor calling computer-readable instructions stored in a memory.
It should be noted that the embodiments of the present disclosure may be applied to any object editing processing scenario, including but not limited to a bookshelf directory editing scenario, a video directory editing scenario, a movie directory editing scenario, and any other material arrangement scenario. The following describes a method for processing object operations provided by the embodiments of the present disclosure, taking a bookshelf directory editing scene as an example.
Example one
Referring to fig. 1, a flowchart of a method for processing an object operation provided by an embodiment of the present disclosure is shown, where the method includes steps S101 to S104, where:
s101, responding to the first trigger operation, and enabling the multimedia resources displayed in the page to enter an editing state.
Taking a bookshelf directory editing scene as an example, the first trigger operation may be a long-time pressing (for example, pressing or touching for more than 2 seconds) trigger operation on any multimedia resource in a bookshelf page, or an operation of clicking an editing button in the bookshelf page; here, any multimedia resource may include at least one of a book object and a group object in the bookshelf page, the group object being used to represent a set composed of at least one book object, and the general group object may include at least one book object; wherein the pages are used to characterize the bookshelf directory edit page.
The editing state is used for representing that each book object and each group object in the bookshelf directory editing page are in an editable state, and a user can select and trigger each book object and each group object in the bookshelf directory editing page.
In the specific implementation, after a user presses any multimedia resource in the bookshelf page for a long time or clicks an editing button in the bookshelf page, the user enters the bookshelf directory editing page and displays each multimedia resource entering the editing state in the bookshelf directory editing page.
Specifically, as shown in fig. 2, taking a terminal device as an example as a mobile phone, a display page of a bookshelf directory editing page for displaying each multimedia resource entering an editing state may include two grouped objects in an editable state (here, when displaying the grouped objects, the display page may display corresponding grouped object names, i.e., an object group 1 and an object group 2, below the grouped objects, and display the number of book objects included in the grouped objects, e.g., when 10 books are included in the object group 1, a total of 10 books may be displayed under the object group 1, and when 3 books are included in the object group 2, a total of 3 books may be displayed under the object group 2), and three book objects in an editable state (here, when displaying thumbnails of the book objects, a corresponding book name may be displayed under thumbnails of the book objects, namely book 1, book 2, book 3; the reading progress of the user is shown below the book name of each book object, for example, if the book 1 contains 200 chapters, and the current user reads 25 chapters, the current user can show 25/200 chapters in the book 1; if book 2 contains 180 chapters in total, and the current user reads 66 chapters, 66/180 chapters are displayed under book 2; if books 3 contain 166 chapters, and the current user reads 88 chapters, 88/166 chapters, all the book indication information, and the prompt information of the number of the book objects selected by the user (here, since the user does not select any book, the indication information in fig. 2 may be "0 book selected"), and the touch area and the indication information prompting the user to perform corresponding operations (for example, the touch area and the delete indication information prompting the user to perform delete operation, the touch area and the all-select indication information prompting the user to perform all-select operation, the touch area and the all-select indication information prompting the user to perform move to group, the move to group indication information, the touch area and the complete indication information prompting the user to complete operation); the method comprises the following steps that a selectable middle touch area can be added to each object in a bookshelf directory editing page; here, the optional middle touch area may be characterized by a sign added to a circle.
In a specific implementation, after the multimedia resources entering the editing state are displayed in the bookshelf directory editing page, the selected multiple multimedia resources to be edited may be determined according to a trigger operation of the user on the multimedia resources, and the following step S102 is specifically described and participated in.
S102, determining a plurality of selected multimedia resources to be edited in the multimedia resources in the editing state.
The multimedia resources to be edited are used for representing objects selected by a user in the bookshelf directory editing page, and may include at least one of a set of multimedia resources (i.e., a grouping object) and a single multimedia resource (i.e., a book object).
In specific implementation, when a user selects any multimedia resource from a plurality of multimedia resources in an editable state displayed in a bookshelf directory editing page, the terminal device takes the multimedia resource selected by the user as a multimedia resource to be edited.
In specific implementation, after determining that a user selects a plurality of multimedia resources to be edited, the terminal device may perform overlapping display on the plurality of multimedia resources to be edited selected by the user, where the specific description is as follows: and if the fact that the user triggers any one to-be-edited multimedia resource in the multiple to-be-edited multimedia resources is detected, responding to the triggering operation aiming at any one to-be-edited multimedia resource, and overlapping the multiple to-be-edited multimedia resources.
The triggering operation may include a pressing operation on any multimedia resource to be edited in the plurality of multimedia resources to be edited.
Specifically, after determining a plurality of multimedia resources to be edited selected by a user, if the user presses any one of the plurality of multimedia resources to be edited, the terminal device responds to the pressing operation and overlaps the plurality of multimedia resources to be edited according to the selected sequence of the plurality of multimedia resources to be edited.
Here, the overlapping sequence of the plurality of multimedia assets to be edited may overlap in a selected sequence, and for example, may include at least one of overlapping the multimedia asset to be edited that is selected most recently on the other multimedia assets to be edited (i.e., the first selected multimedia asset to be edited is located at the bottom, and the last selected multimedia asset to be edited is located at the top), and overlapping the first selected multimedia asset to be edited on the other multimedia assets to be edited (i.e., the first selected multimedia asset to be edited is located at the top, and the last selected multimedia asset to be edited is located at the bottom).
Illustratively, if the user selects (for example, clicks "√" in the lower right corner of the icon) book 1, selects middle object group 1, and finally selects book 2 in the book directory editing page shown in fig. 2, the terminal device determines that the plurality of multimedia resources to be edited selected by the user are two book objects and one grouping object shown in fig. 2, namely book 1, book 2, and object group 1 (here, the display page of two book objects and one grouping object selected by the specific user may be as shown in fig. 3, taking the terminal device as a mobile phone as an example, here, book 1 and book 2 and optional middle touch areas in object group 1 are highlighted to represent that book 1 and book 2 and object group 1 are selected, wherein the highlighting may include at least one of highlighting, color labeling, and line drawing on the optional middle touch areas, in fig. 3, the operation of selecting the book 1, the book 2, and the object group 1 is characterized by scribing in the selectable middle touch area, the display page in fig. 3 further includes a prompt message of "2 books and one group have been selected", and if a user presses the two selected book objects and the book 1 in one group of objects, the terminal device will respond to the pressing operation and overlap the two book objects and one group of objects by placing the book 1 at the lowest position, overlapping the object group 1 on the book 1, and overlapping the book 2 on the object group 1 according to the selected sequence of the two book objects and the group of objects, and the display after the two book objects and one group of objects are overlapped may be as shown in fig. 4, taking the terminal device as a mobile phone as an example.
In a specific implementation, if a plurality of to-be-edited multimedia resources selected by a user include not only a book object but also a grouping object, the book object may only be synchronously dragged, that is, after the user presses any one of the plurality of to-be-edited multimedia resources selected by the user and overlaps the plurality of to-be-edited multimedia resources, the grouping object is rebounded, which is specifically described as follows: in the case where the plurality of multimedia assets to be edited includes at least one multimedia asset collection and at least one single multimedia asset, a packet processing operation is performed on the at least one single multimedia asset to convert the at least one multimedia asset collection from a state of overlapping the at least one single multimedia asset to a state of being separated from the at least one single multimedia asset.
Here, after the at least one multimedia asset set is transitioned from the state overlapping with the at least one individual multimedia asset to the state separated from the at least one individual multimedia asset, the at least one multimedia asset set may be transitioned from the selected state to the editable state.
Specifically, after a user presses any one to-be-edited multimedia resource in a plurality of selected to-be-edited multimedia resources, and the plurality of to-be-edited multimedia resources are overlapped, if the situation that the plurality of to-be-edited multimedia resources selected by the user contain at least one grouping object and at least one book object is detected, only grouping processing operation can be executed on each book object in the plurality of to-be-edited multimedia resources, and each grouping object in the plurality of to-be-edited multimedia resources is converted from an overlapped state into a state separated from each book object in the plurality of to-be-edited multimedia resources; and after each group object in the plurality of multimedia resources to be edited is changed from the overlapped state to the state separated from each book object in the plurality of multimedia resources to be edited, each group object in the plurality of multimedia resources to be edited is changed from the selected state to the editable state.
For example, if the multiple multimedia resources to be edited are two book objects and one grouping object shown in fig. 3, and if the multiple multimedia resources to be edited selected in fig. 3 are displayed after being overlapped as shown in fig. 4, after the multiple multimedia resources to be edited are overlapped, because the multiple multimedia resources to be edited include one grouping object and two book objects, the grouping objects in the multiple multimedia resources to be edited need to be rebounded to the original positions, that is, the grouping objects in the multiple multimedia resources to be edited are changed from the overlapped state to a state separated from the two book objects in the multiple multimedia resources to be edited; after each group object in the multimedia resources to be edited is changed from an overlapped state to a state separated from each book object in the multimedia resources to be edited, each group object in the multimedia resources to be edited is changed from a selected state to an editable state; a specific separated presentation page may be as shown in fig. 5, where the presentation page may include: the object group 1 in the editable state is rebounded to the original position, and prompt information of book 1 and book 2 in the selected state and 'selected 2 books' is displayed in an overlapping mode.
In a specific implementation, after determining a plurality of multimedia assets to be edited selected by a user, the plurality of multimedia assets to be edited may be processed based on the following steps S103 to S104.
S103, responding to the synchronous dragging operation aiming at the plurality of multimedia resources to be edited, and determining target multimedia resources in the multimedia resources according to the dragging target positions of the synchronous dragging operation in the page.
The synchronous dragging operation is used for representing the dragging operation of a plurality of multimedia resources to be edited; the dragging destination position is used for representing the position of the multimedia resources to be edited when the synchronous dragging operation of the user on the multimedia resources to be edited is stopped; the target multimedia resources can comprise any book object or any grouping object except for a plurality of multimedia resources to be edited in the bookshelf directory editing page; the number of the target multimedia resources can be one or more.
The method comprises the steps of S102, determining a plurality of multimedia resources to be edited which are selected from a bookshelf directory editing page, overlapping the plurality of multimedia resources to be edited according to the selected sequence of the plurality of multimedia resources to be edited, and dragging the overlapped plurality of multimedia resources to be edited synchronously to realize the simultaneous processing of the plurality of multimedia resources to be edited.
In specific implementation, after a user synchronously drags the overlapped multiple multimedia resources to be edited and finishes dragging, the terminal device responds to the synchronous dragging operation of the user on the multiple multimedia resources to be edited, and after the coincidence degree between the dragging destination position of the synchronous dragging operation and any multimedia resource in a page is determined to be greater than or equal to a first set threshold value, the any multimedia resource is taken as a target multimedia resource.
Here, the coincidence degree between the multiple multimedia resources to be edited and any target multimedia resource can be determined by calculating the coincidence area between the multiple multimedia resources to be edited and any target multimedia resource; the first set threshold may be a minimum overlap threshold that is determined to trigger a packet processing operation according to a plurality of practical results, and in the embodiment of the present disclosure, the first set threshold may be 60%. The description of the first set threshold hereinafter is referred to here and will not be repeated.
Specifically, when a user drags a plurality of overlapped multimedia resources to be edited on a bookshelf directory editing page, if the terminal device detects that the synchronous dragging operation of the user is stopped, the positions of the plurality of multimedia resources to be edited (namely dragging destination positions) are determined when the synchronous dragging operation is stopped, and the overlapping degree between the plurality of overlapped multimedia resources to be edited and any multimedia resource in the bookshelf directory editing page is determined through the overlapping area between the plurality of multimedia resources to be edited at the positions and any multimedia resource in the bookshelf directory editing page; and taking the multimedia resource with the contact ratio larger than or equal to the first set threshold value as a target multimedia resource.
In a specific implementation, after the target multimedia asset is determined, a plurality of multimedia assets to be edited may be processed according to the attribute information of the target multimedia asset, which is described in step S104 below.
And S104, processing the plurality of multimedia resources to be edited according to the attribute information of the target multimedia resources.
Wherein, the attribute information of the target multimedia resource may include a classification of the target multimedia resource; the classification of the target multimedia asset may include a collection of multimedia assets (i.e., a group object) and a single multimedia asset (i.e., a book object).
In a specific implementation, if the target multimedia resource is determined to be a multimedia resource set in the bookshelf directory editing page according to the attribute information of the target multimedia resource, a plurality of multimedia resources to be edited may be added to the multimedia resource set.
Here, when adding a plurality of multimedia assets to be edited into the multimedia asset collection, the arrangement order of the plurality of multimedia assets to be edited in the multimedia asset collection may be determined according to the reading attribute information corresponding to the single multimedia asset and the plurality of multimedia assets to be edited included in the multimedia asset collection.
The reading attribute information may include at least one of reading time, reading times, and reading progress, and the description of the reading attribute information is referred to herein and is not repeated herein.
Specifically, when the target multimedia resource is determined to be a grouped object in the bookshelf directory editing page according to the attribute information of the target multimedia resource, the multiple book objects synchronously dragged by the user may be added to the grouped object, and the arrangement order of the multiple book objects synchronously dragged by the user in the grouped object may be determined according to the multiple book objects synchronously dragged by the user and the reading attribute information respectively corresponding to the book objects included in the grouped object.
For example, when two overlapped book objects in fig. 5 are dragged synchronously, if the display page when the synchronous dragging operation is stopped is as shown in fig. 6, it is determined that the target multimedia resource is the object group 2 in fig. 5, the two overlapped book objects are added into the object group 2, and the arrangement order of the book objects dragged by the user in the object group 2 is determined according to the reading times corresponding to the two overlapped book objects and the book objects included in the object group 2; if three book objects included in the object 2 are book 4, book 5, and book 6, respectively, and the user is at 12 months, 28 days, 8 in 2020: 00 read book 4, user 12 month, 28 day 10 in 2020: 00 read book 5 and user 12, month, 28, 18 in 2020: 00 read book 6 and user 12 at 12 months 12, 28 days 12 in 2020: 00 read book 1, user 12 month, 28 day 11 in 2020: 00 read book 2; then, the books 1, 2, and the books 4, 5, and 6 in the object group 2 may be arranged according to an order from the last to the first of the reading times corresponding to the books 1, 2, and the books 4, 5, and 6 in the object group 2, and after the books 1 and 2 are added to the object group 2, a specific display page of the object group 2 may be as shown in fig. 7, taking a terminal device as an example of a mobile phone, where the display page includes a name of the object group displayed at the top: the object group 2, and the thumbnail corresponding to each book object, the name of the book (i.e. book 1, book 2, book 4, book 5, book 6), the reading progress, and the touch area and the indication information for prompting the user to perform the corresponding operation (for example, the touch area for prompting the user to perform the return operation and the "return" indication information, and the touch area for prompting the user to perform the editing operation and the "editing" indication information may be included).
In a possible implementation manner, if the target multimedia resource is determined to be a single multimedia resource according to the attribute information of the target multimedia resource, a new multimedia resource set can be created based on the multiple multimedia resources to be edited and the single multimedia resource, so that a new multimedia resource set is created for the multiple multimedia resources to be edited and the single multimedia resource in the bookshelf directory editing page.
Wherein a single multimedia asset is used to characterize the ungrouped book objects in the bookshelf catalog editing page.
In a specific implementation, when a new multimedia resource set is created based on a plurality of multimedia resources to be edited and a single multimedia resource, a folder corresponding to the new multimedia resource set may be created, and then the plurality of multimedia resources to be edited and the single multimedia resource are placed in the folder, and the folder is named according to the name of the folder confirmed by the user.
Specifically, when the target multimedia resource is determined to be a book object in a bookshelf directory editing page according to the attribute information of the target multimedia resource, a folder corresponding to a new grouping object can be created for a plurality of book objects synchronously dragged by a user and the book objects in the bookshelf directory editing page, and the plurality of book objects synchronously dragged by the user and the book objects in the bookshelf directory editing page are placed into the folder; after a plurality of book objects synchronously dragged by a user and book objects in a bookshelf directory editing page are put into a folder, a new grouping popup window for naming the folder can be popped up automatically, the user can set a name for the folder according to prompt information contained in the new grouping popup window, and after the user inputs the name according to the prompt information, a confirmation button in the new grouping popup window is clicked, and the name input by the user is used as the name of the folder; the user may also click a close button in the new group popup, and if no name is entered for the new group, the default group name is used as the name of the folder.
The default grouping name comprises a name which is automatically set for a folder corresponding to the new grouping object by the terminal equipment, and can comprise an unnamed X; here, X is a natural number, and the size of X is determined according to the number of the unnamed grouped objects currently existing in the bookshelf directory editing page, for example, when the number of the unnamed grouped objects currently existing in the bookshelf directory editing page is 2, that is, two unnamed grouped objects, that is, unnamed and unnamed, 2 unnamed grouped objects, the default grouped name is named unnamed 3 at this time; for another example, when the number of the unnamed group objects currently existing in the bookshelf directory editing page is 4, that is, four unnamed group objects including unnamed group object, unnamed group object 2, unnamed group object 3, and unnamed group object 4, the default group name is unnamed group object 5.
Here, the prompt information is used to instruct the user to input a name in the newly created group popup, and the prompt information may include at least one of a text prompt, a voice prompt, a text prompt, and an icon prompt, and in the embodiment of the present disclosure, the prompt information includes: the text prompt of "please enter the packet name" is an example.
Illustratively, when two overlapped book objects in fig. 5 are dragged synchronously, if the display page when the synchronous dragging operation is stopped is as shown in fig. 8, it is determined that the target multimedia resource is book 3 in fig. 5, and a folder corresponding to a new grouping object is created for the two overlapped book objects and book 3, and the two overlapped book objects and book 3 are put into the folder; after the two overlapped book objects and the book 3 are placed in the folder, a new grouping popup for naming the folder can be automatically popped up (here, the display page of the specific new grouping popup can be as shown in fig. 9, including a text input area, a text input keyboard, and a prompt message of "please input a grouping name", and a determination button for determining an input name, and a close button for closing the new grouping popup); when the user inputs the packet name in the character input area according to the prompt message in the new packet popup: learning materials, and clicking the confirm button, then using "learning materials" as the name of the folder corresponding to the newly created grouping object, and a specific display page of the grouping object including the name input by the user may be as shown in fig. 10, where the display page includes: the object group 1, the object group 2, the created new grouping objects, and the names corresponding to the grouping objects (i.e. the object group 1, the object group 2, the learning materials), the number of book objects included in each group of objects (i.e., 10 books are included in the object group 1, 3 books are included in the object group 2, and 3 books are included in the object group 3), and prompt information for prompting the user of the current reading duration (for example, if the user does not start reading books today, the prompt information is that the current reading time is 0 minute), and touch buttons and indication information for prompting the user to perform corresponding operations (for example, the prompt information may include a touch button for prompting the user to perform an editing operation, and "editing" indication information, and a touch button for prompting the user to perform a screening operation, and "screening" indication information), and a trigger button for acquiring a record of the most recently read book; when the user clicks the close button in the new grouping popup, the terminal device sets a default grouping name for the folder corresponding to the new grouping object: not named as the name of the folder.
Here, when creating a folder corresponding to a new multimedia asset set based on a plurality of multimedia assets to be edited and a single multimedia asset, and then placing the plurality of multimedia assets to be edited and the single multimedia asset into the folder, an arrangement order of the plurality of multimedia assets to be edited in the new multimedia asset set may be determined according to reading attribute information respectively corresponding to the plurality of multimedia assets to be edited and the single multimedia asset.
Specifically, when a folder corresponding to a new grouping object is created based on a plurality of overlapped book objects dragged by a user in synchronization and an ungrouped book object in a bookshelf directory editing page, and then the plurality of overlapped book objects dragged by the user in synchronization and the ungrouped book object in the bookshelf directory editing page are placed in the folder, an arrangement order of the plurality of overlapped book objects dragged by the user in synchronization in the new grouping object may be determined according to reading attribute information respectively corresponding to the plurality of overlapped book objects dragged by the user in synchronization and the ungrouped book object in the bookshelf directory editing page.
In a possible implementation manner, when a plurality of target multimedia resources are provided, if it is determined that the dragging destination position of the synchronous dragging operation in the bookshelf directory editing page is located between any two target multimedia resources, the position of at least one target multimedia resource in the two target multimedia resources is moved, so that the plurality of multimedia resources to be edited are located between the two target multimedia resources, thereby implementing transposition processing on the plurality of multimedia resources to be edited at the same time.
The two target multimedia resources may include a boundary line of the bookshelf directory editing page as one target multimedia resource, and an object adjacent to the boundary line of the bookshelf directory editing page in the bookshelf directory editing page as the other target multimedia resource; the method can also comprise the steps that two objects positioned in the bookshelf directory editing page are used as two target multimedia resources; here, the object located in the bookshelf directory edit page may include at least one of a book object and a grouping object.
In specific implementation, when it is determined that the dragging destination position of the synchronous dragging operation in the bookshelf directory editing page is located between any two target multimedia resources and the coincidence degree between the dragging destination position and a target multimedia resource located in the page of the two target multimedia resources is smaller than a first set threshold and larger than a second set threshold, the display position of an object with a large display sequence position in the two target multimedia resources is moved, and a plurality of multimedia resources to be edited are moved between the two objects.
Here, the second set threshold may be a minimum overlap ratio threshold determined according to multiple practical results, and in the embodiment of the present disclosure, the second set threshold may be 35%, and hereinafter, the description of the second set threshold is referred to here and will not be described again.
Specifically, after a plurality of target multimedia resources are determined, if the plurality of multimedia resources to be edited are located between any two target multimedia resources based on the obtained positions of the plurality of multimedia resources to be edited and the positions of the plurality of target multimedia resources, and the coincidence degree between the plurality of multimedia resources to be edited and each target multimedia resource in any two target multimedia resources is determined based on the coincidence area between the plurality of multimedia resources to be edited and each target multimedia resource in the any two target multimedia resources, when the coincidence degree between the plurality of multimedia resources to be edited and each target multimedia resource in a bookshelf directory editing page in the any two target multimedia resources is smaller than a first set threshold and larger than a second set threshold, timing is started; monitoring the stay time of a plurality of multimedia resources to be edited between any two target multimedia resources, and displaying transposition prompt information to prompt a user to be transposed after the stay time reaches a set time; and moving the display position of the target multimedia resource with a large display sequence position in the bookshelf directory editing page, and moving the plurality of multimedia resources to be edited to a position between two target multimedia resources.
The set time may be a minimum time threshold value for triggering transposition processing operations, which is determined according to multiple practical results, and in the embodiment of the present disclosure, the set time may be 200 ms; the transposition prompt information may include icon prompt, and at least one of text prompt, symbol prompt, sound prompt and text prompt, in the embodiment of the present disclosure, the text prompt is: for example, "to trigger a transposition operation" is taken, and the following description of setting time and transposition prompt information is referred to here and will not be described again.
Here, when the plurality of multimedia resources to be edited are moved between two target multimedia resources, the arrangement order of the plurality of multimedia resources to be edited between the two target multimedia resources may be set according to the reading attribute information corresponding to each of the plurality of multimedia resources to be edited; wherein, the reading attribute information refers to the above detailed description, which is not repeated herein.
For example, when two overlapped book objects in fig. 5 are dragged synchronously, if the presentation page when the synchronous dragging operation is stopped is as shown in fig. 11, the target multimedia resources are determined to be the object group 1 and the object group 2 in fig. 5, and if the positions of the two overlapped book objects in fig. 11 are determined to be located between the object group 1 and the object group 2 and the overlapping degree with the object group 2 is smaller than the first set threshold value 60% and larger than the second set threshold value 35%, the timing is started; monitoring the stay time of the two overlapped book objects between the object group 1 and the object group 2, and displaying transposition prompt information on a screen after the stay time reaches a set time of 200 ms: triggering transposition operation; moving the display position of the object group 2, and moving the books 1 and 2 between the object group 1 and the object group 2; if the user 12 in 2020, 12 months, 28 days: 00 read book 1, user 12 month, 28 day 11 in 2020: 00, after reading a book 2, determining the book 1 and the book 2 according to the reading time of the user, and determining the display order between the object group 1 and the object group 2, specifically, the display page after the book 1 and the book 2 are transposed may be as shown in fig. 12, taking a terminal device as an example, the display page includes object group names (i.e., the object group 1 and the object group 2) corresponding to two object groups respectively, and a number of books included in the object group 1 for indicating: total 10 books, and the number of books included in the target group 2: the book reading method includes that the book reading device comprises 3 pieces of instruction information of a book, thumbnails corresponding to three book objects, book names corresponding to the three book objects (namely, book 1, book 2 and book 3), reading schedules corresponding to the three book objects, and prompt information for prompting the reading duration of the user at present (for example, if the user does not start reading the book at present, the prompt information is that the book is read for 0 minute at present), and touch buttons and instruction information for prompting the user to perform corresponding operations (for example, the touch buttons and the edit instruction information can include touch buttons for prompting the user to perform editing operations, touch buttons and the filter instruction information for prompting the user to perform filtering operations), and a trigger button for acquiring recent book reading records.
Specifically, when the situation that the plurality of multimedia resources to be edited are located between the multimedia resources at the first display position in the bookshelf directory editing page and the boundary line of the bookshelf directory editing page and the coincidence degree of the plurality of multimedia resources to be edited and the multimedia resources at the first display position is smaller than a first set threshold value and larger than a second set threshold value is determined based on the positions of the plurality of multimedia resources to be edited, timing is started; monitoring the stay time of a plurality of multimedia resources to be edited between the multimedia resources at the first display position in the bookshelf directory editing page and the boundary line of the bookshelf directory editing page, and displaying transposition prompt information to prompt a user to perform transposition when the stay time reaches a set time; and moving the display position of the multimedia resource at the first display position, and moving the plurality of multimedia resources to be edited to the position between the boundary line of the bookshelf directory editing page and the multimedia resource at the first display position.
When the plurality of multimedia resources to be edited are moved to a position between the boundary line of the bookshelf directory editing page and the multimedia resource located at the first display position, the arrangement sequence of the plurality of multimedia resources to be edited between the boundary line of the bookshelf directory editing page and the multimedia resource located at the first display position can be determined according to the reading attribute information corresponding to the plurality of multimedia resources to be edited; for reading the attribute information, reference is made to the above detailed description, which is not repeated herein.
Exemplarily, when two overlapped book objects in fig. 5 are dragged synchronously, if the display page when the synchronous dragging operation is stopped is as shown in fig. 13, the target multimedia resource is determined to be the boundary line of the bookshelf directory editing page and the object group 1 shown in fig. 5, and if the positions of the two overlapped book objects in fig. 13 and the position of the object group 1 are determined to be located between the boundary line of the bookshelf directory editing page and the object group 1, and the overlapping degree between the two overlapped book objects and the object group 1 is less than the first set threshold 60% and greater than the second set threshold 35%, the timer is started; monitoring the stay time of the two overlapped book objects between the boundary line of the bookshelf directory editing page and the object group 1, and displaying transposition prompt information on a screen when the stay time reaches a set time of 200 ms: triggering transposition operation; moving the display position of the object group 1, and moving the books 1 and 2 between the boundary line of the bookshelf catalogue editing page and the object group 1; if the user 12 in 2020, 12 months, 28 days: 00 read book 1, user 12 month, 28 day 11 in 2020: 00 reading the book 2, the display sequence between the boundary line of the book catalog editing page and the object group 1 of the book 1 and the book 2 can be determined according to the sequence from the reading time of the user to the reading time of the user.
In the embodiment of the disclosure, a user can synchronously drag a plurality of book objects to be edited selected in a bookshelf directory editing page, so that grouping or transposition operation processing can be simultaneously performed on the plurality of book objects to be edited.
Example two
Referring to fig. 14, a flowchart of another method for processing an object operation provided in the embodiment of the present disclosure is shown, where the method includes steps S1401 to S1403, where:
s1401, responding to the first trigger operation, the multimedia resource displayed in the page enters an editing state.
Here, the method shown in step S1401 is the same as the method shown in step S101 described above, so the implementation of step S1401 may refer to the implementation of the method shown in step S101 described above, and repeated details are omitted.
S1402, determining the selected multiple multimedia resources to be edited in the multimedia resources in the editing state.
Here, the method shown in step S1402 is the same as the method shown in step S102, so the implementation of step S1402 can refer to the implementation of the method shown in step S102, and repeated descriptions are omitted.
And S1403, responding to a second trigger operation, processing the multiple multimedia resources to be edited, and generating a multimedia resource set.
The second trigger operation may include a pressing operation on any multimedia resource to be edited in the plurality of multimedia resources to be edited.
In the specific implementation, after a plurality of multimedia resources to be edited selected by a user are determined, after the user presses any one of the plurality of multimedia resources to be edited, the terminal device responds to the pressing operation, overlaps the plurality of multimedia resources to be edited according to the selected sequence of the plurality of multimedia resources to be edited, and forms a multimedia resource set based on the plurality of multimedia resources to be edited after the overlapping is completed.
Here, the overlapping sequence of the plurality of multimedia assets to be edited may overlap in a selected sequence, and for example, may include at least one of overlapping the multimedia asset to be edited that is selected most recently on the other multimedia assets to be edited (i.e., the first selected multimedia asset to be edited is located at the bottom, and the last selected multimedia asset to be edited is located at the top), and overlapping the first selected multimedia asset to be edited on the other multimedia assets to be edited (i.e., the first selected multimedia asset to be edited is located at the top, and the last selected multimedia asset to be edited is located at the bottom).
Here, when the multimedia resource to be edited only includes a single multimedia resource, a folder corresponding to a new multimedia resource set may be created for each multimedia resource to be edited, each multimedia resource to be edited is placed in the folder, and then the folder is named according to the name of the folder confirmed by the user. The specific implementation process of creating the folder and naming the folder is consistent with the detailed process described in step S104, and is not described herein again.
Here, when the multimedia asset to be edited includes a single multimedia asset and a multimedia asset set, the single multimedia asset of the multiple multimedia assets to be edited may be added to the multimedia asset set of the multiple multimedia assets to be edited. The specific implementation process of adding a single multimedia resource of the multiple multimedia resources to be edited to the multimedia resource set is consistent with the detailed flow described in step S104, and is not described herein again.
Here, after each multimedia resource to be edited is placed in the folder or a single multimedia resource is added to the multimedia resource set, the arrangement sequence of each multimedia resource to be edited in the multimedia resource set may be set according to the reading attribute information corresponding to each multimedia resource to be edited. The specific implementation process for setting the arrangement sequence of each multimedia resource to be edited in the multimedia resource set is consistent with the detailed flow described in step S104, and is not described herein again.
In the embodiment of the disclosure, a user can quickly group and arrange a plurality of book objects to be edited selected in the book shelf directory editing page through triggering operation, and compared with the prior art that only one book object to be edited can be arranged at a time, the time spent by the user for arranging the book objects to be edited is reduced, and the arranging efficiency is improved.
In specific implementation, besides editing scenes with a bookshelf directory described in the above steps S101 to S104 and steps S1401 to S1403, the solution of the embodiment of the present disclosure can be implemented for editing scenes with a video directory, editing scenes with a movie and a movie work directory, and any other data arrangement scenes; the following briefly describes the method for processing object operations provided by the embodiments of the present disclosure, taking a video directory editing scene as an example, and includes:
and when the user presses any multimedia resource in the video page for a long time or clicks an editing button in the video page, entering a video directory editing page, and displaying each multimedia resource entering an editing state in the video directory editing page.
Among them, a plurality of multimedia assets (i.e., objects) may be included in the video directory edit page, and the multimedia assets (i.e., objects) may include at least one of a video set and a single video.
For example, a specific video directory editing page may be as shown in fig. 15, where the page includes one video set in an editable state (the name of the video set is comedy video group), three videos in the editable state, and prompt information indicating the number of videos selected by the user (here, since the user does not select any video, the prompt information in fig. 15 may be "0 videos selected"), and a touch area and a prompt information prompting the user to perform corresponding operations (for example, the page may include a touch area prompting the user to perform a delete operation, a touch area prompting the user to perform a full-select operation, a full-select instruction information, a touch area prompting the user to move to a group, a move-to-group instruction information, and a touch area prompting the user to complete an operation, And "completion" indication information); the method comprises the following steps that a selectable middle touch area can be added to each object in a video directory editing page; here, the optional middle touch area may be characterized by a sign added to a circle.
When a user selects any multimedia resource from a plurality of multimedia resources which are displayed in the video directory editing page and are in an editable state, the terminal equipment takes the multimedia resource to be edited selected by the user as the multimedia resource to be edited.
After the multimedia resource to be edited selected by the user is determined, if the fact that the user presses any multimedia resource to be edited in the multiple multimedia resources to be edited is detected, overlapping the multiple multimedia resources to be edited selected by the user according to the selected sequence of the multiple multimedia resources to be edited.
Here, after overlapping a plurality of multimedia assets to be edited selected by the user, detecting that the multimedia assets selected by the user in the video directory editing page include: when the videos and the videos are collected, the video collections in the multimedia resources to be edited are rebounded to the original positions, and only the videos in the multimedia resources to be edited selected by the user are overlapped.
When a user synchronously drags a plurality of overlapped videos in a video directory editing page, if the terminal equipment detects that the synchronous dragging operation of the user stops, determining the overlapping area between the plurality of videos at the dragging target position and any multimedia resource in the video directory editing page based on the positions (namely the dragging target position) of the plurality of overlapped videos in the video directory editing page and the positions of all multimedia resources in the video directory editing page when the synchronous dragging operation stops, and determining the overlapping degree between the plurality of overlapped videos and any multimedia resource in the video directory editing page based on the determined overlapping area; and taking the multimedia resource with the contact ratio larger than or equal to the first set threshold value as a target multimedia resource.
After the target multimedia resource is determined, if the target multimedia resource is determined to be a video set according to the attribute information of the target multimedia resource, the overlapped videos can be added into the video set, and the arrangement sequence of the videos in the video set is determined according to the browsing attribute information corresponding to the videos.
The browsing attribute information may include at least one of browsing time, browsing progress, browsing times, and the like, and the following descriptions of the browsing attribute information are all consistent with the above descriptions of the browsing attribute information and are not repeated.
For example, if the overlapped videos are video 1 and video 2, specifically, a display page where the video 1 and the video 2 are overlapped and displayed may be as shown in fig. 16, and a display page when the user synchronous dragging operation is stopped is as shown in fig. 17, it is determined that the target multimedia resource is a comedy video group in fig. 16, then the two overlapped videos in fig. 16 are added to the comedy video group, and the arrangement order of the two videos dragged by the user in the comedy video group may be determined according to the order that the browsing times corresponding to the two overlapped videos and the videos included in the comedy video group are respectively small to small or small to large; the arrangement sequence of the two videos dragged by the user in the comedy video group can be determined according to the sequence of the two overlapped videos and the browsing progress corresponding to each video in the comedy video group from long to short or from short to long; the arrangement sequence of the two videos dragged by the user in the comedy video group can be determined according to the sequence of the browsing time corresponding to the two overlapped videos and the videos contained in the comedy video group from back to front or from first to back.
After the target multimedia resource is determined, if the target multimedia resource is determined to be a single video according to the attribute information of the target multimedia resource, a folder corresponding to a new video set can be created for the overlapped videos and the non-grouped video, the overlapped videos and the non-grouped video are put into the folder, and the file name confirmed by the user is used as the name of the folder.
Here, the order of arrangement of the videos in the newly created video set may be determined according to the browsing attribute information corresponding to each video.
For example, if the overlapped videos are video 1 and video 2, specifically, a display page where the video 1 and the video 2 are displayed in an overlapping manner may be as shown in fig. 16, and a display page when the user synchronous drag operation is stopped is as shown in fig. 18, it is determined that the target multimedia resource is video 3 in fig. 16, a new folder is created for the two overlapped videos and video 3, and the two overlapped videos and video 3 are put into the folder, if the file name confirmed by the user is: and the fantasy video group is used as the name of the folder corresponding to the newly-built video set.
Here, the order of the two videos dragged by the user in the newly established video set may be determined according to the order from large to small or from small to large of the browsing times respectively corresponding to the two overlapped videos and the video 3; the arrangement sequence of the two videos dragged by the user in the newly established video set can be determined according to the sequence of the two overlapped videos and the browsing progress of the video 3 from long to short or from short to long; the arrangement sequence of the two videos dragged by the user in the newly established video set can be determined according to the sequence of the browsing time of the two overlapped videos and the browsing time of the video 3 from back to front or from front to back.
When a plurality of target multimedia resources are determined, if the positions of a plurality of overlapped videos synchronously dragged by a user and the positions of all multimedia resources in a video directory editing page are based, determining that the plurality of overlapped videos are located between any two target multimedia resources, determining the coincidence degree between the plurality of overlapped videos and all target multimedia resources in any two target multimedia resources based on the coincidence area between the plurality of overlapped videos and all target multimedia resources in any two target multimedia resources, and starting timing when the coincidence degree between the plurality of overlapped videos and all target multimedia resources in the video directory editing page in any two target multimedia resources is smaller than a first set threshold and larger than a second set threshold; monitoring the stay time of a plurality of overlapped videos between any two target multimedia resources, and displaying transposition prompt information to prompt a user to be transposed after the stay time reaches a set time; and moving the display position of the target multimedia resource with a large display sequence position in the video directory editing page, and moving the overlapped videos between the two target multimedia resources.
Here, when the overlapped videos are moved between the two target multimedia assets, the order of the overlapped videos between the two target multimedia assets may be set according to the browsing attribute information corresponding to each of the overlapped videos.
In a possible implementation manner, after the multimedia resource to be edited selected by the user is determined, if it is detected that the user presses any multimedia resource to be edited in the multiple multimedia resources to be edited, overlapping the multiple multimedia resources to be edited selected by the user according to the selected sequence of the multiple multimedia resources to be edited; after the overlapping is finished, if it is detected that the multimedia resources to be edited only contain a single video, a folder corresponding to a new video set can be created for each video, each video is put into the folder, and then the folder is named according to the name of the folder confirmed by a user; if a plurality of multimedia resources to be edited are detected to contain a single video and a video set, the single video can be added into the video set.
In the embodiment of the disclosure, a user can quickly arrange a plurality of multimedia resources to be edited selected in a page through synchronous dragging operation or triggering operation, so that the plurality of multimedia resources to be edited can be processed simultaneously.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, an object operation processing apparatus corresponding to the object operation processing method is also provided in the embodiments of the present disclosure, and since the principle of solving the problem of the apparatus in the embodiments of the present disclosure is similar to the method of object operation processing described above in the embodiments of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not described again.
EXAMPLE III
Referring to fig. 19, a schematic diagram of an apparatus 1900 for processing an object operation according to an embodiment of the present disclosure is shown, where the apparatus includes: a first response module 1901, a determination module 1902, a second response module 1903, and a processing module 1904; wherein,
a first response module 1901, configured to respond to the first trigger operation, so that the multimedia resource displayed in the page enters an editing state.
A determining module 1902, configured to determine, among the multimedia assets in an editing state, a plurality of selected multimedia assets to be edited.
A second responding module 1903, configured to respond to the synchronous dragging operation for the multiple multimedia resources to be edited, and determine a target multimedia resource in the multimedia resources according to a dragging destination position of the synchronous dragging operation in the page.
A processing module 1904, configured to process the multiple multimedia resources to be edited according to the attribute information of the target multimedia resource.
In a possible embodiment, the apparatus further comprises: and the fourth response module is used for responding to the triggering operation aiming at any multimedia resource to be edited and overlapping the plurality of multimedia resources to be edited.
In a possible implementation manner, when the fourth response module executes a triggering operation in response to any multimedia resource to be edited and overlaps the multiple multimedia resources to be edited, the fourth response module is specifically configured to: and responding to the triggering operation aiming at any multimedia resource to be edited, and overlapping the multimedia resources to be edited according to the selected sequence of the multimedia resources to be edited.
In a possible implementation manner, the second response module 1903, when determining a target multimedia resource in the multimedia resources according to the drag destination position of the synchronous drag operation in the page, is specifically configured to: and after determining that the contact ratio between the dragging destination position and any multimedia resource in the page is greater than or equal to a first set threshold value, taking the any multimedia resource as the target multimedia resource.
In a possible implementation manner, when the processing module 1904 processes the multiple multimedia resources to be edited according to the attribute information of the target multimedia resource, specifically, it is configured to: if the target multimedia resource is determined to be a multimedia resource set according to the attribute information of the target multimedia resource, adding the plurality of multimedia resources to be edited into the multimedia resource set; and if the target multimedia resource is determined to be a single multimedia resource according to the attribute information of the target multimedia resource, establishing a new multimedia resource set based on the plurality of multimedia resources to be edited and the single multimedia resource.
In a possible implementation manner, the processing module 1904, when executing creating a new multimedia resource set based on the multiple multimedia resources to be edited and the single multimedia resource, is specifically configured to: creating a folder corresponding to the new multimedia resource set; and placing the plurality of multimedia resources to be edited and the single multimedia resource into the folder, and naming the folder according to the name of the folder confirmed by the user.
In a possible implementation manner, the fourth response module is further configured to, in a case that at least one multimedia asset set and at least one single multimedia asset are included in the plurality of multimedia assets to be edited, perform a packet processing operation on the at least one single multimedia asset, and transition the at least one multimedia asset set from a state of overlapping with the at least one single multimedia asset to a state of being separated from the at least one single multimedia asset.
In a possible implementation manner, the processing module 1904 is further configured to set an arrangement order of the multiple multimedia assets to be edited in the multimedia asset collection according to the reading attribute information corresponding to the multiple multimedia assets to be edited.
In a possible implementation manner, in a case that there are a plurality of target multimedia assets, the processing module 1904 is further configured to, after determining that the drag destination location is located between any two target multimedia assets, move the location of at least one target multimedia asset of the two target multimedia assets, so that the plurality of multimedia assets to be edited are located between the two target multimedia assets.
In a possible implementation manner, when determining that the drag destination is located between any two target multimedia resources and moving the location of at least one target multimedia resource of the two target multimedia resources, the processing module 1904 is specifically configured to: and when the dragging destination position is determined to be positioned between any two target multimedia resources and the contact ratio of the dragging destination position and the target multimedia resource positioned in the page in the two target multimedia resources is smaller than a first set threshold value and larger than a second set threshold value, moving the position of at least one target multimedia resource in the two target multimedia resources.
In a possible implementation manner, the processing module 1904 is further configured to start timing, and display the transposition prompt message after the timing time reaches the set time.
In a possible implementation manner, the processing module 1904, when executing moving the position of at least one target multimedia asset of the two target multimedia assets, so that the plurality of multimedia assets to be edited are located between the two target multimedia assets, is specifically configured to: and setting the arrangement sequence of the plurality of multimedia resources to be edited between the two target multimedia resources according to the reading attribute information corresponding to the plurality of multimedia resources to be edited respectively.
In the embodiment of the disclosure, a user can synchronously drag and process a plurality of multimedia resources to be edited selected in a page, so that the time spent by the user in processing the multimedia resources to be edited is reduced, and the processing efficiency is improved.
Example four
Referring to fig. 20, a schematic diagram of an apparatus 2000 for processing an object operation according to another embodiment of the present disclosure is shown, where the apparatus includes: a first response module 1901, a determination module 1902, and a third response module 2001, wherein:
a first response module 1901, configured to respond to the first trigger operation, so that the multimedia resource displayed in the page enters an editing state.
A determining module 1902, configured to determine, among the multimedia assets in an editing state, a plurality of selected multimedia assets to be edited.
A third response module 2001, configured to respond to the second trigger operation, process the multiple multimedia resources to be edited, and generate a multimedia resource set.
In a possible implementation manner, when executing the second trigger operation to process the multiple multimedia resources to be edited and generate the multimedia resource set, the third responding module 2001 is specifically configured to: responding to a second trigger operation, and overlapping the multimedia resources to be edited; and after the overlapping is completed, generating the multimedia resource set.
In the embodiment, the user can quickly group and arrange the multiple multimedia resources to be edited selected in the page through the triggering operation, so that the time spent by the user for arranging the multiple multimedia resources to be edited is reduced, and the arranging efficiency is improved.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Based on the same technical concept, the embodiment of the application also provides computer equipment. Referring to fig. 21, a schematic structural diagram of a computer device 2100 provided in the embodiment of the present application includes a processor 2101, a memory 2102, and a bus 2103. Wherein, the storage 2102 is used for storing execution instructions, and comprises a memory 21021 and an external storage 21022; the memory 21021 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 2101 and data exchanged with an external memory 21022 such as a hard disk, the processor 2101 exchanges data with the external memory 21022 through the memory 21021, and when the computer device 2100 operates, the processor 2101 communicates with the memory 2102 through the bus 2103, so that the processor 2101 executes the following instructions:
responding to the first trigger operation, and enabling the multimedia resources displayed in the page to enter an editing state; determining a plurality of selected multimedia resources to be edited in the multimedia resources in an editing state; responding to synchronous dragging operation aiming at the plurality of multimedia resources to be edited, and determining target multimedia resources in the multimedia resources according to the dragging destination positions of the synchronous dragging operation in the page; and processing the plurality of multimedia resources to be edited according to the attribute information of the target multimedia resources.
Alternatively, the processor 2101 is caused to execute the following instructions:
responding to the first trigger operation, and enabling the multimedia resources displayed in the page to enter an editing state; determining a plurality of selected multimedia resources to be edited in the multimedia resources in an editing state; and responding to the second trigger operation, processing the plurality of multimedia resources to be edited, and generating a multimedia resource set.
The specific processing flow of the processor 2101 may refer to the description of the above method embodiments, which is not described herein again.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method for processing object operations described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the method for object operation processing described in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.