CN113867871A - Interface processing method and device, electronic equipment and storage medium - Google Patents

Interface processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113867871A
CN113867871A CN202111156331.0A CN202111156331A CN113867871A CN 113867871 A CN113867871 A CN 113867871A CN 202111156331 A CN202111156331 A CN 202111156331A CN 113867871 A CN113867871 A CN 113867871A
Authority
CN
China
Prior art keywords
task
progress information
virtual
virtual object
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111156331.0A
Other languages
Chinese (zh)
Other versions
CN113867871B (en
Inventor
田书婕
贺雪
朱碧璇
王慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111156331.0A priority Critical patent/CN113867871B/en
Priority claimed from CN202111156331.0A external-priority patent/CN113867871B/en
Publication of CN113867871A publication Critical patent/CN113867871A/en
Application granted granted Critical
Publication of CN113867871B publication Critical patent/CN113867871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to an interface processing method, an interface processing device, an electronic device and a storage medium, wherein the method comprises the following steps: displaying a task interface; the task interface comprises a virtual object and progress information of a task corresponding to the virtual object; a slot position for assembling a virtual accessory is arranged on the virtual object; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks; when the task is detected to be executed completely, switching each slot position of the virtual object from a first display state to a second display state; and in response to the interactive operation of the virtual object based on the virtual accessory, switching from displaying the virtual object to displaying a new virtual object in the task interface, and updating the progress information. By adopting the method and the device, the efficiency of acquiring the task progress information by the user can be improved.

Description

Interface processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an interface processing method and apparatus, an electronic device, and a storage medium.
Background
In most of current applications, in order to display task progress, a task progress bar is often arranged on a page to represent current task progress information.
However, under the condition that the tasks in the application have multiple levels, the application in the conventional technology can only adopt multiple task pages to respectively display task progress information corresponding to the tasks in different levels, and when a user views task completion conditions corresponding to the tasks in the different levels, the user often needs to access the task pages corresponding to the tasks in the different levels, so that the operation is complex, and the user cannot efficiently read out required task completion conditions.
Therefore, the current interface processing method has the problem that the efficiency of acquiring the task progress information by the user is not high.
Disclosure of Invention
The present disclosure provides an interface processing method, an interface processing apparatus, an electronic device, and a storage medium, so as to at least solve a problem that efficiency of acquiring task progress information by a user is not high in related technologies. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an interface processing method, including:
displaying a task interface; the task interface comprises a virtual object and progress information of a task corresponding to the virtual object; the virtual object is provided with a slot position for assembling a virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks;
when the task is detected to be executed completely, switching each slot position of the virtual object from a first display state to a second display state;
and in response to the interactive operation of the virtual object based on the virtual accessory, switching from displaying the virtual object to displaying a new virtual object in the task interface, and updating the progress information.
In one possible implementation, the updating the progress information includes:
when the task corresponding to the new virtual object is the task in the current task type, updating the first progress information, and displaying the updated first progress information in the task interface; and the updated first progress information represents the progress information of the task corresponding to the new virtual object in all tasks of the current task type.
In one possible implementation, the updating the progress information includes:
when the task corresponding to the new virtual object is a task in a task type next to the current task type, updating the first progress information and the second progress information, and displaying the updated first progress information and the updated second progress information in the task interface;
the updated first progress information represents progress information of a task corresponding to the new virtual object in all tasks of the next task type, and the updated second progress information represents progress information of the next task type in all task types.
In one possible implementation, after the displaying the task interface, the method further includes:
when the subtasks in the tasks are executed and completed, the virtual accessories corresponding to the completed subtasks are issued to a user account;
and displaying the quantity information of the existing virtual accessories of the user account in the task interface.
In one possible implementation manner, the switching the slots of the virtual object from the first state to the second state includes:
and under the condition that the number of the existing virtual accessories of the user account is larger than O, responding to accessory assembly operation on the virtual object, and displaying animation of the virtual accessories moving to the corresponding slot position so that the slot position is switched from the first state to the second state.
In one possible implementation, after the displaying the task interface, the method further includes:
under the condition that the number of the existing virtual accessories of the user account is equal to O, responding to accessory assembly operation on the virtual object, and displaying a task execution inlet on the task interface; the task execution portal is used for guiding the user account to execute corresponding subtasks so as to obtain virtual accessories corresponding to the subtasks.
In a possible implementation manner, when the virtual object is a virtual container prop, after the corresponding virtual accessories are respectively displayed in the respective slot positions of the virtual object, the method further includes:
and under the condition that corresponding virtual accessories are displayed in each slot position of the virtual object, responding to the starting operation of the virtual container prop, displaying the animation of the virtual container prop opened by the virtual accessories, and issuing the virtual resources stored in the virtual container prop to a user account.
In one possible implementation, the method further includes:
and displaying a prompt animation of the virtual resource in the area corresponding to the current task type in the second progress information in the task display interface so as to prompt that the virtual resource is stored in the virtual container prop corresponding to at least one task in the current task type.
In one possible implementation manner, the switching from displaying the virtual object to displaying a new virtual object in the task interface includes:
and displaying the animation of the virtual object moving out of the task interface and displaying the animation of the new virtual object moving into the task interface in the task interface.
According to a second aspect of the embodiments of the present disclosure, there is provided an interface processing apparatus including:
a display unit configured to perform displaying a task interface; the task interface comprises a virtual object and progress information of a task corresponding to the virtual object; the virtual object is provided with a slot position for assembling a virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks;
the assembling unit is configured to switch each slot of the virtual object from a first display state to a second display state when the task is detected to be executed completely;
a switching unit configured to perform switching from displaying the virtual object to displaying a new virtual object in the task interface in response to an interactive operation on the virtual object based on the virtual accessory, and update the progress information.
In a possible implementation manner, the switching unit is configured to update the first progress information when the task corresponding to the new virtual object is a task in the current task type, and display the updated first progress information in the task interface; and the updated first progress information represents the progress information of the task corresponding to the new virtual object in all tasks of the current task type.
In a possible implementation manner, the switching unit is configured to update the first progress information and the second progress information when the task corresponding to the new virtual object is a task in a task type next to the current task type, and display the updated first progress information and the updated second progress information in the task interface; the updated first progress information represents progress information of a task corresponding to the new virtual object in all tasks of the next task type, and the updated second progress information represents progress information of the next task type in all task types.
In one possible implementation, the apparatus further includes: the accessory issuing unit is configured to execute, when a subtask in the task is executed and completed, to issue a virtual accessory corresponding to the completed subtask into a user account; the quantity display unit is configured to display quantity information of the existing virtual accessories of the user account in the task interface.
In one possible implementation manner, the switching unit is configured to execute, in a case that the number of existing virtual accessories of the user account is greater than O, in response to an accessory assembling operation on the virtual object, displaying an animation that the virtual accessory moves into the corresponding slot, so that the slot is switched from the first state to the second state.
In one possible implementation, the apparatus further includes: a guiding unit configured to execute, in a case where the number of existing virtual accessories of the user account is equal to O, displaying a task execution entry on the task interface in response to an accessory assembling operation on the virtual object; the task execution portal is used for guiding the user account to execute corresponding subtasks so as to obtain virtual accessories corresponding to the subtasks.
In one possible implementation, the apparatus further includes: and the resource issuing unit is configured to execute, in response to the starting operation of the virtual container prop, displaying an animation of the virtual container prop being opened by the virtual accessory when corresponding virtual accessories are displayed in each slot of the virtual object, and issuing the virtual resource stored in the virtual container prop to a user account.
In one possible implementation, the apparatus further includes: and the prompting unit is configured to execute a prompting animation for displaying the virtual resource in the area corresponding to the current task type in the second progress information in the task display interface so as to prompt that the virtual resource is stored in the virtual container prop corresponding to at least one task in the current task type.
In one possible implementation, the switching unit is configured to execute, in the task interface, an animation in which the virtual object moves out of the task interface, and an animation in which the new virtual object moves into the task interface.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor implements the interface processing method according to the first aspect or any one of the possible implementation manners of the first aspect when executing the computer program.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements an interface processing method according to the first aspect or any one of the possible implementations of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, the program product comprising a computer program, the computer program being stored in a readable storage medium, from which at least one processor of a device reads and executes the computer program, so that the device performs the interface processing method according to any one of the possible implementations of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: displaying a task interface comprising a virtual object and progress information of a task corresponding to the virtual object; the virtual object is provided with a slot position for assembling the virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks; when the task is detected to be completed, each slot position of the virtual object is switched from the first state to the second state, the virtual object is switched from the display state to the new virtual object in the task interface by responding to the interactive operation of the virtual object based on the virtual accessory, and the progress information is updated, so that the task progress completion condition can be vividly displayed in the task interface by interacting with the virtual object, the multi-level and multi-level linkage display of the task progress is realized, a user does not need to access task pages corresponding to tasks of different levels to acquire the corresponding required task progress information, and the efficiency of acquiring the task progress information by the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a method of interface processing according to an example embodiment.
FIG. 2 is a schematic diagram illustrating a virtual treasure box in accordance with one illustrative embodiment.
FIG. 3 is a diagram illustrating a task progress bar, according to an example embodiment.
FIG. 4a illustrates a task interface corresponding to a first task type, according to an example embodiment.
FIG. 4b illustrates a task interface corresponding to a second task type, according to an example embodiment.
FIG. 5 is a diagram illustrating a user account obtaining hints information for a virtual accessory in accordance with an exemplary embodiment.
FIG. 6 is a flow diagram illustrating another interface processing method in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating an interface processing device according to an example embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are both information and data that are authorized by the user or sufficiently authorized by various parties.
Fig. 1 is a flowchart illustrating an interface processing method according to an exemplary embodiment, which is used in an electronic device, as shown in fig. 2, and includes the following steps.
In step S110, a task interface is displayed.
The task interface may refer to an interface for displaying an execution progress of a preset task of the target application. In practical application, the task interface includes a virtual object and progress information of a task corresponding to the virtual object.
The virtual object is provided with a preset number of slot positions for assembling the virtual accessories. In practical applications, the virtual object may be a virtual treasure box, a virtual character, etc. A virtual accessory may refer to an accessory for fitting on a virtual object.
For example, when the virtual object is a virtual treasure box, the virtual accessory can be a virtual key that can be installed in a key slot provided on the virtual treasure box. To facilitate understanding by those skilled in the art, FIG. 2 provides a schematic view of a virtual treasure box, wherein 210 is the virtual treasure box, 220 is the virtual key, and 230 is the key slot for receiving the virtual key.
As another example, when the virtual object is a virtual character, the virtual accessory may be a virtual garment, a virtual prop, a virtual equipment, or the like, which is to be mounted at a corresponding position (slot) of the virtual character.
The progress information comprises first progress information and second progress information, the first progress information represents the progress information of the current task in all tasks of the current task type, and the second progress information represents the progress information of the current task type in all task types.
In practical applications, the task type may be named a task level.
In a specific implementation, the electronic device may display a task interface of the target application. And displaying a virtual object and progress information corresponding to the current task on the task interface. In practical application, the electronic device can display a task progress bar in a task interface of the target application. Wherein, the task progress bar is used for displaying the total progress information of the target application. The task progress bar comprises level nodes corresponding to the levels. Therefore, the progress information of the current task in all tasks of the current level and the progress information of the current level in all levels can be represented through the completion degree of the task progress bar. To facilitate understanding by those skilled in the art, FIG. 3 provides a schematic diagram of a task progress bar. Wherein 310 is the total progress bar and 320 is the level node.
In step S120, when it is detected that the task is completed, each slot of the virtual object is switched from the first display state to the second display state.
In a specific implementation, when the electronic device detects that the task of the virtual object is executed, the electronic device switches the slot positions of the virtual object from the first display state to the second display state, that is, the corresponding virtual accessories are displayed in the slot positions of the virtual object. If detecting that the subtasks in the tasks corresponding to the virtual object are executed and completed, issuing the virtual accessories corresponding to the completed subtasks to the user account; and displaying the number information of the virtual accessories existing in the user account in the task interface.
For example, when the virtual object is a virtual treasure box, the task corresponding to the virtual object is a task of opening the virtual treasure box. The user account can acquire the virtual key and assemble the virtual key on the key slot arranged on the virtual treasure box, so that the electronic equipment respectively displays the corresponding virtual key in each key slot of the virtual treasure box.
In step S130, in response to the interactive operation on the virtual object based on the virtual accessory, in the task interface, the display virtual object is switched to display a new virtual object, and the progress information is updated.
In the specific implementation, taking a virtual object as a virtual treasure box as an example, a user can click a key slot position on the virtual treasure box, click a lock hole on the virtual treasure box, or click a cover of the virtual treasure box to implement a sliding operation, thereby implementing an operation of inputting an opening operation on the virtual object to the electronic device. After the electronic equipment receives the interactive operation on the virtual object, the electronic equipment displays the animation of the opened virtual object under the condition that corresponding virtual accessories are displayed in each slot position of the virtual object, and at the moment, the electronic equipment switches from displaying the virtual object corresponding to the current task to displaying the virtual object corresponding to the next task (namely, a new virtual object) in a task interface as the virtual treasure box corresponding to the current task is already opened by the user account, and updates the progress information. That is, the progress information of the next task in all tasks of the current task type is displayed in the progress information, or when the next task is a task in the next task type of the current task type, the electronic device displays the progress information of the next task in all tasks of the next task type and the progress information of the next task type in all tasks of the next task type in the progress information.
It should be noted that the style of the virtual object and the background pattern in which the virtual object is located in different task types are different and correspond to each other. For example, when the theme of the first task type is the "seaside vacation" theme, the style of the virtual object in the "seaside vacation" task type may be that the virtual object is associated with an element corresponding to the "seaside vacation" theme, such as a shell, a starfish, and the like, and the background pattern where the virtual object is located may be a beach pattern. When the theme of the second task type is a "field exploration" theme, the style of the virtual object in the "field exploration" task type may be that the virtual object is associated with elements corresponding to the "field exploration" theme, such as vines and stones, and the background pattern where the virtual object is located may be a jungle pattern. To facilitate understanding of those skilled in the art, fig. 4a is a task interface corresponding to a first task type in an embodiment, and fig. 4b is a task interface corresponding to a second task type in an embodiment.
In a specific implementation, when the next task is a task in a task type next to the current task type, the electronic device may further switch from displaying the virtual object in the first style to displaying the virtual object in the second style in the task interface, and switch from displaying a first background pattern where the virtual object corresponding to the current task is located to displaying a second background pattern where the virtual object corresponding to the next task is located; the first pattern and the second pattern are different patterns, and the first background pattern and the second background pattern are different background patterns.
In the interface processing method, a task interface comprising a virtual object and progress information of a task corresponding to the virtual object is displayed; the virtual object is provided with a slot position for assembling the virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks; when the task is detected to be completed, each slot position of the virtual object is switched from the first state to the second state, the virtual object is switched from the display state to the new virtual object in the task interface by responding to the interactive operation of the virtual object based on the virtual accessory, and the progress information is updated, so that the task progress completion condition can be vividly displayed in the task interface by interacting with the virtual object, the multi-level and multi-level linkage display of the task progress is realized, a user does not need to access task pages corresponding to tasks of different levels to acquire the corresponding required task progress information, and the efficiency of acquiring the task progress information by the user is improved.
In an exemplary embodiment, updating the progress information includes: when the task corresponding to the new virtual object is the task in the current task type, updating the first progress information, and displaying the updated first progress information in a task interface; and the updated first progress information represents the progress information of the task corresponding to the new virtual object in all tasks of the current task type.
And when the task corresponding to the new virtual object is a task in a task type next to the current task type, updating the first progress information and the second progress information, and displaying the updated first progress information and the updated second progress information in a task interface. The updated first progress information represents the progress information of the task corresponding to the new virtual object in all tasks of the next task type, and the updated second progress information represents the progress information of the next task type in all task types.
In a specific implementation, in the process of updating the progress information, the electronic device may determine whether the next task is a task in the current task type or a task in a task type next to the current task type; when the electronic equipment detects that the next task is the task in the current task type, the electronic equipment updates the first progress information, and displays the updated first progress information in the task interface, namely displays the progress information of the next task in all tasks of the current task type.
When the electronic device detects that the next task is a task in a next task type of the current task type, it indicates that the user account has completed the task of the current task type and joins the next task type preset by the target application. At this time, the electronic device updates the first progress information and the second progress information, and displays the updated first progress information and the updated second progress information in the task interface, so that the progress information of the next task in all tasks of the next task type and the progress information of the next task in all task types are displayed, and the current game progress of the user account is accurately reminded.
In an exemplary embodiment, the switching the slots of the virtual object from the first state to the second state includes: and under the condition that the number of the existing virtual accessories of the user account is larger than O, responding to the accessory assembling operation of the virtual object, and displaying the animation that the virtual accessories move to the corresponding slot position so that the slot position is switched from the first state to the second state.
In a specific implementation, in the process that the electronic device displays the corresponding virtual accessories in each slot of the virtual object, the electronic device displays the animation of the virtual accessories moving into the corresponding slot in response to the accessory assembling operation on the virtual object.
For example, when the number of existing virtual accessories of the user account is greater than O (i.e., when the user account has enough virtual keys), when the user account clicks a lock hole, a key slot, or a boot button of the virtual treasure box, the electronic device displays an animation that the virtual accessories fly into the key slot of the virtual treasure box in the task interface.
According to the technical scheme, when the number of the existing virtual accessories of the user account is larger than O, the animation that the virtual accessories move to the corresponding slot positions is displayed by responding to the accessory assembling operation of the virtual object, so that the progress change of the current task is vividly reflected by the movement of the virtual accessories, and the efficiency of the user account for acquiring the task progress information is improved.
In an exemplary embodiment, the method further comprises: under the condition that the number of the existing virtual accessories of the user account is equal to O, responding to accessory assembly operation on the virtual object, and displaying a task execution inlet on a task interface; the task execution portal is used for guiding the user account to execute the corresponding subtask so as to obtain the virtual accessory corresponding to the subtask.
In the specific implementation, the electronic equipment responds to the accessory assembly operation of a virtual object and displays a task execution inlet on a task interface under the condition that the number of the existing virtual accessories of the user account is detected to be equal to O; the task execution portal is used for guiding the user account to execute the corresponding subtask so as to obtain the virtual accessory corresponding to the subtask.
For example, when the electronic device detects that the user account does not have a virtual key to unlock the virtual container prop, the user account inputs an accessory assembling operation on the virtual object to the electronic device at this time, the electronic device does not display an animation that the virtual accessory moves into the corresponding slot position, and the electronic device responds to the accessory assembling operation on the virtual object at this time, pulls up the task panel on the task interface, and executes the corresponding sub-task to obtain the virtual accessory corresponding to the sub-task.
And after the user account executes the corresponding subtask and obtains the virtual accessory corresponding to the subtask, the electronic equipment displays prompt information for the user account to obtain the virtual accessory. To facilitate understanding by those skilled in the art, FIG. 5 provides an illustration of a user account being prompted for a virtual accessory.
According to the technical scheme, under the condition that the number of the existing virtual accessories of the user account is equal to O, the task execution inlet is displayed on the task interface in response to the accessory assembling operation of the virtual object, so that the user account is quickly guided to execute the corresponding subtasks to obtain the virtual accessories corresponding to the subtasks, and the user is further promoted to execute the current task.
In an exemplary embodiment, when the virtual object is a virtual container prop, the method further comprises: and under the condition that corresponding virtual accessories are displayed in each slot position of the virtual object, responding to the starting operation of the virtual container prop, displaying the animation of the virtual container prop opened by the virtual accessories, and issuing the virtual resources stored in the virtual container prop to a user account.
Wherein, virtual container props can be virtual treasure case, virtual box etc..
In the concrete implementation, the electronic device all shows under the virtual accessory condition that corresponds at each trench of virtual object, and the user can input the operation of opening to virtual container stage property to the electronic device, for example, use virtual object as virtual treasure case as an example, the user can click the key trench on this virtual treasure case, click the lockhole on this virtual treasure case, or the lid of this virtual treasure case implements the sliding operation, and then realizes the operation of opening to virtual container stage property to the electronic device input. After the electronic equipment receives the opening operation of the virtual container prop, the electronic equipment displays the animation that the virtual container prop is opened, and sends the virtual resource stored in the virtual container prop to the user account.
In practical application, the task interface further includes prompt information for prompting that the virtual container prop stores the virtual resource. For example, a prompt document "cash must be obtained when the treasure box is opened" may be displayed on the task interface.
According to the technical scheme, under the condition that corresponding virtual accessories are displayed in each slot position of the virtual object, the animation that the virtual container prop is opened is displayed by responding to the opening operation of the virtual container prop, and the virtual resources stored in the virtual container prop are issued to the user account, so that the virtual resources required by the user account are effectively distributed to the user account, the user requirements are met, and the frequency of executing tasks by the user account is improved.
In an exemplary embodiment, in the task display interface, a prompt animation of the virtual resource is displayed in an area corresponding to the current task type in the second progress information, so as to prompt that the virtual resource is stored in a virtual container prop corresponding to at least one task in the current task type.
In a specific implementation, when the electronic device displays the second progress information, a prompt animation of the virtual resource may be displayed in a region corresponding to the current task type to prompt that the virtual resource is stored in the virtual container prop corresponding to at least one task in the current task type. When the electronic device detects that the virtual container prop corresponding to the task in the current task type stores the virtual resource, the electronic device displays a prompt animation of the virtual resource in a corresponding area (e.g., on the task type identifier) of the current task type to prompt that the virtual container prop corresponding to the task in the current task type stores the virtual resource. In practical application, the electronic device can display the red envelope bubbling effect on the task type identifier corresponding to the current task type to guide the user to continue playing, so that the progress can be displayed while the benefit points are revealed.
According to the technical scheme of the embodiment, the prompt animation of the virtual resource is displayed in the area corresponding to the current task type in the second progress information, so that the information for prompting that the virtual resource is stored in the virtual container prop corresponding to at least one task in the current task type can be generated, and the user is guided to execute the task vividly.
In an exemplary embodiment, in the task interface, switching from displaying the virtual object to displaying the new virtual object includes: in the task interface, an animation of a virtual object moving out of the task interface is displayed, and an animation of a new virtual object moving into the task interface is displayed.
In a specific implementation, the electronic device may display an animation that the virtual object corresponding to the current task moves out of the task interface, and then, the electronic device displays an animation that the virtual object corresponding to the next task moves into the task interface.
Taking a virtual object as a virtual treasure box as an example, in the process that the electronic device switches the virtual treasure box corresponding to the current unpacking task from the virtual treasure box corresponding to the next unpacking task in the task interface, the electronic device can display the animation that the virtual treasure box corresponding to the current unpacking task jumps out of the task interface, and then the electronic device displays the animation that the virtual treasure box corresponding to the next unpacking task jumps into the task interface.
According to the technical scheme of the embodiment, the transition animation of replacing the virtual object corresponding to the current task with the virtual object corresponding to the next task is displayed in the task interface by displaying the animation of moving the virtual object corresponding to the current task out of the task interface and displaying the animation of moving the virtual object corresponding to the next task into the task interface, so that the change of the task progress is vividly and intuitively reflected through the movement of the virtual object.
Fig. 6 is a flow chart illustrating another interface processing method according to an example embodiment, as shown in fig. 6, including the following steps.
In step S610, a task interface is displayed; the task interface comprises a virtual object and progress information of a task corresponding to the virtual object; the virtual object is provided with a slot position for assembling a virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks.
In step S620, when a subtask in the task is executed and completed, the virtual accessory corresponding to the completed subtask is issued to the user account.
In step S630, in the task interface, information on the number of existing virtual accessories of the user account is displayed.
In step S640, in a case that the number of existing virtual accessories of the user account is greater than O, in response to an accessory assembling operation on the virtual object, displaying an animation in which the virtual accessory moves into the corresponding slot.
In step S650, when it is detected that the current task is completed, corresponding virtual accessories are respectively displayed in the slots of the virtual object.
In step S660, in a case that a corresponding virtual accessory is displayed in each slot of the virtual object, in response to an opening operation on the virtual container prop, displaying an animation of the virtual container prop being opened by the virtual accessory, and issuing a virtual resource stored in the virtual container prop to the user account.
In step S670, in response to the interactive operation on the virtual object based on the virtual accessory, in the task interface, displaying the virtual object is switched to displaying a new virtual object, and the progress information is updated.
It should be noted that, for the specific limitations of the above steps, reference may be made to the specific limitations of an interface processing method, which are not described herein again.
It should be understood that although the steps in the flowcharts of fig. 1 and 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 and 6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
It is understood that the same/similar parts between the embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and it is sufficient that the relevant points are referred to the descriptions of the other method embodiments.
Fig. 7 is a block diagram illustrating an interface processing device according to an example embodiment. Referring to fig. 7, the apparatus includes:
a display unit 710 configured to perform displaying a task interface; the task interface comprises a virtual object and progress information of a task corresponding to the virtual object; the virtual object is provided with a slot position for assembling a virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks;
the assembling unit 720 is configured to switch each slot of the virtual object from a first display state to a second display state when the task is detected to be executed completely;
a switching unit 730 configured to perform switching from displaying the virtual object to displaying a new virtual object in the task interface in response to an interactive operation on the virtual object based on the virtual accessory, and update the progress information.
In a possible implementation manner, the switching unit 730 is configured to update the first progress information when the task corresponding to the new virtual object is a task in the current task type, and display the updated first progress information in the task interface; and the updated first progress information represents the progress information of the task corresponding to the new virtual object in all tasks of the current task type.
In a possible implementation manner, the switching unit 730 is configured to update the first progress information and the second progress information when the task corresponding to the new virtual object is a task in a task type next to the current task type, and display the updated first progress information and the updated second progress information in the task interface; the updated first progress information represents progress information of a task corresponding to the new virtual object in all tasks of the next task type, and the updated second progress information represents progress information of the next task type in all task types.
In one possible implementation, the apparatus further includes: the accessory issuing unit is configured to execute, when a subtask in the task is executed and completed, to issue a virtual accessory corresponding to the completed subtask into a user account; the quantity display unit is configured to display quantity information of the existing virtual accessories of the user account in the task interface.
In a possible implementation manner, the switching unit 730 is configured to execute, in a case that the number of existing virtual accessories of the user account is greater than O, in response to an accessory assembling operation on the virtual object, displaying an animation that the virtual accessory moves into the corresponding slot, so as to switch the slot from displaying the first state to displaying the second state.
In one possible implementation, the apparatus further includes: a guiding unit configured to execute, in a case where the number of existing virtual accessories of the user account is equal to O, displaying a task execution entry on the task interface in response to an accessory assembling operation on the virtual object; the task execution portal is used for guiding the user account to execute corresponding subtasks so as to obtain virtual accessories corresponding to the subtasks.
In one possible implementation, the apparatus further includes: and the resource issuing unit is configured to execute, in response to the starting operation of the virtual container prop, displaying an animation of the virtual container prop being opened by the virtual accessory when corresponding virtual accessories are displayed in each slot of the virtual object, and issuing the virtual resource stored in the virtual container prop to a user account.
In one possible implementation, the apparatus further includes: and the prompting unit is configured to execute a prompting animation for displaying the virtual resource in the area corresponding to the current task type in the second progress information in the task display interface so as to prompt that the virtual resource is stored in the virtual container prop corresponding to at least one task in the current task type.
In one possible implementation manner, the switching unit 730 is configured to execute an animation of moving the virtual object out of the task interface and an animation of moving the new virtual object into the task interface in the task interface.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an electronic device 800 for performing an interface processing method according to an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 8, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive an external audio signal when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or components of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which includes instructions executable by the processor 820 of the electronic device 800 to perform the above-described method.
It should be noted that the descriptions of the above-mentioned apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementations may refer to the descriptions of the related method embodiments, which are not described in detail herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An interface processing method, comprising:
displaying a task interface; the task interface comprises a virtual object and progress information of a task corresponding to the virtual object; the virtual object is provided with a slot position for assembling a virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks;
when the task is detected to be executed completely, switching each slot position of the virtual object from a first display state to a second display state;
and in response to the interactive operation of the virtual object based on the virtual accessory, switching from displaying the virtual object to displaying a new virtual object in the task interface, and updating the progress information.
2. The interface processing method of claim 1, wherein the updating the progress information comprises:
when the task corresponding to the new virtual object is the task in the current task type, updating the first progress information, and displaying the updated first progress information in the task interface; and the updated first progress information represents the progress information of the task corresponding to the new virtual object in all tasks of the current task type.
3. The interface processing method of claim 1, wherein the updating the progress information comprises:
when the task corresponding to the new virtual object is a task in a task type next to the current task type, updating the first progress information and the second progress information, and displaying the updated first progress information and the updated second progress information in the task interface;
the updated first progress information represents progress information of a task corresponding to the new virtual object in all tasks of the next task type, and the updated second progress information represents progress information of the next task type in all task types.
4. The interface processing method of claim 1, wherein after the displaying the task interface, the method further comprises:
when the subtasks in the tasks are executed and completed, the virtual accessories corresponding to the completed subtasks are issued to a user account;
and displaying the quantity information of the existing virtual accessories of the user account in the task interface.
5. The interface processing method according to claim 1, wherein when the virtual object is a virtual container prop, after the corresponding virtual accessories are respectively displayed in the respective slots of the virtual object, the method further includes:
and under the condition that corresponding virtual accessories are displayed in each slot position of the virtual object, responding to the starting operation of the virtual container prop, displaying the animation of the virtual container prop opened by the virtual accessories, and issuing the virtual resources stored in the virtual container prop to a user account.
6. The interface processing method according to any one of claims 1 to 5, wherein switching from displaying the virtual object to displaying a new virtual object in the task interface includes:
and displaying the animation of the virtual object moving out of the task interface and displaying the animation of the new virtual object moving into the task interface in the task interface.
7. An interface processing apparatus, comprising:
a display unit configured to perform displaying a task interface; the task interface comprises a virtual object and progress information of a task corresponding to the virtual object; the virtual object is provided with a slot position for assembling a virtual accessory; the progress information comprises first progress information and second progress information, the first progress information represents the progress information of the tasks in all the tasks of the current task type, and the second progress information represents the progress information of the current task type in all the tasks;
the assembling unit is configured to switch each slot of the virtual object from a first display state to a second display state when the task is detected to be executed completely;
a switching unit configured to perform switching from displaying the virtual object to displaying a new virtual object in the task interface in response to an interactive operation on the virtual object based on the virtual accessory, and update the progress information.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the interface processing method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the interface processing method of any one of claims 1 to 6.
10. A computer program product comprising instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the interface processing method of any one of claims 1 to 6.
CN202111156331.0A 2021-09-29 Interface processing method and device, electronic equipment and storage medium Active CN113867871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111156331.0A CN113867871B (en) 2021-09-29 Interface processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111156331.0A CN113867871B (en) 2021-09-29 Interface processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113867871A true CN113867871A (en) 2021-12-31
CN113867871B CN113867871B (en) 2024-07-02

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104307174A (en) * 2014-10-14 2015-01-28 腾讯科技(深圳)有限公司 Method and device of showing user game data
CN108888952A (en) * 2018-06-19 2018-11-27 腾讯科技(深圳)有限公司 Virtual item display methods, device, electronic equipment and storage medium
CN111603771A (en) * 2020-05-22 2020-09-01 腾讯科技(深圳)有限公司 Animation generation method, device, equipment and medium
CN111679879A (en) * 2020-06-05 2020-09-18 腾讯科技(深圳)有限公司 Display method and device of account segment bit information, terminal and readable storage medium
CN112711458A (en) * 2021-01-15 2021-04-27 腾讯科技(深圳)有限公司 Method and device for displaying prop resources in virtual scene
CN113268340A (en) * 2021-04-29 2021-08-17 北京达佳互联信息技术有限公司 Virtual resource package generation method and device, electronic equipment and storage medium
CN113413604A (en) * 2021-07-21 2021-09-21 北京字节跳动网络技术有限公司 Interaction method, interaction device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104307174A (en) * 2014-10-14 2015-01-28 腾讯科技(深圳)有限公司 Method and device of showing user game data
CN108888952A (en) * 2018-06-19 2018-11-27 腾讯科技(深圳)有限公司 Virtual item display methods, device, electronic equipment and storage medium
CN111603771A (en) * 2020-05-22 2020-09-01 腾讯科技(深圳)有限公司 Animation generation method, device, equipment and medium
CN111679879A (en) * 2020-06-05 2020-09-18 腾讯科技(深圳)有限公司 Display method and device of account segment bit information, terminal and readable storage medium
CN112711458A (en) * 2021-01-15 2021-04-27 腾讯科技(深圳)有限公司 Method and device for displaying prop resources in virtual scene
CN113268340A (en) * 2021-04-29 2021-08-17 北京达佳互联信息技术有限公司 Virtual resource package generation method and device, electronic equipment and storage medium
CN113413604A (en) * 2021-07-21 2021-09-21 北京字节跳动网络技术有限公司 Interaction method, interaction device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108762839B (en) Interface display method and device of application program
CN114201133A (en) Split screen display method and device
CN110231901B (en) Application interface display method and device
CN106528081B (en) Operation execution method and device
WO2017071078A1 (en) Communication module firmware and plug-in generation method and apparatus
CN107229411B (en) Method and device for controlling split screen state
CN107526591B (en) Method and device for switching types of live broadcast rooms
EP3754959A1 (en) Quick access to an application in the lock screen
EP3731088A1 (en) Method and device for displaying information and storage medium
EP3232325A1 (en) Method and device for starting application interface
EP3236355A1 (en) Method and apparatus for managing task of instant messaging application
CN111427449A (en) Interface display method, device and storage medium
CN106940653B (en) Method, apparatus and computer-readable storage medium for controlling application program
CN106919302B (en) Operation control method and device of mobile terminal
CN115373763B (en) Plug-in loading method and device, electronic equipment and storage medium
CN108829473B (en) Event response method, device and storage medium
CN112748894A (en) Hole digging screen display method and device
CN113867871B (en) Interface processing method and device, electronic equipment and storage medium
CN114356476B (en) Content display method, content display device, electronic equipment and storage medium
CN113867871A (en) Interface processing method and device, electronic equipment and storage medium
CN108037875B (en) Method, device and storage medium for switching input modes
CN111538450B (en) Theme background display method and device and storage medium
CN109144342B (en) Game guessing interaction method and device
CN111538544B (en) Method and device for displaying configuration data, electronic equipment and storage medium
CN113877205A (en) Cloud game interface processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant