This disclosure relates to the technical field of virtualization and human-computer interaction, in particular, to a method and apparatus for creating a team in a virtual scene, a method and apparatus for joining a team in a virtual scene, a device, a medium, and a program product.
With the development of computer technology, electronic devices can implement richer and more vivid virtual scenes. A virtual scene refers to a digital scene drawn by a computer through digital communication technology. Users can obtain a full virtualization feeling (such as virtual reality) or a partial virtualization feeling (such as augmented reality) in terms of vision and hearing in the virtual scene. Moreover, it is possible to control an interactive battle between virtual objects of one team and virtual objects of another team in the virtual scene, to obtain feedback.
In related art, when creating a team for interaction in a virtual scene, team-up needs to be implemented by adding friends in a virtual scene client. The joining condition for the formed team is fixed and single, for example, transmitting a joining request and waiting for approval to join, and a team creator cannot customize the joining condition. Moreover, the entire team-up process is complicated, and the efficiency of human-computer interaction is low.
Embodiments of this disclosure provide a method and apparatus for creating a team in a virtual scene, a method and apparatus for joining a team in a virtual scene, an electronic device, a computer-readable storage medium, and a computer program product, capable of implementing team-up in a virtual scene, improving the efficiency of human-computer interaction, enabling more diverse team joining conditions to be set, and achieving simple implementation and high processing efficiency.
Technical solutions in the embodiments of this disclosure are implemented as follows.
The embodiments of this disclosure provide a method for creating a team in a virtual scene, including:
The embodiments of this disclosure further provide a method for joining a team in a virtual scene, including:
The embodiments of this disclosure further provide a computer-readable storage medium, storing an executable program, the executable program being executed by a processor to implement the method according to the embodiments of this disclosure.
The embodiments of this disclosure have the following beneficial effects.
When receiving a creation instruction for a target team in a virtual scene, at least one virtual resource for selection is presented in a team creation interface; in response to a selection operation for a target virtual resource, the target virtual resource is determined as a joining condition for joining the target team, the joining condition being used for indicating that upon receiving of a transmitted target virtual resource, it is determined that a corresponding transmitting object is a member of the target team; and the target team is created when a confirmation instruction triggered based on the target virtual resource is received. In this way, team-up in the virtual scene can be implemented without adding friends in the virtual scene, thereby improving the efficiency of human-computer interaction and saving processing resources. Moreover, the team creator can customize the joining condition for joining the target team based on the presented virtual resources for selection, that is, only when the target virtual resource set by the team creator is transmitted, the target team can be joined. Thus, more diverse team joining conditions can be set, and simple implementation and high processing efficiency are achieved.
To make the objectives, technical solutions, and advantages of this disclosure clearer, the following describes this disclosure in detail with reference to the accompanying drawings. The described embodiments are not to be considered as a limitation to this disclosure. All other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the scope of protection of this disclosure.
In the following description, the term “some embodiments” describes subsets of all possible embodiments, but it may be understood that “some embodiments” may be the same subset or different subsets of all the possible embodiments, and can be combined with each other without conflict.
In the following description, the term “first/second/third” involved is only used for distinguishing similar objects and does not represent a specific order of objects. Understandably, “first/second/third” may be interchanged with a specific order or priority if permitted, so that embodiments of this disclosure described here may be implemented in an order other than that illustrated or described here.
Unless otherwise specified, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the technical field that the disclosure relates to. The terms used herein are only used for describing the purpose of embodiments of this disclosure, not intended to limit this disclosure.
Before the embodiments of this disclosure are described in detail, a description is made on nouns and terms in the embodiments of this disclosure, and the nouns and terms in the embodiments of this disclosure are applicable to the following explanations.
Based on the above explanations of nouns and terms involved in the embodiments of this disclosure, a system for creating a team in a virtual scene provided by the embodiments of this disclosure is described below. With reference to
The terminal 400 is configured to: in response to a creation instruction for a target team in a virtual scene, present a team creation interface corresponding to the target team, and present at least one virtual resource for selection in the team creation interface; and determine, in response to a selection operation for a target virtual resource in the at least one virtual resource, the target virtual resource as a joining condition for joining the target team, and transmit the determined joining condition to the server 200, the joining condition being used for indicating that upon receiving of a transmitted target virtual resource, it is determined that a corresponding transmitting object is a member of the target team.
The server 200 is configured to receive the joining condition for the target team transmitted by the terminal 400.
The terminal 400 is further configured to transmit a creation request for the target team to the server 200 in response to a confirmation instruction triggered based on the target virtual resource.
The server 200 is further configured to receive the creation request for the target team transmitted by the terminal 400, create the target team, and return a target team creation success notification message.
The terminal 400 is configured to receive the target team creation success notification message returned by the server 200, and present the created target team for members in the target team to interact in the virtual scene.
In practical applications, the server 200 may be an independent physical server, or may be a server cluster or a distributed system composed of multiple physical servers, or may be a cloud server that provides a basic cloud computing service such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform. The terminal 400 may be a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart television, a smart watch, or the like, but is not limited thereto. The terminal 400 may be directly or indirectly connected to the server 200 through wired or wireless communications, which is not limited in this disclosure.
With reference to
The processor 510 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a Digital Signal Processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general-purpose processor may be a microprocessor or any conventional processor, etc.
The user interface 530 includes one or more output apparatuses 531 that enable presentation of media content, including one or more loudspeakers and/or one or more visual display screens. The user interface 530 further includes one or more input apparatuses 532, including user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touch display screen, a camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. An exemplary hardware device includes a solid-state memory, a hard disk drive, an optical disk drive, etc. The memory 550 may include one or more storage devices located physically away from the processor 510.
The memory 550 includes a volatile memory or a non-transitory memory, and may also include both volatile and non-transitory memories. The non-transitory memory may be a Read Only Memory (ROM), and the volatile memory may be a Random Access Memory (RAM). The memory 550 described in the embodiments of this disclosure is intended to include any suitable type of memories.
In some embodiments, an apparatus for creating a team in a virtual scene according to the embodiments of this disclosure may be implemented by software.
Here, the term “module” (and other similar terms such as unit, submodule, etc.) refers to computing software, firmware, hardware, and/or various combinations thereof. At a minimum, however, modules are not to be interpreted as software that is not implemented on hardware, firmware, or recorded on a non-transitory processor readable recordable storage medium. Indeed “module” is to be interpreted to include at least some physical, non-transitory hardware such as a part of a processor, circuitry, or computer. Two different modules can share the same physical hardware (e.g., two different modules can use the same processor and network interface). The modules described herein can be combined, integrated, separated, and/or duplicated to support various applications. Also, a function described herein as being performed at a particular module can be performed at one or more other modules and/or by one or more other devices instead of or in addition to the function performed at the particular module. Further, the modules can be implemented across multiple devices and/or other components local or remote to one another. Additionally, the modules can be moved from one device and added to another device, and/or can be included in both devices. The modules can be implemented in software stored in memory or non-transitory computer-readable medium. The software stored in the memory or medium can run on a processor or circuitry (e.g., ASIC, PLA, DSP, FPGA, or any other integrated circuit) capable of executing computer instructions or computer code. The modules can also be implemented in hardware using processors or circuitry on the same or different integrated circuit.
In some other embodiments, the apparatus for creating a team in a virtual scene according to the embodiments of this disclosure may be implemented by combining software and hardware. As an example, the apparatus for creating a team in a virtual scene according to the embodiments of this disclosure may be a processor in the form of a hardware decoding processor, which is programmed to execute the method for creating a team in a virtual scene according to the embodiments of this disclosure. For example, the processor in the form of a hardware decoding processor may be one or more of an Application Specific Integrated Circuit (ASIC), a DSP, a Programmable Logic Device (PLD), a Complex Programmable Logic Device (CPLD), a Field-Programmable Gate Array (FPGA), or other electronic elements.
In some embodiments, the terminal or server can implement the method for creating a team in a virtual scene according to the embodiments of this disclosure by running a computer program. For example, the computer program may be a native program or a software module in an operating system, or may be a native application (APP), namely, a program that needs to be installed in an operating system to run, such as a game APP or an instant messaging APP, or may be a mini program, namely, a program that only needs to be downloaded into a browser environment to run, or may be a mini program that can be embedded in any APP. In a word, the above-mentioned computer program may be any form of application program, module or plug-in.
Based on the above descriptions of the system for creating a team in a virtual scene and the electronic device according to the embodiments of this disclosure, the method for creating a team in a virtual scene according to the embodiments of this disclosure will be described below. In some embodiments, the method for creating a team in a virtual scene according to the embodiments of this disclosure may be implemented independently by a server or a terminal, or implemented jointly by a server and a terminal. The method for creating a team in a virtual scene according to the embodiments of this disclosure will be described below by taking implementation by a terminal as an example.
With reference to
Step 101: In response to a creation instruction for a target team in a virtual scene, a terminal presents a team creation interface corresponding to the target team, and presents at least one virtual resource for selection in the team creation interface.
Here, a client that supports team creation in a virtual scene is installed on the terminal. The client may be a client that supports a virtual scene (such as a game client), or a client integrated with a function of creating a team in a virtual scene (such as an instant messaging client, a live streaming client, and a team-up client). When a user opens the client on the terminal and the terminal runs the client, the user can create a target team in a virtual scene on the client. The target team is used for members in the target team to interact in the virtual scene, for example, for the members of the target team to play games. When receiving a creation instruction for a target team in a virtual scene, the terminal presents a team creation interface corresponding to the target team. In practical applications, the team creation interface may display information of the virtual scene (such as a name, an identifier, a team-up interaction mode, or the like of the virtual scene), a name setting function item of the target team, or the like.
In the embodiments of this disclosure, a joining condition for joining the created target team can also be set, namely, transmitting a target virtual resource to the creator of the target team. Therefore, the terminal further needs to present at least one virtual resource for selection in the team creation interface. In some embodiments, the number of virtual resources can be multiple (that is, at least two). When there are multiple virtual resources, the multiple virtual resources can correspond to different resource types. For example, two types of virtual resources are displayed in the team creation interface, namely, virtual gold coins used for purchasing virtual props or decorations, and virtual gifts (such as virtual flowers and virtual boats). After the user selects a target virtual resource from the displayed virtual resources for selection, the target virtual resource is used as a joining condition for joining the target team.
Next, triggering of the creation instruction for the target team will be described. In some embodiments, the terminal may receive a creation instruction for a target team in a virtual scene as follows:
presenting a first team creation entry of at least one candidate virtual scene, the at least one candidate virtual scene including the virtual scene; and receiving a creation instruction for a target team in the virtual scene in response to a trigger operation for the first team creation entry of the virtual scene.
Here, the number of candidate virtual scenes may be at least two, the terminal presents a first team creation entry of at least one candidate virtual scene, and the at least one candidate virtual scene includes the above-mentioned virtual scene. In practical applications, the candidate virtual scenes may have one-to-one correspondence with first team creation entries. That is, when the number of displayed candidate virtual scenes for selection is at least two, for the candidate virtual scenes, first team creation entries corresponding to the candidate virtual scenes are respectively displayed. The user can trigger (for example, click on) the first team creation entry corresponding to the corresponding candidate virtual scene to trigger a creation instruction for a team in the corresponding candidate virtual scene. When receiving a trigger operation for the first team creation entry of the virtual scene, the terminal receives a creation instruction for a target team in the virtual scene in response to the trigger operation.
As an example, with reference to
In some embodiments, the terminal may receive a creation instruction for a target team in a virtual scene as follows: presenting a second team creation entry of a virtual scene; presenting at least one candidate object for selection in response to a trigger operation for the second team creation entry; and receiving, in response to a selection confirmation operation for a target candidate object, a creation instruction for a target team corresponding to the target candidate object in the virtual scene.
Here, the number of candidate objects may be at least two, and when creating the target team in the virtual scene, a team member of the target team may also be pre-selected. For example, the terminal presents a second team creation entry of the virtual scene, where the second team creation entry can be used for the user to select a team member of the target team; and in response to a trigger operation for the second team creation entry, the terminal presents at least one candidate object for selection, where the candidate object may be a social friend, a group friend, a historical team-up object, etc. of the user (i.e., the creator of the target team), and the user may perform selection as required. When receiving a selection operation for a target candidate object and a selection confirmation operation for the target candidate object, the terminal receives, in response to the selection confirmation operation, a creation instruction for a target team corresponding to the target candidate object in the virtual scene, the target candidate object becoming a team member of the created target team. In practical applications, there may be one or more (that is, at least two) target candidate objects selected.
As an example, with reference to
In some embodiments, the terminal may receive a creation instruction for a target team in a virtual scene as follows: presenting a third team creation entry in a data card interface of a target object; receiving a creation instruction for a target team in the virtual scene in response to a trigger operation for the third team creation entry; and transmitting team-up invitation information to the target object, the team-up invitation information being used for inviting the target object to join the target team.
Here, the terminal can present a third team creation entry in a data card interface of a target object. In practical applications, when a user needs to view data of a certain object, the user can view it through a data card interface of the object. The data card interface can display data information of the corresponding object, such as name, identifier, gender, and other basic information of the object. In the embodiments of this disclosure, a third team creation entry can also be presented in a data card interface of an object, so that when the user views the data card of a certain object, a team creation instruction can be triggered through the third team creation entry, so that the user can conveniently team up with the object.
In practical applications, when the user views a data card of a target object, the terminal presents a data card interface of the target object, and presents a third team creation entry in the data card interface; when receiving a trigger operation for the third team creation entry, the terminal receives a creation instruction for a target team in the virtual scene in response to the trigger operation; and the terminal transmits team-up invitation information to the target object, so as to invite the target object to join the target team through the team-up invitation information. During actual implementation, the target object can join the created target team, and in addition, other objects can also join the target team by meeting the joining condition.
As an example, with reference to
In some embodiments, the terminal may receive a creation instruction for a target team in a virtual scene as follows: creating a group corresponding to a virtual scene, and presenting a fourth team creation entry in a group interface of the group; and receiving a creation instruction for a target team in the virtual scene in response to a trigger operation for the fourth team creation entry.
Here, a group corresponding to a virtual scene can also be pre-created, and the group can be used for users (including group members who join the group and users who enter the group as guests) to conduct conversations and communication, watch live streaming together, or the like. The group may be a conversation group (such as a chat group in an instant messaging client, and a chat group in a game client), a live streaming studio group (such as a live streaming studio in a live streaming client), or the like. After the group corresponding to the virtual scene is created, a fourth team creation entry is presented in the group interface of the group, for group members who join the group and users who enter the group as guests to create a team, so as to interact in the virtual scene based on the team. When receiving a trigger operation for the fourth team creation entry, a creation instruction for a target team in the virtual scene is received in response to the trigger operation.
In some embodiments, the terminal may create a group corresponding to a virtual scene as follows: creating a group corresponding to a virtual scene in a client interface other than an application of the virtual scene; the group including at least one object other than a current object, and the object and the current object having a social association relationship in the application.
In practical applications, the group can be created in an application other than the application of the virtual scene, such as a chat group created in an instant messaging client, a live streaming studio group created in a live streaming client, or the like. The group includes at least one object other than the current object (that is, the creator), and the at least one object and the current object may have a social association relationship in the application. For example, the at least one object and the current object belong to the same virtual organization. For example, when the client of the virtual scene is a game client, the virtual organization may be a game guild.
In some embodiments, the terminal may transmit and present team joining invitation information corresponding to the target team in the conversation interface of the group. The team joining invitation information is used for inviting an object in the group to join the target team.
Here, after completing creation of the target team in the virtual scene based on the fourth team creation entry in the group, the terminal can transmit and present corresponding team joining invitation information in the conversation interface of the group, to invite an object in the group to join the target team based on the team joining invitation information.
In some embodiments, after creation of the target team is completed, a conversation interface may be automatically jumped to, and team joining invitation information is transmitted to and presented in the conversation interface. A conversation function item may also be presented after the target team is created; when a trigger operation for the conversation function item is received, a conversation interface is presented, and team joining invitation information is transmitted to and presented in the conversation interface.
As an example, with reference to
After creation of the target team is completed, the terminal may transmit and present team joining invitation information “Let's gang up!” corresponding to the target team in a conversation interface corresponding to the group, as shown in figure C in
In some embodiments, the terminal may enable a joining condition setting function as follows: presenting a condition setting function switch; and enabling a joining condition setting function for the target team in response to a trigger operation for the condition setting function switch.
Correspondingly, the terminal may present at least one virtual resource for selection as follows: presenting at least one virtual resource for selection in a team creation interface when the joining condition setting function for the target team is enabled.
In some embodiments, the terminal may present a condition setting function switch as follows: presenting a condition setting function switch corresponding to the target team in the team creation interface; or presenting a condition setting function switch in a setting interface of the virtual scene.
Here, the terminal may provide a condition setting function switch, and the condition setting function switch is used for controlling enabling and disabling of the joining condition setting function. When the joining condition setting function for the target team is enabled, a joining condition can be set when creating the target team, and in this case, the terminal can present at least one virtual resource for selection in the team creation interface; When the joining condition setting function for the target team is disabled, no joining condition can be set when creating the target team, and in this case, the created target team can be joined without a joining condition.
In practical applications, the terminal may present a condition setting function switch. In some embodiments, the terminal may present a condition setting function switch corresponding to a target team in a team creation interface, so that it is convenient to set whether a joining condition needs to be set for a currently created team during team creation each time; the terminal may also present a condition setting function switch in a setting interface of a virtual scene, so as to achieve unified management on whether a joining condition needs to be set during all team creation, thereby improving the efficiency of team creation. When a trigger operation for the condition setting function switch is received, the joining condition setting function for the target team is enabled in response to the trigger operation. In this case, the terminal may present at least one virtual resource for selection in the team creation interface, for the user to set a joining condition.
As an example, with reference to
Step 102: Determine, in response to a selection operation for a target virtual resource, the target virtual resource as a joining condition for joining the target team.
The joining condition is used for indicating that upon receiving of a transmitted target virtual resource, it is determined that a corresponding transmitting object is a member of the target team.
Here, after the terminal presents, in response to a creation instruction for a target team in a virtual scene, a team creation interface corresponding to the target team, and presents one or more virtual resource for selection in the team creation interface, the creator of the target team may set a joining condition by selecting a required virtual resource. When a selection operation for a target virtual resource in the at least one virtual resource is received, the target virtual resource is determined as a joining condition for joining the target team in response to the selection operation. The joining condition is used for indicating that upon receiving of a transmitted target virtual resource (by the creator), it is determined that a corresponding transmitting object is a member of the target team, that is, the transmitting object joins the target team.
In some embodiments, the terminal may determine the target virtual resource as a joining condition for joining the target team as follows: presenting a quantity setting function item corresponding to the target virtual resource in response to the selection operation for the target virtual resource in the at least one virtual resource; receiving a target quantity set for the target virtual resource based on the quantity setting function item; and determining the target quantity of target virtual resources as a joining condition for joining the target team.
Here, when setting the joining condition, the number of selected target virtual resources may also be set. In some embodiments, a quantity setting function item corresponding to the target virtual resource is presented in response to the selection operation for the target virtual resource in the at least one virtual resource, and the user may set the quantity of target virtual resources based on the quantity setting function item, for example, a number representing the quantity may be input. When a target quantity set for the target virtual resource is received based on the quantity setting function item, the target quantity of target virtual resources is determined as a joining condition for joining the target team.
As an example, with reference to
Step 103: Create the target team in response to a confirmation instruction triggered based on the target virtual resource.
Here, after the terminal determines the joining condition for joining the target team, when it receives a confirmation instruction triggered based on the target virtual resource, the terminal creates the target team in response to the confirmation instruction for a member in the target team to perform interaction in the virtual scene.
As an example, with reference to
In some embodiments, the terminal may control members of the target team to enter the virtual scene as follows: presenting an enabling function entry of the virtual scene; presenting a scene entry interface of the virtual scene in response to a trigger operation for the enabling function entry; and controlling members joining the target team to enter the virtual scene when a virtual scene entry instruction triggered based on the scene entry interface is received.
Here, after completing creation of the target team in the virtual scene, the terminal presents an enabling function entry corresponding to the virtual scene, and when receiving a trigger operation for the enabling function entry, presents a scene entry interface of the virtual scene. The scene entry interface may include a function item for controlling members of the target team to enter the virtual scene. Members joining the target team are controlled to enter the virtual scene when a virtual scene entry instruction triggered based on the scene entry interface is received, so that the members of the target team perform an interaction operation in the virtual scene.
In some embodiments, the terminal performs interface return to an interface corresponding to the enabling function entry before controlling the members joining the target team to enter the virtual scene and when an interface return operation for the scene entry interface is received, presents an entry function item corresponding to the virtual scene in the interface corresponding to the enabling function entry, and presents the scene entry interface again when a trigger operation for the entry function item is received.
Here, the terminal performs interface return to an interface corresponding to the enabling function entry before controlling the members joining the target team to enter the virtual scene and when an interface return operation for the scene entry interface is received, presents an entry function item corresponding to the virtual scene in the interface corresponding to the enabling function entry, and presents the scene entry interface again when a trigger operation for the entry function item is received. In this way, free switching between the interface where the target team is located and the scene entry interface is implemented. After enabling the virtual scene and waiting for other members to join, the user can return to the interface corresponding to the enabling function entry to check the target team, for example, checking whether there is a new member joins the target team.
As an example, with reference to
In some embodiments, the terminal may present an enabling function entry corresponding to the virtual scene as follows: presenting the enabling function entry of the virtual scene through a floating window.
Correspondingly, the terminal may further present a collapse function item of the floating window. The floating window is collapsed to a floating window expansion function item when a trigger operation for the collapse function item is received. The floating window expansion function item is used for expanding the floating window when a floating window expansion instruction triggered based on the floating window expansion function item is received, to present the enabling function entry again.
Here, the terminal may present the enabling function entry of the virtual scene through a floating window. In practical applications, the floating window may present information of the virtual scene (such as an identifier and an interaction mode of the virtual scene), and information of the target team, such as information of members of the team and a name of the team. In the embodiments of this disclosure, the floating window may be collapsed so that the view interface displays other information for the user to use. In some embodiments, the terminal presents a collapse function item corresponding to the floating window, and when a trigger operation for the collapse function item is received, the floating window is collapsed to a floating window expansion function item. When the user needs to view the content displayed in the floating window again, a floating window expansion instruction can be triggered through the floating window expansion function item. When the terminal receives the floating window expansion instruction triggered based on the floating window expansion function item, the floating window is expanded in response to the floating window expansion instruction to present the enabling function entry again.
As an example, with reference to
In some embodiments, the terminal may remove a member of the target team as follows: presenting a removal function item corresponding to a member in the target team; presenting, in response to a trigger operation for the removal function item, prompt information used for prompting whether to remove the member from the target team; and removing the member from the target team in response to a removal confirmation instruction triggered based on the prompt information, and returning the target virtual resource to the member.
Here, the terminal may also present a removal function item corresponding to a member in the target team, and the removal function item can have a one-to-one correspondence with the member, or a one-to-many relationship with members (that is, one removal function item corresponds to multiple members). A user (such as the creator of the target team) can remove a member who has joined the target team through this removal function item. When a trigger operation for the removal function item is received, prompt information used for prompting whether to remove the member from the target team is presented, and the member is removed from the target team in response to a removal confirmation instruction triggered based on the prompt information. Moreover, since the member has transmitted a target virtual resource to the creator when joining the target team, there is a need to return the target virtual resource to the removed member at this time.
When the removal function item has a one-to-one correspondence with the member, the terminal presents removal function items corresponding to members in the target team. In response to a trigger operation for the removal function item corresponding to a target member, prompt information used for prompting whether to remove the target member from the target team is presented. The target member is removed from the target team in response to a removal confirmation instruction triggered based on the prompt information, and the target virtual resource is returned to the target member.
As an example, with reference to
When the removal function item has a one-to-many relationship with members (that is, one removal function item corresponds to multiple members), the terminal presents the removal function item corresponding to members in the target team. Members for selection are presented in response to a trigger operation for the removal function item. In response to a selection confirmation operation for a target member, prompt information used for prompting whether to remove the target member from the target team is presented. The target member is removed from the target team in response to a removal confirmation instruction triggered based on the prompt information, and the target virtual resource is returned to the target member.
As an example, with reference to
In some embodiments, after interaction among members of the target team in the virtual scene ends, the terminal can present an interaction result corresponding to the virtual scene, and output a receiving and display process corresponding to the target virtual resource.
Here, with reference to
In some embodiments, the terminal may dismiss the target team as follows: presenting a dismissing function item corresponding to the target team; and dismissing the target team in response to a trigger operation for the dismissing function item, and presenting dismissing prompt information used for prompting that the target team has been dismissed.
Here, the terminal may also present a dismissing function item for the target team, and the creator of the target team can dismiss the target team through the dismissing function item. When receiving a trigger operation for the dismissing function item, the terminal dismisses the target team in response to the trigger operation, and presents dismissing prompt information used for prompting that the target team has been dismissed. In practical applications, the dismissing prompt information may be displayed on the terminal interface of the team creator of the target team, and may also be displayed on the terminal interfaces of other team members in the target team. Moreover, since the team members have transmitted target virtual resources to the creator when joining the target team, the target virtual resources may be returned to the team members when the target team is dismissed.
As an example, with reference to
In some embodiments, the terminal may present exit prompt information when an exit instruction for the target team triggered by a target member in the target team is received. The exit prompt information is used for prompting that the target member has exited the target team.
Here, the terminal may present exit prompt information when the terminal receives an exit instruction for the target team triggered by a target member in the target team. The exit prompt information is used for prompting that the target member has exited the target team. In practical applications, the exit prompt information may be displayed on the terminal interface of the team creator of the target team to prompt the team creator that the target member has exited the target team, and may also be displayed on the terminal interfaces of other team members in the target team to prompt the other members that the target member has exited the target team. Moreover, since the target member has transmitted a target virtual resource to the creator when joining the target team, the target virtual resource may be returned to the target member when the target team is dismissed.
In some embodiments, in the terminal interfaces of team members joining the target team, there may be an exit function item corresponding to the target team. When a trigger operation of a target member for the exit function item is received, the target member is controlled to exit the target team, and exit prompt information is presented on the terminal interface of the target member. Moreover, the exit prompt information can also be synchronized to other members of the target team (including the team creator), so as to prompt that the target member has exited the target team based on the exit prompt information.
As an example, with reference to
By applying the foregoing embodiments of this disclosure, when receiving a creation instruction for a target team in a virtual scene, a team creation interface including at least one virtual resource is presented; in response to a selection operation for a target virtual resource, the target virtual resource is determined as a joining condition for joining the target team, the joining condition being used for indicating that upon receiving of a transmitted target virtual resource, it is determined that a corresponding transmitting object is a member of the target team; and the target team is created when a confirmation instruction triggered based on the target virtual resource is received.
In this way, first, based on the created target team, it is possible to interact in the virtual scene, and team-up and interaction in the virtual scene can be implemented without adding friends, thereby improving the efficiency of human-computer interaction and saving processing resources. Second, the team creator can customize the joining condition for joining the target team by selecting a displayed virtual resource, which not only makes setting of the team joining condition more diverse, but also facilitates implementation and improves processing efficiency.
A method for joining a team in a virtual scene according to embodiments of this disclosure will be described below. In some embodiments, the method for joining a team in a virtual scene according to the embodiments of this disclosure may be implemented independently by a server or a terminal, or implemented jointly by a server and a terminal. The method for joining a team in a virtual scene according to the embodiments of this disclosure will be described below by taking implementation by a terminal as an example. With reference to
Step 201: A terminal presents a joining function entry of a target team in a virtual scene, and presents a joining condition for the target team.
The joining condition is used for indicating that upon transmitting of a target virtual resource to a creation object of the target team, it is determined that a corresponding transmitting object is a member of the target team.
Here, a client that supports team creation in a virtual scene is installed on the terminal. The client may be a client that supports a virtual scene (such as a game client), or a client integrated with a function of creating a team in a virtual scene (such as an instant messaging client, a live streaming client, and a team-up client). When a user opens the client on the terminal and the terminal runs the client, the user can create a target team in a virtual scene on the client. The target team is used for members in the target team to interact in the virtual scene, for example, for the members of the target team to play games.
When the terminal completes creation of a target team in a virtual scene based on the method for creating a team in a virtual scene according to the forgoing embodiments, the terminal presents a joining function entry corresponding to the target team in the virtual scene, and presents a joining condition corresponding to the target team. The joining condition is used for indicating that upon transmitting of a target virtual resource to a creation object corresponding to the target team, it is determined that a corresponding transmitting object is a member of the target team. For example, the joining condition may be “Give 4 virtual flowers to join”.
In practical applications, the joining function entry corresponding to the target team may be team joining invitation information, such as team joining invitation information “Let's gang up!”, or may be a joining function item corresponding to the target team, such as a joining button. Moreover, a corresponding joining condition is presented, for example, “Give 4 virtual flowers to join”.
Step 202: Transmit a target virtual resource and join the target team in response to a trigger operation for the joining function entry.
In practical applications, the user performs a trigger operation (such as single click, double click, and press and hold) on the joining function entry to transmit a target virtual resource. In some embodiments, when the terminal receives a trigger operation for the joining function entry, it directly transmits a target virtual resource to join the target team. In some other embodiments, when a trigger operation for the joining function entry is received, prompt information used for prompting whether to transmit a target virtual resource is presented in response to the trigger operation. In practical applications, the prompt information may also correspond to an “OK” button used for triggering a transmitting confirmation instruction, and a “Cancel” button used for triggering a transmitting cancellation instruction, so as to make it convenient for the user to perform corresponding processing based on the prompt information, i.e., confirming whether to transmit the target virtual resource.
Here, when a transmitting confirmation instruction is received based on the prompt information, the target virtual resource is transmitted to the creation object corresponding to the target team; and the target team joined, for members of the target team to interact in the virtual scene in the form of the team, for example, for the members of the target team to play games.
As an example, with reference to
By applying the foregoing embodiments of this disclosure, when receiving a creation instruction for a target team in a virtual scene, a team creation interface including at least one virtual resource is presented; in response to a selection operation for a target virtual resource, the target virtual resource is determined as a joining condition for joining the target team, the joining condition being used for indicating that upon receiving of a transmitted target virtual resource, it is determined that a corresponding transmitting object is a member of the target team; and the target team is created when a confirmation instruction triggered based on the target virtual resource is received.
In this way, first, based on the created target team, it is possible to interact in the virtual scene, and team-up and interaction in the virtual scene can be implemented without adding friends, thereby improving the efficiency of human-computer interaction and saving processing resources. Second, the team creator can customize the joining condition for joining the target team by selecting a displayed virtual resource, which not only makes setting of the team joining condition more diverse, but also facilitates implementation and improves processing efficiency.
Exemplary application of the embodiments of this disclosure in a practical application scenario is described below by taking the virtual scene being a game scene as an example.
Terms involved in the embodiments of this disclosure are explained as follows:
In related art, when creating a team for interaction in a virtual scene, team-up needs to be implemented by adding friends in a virtual scene client. The process is complicated, and the efficiency of human-computer interaction is low. Moreover, the joining condition for the formed team is fixed and single (for example, transmitting a joining request and waiting for approval to join) and a team creator cannot customize the joining condition.
Based on this, the embodiments of this disclosure provide a method for creating a team in a virtual scene and a method for joining a team in a virtual scene to at least solve the above problems. In some embodiments, a user is supported to set a joining condition for other members when creating a game team (i.e., giving a virtual resource to the creator to join the team), based on a game team-up tool and game data connection capability of a platform (such as a platform that supports creation of a game team) in combination with a virtual resource (such as a virtual gift) donation capability. In practical applications, after team members join the team, the background will freeze the virtual resources, and when the end of the game battle, complete a virtual resource giving or virtual resource return process according to the result of the game battle.
In this way, game account data and team-up platform data are connected, and members of the created team can be directly pulled into the same team in the game without adding user game friends, thereby simplifying operation and improving the processing efficiency. In addition, when creating a team, the team creator can customize the threshold for other users to join the team, and customize the number of virtual gifts that need to be given and the content of virtual gifts, making the configuration more flexible.
Next, the method for creating a team in a virtual scene and the method for joining a team in a virtual scene according to the embodiments of this disclosure will be described from the product side.
First, creation of a gift team (i.e., the aforementioned target team).
Here, as shown in
Second, join the gift team (i.e., the target team) and complete a game interaction battle.
Next, the method for creating a team in a virtual scene and the method for joining a team in a virtual scene according to the embodiments of this disclosure will be described from the technical side, including:
First, create a gift team.
Second, give a gift to join the gift team.
Third, complete gift giving.
In some embodiments, with reference to
Here, the first client corresponds to user A, the second client corresponds to user B, and both are integrated with a function of creating a team for a virtual scene.
Here, the creation setting interface may include the setting item returned by the background, the default gift list, and the like.
By means of the foregoing embodiments of this disclosure, members joining the created team can be directly pulled into the same team in the game scene without adding user game friends, thereby simplifying operation and improving the processing efficiency. In addition, when creating a team, the team creator can customize the threshold for other users to join the team, and customize the number of virtual gifts that need to be given and the content of virtual gifts, making the configuration more flexible, and stimulating the team creator (such as a game anchor) to improve the service quality.
The following continues to describe the exemplary structure of an apparatus 555 for creating a team in a virtual scene according to the embodiments of this disclosure implemented as software modules. In some embodiments, as shown in
In some embodiments, the first presentation module 5551 is further configured to: present a first team creation entry of at least one candidate virtual scene, the at least one candidate virtual scene including the virtual scene; and
In some embodiments, the first presentation module 5551 is further configured to: present a second team creation entry of the virtual scene;
In some embodiments, the first presentation module 5551 is further configured to: present a third team creation entry in a data card interface of a target object;
In some embodiments, the first presentation module 5551 is further configured to: create a group corresponding to the virtual scene, and present a fourth team creation entry in a group interface of the group; and
In some embodiments, the first presentation module 5551 is further configured to: create the group corresponding to the virtual scene in a client interface other than an application of the virtual scene;
In some embodiments, the first presentation module 5551 is further configured to: present a conversation interface of the group; and
In some embodiments, the first presentation module 5551 is further configured to: present a condition setting function switch; and
The first presentation module 5551 is further configured to: present at least one virtual resource for selection in a team creation interface when the joining condition setting function for the target team is enabled.
In some embodiments, the first presentation module 5551 is further configured to: present a condition setting function switch corresponding to the target team in the team creation interface; or
In some embodiments, the determining module 5552 is further configured to: present a quantity setting function item corresponding to the target virtual resource in response to the selection operation for the target virtual resource in the at least one virtual resource;
In some embodiments, the first presentation module 5551 is further configured to: present an enabling function entry of the virtual scene;
In some embodiments, the first presentation module 5551 is further configured to present the enabling function entry of the virtual scene through a floating window.
The first presentation module 5551 is further configured to: present a collapse function item for the floating window; and
In some embodiments, the first presentation module 5551 is further configured to: perform interface return to an interface corresponding to the enabling function entry before controlling the members joining the target team to enter the virtual scene and when an interface return operation for the scene entry interface is received;
In some embodiments, the first presentation module 5551 is further configured to: present a removal function item corresponding to a member in the target team;
In some embodiments, the first presentation module 5551 is further configured to: present an interaction result corresponding to the virtual scene when interaction between members of the target team in the virtual scene ends; and
In some embodiments, the first presentation module 5551 is further configured to: present a dismissing function item corresponding to the target team; and
In some embodiments, the first presentation module 5551 is further configured to: present exit prompt information when an exit instruction for the target team triggered by a target member in the target team is received;
In some embodiments, the first presentation module 5551 is further configured to: dismiss the target team in response to a trigger operation for the dismissing function item, and present dismissing prompt information used for prompting that the target team has been dismissed.
In some embodiments, the first presentation module 5551 is further configured to: present exit prompt information when an exit instruction for the target team triggered by a target member in the target team is received;
By applying the foregoing embodiments of this disclosure, when receiving a creation instruction for a target team in a virtual scene, a team creation interface including at least one virtual resource is presented; in response to a selection operation for a target virtual resource, the target virtual resource is determined as a joining condition for joining the target team, the joining condition being used for indicating that upon receiving of a transmitted target virtual resource, it is determined that a corresponding transmitting object is a member of the target team; and the target team is created when a confirmation instruction triggered based on the target virtual resource is received.
In this way, first, based on the created target team, it is possible to interact in the virtual scene, and team-up and interaction in the virtual scene can be implemented without adding friends, thereby improving the efficiency of human-computer interaction and saving processing resources. Second, the team creator can customize the joining condition for joining the target team by selecting a displayed virtual resource, which not only makes setting of the team joining condition more diverse, but also facilitates implementation and improves processing efficiency.
The following continues to describe an apparatus for joining a team in a virtual scene according to embodiments of this disclosure. The apparatus for joining a team in a virtual scene according to the embodiments of this disclosure includes:
In some embodiments, the apparatus further includes a third presentation module, configured to present prompt information used for prompting whether to transmit the target virtual resource in response to a trigger operation for the joining function entry.
The joining module is further configured to transmit the target virtual resource and join the target team when a transmitting confirmation instruction is received based on the prompt information.
By applying the foregoing embodiments of this disclosure, when receiving a creation instruction for a target team in a virtual scene, a team creation interface including at least one virtual resource is presented; in response to a selection operation for a target virtual resource, the target virtual resource is determined as a joining condition for joining the target team, the joining condition being used for indicating that upon receiving of a transmitted target virtual resource, it is determined that a corresponding transmitting object is a member of the target team; and the target team is created when a confirmation instruction triggered based on the target virtual resource is received.
In this way, first, based on the created target team, it is possible to interact in the virtual scene, and team-up and interaction in the virtual scene can be implemented without adding friends, thereby improving the efficiency of human-computer interaction and saving processing resources. Second, the team creator can customize the joining condition for joining the target team by selecting a displayed virtual resource, which not only makes setting of the team joining condition more diverse, but also facilitates implementation and improves processing efficiency.
The embodiments of this disclosure further provide an electronic device, including:
The embodiments of this disclosure further provide a computer program product or a computer program, the computer program product or the computer program including a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method according to the embodiments of this disclosure.
The embodiments of this disclosure further provide a computer-readable storage medium, storing an executable program, the executable program being executed by a processor to implement the method according to the embodiments of this disclosure.
In some embodiments, the computer-readable storage medium may be a memory such as a Read-Only Memory (ROM), a Random Access Memory (RAM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a CD-ROM, and may also be a plurality of devices including one of the above memories or any combination thereof.
In some embodiments, the executable instruction may be written in the form of program, software, software module, script, or code in any form of programming language (including compilation or interpretation language, or declarative or procedural language), and the executable instruction may be deployed in any form, including being deployed as an independent program or being deployed as a module, component, subroutine, or other units suitable for use in a computing environment.
As an example, the executable instruction may, but not necessarily, correspond to a file in a file system, and may be stored as a part of the file that stores other programs or data, for example, stored in one or more scripts in a Hyper Text Markup Language (HTML) document, stored in a single file dedicated to the program under discussion, or stored in a plurality of collaborative files (for example, a file that stores one or more modules, subroutines, or code parts).
As an example, the executable instruction may be deployed to execute on one computing device or on a plurality of computing devices located in one location, alternatively, on a plurality of computing devices distributed in a plurality of locations and interconnected through communication networks.
The foregoing descriptions are merely embodiments of this disclosure and are not intended to limit the scope of protection of this disclosure. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of this disclosure shall fall within the scope of protection of this disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202111015882.5 | Aug 2021 | CN | national |
This application is a continuation application of PCT Patent Application No. PCT/CN2022/111672, filed on Aug. 11, 2022, which claims priority to Chinese Patent Application No. 202111015882.5 filed on Aug. 31, 2021, wherein the content of the above-referenced applications is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/111672 | Aug 2022 | US |
Child | 18140044 | US |