Disclosure of Invention
The embodiment of the disclosure at least provides an interaction method, an interaction device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides an interaction method, including:
responding to the selection operation of a user for a target item in at least one candidate item, and acquiring a target task corresponding to the target item; the target task is a task required to be completed by acquiring the target object;
determining a virtual prop obtained by the user, wherein the virtual prop is used for promoting the completion progress of the target task; determining the display effect of the target object according to the completion progress of the target task;
displaying the target object in an object display area according to the display effect; and displaying the virtual props obtained by the users in a prop display area.
In an optional embodiment, after presenting the virtual items that the user has obtained, the method further comprises:
determining the promotion degree of the completion progress of the target task in response to the triggering operation aiming at any one of the displayed virtual props;
and updating the completion progress of the target task according to the determined promotion degree, and updating the display effect of the target object according to the updated completion progress.
In an optional embodiment, the method further comprises:
displaying a plurality of prop receiving entrances; the method comprises the following steps that subtasks corresponding to different prop receiving entries are different, and the subtasks are tasks required to be completed by obtaining the virtual props;
responding to a trigger operation aiming at any prop getting inlet, and detecting whether a subtask is completed or not according to a task completion condition of the subtask corresponding to the prop getting inlet;
and if the virtual item is finished, taking the virtual item corresponding to the subtask as the virtual item obtained by the user.
In an alternative embodiment, the subtasks include a single person task and a multi person task;
the responding is to the trigger operation of any item receiving entrance, and whether the subtask is completed or not is detected according to the task completion condition of the subtask corresponding to the item receiving entrance, and the detecting comprises the following steps:
responding to the trigger operation of a prop getting entrance aiming at the multi-person task, and acquiring the task execution conditions of the user and other users matched with the user and executing the task together;
and determining whether the user completes the multi-person task or not according to task completion conditions corresponding to the multi-person task and task execution conditions of the user and other matched users.
In an optional embodiment, the acquiring, in response to a trigger operation of a prop obtaining entry for the multi-person task, task execution conditions of the user and other users who perform tasks together and are matched with the user includes:
responding to the triggering operation of a prop getting entrance aiming at the multi-person task, acquiring the information code input by the user, and determining other users inputting the same information code with the user;
determining whether the user completes the multi-person task according to task completion conditions corresponding to the multi-person task and task execution conditions of the user and other matched users of the user, wherein the determining comprises the following steps:
and determining that the user completes the multi-user task under the condition that the number of the users inputting the same information code exceeds a set threshold value.
In an alternative embodiment, the target item is located within a target storage container;
the determining the display effect of the target object according to the completion progress of the target task comprises the following steps:
and determining the display effect of the target storage container containing the target object according to the completion progress of the target task and the mapping relation between the completion progress range of the target task and the damage degree of the target storage container, wherein the display effect is associated with the damage degree.
In an alternative embodiment, the target item is an item collection comprising a plurality of virtual items; the determining the display effect of the target object according to the completion progress of the target task comprises the following steps:
determining the obtained virtual articles and the virtual articles which are not obtained in the plurality of virtual articles and the display effects corresponding to the obtained virtual articles and the virtual articles which are not obtained respectively based on the completion progress;
the displaying the target object according to the display effect in the object display area comprises the following steps:
displaying the obtained virtual item in a first display area of the item display areas, and displaying the unacquired virtual item in a second display area of the item display areas.
In an alternative embodiment, the target item comprises a plurality of components;
the determining the display effect of the target object according to the completion progress of the target task comprises the following steps:
determining the display effect of the target object according to the completion progress of the target task and the mapping relation between the completion progress range of the target task and the displayable components of the target object; wherein the display effect is associated with the determined displayable component of the target item.
In an optional implementation manner, the target task further includes a corresponding task execution duration; the method further comprises the following steps:
judging whether the target task is completed within the task execution duration;
in response to not completing, reducing a completion progress of the target task.
In an optional embodiment, the method further comprises:
aiming at preset subtasks in the subtasks, if the preset subtasks are not executed within the latest preset time, the completion progress of the target task is adjusted;
wherein the adjusted completion progress is lower than the completion progress before the adjustment by a preset progress; or comparing the adjusted completion progress with the completion progress before adjustment, wherein the reduced progress is related to the completion progress which can be improved by the virtual prop matched with the preset subtask.
In a second aspect, an embodiment of the present disclosure further provides an interaction apparatus, including:
the task obtaining module is used for responding to the selection operation of a user for a target object in at least one candidate object and obtaining a target task corresponding to the target object; the target task is a task required to be completed by acquiring the target object;
the information determining module is used for determining the virtual prop obtained by the user, and the virtual prop is used for improving the completion progress of the target task; determining the display effect of the target object according to the completion progress of the target task;
the effect display module is used for displaying the target object in an object display area according to the display effect; and displaying the virtual props obtained by the users in a prop display area.
In an optional embodiment, the apparatus further includes an effect updating module, configured to, after displaying the virtual items obtained by the user, determine, in response to a trigger operation for any of the displayed virtual items, a degree of progress of completion of the target task; and updating the completion progress of the target task according to the determined promotion degree, and updating the display effect of the target object according to the updated completion progress.
In an optional embodiment, the device further comprises a prop obtaining module;
the prop acquisition module is used for displaying a plurality of prop getting inlets; the method comprises the following steps that subtasks corresponding to different prop receiving entries are different, and the subtasks are tasks required to be completed by obtaining the virtual props; responding to a trigger operation aiming at any prop getting inlet, and detecting whether a subtask is completed or not according to a task completion condition of the subtask corresponding to the prop getting inlet; and if the virtual item is finished, taking the virtual item corresponding to the subtask as the virtual item obtained by the user.
In an alternative embodiment, the subtasks include a single person task and a multi person task;
the prop acquisition module is used for responding to the triggering operation of a prop obtaining entrance aiming at the multi-person task and acquiring the task execution conditions of the user and other users which are matched with the user and execute the task together; and determining whether the user completes the multi-person task or not according to task completion conditions corresponding to the multi-person task and task execution conditions of the user and other matched users.
In an optional implementation manner, the prop obtaining module is configured to obtain an information code input by the user in response to a trigger operation of a prop obtaining entry for the multi-user task, and determine another user who inputs the same information code as the user; and determining that the user completes the multi-user task under the condition that the number of the users inputting the same information code exceeds a set threshold value.
In an alternative embodiment, the target item is located within a target storage container;
the information determining module is configured to determine a display effect of the target storage container containing the target item according to the completion progress of the target task and a mapping relationship between the completion progress range of the target task and the destruction degree of the target storage container, where the display effect is associated with the destruction degree.
In an alternative embodiment, the target item is an item collection comprising a plurality of virtual items; the information determining module is used for determining the obtained virtual articles and the virtual articles which are not obtained in the plurality of virtual articles and the display effects corresponding to the obtained virtual articles and the virtual articles which are not obtained respectively based on the completion progress;
the effect display module is used for displaying the obtained virtual articles in a first display area of the article display areas and displaying the virtual articles which are not obtained in a second display area of the article display areas.
In an alternative embodiment, the target item comprises a plurality of components;
the information determining module is used for determining the display effect of the target object according to the completion progress of the target task and the mapping relation between the completion progress range of the target task and the displayable components of the target object; wherein the display effect is associated with the determined displayable component of the target item.
In an optional implementation manner, the target task further includes a corresponding task execution duration; the device also comprises a first progress adjusting module used for judging whether the target task is completed within the task execution duration; in response to not completing, reducing a completion progress of the target task.
In an optional implementation manner, the apparatus further includes a second progress adjustment module, configured to adjust, for a preset subtask among the subtasks, a completion progress of the target task if the preset subtask is not executed within a latest preset time period; wherein the adjusted completion progress is lower than the completion progress before the adjustment by a preset progress; or comparing the adjusted completion progress with the completion progress before adjustment, wherein the reduced progress is related to the completion progress which can be improved by the virtual prop matched with the preset subtask.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any one of the possible interaction methods of the first aspect.
In a fourth aspect, this disclosed embodiment further provides 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 first aspect described above, or any one of the possible interaction methods in the first aspect.
For the description of the effects of the above interaction apparatus, computer device, and computer-readable storage medium, reference is made to the description of the above interaction method, which is not repeated herein.
According to the interaction method provided by the embodiment of the disclosure, the matched virtual prop can be configured for the target task of the target object, and the user can improve the completion progress of the target task by acquiring the virtual prop; the more virtual props the user acquires, the higher the completion progress of the target task is, and the more virtual props the user acquires through interacting with the platform, so that the completion progress of the target task can be gradually improved, the target task is completed, and the target object is acquired. Through the configuration and the acquisition process of the virtual props, the interactivity between the user and the platform can be increased, the completion mode of the target task is enriched, and the flexibility of the article getting process is increased.
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.
Furthermore, the terms "first," "second," and the like in the description and in the claims, and in the drawings described above, in the embodiments of the present disclosure are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein.
Reference herein to "a plurality or a number" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Research shows that by setting a task level, a user is guided to obtain a corresponding object or prop by doing a task, and the interaction between the user and a platform is limited because the configured task completion modes are single, so that the interactivity of the mode for getting the object or prop is poor.
Based on this, the embodiment of the present disclosure provides an interaction method, which may configure a matched virtual prop for a target task of obtaining a target object, and a user may promote a completion progress of the target task by obtaining the virtual prop, and the user may gradually promote the completion progress of the target task by obtaining more virtual props through interacting with a platform, thereby completing the target task and obtaining the target object. The interaction mode enriches the completion modes of the target tasks and increases the flexibility of the item getting process.
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, an interaction method disclosed in the embodiments of the present disclosure is described in detail, where an execution subject of the interaction method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, and the computer device includes, for example: terminal equipment or servers or other processing devices. In some possible implementations, the interaction method may be implemented by a processor invoking computer readable instructions stored in a memory.
The interaction method provided by the embodiment of the present disclosure is described below by taking an execution subject as a computer device as an example.
Referring to fig. 1, which is a flowchart of an interaction method provided in the embodiment of the present disclosure, the method includes steps S101 to S103, where:
s101: responding to the selection operation of a user for a target article in at least one candidate article, and acquiring a target task corresponding to the target article; the target task is a task required to be completed by acquiring the target object.
Referring to fig. 2, it is a schematic diagram of a display of an activity page; comprises at least one candidate item 21, item 1, item 2, item 3, item 4, item 5, item 6 as shown; a "get target item" control 22.
In specific implementation, a user logs in an application program APP, enters an APP activity page, at least one candidate item is displayed on the activity page, the user browses information of the at least one candidate item, and can select at least one target item from the at least one candidate item, for example, by clicking an "acquisition" control corresponding to the target item, at this time, in response to a selection operation of the user for the target item, a target task corresponding to the target item is determined.
Here, each target item corresponds to at least one target task. The target task is a task of acquiring a target object. For example, the completion of the target task may depend on how many times the user completes the operation of "sharing" to the friend, or the completion of the target task may depend on the acquisition and use of a plurality of virtual props (the acquisition of each virtual prop corresponds to the completion of a sub-task described below), and the completion progress of the target task may be increased by using the virtual props until the progress reaches 100%.
S102: determining a virtual prop obtained by a user, wherein the virtual prop is used for improving the completion progress of a target task; and determining the display effect of the target object according to the completion progress of the target task.
In this step, the virtual prop may be a prop in any form, such as any virtual tool such as a virtual tool (there may be different types of virtual props, for example, a small wood knife, a vegetable knife, and a dragon knife). And when the user triggers the virtual prop, the user uses the virtual prop, at the moment, the virtual prop is consumed, and the completion progress of the target task is promoted. Illustratively, a progress bar may be utilized to show the progress of completion of the target task, indicating completion of the target task when the progress in the progress bar is full.
Here, the degrees of progress of completion of the hoisting target task indicated by the virtual props of different categories are different. Exemplarily, setting a virtual prop A, wherein the promotion degree of the completion progress of the target task is 10%; setting a virtual prop B, wherein the promotion degree of the completion progress of the target task is 30%; and setting a virtual prop C, wherein the promotion degree of the completion progress of the target task is 50%.
Here, the completion progress of the target task is associated with the display effect, and the completion progress of the target task is different and corresponds to different display effects.
S103: displaying the target object in the object display area according to the display effect; and displaying the virtual props obtained by the users in the prop display area.
In addition, the completion progress of the target task can be displayed in the information display area.
Referring to fig. 3, it is a schematic diagram of a display area displaying a target object and a virtual item, including: an article display area 31, a target article 311 (a basketball as shown in the figure), a display effect 312 of the target article (the target article is stored in a target storage container), an item display area 32, virtual items 321 (including virtual items a, virtual items B and virtual items C), a number of the virtual items 322, an information display area 33, a progress bar 331 for completing a target task, a progress 332 for completing the target task, and information 333 of the progress for completing the target task, as shown in fig. 3, XX% of the completed progress indicates the completed progress of the completed target task, wherein XX% is in the range of 0-100%, including 0 and 100%; (1-XX)% progress of remaining completion, information indicating progress of completion of the uncompleted target task, wherein (1-XX)% ranges between 0 to 100%, including 0 and 100%.
After the virtual prop obtained by the user is displayed, the user can improve the completion progress of the target task by clicking the virtual prop. That is, the promotion degree of the completion progress of the target task can be determined in response to the trigger operation for any displayed virtual item; and updating the completion progress of the target task according to the determined promotion degree, and updating the display effect of the target object according to the updated completion progress.
Here, the completion progress of the target task is associated with the presentation effect, for example, 10% of the update progress corresponds to a presentation effect a scenario, 30% of the update progress corresponds to a presentation effect B scenario, and 60% of the update progress corresponds to a presentation effect C scenario.
Continuing the above example, after the user triggers the virtual prop a, the completion progress of the target task is updated, the progress in the progress bar is increased by 10%, the display effect of the target object is updated to be the scheme a, after the user clicks the virtual prop C, the completion progress of the target task is updated, the progress in the progress bar is increased by 50%, the display effect of the target object is updated to be the scheme C, and finally, the completion degree information 333 of the target task is updated, that is, the total progress is 60%, and the remaining progress is 40%.
Illustratively, the progress in the progress bar may be promoted by clicking the virtual prop, after the user uses the virtual prop, determining a completion progress of the target task to be promoted according to a category of the used virtual prop, and updating the completion progress, wherein the progress in the progress bar is continuously accumulated as the completion progress of the target task is continuously promoted, and the target task is completed when the progress in the progress bar reaches 100%.
In the above manner, the progress is promoted by clicking the virtual prop, so as to promote the completion progress of the target task. The manner of obtaining the virtual item may be by completing a preset subtask. The subtask is a task which needs to be completed to obtain the virtual prop.
In specific implementation, when the virtual property is obtained, a plurality of property obtaining entrances can be displayed firstly; wherein, the corresponding subtasks of different prop receiving entrances are different; responding to the trigger operation aiming at any prop getting inlet, and detecting whether the subtask is completed or not according to the task completion condition of the subtask corresponding to any prop getting inlet; and if the virtual item is finished, taking the virtual item corresponding to the subtask as the virtual item obtained by the user.
Here, the subtasks may include a single-person task and a multi-person task, and the single-person task may include, for example, a check-in task, a timed pick-up task, a shopping task, a preset video watching task, and the like; the multi-person task refers to a task which needs multiple persons to cooperate to complete, such as a task which can comprise face-to-face input of information codes.
Referring to fig. 4, it is a schematic diagram of a display of a plurality of item pickup entries, including item pickup entries, for example, a check-in pickup entry 41, a timing pickup entry 42, a shopping pickup entry 43, a preset video pickup entry 44 for watching, a pickup entry 45 for a multi-person pickup task, and the like.
The task completion condition of the subtask corresponding to the check-in and pick-up entry 41 is check-in, specifically, the user may click the check-in and pick-up entry 41 to complete check-in, or if the user completes check-in on other display pages, the virtual item is picked up by clicking a pick-up control corresponding to the check-in and pick-up entry 41; the task completion condition of the subtask corresponding to the timing getting entry 42 is every preset time, and the user can get the virtual prop by clicking the getting control corresponding to the timing getting entry 42; the task completion condition of the subtask corresponding to the shopping getting entry 43 is to purchase an article, specifically, after the user clicks the shopping getting entry 43 to purchase the article, the corresponding virtual prop can be automatically allocated, or the user clicks the getting control corresponding to the shopping getting entry 43 again to get the virtual prop; the task completion condition for watching the subtask corresponding to the preset video getting entry 44 is to watch a complete or partial preset video, specifically, the user clicks the preset video getting entry 44 to watch the preset video, after watching the complete or partial preset video, the corresponding virtual prop can be automatically allocated, or the user clicks the getting control corresponding to the preset video getting entry 44 again to get the virtual prop.
In one embodiment, the pick control corresponding to each prop pick-up entrance is inoperable when the subtask is not completed, and gray scale display is performed at the moment; and after the user finishes the subtasks, the corresponding picking control is highlighted, and the user can click and operate at the moment.
In another embodiment, the retrieval control corresponding to each item retrieval entry may also be operable, and the user enters the sub-task execution interface corresponding to the virtual item by triggering the retrieval control. After the user completes the subtask, prompt information for completing the subtask can be displayed to prompt the user that the subtask is completed and the virtual prop is distributed.
The completed subtasks are different, the types of the obtained virtual props are different, and the promotion degree of the completion progress of the corresponding indication target task is different. The type of the virtual prop taken by the task completion can be configured for the subtask according to a specific application scenario, and the embodiment of the disclosure is not particularly limited.
In some embodiments, whether a multi-person task is completed or not is detected for the multi-person task, and when the multi-person task is specifically implemented, a triggering operation of a prop getting-in entrance for responding to the multi-person task can be obtained, so that task execution conditions of a user and other users matched with the user and executing the task together are obtained; and determining whether the user completes the multi-user task or not according to task completion conditions corresponding to the multi-user task and task execution conditions of the user and other matched users.
Here, the other users who perform the task together with the user may be other users who input the same information code as the user; the task completion condition corresponding to the multi-user task can be that the number of users inputting the same information code exceeds a set threshold; the task execution condition of the user and other matched users can be the condition of whether the same information code is input or not.
Specifically, the method comprises the steps of responding to trigger operation of a prop getting inlet aiming at a multi-user task, obtaining an information code input by a user, and determining other users inputting the same information code with the user; and determining that the user completes the multi-user task under the condition that the number of the users inputting the same information code exceeds a set threshold value.
For example, in response to the user a clicking the pick-up entry 45 of the multi-user pick-up task, the user a randomly inputs an information code, after the information code randomly input by the user a, for example, 123456, other users B who input the same information code (123456) with the user a are acquired within a period of time, and in the case that the number of users who input the same information code (including the number of users a who input the information code and the number of other users B) exceeds a set threshold, it may be determined that the user completes the multi-user task, and the virtual prop corresponding to the multi-user task is used as the virtual prop acquired by the user. Here, each user may have completed a multi-user task, and a virtual item corresponding to the multi-user task is distributed to each user (user a and other user B), in one case, the number of virtual items corresponding to the virtual item category may be directly updated 322; or, in another case, the method may push prop pickup information for the user, prompt the user to click a pickup control corresponding to the pickup entry 45 of the multi-user pickup task, and pickup the virtual prop.
In step S102, a display effect of the target item is determined according to the completion progress of the target task, in an embodiment, in a case that the target task is not completed, the target item is located in the target storage container, as shown in fig. 3, the display effect 312 is shown, and then, as the completion progress of the target task is increased, the damage degree of the target storage container starts to increase until the target task is completed, and the target storage container is completely damaged.
During specific implementation, the display effect of the target storage container for containing the target object can be determined according to the completion progress of the target task and the mapping relation between the completion progress range of the target task and the damage degree of the target storage container, wherein the display effect is associated with the damage degree.
Here, the completion progress range of the target task is a range in which the progress bar is located. The mapping relation between the completion progress range of the target task and the destruction degree of the target storage container is preset, for example, when the completion progress of the target task is 0, the destruction degree of the target storage container is 0, that is, the target storage container is not destroyed; along with the continuous promotion of the completion progress of target task, the destruction degree of target storage container constantly increases, and the destruction degree of target storage container reaches the biggest until the completion progress of target task is 100%, is destroyed, shows completely and holds the target article including.
Referring to fig. 5, it is a schematic diagram of the display effect of the target storage container as the completion progress of the target task increases. Wherein, a represents the display effect of the target storage container when the completion progress of the target task is 0; b, showing the display effect of the target storage container when the completion progress of the target task is 50%, wherein the broken line shows the target storage container of the damaged part, and the solid line shows the target storage container of the undamaged part, which respectively account for 50%; and c, showing the display effect of the target storage container when the completion progress of the target task is 100%. Here, 51 denotes a target storage container, 52 denotes a target item, 53 denotes a completion progress bar of a target task, 54 denotes a completion progress of the target task, and 55 denotes information of the completion progress of the target task.
For step S102, a display effect of the target item is determined according to the completion progress of the target task, and in another embodiment, the target item is an item set including a plurality of virtual items. In specific implementation, based on the completion progress, the obtained virtual articles and the virtual articles which are not obtained in the plurality of virtual articles are determined, and the display effects corresponding to the obtained virtual articles and the virtual articles which are not obtained are determined respectively; the obtained virtual item is displayed in a first display area of the item display areas, and the virtual item that is not obtained is displayed in a second display area of the item display areas.
Here, since the target item is an item set including a plurality of virtual items, the target item may be displayed in different display areas in batches, and different numbers of virtual items may be displayed for different completion schedules, for example, when the completion schedule reaches 50%, it is determined that half of the virtual items in the plurality of virtual items are displayed as acquired virtual items and the other half of the virtual items are unacquired virtual items. The obtained display effect corresponding to the virtual article may be a first display area displayed in the article display area, and the display effect corresponding to the virtual article that is not obtained may be a second display area displayed in the article display area.
Referring to fig. 6, it is a schematic diagram of the display effect of a plurality of virtual articles according to the progress of the completion of the target task. Wherein, the d represents the display effect corresponding to the obtained virtual article and the virtual article which is not obtained when the completion progress of the target task is 0, wherein the obtained virtual article is absent, and the virtual article which is not obtained is displayed in the second display area; e, showing the corresponding display effects of the obtained virtual article and the virtual article which is not obtained when the completion progress of the target task is 50%; and f, showing the corresponding display effects of the obtained virtual article and the virtual article which is not obtained when the completion progress of the target task is 100%, wherein the obtained virtual article is displayed in the first display area without the virtual article which is not obtained. Where 61 denotes a first display area, 62 denotes a second display area, 611 denotes an acquired virtual item, 621 denotes an unacquired virtual item, 63 denotes a completion progress bar of a target task, 64 denotes a completion progress of the target task, and 65 denotes information of the completion progress of the target task.
Illustratively, in a case where the target task is not started to be performed, a plurality of virtual articles, as shown in gifts 1, 2, 3, 4, 5 and 6, are displayed in a second display area among the article display areas. And then, starting to execute the target task, and after completing partial progress along with the progress of the completion of the target task, displaying the virtual article A obtained by completing the current progress in a first display area in the article display area, wherein the virtual article A is transferred from a second display area to the first display area, namely the virtual article A in the second display area disappears, and then continuously improving the progress of the completion of the target task, and continuously transferring the virtual article displayed in the second display area to the first display area until the target task is completed, and completely transferring the virtual article in the second display area to the first display area for display.
With respect to S102, the display effect of the target item is determined according to the completion progress of the target task, in another embodiment, the target item may include multiple components, for example, multiple components may constitute one target item, and different components are respectively associated with the completion progress of different target tasks. With the completion progress of the target task being improved, a plurality of components related to the completion progress of the target task are gradually displayed in the article display area (or the first display area) until the target task is completed and all the components contained in the target article are displayed.
During specific implementation, the display effect of the target object is determined according to the completion progress of the target task and the mapping relation between the completion progress range of the target task and the displayable components of the target object; wherein the display effect is associated with the determined displayable component of the target item.
Here, the completion progress range of the target task is a range where the progress bar is located, and a mapping relationship between the completion progress range of the target task and a displayable component of the target item is preset, for example, when the completion progress of the target task is 0, the target item is not displayed in the item display area; with the progress of the completion of the target task being increased, the partial components associated with the progress of the completion of the target task are gradually displayed in the article display area (or the first display area), for example, when the progress of the completion of the target task is 20%, the quarter components of the target article are correspondingly displayed, and the display direction may include, but is not limited to, gradually displaying from top to bottom, or gradually displaying from bottom to top, or gradually displaying from left to right, or gradually displaying from right to left, and the like. Here, the gradually displayed display mode may include, but is not limited to, a display mode from absence to existence, or a display mode from coding to clear display mode. Then, until the completion progress of the target task reaches 100%, all the components of the target item will be displayed.
Referring to fig. 7, it is a schematic diagram of the effect of displaying a plurality of components as the completion progress of the target task increases. Wherein, the g represents the display effect of the target object when the completion progress of the target task is 0, wherein the target object does not exist; h represents the display effect of the target object when the completion progress of the target task is 20%, wherein the target object comprising a quarter component is displayed; and i represents the display effect of the target object when the completion progress of the target task is 100%, wherein the target object with all the components is displayed. Where 71 denotes a target item including a quarter component, 72 denotes a target object including a whole component, 73 denotes a completion progress bar of a target task, 74 denotes a completion progress of the target task, and 75 denotes information of the completion progress of the target task. Here, the display direction is gradually displayed from bottom to top, and the display mode of the gradual display is from nothing to nothing.
In some embodiments, the target task further includes a corresponding task execution duration. Under the condition that the target task is not completed for a long time, the completion progress of the target task can be correspondingly reduced, and specifically, whether the target task is completed within the task execution duration is judged; in response to not completing, the completion progress of the target task is reduced.
Here, the task execution time may be set according to the difficulty of the target task completion, and for example, the greater the value, the more difficult the target task is to complete for the value of the target item. The task execution duration may be set in a specific practical application process, and the embodiment of the present disclosure is not limited.
Here, if the target task is not completed, the completion progress of the target task may be reduced, specifically, for the completion progress 332 of the target task shown in fig. 3, as the task execution time duration continuously increases, the completion progress 332 of the target task is reduced under the condition that the completion progress of the target task is not increased within a preset time duration, for example, under the condition that the completion progress of the target task is not changed within three days. Here, the degree of the completion progress of the lowering may be performed in a preset degree, which is not limited herein.
In some embodiments, it may also be detected whether the user completes the preset subtask, and in a case of incomplete completion, the completion progress of the target task may be correspondingly adjusted to prompt the user to complete the preset subtask.
The preset subtask may be any one of the above subtasks.
During specific implementation, aiming at a preset subtask in the subtasks, if the preset subtask is not executed within the latest preset time, the completion progress of the target task is adjusted; wherein the adjusted completion progress is lower than the completion progress before the adjustment by a preset progress; or the adjusted completion progress is compared with the completion progress before adjustment, and the reduced progress is related to the completion progress which can be improved by the virtual prop matched with the preset subtask.
Here, the last preset duration may be set according to a specific application scenario, and the embodiment of the present disclosure is not limited.
For example, when the preset subtask is a check-in task, the check-in task is not executed in one day, so that the completion progress of the target task can be reduced, and specifically, the preset progress is reduced. The preset progress can be set according to a specific application scene, and the embodiment of the disclosure is not limited. Alternatively, the reduced progress may be related to the completion progress that the virtual item matched with the check-in task can promote, for example, if the virtual item matched with the check-in task is virtual item a, the reduced progress may be 10%. If the virtual item that matches the check-in task is virtual item B, then the reduced progress may be 30%. If the virtual item that matches the check-in task is virtual item C, then the reduced progress may be 50%.
And S102, determining the display effect of the target object according to the completion progress of the target task. In some embodiments, the delivery status of the target item may also be displayed in a third display area in the item display area. Wherein the delivery status may include a status indicating that production is complete and delivery is ready. The delivery status is used to indicate the current production progress in the case where the completion progress of the target item is less than 100%, and to indicate that the target item has been generated and is ready for delivery in the case where the completion progress of the target item is 100%.
During specific implementation, the display effect of the target object can be determined according to the completion progress of the target task and the mapping relation between the completion progress range of the target task and the distribution state of the target object; wherein the display effect is associated with the delivery status of the target item.
Here, the completion progress range of the target task is within the range of the progress bar. The mapping relation between the target task completion progress range and the distribution state of the target object is preset, for example, when the completion progress of the target task is 0, the distribution state is indicated as an unproductive state; with the continuous improvement of the completion progress of the target task, for example, when the target object is clothes, and the completion progress of the target task is 10%, displaying that the current production state is that one sleeve is produced; when the completion progress of the objective task is 20%, it is displayed that the current production state is that two sleeves are produced, etc. Then, until the completion progress of the target task reaches 100%, the display is generated completely and ready for delivery.
In some embodiments, in the case that the completion progress of the target task reaches 100%, the acquisition entry of the target item will be displayed; and then, responding to the trigger operation aiming at the acquisition inlet, and after the preset acquisition flow is completed, sending a delivery notice to the provider of the target object.
Here, the user may request to acquire the target item by clicking an acquisition entry of the target item. In response to the request to obtain the target item, user-requisite information, such as delivery address, contact address, etc., may also be presented. And after the corresponding input of the user is finished, returning a delivery notice to the provider of the target object.
In addition, on the page of the acquisition entrance for displaying the target article, article replacement indication information can also be displayed. If the user is not satisfied with the currently acquired target object, the virtual object to be replaced can be further selected to replace the target object by triggering the replacement indication information. Specifically, a replacement item list is displayed in response to a trigger operation for item replacement indication information; and matching the virtual item set for acquiring the virtual item corresponding to each virtual item in the replacement item list with the virtual item set for acquiring the target item.
For example, the price of the virtual item to be replaced displayed in the replacement item list is the same as the price of the target item, that is, the set of virtual items corresponding to each virtual item in the replacement item list for acquiring the virtual item matches the set of virtual items for acquiring the target item.
For the above interaction method, a detailed description is given below for a specific application scenario thereof, and reference is made to fig. 8, which is an interaction diagram of an application scenario of the interaction method. The method comprises the following steps: user 81, candidate goods service 82, target goods service 83, target task system 84, policy service 85, other users 86.
Step 1.1, entering an APP activity page to browse at least one candidate item;
step 1.2, selecting a target item (a plurality of items can be selected) from at least one candidate item;
step 2.1, clicking a control of 'acquiring a target article';
step 2.2, determining a completion progress bar of the target task and information of the completion progress of the target task;
step 3.1, completing the subtasks and obtaining the virtual prop;
step 3.2, displaying prompt information for completing the subtask in the page to prompt the user that the subtask is completed;
step 4.1, clicking a control of the virtual prop;
step 4.2, requesting to acquire the specific promotion degree of the completion progress;
step 4.3, acquiring the specific promotion degree of the completion progress;
4.4, updating the completion progress of the target task and updating the information of the completion progress of the target task;
4.5, displaying the updated completion progress of the target task and the updated information of the completion progress of the target task;
step 5.1, clicking a receiving entrance of the multi-person receiving task, sharing the information code, and inviting other users to jointly complete the multi-person receiving task;
step 5.2, sharing information backflow;
step 5.3, analyzing the target object and determining the number of users inputting the same information code;
step 5.4, under the condition that the number of users inputting the same information code exceeds a set threshold value, requesting to acquire the specific promotion degree of the completion progress;
step 5.5, acquiring the specific promotion degree of the completion progress;
step 5.6, updating the completion progress of the target task and updating the information of the completion progress of the target task;
step 5.7, displaying the updated completion progress of the target task and the updated information of the completion progress of the target task;
6.1, under the condition that the completion progress of the target task reaches 100%, obtaining the target object by clicking an obtaining entrance of the target object;
step 6.2, notification that the target item has been delivered.
Through the steps of S101-S103, the matched virtual prop can be configured for the target task of the target object, and the user can improve the completion progress of the target task by acquiring the virtual prop; the more virtual props the user acquires, the higher the completion progress of the target task is, and the more virtual props the user acquires through interacting with the platform, so that the completion progress of the target task can be gradually improved, the target task is completed, and the target object is acquired. Through the configuration and the acquisition process of the virtual props, the interactivity between the user and the platform can be increased, the completion mode of the target task is enriched, and the flexibility of the article getting process is increased.
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 interaction device corresponding to the interaction method is also provided in the embodiments of the present disclosure, and since the principle of solving the problem of the device in the embodiments of the present disclosure is similar to the interaction method described above in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not described.
Referring to fig. 9, a schematic diagram of an interaction apparatus provided in an embodiment of the present disclosure is shown, where the apparatus includes: a task obtaining module 901, an information determining module 902 and an effect displaying module 903; wherein the content of the first and second substances,
a task obtaining module 901, configured to obtain a target task corresponding to a target item in at least one candidate item in response to a selection operation of a user for the target item; the target task is a task required to be completed by acquiring the target object;
an information determining module 902, configured to determine a virtual item that the user has obtained, where the virtual item is used to promote a completion progress of the target task; determining the display effect of the target object according to the completion progress of the target task;
an effect display module 903, configured to display the target item according to the display effect in an item display area; and displaying the virtual props obtained by the users in a prop display area.
In an optional embodiment, the apparatus further includes an effect updating module 904, configured to, after displaying the virtual items obtained by the user, determine, in response to a trigger operation for any of the displayed virtual items, a degree of progress of completion of the target task; and updating the completion progress of the target task according to the determined promotion degree, and updating the display effect of the target object according to the updated completion progress.
In an optional embodiment, the apparatus further includes a prop obtaining module 905;
the property obtaining module 905 is configured to display a plurality of property obtaining entries; the method comprises the following steps that subtasks corresponding to different prop receiving entries are different, and the subtasks are tasks required to be completed by obtaining the virtual props; responding to a trigger operation aiming at any prop getting inlet, and detecting whether a subtask is completed or not according to a task completion condition of the subtask corresponding to the prop getting inlet; and if the virtual item is finished, taking the virtual item corresponding to the subtask as the virtual item obtained by the user.
In an alternative embodiment, the subtasks include a single person task and a multi person task;
the prop obtaining module 905 is configured to respond to a trigger operation of a prop obtaining entry for the multi-person task, and obtain task execution conditions of the user and other users who execute a task together and are matched with the user; and determining whether the user completes the multi-person task or not according to task completion conditions corresponding to the multi-person task and task execution conditions of the user and other matched users.
In an optional implementation manner, the prop obtaining module 905 is configured to respond to a trigger operation of a prop obtaining entry for the multi-user task, obtain an information code input by the user, and determine another user who inputs the same information code as the user; and determining that the user completes the multi-user task under the condition that the number of the users inputting the same information code exceeds a set threshold value.
In an alternative embodiment, the target item is located within a target storage container;
the information determining module 902 is configured to determine a display effect of the target storage container containing the target item according to the completion progress of the target task and a mapping relationship between the completion progress range of the target task and the destruction degree of the target storage container, where the display effect is associated with the destruction degree.
In an alternative embodiment, the target item is an item collection comprising a plurality of virtual items; the information determining module 902 is configured to determine, based on the completion progress, the obtained virtual item and the non-obtained virtual item in the plurality of virtual items, and the display effects corresponding to the obtained virtual item and the non-obtained virtual item respectively;
the effect display module 903 is configured to display the obtained virtual article in a first display area of the article display areas, and display the virtual article that is not obtained in a second display area of the article display areas.
In an alternative embodiment, the target item comprises a plurality of components;
the information determining module 902 is configured to determine a display effect of the target item according to the completion progress of the target task and a mapping relationship between the completion progress range of the target task and a displayable component of the target item; wherein the display effect is associated with the determined displayable component of the target item.
In an optional implementation manner, the target task further includes a corresponding task execution duration; the device also comprises a first progress adjusting module 906, which is used for judging whether the target task is completed within the task execution duration; in response to not completing, reducing a completion progress of the target task.
In an optional implementation manner, the apparatus further includes a second progress adjusting module 907, configured to adjust, for a preset subtask among the subtasks, a completion progress of the target task if the preset subtask is not executed within a latest preset time period; wherein the adjusted completion progress is lower than the completion progress before the adjustment by a preset progress; or comparing the adjusted completion progress with the completion progress before adjustment, wherein the reduced progress is related to the completion progress which can be improved by the virtual prop matched with the preset subtask.
The description of the processing flow of each module in the interactive device and the interactive flow between each module may refer to the related description in the above-mentioned interactive method embodiment, 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. 10, a schematic structural diagram of a computer device provided in an embodiment of the present application includes:
a processor 1001, a memory 1002, and a bus 1003. Wherein the memory 1002 stores machine-readable instructions executable by the processor 1001, the processor 1001 is configured to execute the machine-readable instructions stored in the memory 1002, and when the machine-readable instructions are executed by the processor 1001, the processor 1001 performs the following steps: s101: responding to the selection operation of a user for a target article in at least one candidate article, and acquiring a target task corresponding to the target article; the target task is a task required to be completed by acquiring a target article; s102: determining a virtual prop obtained by a user, wherein the virtual prop is used for improving the completion progress of a target task; determining the display effect of the target object according to the completion progress of the target task; s103: displaying the target object in the object display area according to the display effect; and displaying the virtual props obtained by the users in the prop display area.
The storage 1002 includes a memory 1021 and an external storage 1022; the memory 1021 is also called an internal memory, and is used for temporarily storing the operation data in the processor 1001 and the data exchanged with the external storage 1022 such as a hard disk, the processor 1001 exchanges data with the external storage 1022 through the memory 1021, and when the computer device is operated, the processor 1001 and the storage 1002 communicate through the bus 1003, so that the processor 1001 executes the execution instructions mentioned in the above method embodiments.
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 interaction method 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 interaction method in the foregoing method embodiments, which may be referred to specifically for 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 process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed 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 implementing, and for example, a plurality of units or components may be combined, or some features may be omitted, or not implemented. 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.