Image display method and device in virtual activity, terminal and storage medium

The method guides virtual objects to a designated area for automatic group photo capture, enhancing efficiency and convenience by eliminating manual stitching and server processing in virtual activities.

CN119225564APending Publication Date: 2024-12-31TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310770582.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Existing methods for obtaining group photo images in virtual activities require manual stitching of multiple virtual object images, leading to low efficiency and inconvenience.

Method used

A method and system that guides virtual objects to a designated area after an activity ends, automatically capturing a group photo image, eliminating the need for manual stitching.

Benefits of technology

Improves efficiency and convenience by automatically generating group photo images, reducing the need for manual image stitching and server processing load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225564A_ABST
    Figure CN119225564A_ABST
Patent Text Reader

Abstract

The invention discloses an image display method and device in a virtual activity, a terminal and a storage medium, and relates to the technical field of computers. The method comprises the steps that a virtual environment picture corresponding to a virtual activity is displayed, the virtual environment picture is a picture for observing a virtual environment from the view angle of a first virtual object participating in the virtual activity, and the virtual environment comprises a plurality of virtual objects participating in the virtual activity; in response to the end of the virtual activity, displaying prompt information for prompting the virtual object to go to a specified area in the virtual environment; under the condition that the shooting triggering condition is met, if the first virtual object is located in the designated area, a group photo image is displayed, and the group photo image comprises an image obtained by shooting the designated area. According to the method and the device, the virtual objects in the specified area are shot after the virtual activity is finished, and the group photo image can be obtained without splicing the images of the virtual objects one by one, so that the acquisition efficiency of the group photo image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device, terminal and storage medium for displaying images in a virtual activity. Background Art

[0002] With the development and progress of computer technology, in some applications (such as games, entertainment, etc.), users can actively record wonderful scenes during the use of the application through the camera function provided by the application.

[0003] In the related art, in response to the triggering of the photo control, the client enters the shooting mode, and the user can adjust the shooting angle independently to take a photo of the virtual object controlled by the user, thereby generating an image including the virtual object. However, when the user wants to obtain a group photo image including multiple other virtual objects, it is necessary to splice and combine the images of the multiple other virtual objects with the image of the virtual object controlled by the user after obtaining the images of the multiple other virtual objects, which results in low efficiency in obtaining the group photo image. Summary of the invention

[0004] The embodiment of the present application provides a method, device, terminal and storage medium for displaying images in a virtual activity, which can improve the efficiency and convenience of obtaining group photo images. The technical solution is as follows:

[0005] According to one aspect of an embodiment of the present application, a method for displaying an image in a virtual activity is provided, the method comprising:

[0006] During the virtual activity, displaying a virtual environment screen corresponding to the virtual activity, wherein the virtual environment screen is a screen in which the virtual environment is observed from the perspective of a first virtual object participating in the virtual activity, and the virtual environment includes a plurality of virtual objects participating in the virtual activity;

[0007] In response to the virtual activity ending, displaying prompt information, wherein the prompt information is used to prompt the virtual object to go to a designated area in the virtual environment;

[0008] When the shooting trigger condition is met, if the first virtual object is located in the designated area, a group photo image is displayed, where the group photo image includes an image obtained by shooting the designated area.

[0009] According to one aspect of an embodiment of the present application, a device for displaying an image in a virtual activity is provided, the device comprising:

[0010] An environment picture display module, used for displaying a virtual environment picture corresponding to the virtual activity during the virtual activity, wherein the virtual environment picture is a picture of observing the virtual environment from the perspective of a first virtual object participating in the virtual activity, and the virtual environment includes a plurality of virtual objects participating in the virtual activity;

[0011] A prompt information display module, configured to display prompt information in response to the end of the virtual activity, wherein the prompt information is used to prompt the virtual object to go to a designated area in the virtual environment;

[0012] The group photo image display module is used to display a group photo image if the first virtual object is located in the designated area when a shooting trigger condition is met. The group photo image includes an image obtained by shooting the designated area.

[0013] According to one aspect of an embodiment of the present application, a terminal device is provided, which includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above-mentioned method for displaying images in virtual activities.

[0014] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned method for displaying images in virtual activities.

[0015] According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the terminal device executes the above-mentioned method for displaying images in a virtual activity.

[0016] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0017] After the virtual activity is over, multiple virtual objects participating in the virtual activity are guided to a designated area, and then the designated area is photographed to obtain a group photo image including each virtual object in the designated area, without the need to stitch the images of each virtual object one by one to obtain the group photo image, thereby improving the efficiency of obtaining the group photo image. In addition, compared with manually stitching images, the group photo image in the embodiment of the present application can be automatically generated, and the acquisition of the group photo image is more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0020] Figure 2 is a flow chart of a method for displaying images in a virtual activity provided by an embodiment of the present application;

[0021] Figure 3 It is a schematic diagram of a notice prompt provided by an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of an activity interface provided by an embodiment of the present application;

[0023] Figure 5 is a schematic diagram of a designated area provided by an embodiment of the present application;

[0024] Figure 6 and Figure 7 A schematic diagram of an image preview screen is exemplarily shown;

[0025] Figure 8 is a schematic diagram of a group photo image provided by an embodiment of the present application;

[0026] Fig. 9 is a flowchart of a method for displaying images in a virtual activity provided by another embodiment of the present application;

[0027] Fig.10 is a schematic diagram of a movable panel provided by an embodiment of the present application;

[0028] Fig.11 It is a schematic diagram of an activity weekly report provided by an embodiment of the present application;

[0029] Fig.12 is a schematic diagram of a group photo image sequence provided by an embodiment of the present application;

[0030] Fig.13 is a block diagram of a display device for images in a virtual activity provided by an embodiment of the present application;

[0031] Fig.14 is a block diagram of a display device for images in a virtual activity provided by another embodiment of the present application;

[0032] Fig.15This is a block diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0033] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0034] Before introducing the embodiments of the present application, the relevant terms involved in the present application are first explained.

[0035] 1. Virtual Environment

[0036] A virtual environment is an environment displayed (or provided) when the client of an application (such as a game application) is running on a terminal device. The virtual environment refers to an environment created for virtual objects to carry out activities (such as game competitions), such as a virtual house, a virtual island, a virtual map, etc. The virtual environment can be a simulation of the real world, a semi-simulated and semi-fictional environment, or a purely fictional environment. The virtual environment can be a 3D virtual environment or a 2.5D virtual environment, which is not limited in the embodiments of the present application.

[0037] 2. Virtual Objects

[0038] A virtual object refers to a virtual character controlled by a user account in an application. Taking a game application as an example, a virtual object refers to a game character controlled by a user account in a game application. A virtual object can be in the form of a person, an animal, a cartoon, or other forms, which is not limited in the embodiments of the present application. A virtual object can be displayed in a 3D form or a 2D form, which is not limited in the embodiments of the present application.

[0039] In different game applications, the operations that can be performed by the user account to control the virtual object may also be different. For example, in a shooting game application, the user account can control the virtual object to perform operations such as shooting, moving, running, jumping, and casting skills. Among them, the game application can be any one of a multiplayer online tactical competitive game (MOBA), a first-person shooting game (FPS), a multiplayer gun battle survival game, a third-person shooting game (TPS), a strategy game (SLG), etc.

[0040] Of course, in addition to game applications, other types of applications can also display virtual objects to users and provide corresponding functions to virtual objects. For example, AR (Augmented Reality) applications, social applications, interactive entertainment applications, etc., which are not limited in the embodiments of the present application. In addition, for different applications, the form of the virtual objects provided by them will also be different, and the corresponding functions will also be different, which can be pre-configured according to actual needs, which is not limited in the embodiments of the present application.

[0041] 3. Flash Mob Events

[0042] A multiplayer mode that is opened from time to time in an application (such as a game). Each time, a different type of activity will be randomly selected, and the activity can be participated in across servers (for example, different servers corresponding to the game can participate).

[0043] 4. Group photo

[0044] The group photo in the embodiment of the present application refers to an act of taking a photo with several virtual objects. For example, at the end of different flash mob activities, there will be a group photo session. The system guides the player to the best group photo position. After the countdown ends, a group photo image with a system preset lens is completed and a timestamp is left. The player can view and save the group photo image.

[0045] 5. Flash Weekly

[0046] The Flash Weekly Report refers to the weekly report corresponding to the Flash Event. It is a weekly report in weekly units that can be shared across all servers. It can be used to present the content of social, leisure modules, and Flash Events every week.

[0047] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application. The implementation environment may include: a terminal device 10 and a server 20.

[0048] The terminal device 10 may be an electronic device such as a mobile phone, a tablet computer, a multimedia player, a PC (Personal Computer), an intelligent robot, a vehicle-mounted terminal, a wearable device, etc. The terminal device 10 may be installed with a client of a target application, and the target application may be a game application, a social entertainment application, a simulation learning application, a shopping application, a live broadcast application, a video playback application, and any application with a shooting function. Among them, the shooting function may refer to a function of generating a virtual environment image at a certain shooting angle, which may be an image generation function provided by simulating the shooting principle of an image acquisition device (such as a camera, a video camera, etc.) in a real environment.

[0049] Optionally, the client of the target application can be installed and run in different terminal devices 10 for use by different users. Taking a game application as an example, the game application can be installed and run in different terminal devices 10 in the form of a mobile game, a PC game, a web page, a mini program, etc., and the embodiment of the present application does not limit this.

[0050] The server 20 is used to provide background services for the client of the target application (such as a game application) in the terminal device 10. For example, the server 20 can be a background server of the above application (such as a game application). The server 20 can be a single server, or a server cluster composed of multiple servers, or a cloud computing service center. Optionally, the server 20 is used to provide image generation, storage, and distribution services for the client of the target application.

[0051] The terminal device 10 and the server 20 can communicate with each other via a network 30. The network 30 can be a wired network or a wireless network.

[0052] For example, taking a game application as an example, after a flash mob event involving multiple virtual objects ends, the client adds a group photo session, that is, the client guides each virtual object to a designated area for a group photo to generate a group photo image, and the server 20 then screens the group photo images from each client to obtain the final group photo image. The server 20 sends the final group photo image to the client corresponding to each virtual object in the group photo image for display, and the user account corresponding to each virtual object in the group photo image can save or forward the final group photo image. Then, the client will also display the final group photo image in the form of an activity weekly report for each user account logged in to the client to browse and review.

[0053] Below, the technical solution provided by this application will be introduced and explained through method embodiments.

[0054] Please refer to Figure 2 , which shows a flowchart of a method for displaying images in a virtual activity provided by an embodiment of the present application. The execution subject of each step of the method may be Figure 1 For a terminal device 10 in the implementation environment of the solution shown, such as a client in the terminal device 10, the method may include the following steps (201-203).

[0055] Step 201 , during the virtual activity, a virtual environment screen corresponding to the virtual activity is displayed, wherein the virtual environment screen is a screen in which the virtual environment is observed from the perspective of a first virtual object participating in the virtual activity, and the virtual environment includes multiple virtual objects participating in the virtual activity.

[0056] Virtual activities refer to activities provided by the target application. In the embodiments of the present application, virtual activities can be participated by multiple virtual objects. Optionally, virtual objects can obtain certain rewards, such as virtual props, experience points, virtual resources, skills, etc. by participating in virtual activities. The embodiments of the present application provide a variety of different types of virtual activities, such as dress-up, wooden figures, parties, blessings, lucky draws, etc.

[0057] In one example, the virtual activity includes scheduled activities and unscheduled activities. Scheduled activities refer to activities with fixed start times, such as activities that start every Saturday, and unscheduled activities refer to activities with unfixed start times, such as activities that start at random times. Random start times mean that each moment within a certain time period has the possibility of being selected as the start time. For example, each moment from Monday to Friday has the same probability of being selected as the start time of an unscheduled activity by the target application.

[0058] In one example, the start time and type of the virtual activity are both random, that is, the target application randomly starts the virtual activity and randomly selects the type of the virtual activity. Exemplarily, the start time of the virtual activity is randomly determined from a configured time period, and the type of the virtual activity is randomly determined from multiple types.

[0059] Among them, each moment within the configured time period has the possibility of being selected as the start time, and the configured time period can be set and adjusted according to actual usage needs. Type randomness means that for multiple types, each type has the possibility of being selected as the type of virtual activity. For example, for types 1 to 5, they all have the same selection probability of being selected as the type of virtual activity by the target application. For another example, types 1 to 5 correspond to different selection probabilities, and the type of virtual activity is randomly determined according to the selection probabilities corresponding to types 1 to 5.

[0060] In one example, the above virtual activity follows the activity random strategy deployed in the target application, which may refer to randomly selecting a virtual activity from multiple candidate virtual activities (each virtual activity has a different type), and randomly selecting a moment from multiple candidate moments as the start moment. The activity random strategy can be set and adjusted according to actual usage requirements, and the embodiments of the present application are not limited to this.

[0061] This application reduces the pressure on users to participate in scheduled activities by supporting random start times and types of virtual activities. If a virtual activity happens to occur during online time, users will feel lucky. In addition, the types of virtual activities are different each time, which can give users a sense of surprise in the early stage. If the content of virtual activities is mostly social, leisure, etc., it can provide an environment for users to break the ice in social interaction, further improving the user experience.

[0062] Optionally, the scope of the above virtual activities is cross-server participation, that is, for different servers corresponding to the same target application, virtual objects controlled by user accounts in each server can participate in the virtual activities, which can further provide an environment for users to break the social ice.

[0063] The above-mentioned virtual environment refers to the environment in which the above-mentioned target application provides virtual objects for activities, which can be a three-dimensional environment or a 2.5-dimensional environment. Exemplarily, the virtual environment corresponding to the virtual activity is the environment in which the virtual activity provides virtual objects for activities, and the virtual environment picture corresponding to the virtual activity is the picture obtained by the virtual object observing the virtual environment corresponding to the virtual activity. The virtual environment corresponding to the virtual activity is different from the virtual environment when the target application is running normally (i.e., when there is no virtual activity), and the virtual environment corresponding to the virtual activity is related to the theme and type of the virtual activity.

[0064] The user can observe the content that the first virtual object faces in the virtual environment through the virtual environment screen to perform relevant operations on the first virtual object. The first virtual object may refer to a virtual object controlled by a user account of a client logged into the current terminal device, and the terminal device may refer to any terminal device. The perspective of the first virtual object may be, for example, a third-person perspective, a first-person perspective, a God's perspective, etc., which is not limited in the embodiments of the present application.

[0065] Optionally, the client displays the virtual environment screen corresponding to the virtual activity in the user interface corresponding to the client through the display screen of the terminal device. The user interface may refer to the user interface corresponding to the above-mentioned target application, which can be used to display the content corresponding to the above-mentioned target application to the user, and provide an interactive channel between the user and the above-mentioned target application. Optionally, the user interface may include a display layer and a control layer. The display level of the control layer is higher than the display level of the display layer. The display layer is used to display content, and the control layer is used to display UI (User Interface) controls.

[0066] For example, reference Figure 3 and Figure 4 , taking the virtual activity as a flash activity as an example, the execution process of the virtual activity can be as follows:

[0067] 1. The client decides whether to start a virtual activity at a certain time based on the activity randomization strategy.

[0068] The client randomly selects a virtual activity from multiple candidate virtual activities according to the activity random strategy, and randomly selects a time from a configured time period as the start time.

[0069] 2. After determining the type and start time of the virtual activity, the client sets a preparation phase for the virtual activity, such as 5, 6, or 10 minutes before the start of the virtual activity. The preparation phase can be set and adjusted according to actual usage needs.

[0070] 3. In response to entering the preparation stage, the client displays a preview prompt corresponding to the virtual activity in the limited-time activity section or the user interface, and the preview prompt is used to remind the user that the virtual activity is about to start.

[0071] For example, refer to Figure 3 In the preparation stage of the virtual activity, a preview prompt 302 is displayed in the user interface 301, and the preview prompt 302 includes the name of the virtual activity, a detail viewing control, a countdown for the start of the virtual activity, etc.

[0072] 4. In response to the user's triggering operation on the detail viewing control, the client displays the activity interface 303, which includes an introduction to the gameplay of the virtual activity, rewards for the virtual activity, an entry point for the virtual activity, a countdown for the start, etc.

[0073] In some examples, the client also provides an activity panel, and the user can enter the activity interface 303 through the activity panel.

[0074] 5. In response to the user's triggering operation on the entry portal (such as a button control), the client displays a preparation interface for the virtual activity, where the preparation interface is used for the virtual object to wait for entering the virtual environment corresponding to the virtual activity.

[0075] 6. In response to the countdown for the start of the virtual activity ending, the server will collectively divert and transmit the virtual objects in the preparation interface to the activity spaces corresponding to the virtual activity.

[0076] The virtual environments corresponding to the various activity spaces are the same, but for different activity spaces, the virtual objects in the virtual environments of the activity spaces are different, and the various activity spaces are not interoperable. Optionally, each activity space has a limit on the number of people to be present, so as to divert virtual activities and avoid too many virtual objects being in the same activity space, thereby reducing the pressure on the server during the virtual activities. The above-mentioned server is a background server corresponding to the target application.

[0077] Optionally, in response to the countdown for the start of the virtual activity ending, the client cancels display of the preview prompt 302 and closes the entrance to the virtual activity.

[0078] 7. The client displays a virtual environment screen of the activity space where the first virtual object is located.

[0079] Step 202: in response to the virtual activity ending, display prompt information, where the prompt information is used to prompt the virtual object to go to a designated area in the virtual environment.

[0080] In an embodiment of the present application, in response to the end of a virtual activity, each virtual object in the virtual environment corresponding to the virtual activity will not immediately exit the virtual environment, but may go to a designated area to take a group photo to commemorate the participation in the virtual activity.

[0081] Optionally, the above virtual activity is a time-limited activity. In response to the end time of the virtual activity arriving, the client stops the virtual activity; the virtual activity can also be a task activity. In response to the task corresponding to the virtual activity being completed, the client stops the virtual activity. This embodiment of the present application does not limit this.

[0082] The above prompt information may include text content, such as "Now entering the group photo session, please go to the recommended area to be in the photo!". The prompt information may also include a group photo countdown, such as the group photo countdown is 30 seconds, that is, the group photo will start 30 seconds after the virtual activity ends. The embodiment of the present application does not limit the display position and display style of the prompt information, which can be displayed in the middle, above, etc. of the user interface, and can be displayed in the form of a message bubble, a pop-up window, etc.

[0083] The designated area in the embodiment of the present application may refer to a group photo area, which is used to provide a group photo environment for virtual objects. Optionally, the designated area may be a pre-set area in the virtual environment, or may be an area determined in real time by the client based on the virtual environment and virtual objects in the virtual environment, which is not limited in the embodiment of the present application.

[0084] The size, shape and display effect of the designated area can be set and adjusted according to actual use needs, such as determining the size, shape and display effect of the designated area according to the type and theme of the virtual activity. For example, when the main theme of the virtual activity is blessing, the designated area can be displayed in the shape of stars, hearts, etc., and accompanied by blessing display effects, such as the following meteor shower.

[0085] In one example, the process of generating prompt information may include the following:

[0086] 1. Determine multiple candidate areas based on the virtual environment corresponding to the virtual activity.

[0087] Optionally, a plurality of candidate regions are randomly selected from the virtual environment, or a region in the virtual environment that fits the virtual activity subject is determined as a candidate region.

[0088] 2. Screening multiple candidate areas according to a first number of virtual objects participating in the virtual activity to obtain multiple screening areas, wherein the number of objects corresponding to the screening areas is greater than the first number.

[0089] The object capacity refers to the upper limit of the number of virtual objects that the screening area can accommodate, so as to ensure that all virtual objects in the virtual environment can participate in the group photo.

[0090] 3. Obtain quality scores corresponding to the multiple screening areas respectively, where the quality scores are used to indicate the degree of matching between the screening areas and the first perspective.

[0091] Among them, the higher the quality score, the more the filter area matches the first perspective, and the higher the quality of the group photo. The first perspective may refer to the shooting angle of the virtual camera when taking a group photo. The first perspective may be a fixed perspective pre-set by the target application, that is, the perspective of the virtual camera is fixed. At this time, the first perspective can be set and adjusted according to actual usage needs. The first perspective may also refer to the perspective adjusted by the user, that is, the perspective of the virtual camera is not fixed, so that users can shoot from a customized perspective, thereby improving the user experience.

[0092] Optionally, algorithms such as cosine similarity, Euclidean distance, Manhattan distance, etc. are used to calculate the quality score corresponding to the screened area. A trained neural model can also be used to calculate the quality score corresponding to the screened area.

[0093] 4. The screening area with the highest quality score among the multiple screening areas is determined as the designated area.

[0094] Optionally, multiple screening regions are first sorted in descending order of quality scores to obtain a screening region sequence, and then the first screening region in the screening region sequence is determined as the designated region.

[0095] In some feasible examples, the middle area in the virtual environment can be directly determined as the designated area; the geometric center of each virtual object can be determined according to the position of each virtual object, and the designated area can be determined according to the geometric center; or a preset area can be directly determined as the designated area, which is not limited in the embodiments of the present application. Among them, the first perspective can be adaptively adjusted according to the designated area.

[0096] 5. Generate prompt information based on the specified area.

[0097] The designated area is set as the destination, and prompt information is constructed. Exemplarily, the coordinates corresponding to the designated area are set in the prompt information.

[0098] Optionally, the user can manually control the virtual object to go to a specified area according to the prompt information.

[0099] Optionally, the client also provides an automatic path finding service, and step 202 may also include the following content:

[0100] 1. In response to the virtual activity ending, display a first control.

[0101] The first control may be in the form of a button, a link, etc. Optionally, the first control may be displayed in the above-mentioned prompt information, or may be displayed in a task panel corresponding to the client, which is not limited in the embodiment of the present application. The task panel includes tasks that the virtual object can perform.

[0102] 2. In response to the trigger operation on the first control, control the virtual object to go to the designated area in an automatic path-finding manner.

[0103] In response to the trigger operation on the first control, the client automatically plans a moving path according to the current position of the virtual object in the virtual environment and the position of the designated area in the virtual environment, and then controls the movement of the virtual object according to the moving path so that the virtual object automatically moves to the designated area. By supporting the automatic pathfinding function of the designated area, the convenience of going to the designated area is improved, which is conducive to increasing the participation rate of group photos.

[0104] 3. When a designated area appears in the virtual environment screen, the designated area is highlighted.

[0105] That is, when the first virtual object can observe the designated area, the designated area is highlighted.

[0106] In one example, when the designated area appears in the virtual environment screen, the client highlights the boundary line of the designated area.

[0107] For example, the client highlights the boundary line of the designated area with a color that matches the theme of the virtual activity. For another example, the client extends a light column vertically upward from the ground starting from the boundary line to highlight the designated area. For another example, the client renders the boundary line into an animation in the style of the northern lights to highlight the designated area.

[0108] In one example, when a designated area appears in a virtual environment screen, the client displays an animation based on the designated area in the designated area.

[0109] For example, the client displays an animation of the designated area in a regular expansion and contraction pattern in the designated area. For another example, the client displays an animation that fits the theme of the virtual activity in the designated area. For example, if the virtual activity is related to the ocean, the animation may be related to a school of fish in the ocean.

[0110] For example, refer to Figure 5 In the user interface 500 , the designated area 501 is displayed as a pattern with a heart shape in a circle, and the pattern is regularly expanded and contracted to form an animation based on the designated area 501 .

[0111] Optionally, when the viewing angle range of the first virtual object includes the location of the designated area, the client marks and displays the designated area, for example, displays marking information such as a camera image, a light column, etc. above the designated area.

[0112] Optionally, when the first virtual object reaches the designated area for the first time, the client displays an image preview screen, that is, in response to the first virtual object entering the designated area for the first time, the client displays an image preview screen. The image preview screen includes a screen obtained by observing the designated area from the first perspective. Such forced display of the image preview screen allows the user to find a more suitable shooting position and shooting posture, which is conducive to improving the user experience.

[0113] Optionally, the image preview screen also includes an exit control, and in response to the user's triggering operation on the exit control, the client cancels the display of the image preview screen. The image preview screen also includes a group photo frame to indicate to the user that the virtual object is in a group photo state.

[0114] For example, refer to Figure 6 An image preview screen 601 is displayed in the user interface 600, and the image preview screen 601 includes a screen 602, a background screen 603 (an area outside the screen 602) and a group photo frame 604. The screen 602 refers to a screen obtained by observing the specified area from a first perspective, and the background screen 603 refers to a screen related to the theme of the virtual activity.

[0115] When the first virtual object does not arrive at the designated area for the first time, the client displays the second control; in response to the trigger operation on the second control, the image preview screen is displayed. If the first virtual object is always in the designated area, the second control continues to be displayed; if the first virtual object leaves the designated area, the second control is no longer displayed. In this way, the user can open the image preview screen again when needed, thereby improving the user experience.

[0116] In one example, in response to the end of the virtual activity, the client forcibly transfers the virtual objects in the virtual environment to a designated area for taking a group photo.

[0117] Step 203 : when the shooting trigger condition is met, if the first virtual object is located in the designated area, a group photo image is displayed, and the group photo image includes an image obtained by shooting the designated area.

[0118] The shooting trigger condition refers to a condition for triggering the generation of a group photo image, and the group photo image refers to an image obtained by taking a group photo of multiple virtual objects. When the shooting trigger condition is met, if the first virtual object is not located in the specified area, the client does not display the group photo image, that is, the group photo image does not include the first virtual object.

[0119] In one example, the shooting trigger condition may include at least one of the following:

[0120] 1. The display duration of the prompt information is greater than or equal to the time threshold.

[0121] Optionally, the display duration of the prompt information can be displayed in the form of a countdown (i.e., the above-mentioned group photo countdown) to prompt the user when to take the photo. Among them, the time threshold can be set and adjusted according to actual usage needs, such as 25s, 30s, 35s, etc.

[0122] When the display time of the prompt information is greater than or equal to the time threshold, the client displays a prompt information “Start taking photos now.” Optionally, after a countdown of 3, 2, 1, the client completes taking photos.

[0123] 2. The number of virtual objects in the specified area is greater than or equal to the number threshold.

[0124] Optionally, the number threshold may be less than the first number of virtual objects in the virtual environment, so that competitiveness can be generated between virtual objects to increase the enthusiasm of virtual objects to participate in group photos. The number threshold may be set and adjusted according to actual usage requirements, such as 15, 20, 25, etc.

[0125] When the number of virtual objects in the designated area is greater than or equal to the number threshold, the client displays a prompt message "Start taking photos now".

[0126] 3. The virtual objects in the designated area complete the designated tasks corresponding to the group photo image.

[0127] Optionally, the designated task may be a question answering task, a posture imitation task, a team cooperation task, etc. For example, when any virtual object in the designated area completes the question answering task, the client displays a prompt message "Start taking photos now"; when any virtual object in the designated area completes the task of imitating a designated posture, the client displays a prompt message "Start taking photos now"; when the virtual objects in the designated area cooperate to complete the standing position of a designated shape, the client displays a prompt message "Start taking photos now".

[0128] In one example, part of the execution logic of the target application (including the group photo logic) is deployed on the client side, and the group photo image is generated by the client, so that the execution logic of the server can be shared, thereby reducing the processing pressure of the server. Step 203 may also include the following content:

[0129] 1. When the shooting trigger condition is met, if the first virtual object is located in the designated area, an image preview screen and countdown prompt information are displayed, and the image preview screen includes a screen obtained by observing the designated area from a first perspective.

[0130] The countdown prompt information is used to prompt the user to start shooting after a set time, such as starting shooting after 3 seconds. The first perspective refers to the shooting angle of the virtual camera when taking a group photo. The first perspective can be a fixed perspective pre-set by the target application, or can refer to a perspective adjusted by the user. This embodiment of the application does not limit this.

[0131] For example, when the shooting trigger condition is met, the client corresponding to the virtual object in the specified area is forced to display an image preview screen, and there is no exit control in the image preview screen, and a countdown prompt message is displayed at the same time. In this way, the virtual object can stand still, thereby ensuring that the virtual object is clearly photographed, thereby improving the clarity of the group photo image.

[0132] For example, refer to Figure 7 When the shooting trigger condition is met, the image preview screen 701 is displayed in full screen in the user interface 700, and the image preview screen 701 is displayed in an overlay form to hide all UI contents, such as UI controls.

[0133] In some feasible examples, the image preview screen is not mandatory to display, and only the countdown prompt information is displayed, so that the user can control the virtual object to make the desired action to complete the photo.

[0134] 2. When the countdown prompt message is completed, a group photo image is generated based on the image preview screen.

[0135] Optionally, when the countdown prompt information is completed, the client displays the shooting flash special effect and directly determines the image preview screen at this time as the group photo image. Figure 8 , the user interface 800 displays an image frame 801, and the image preview screen 802 can be directly embedded in the image frame 801 to obtain the group photo image. Optionally, the group photo image is also marked with the name of the virtual activity and the generation time of the group photo image.

[0136] 3. Display the group photo image.

[0137] After the client generates the group photo image, it pops up in the user interface to display the group photo image. Optionally, the client can also mark the group photo image with the shooting timestamp and the name of the virtual activity, such as virtual activity A at x:x on x-year-x-month-x-day. Figure 8 ,The group photo image is also marked with the name of the virtual ,activity and the shooting timestamp of the group photo image.

[0138] In response to the closing operation on the group photo image, the client cancels the display of the group photo image. In response to the saving operation on the group photo image, the client saves the group photo image locally. In response to the forwarding operation on the group photo image, the client forwards the group photo image to an external application (such as an application other than the target application). For example, referring to Figure 8 The user interface 800 also displays a save control 803, a forward control 804 and a close control 805. In response to a trigger operation on the close control 805, the client cancels displaying the group photo image. In response to a trigger operation on the forward control 804, the client forwards the group photo image. In response to a trigger operation on the save control 803, the client saves the group photo image.

[0139] In one example, different clients generate different group photos. For example, due to different resolutions of the display screens of the terminal devices, the sizes of the group photos are different. For another example, when the client supports the setting of the number of people on the same screen, the number of virtual objects in the group photo may also be different. For another example, when the client supports the adjustment of the shooting angle, the first angle corresponding to the group photo image may also be different. In order to make the clients corresponding to the virtual objects in the same virtual environment display the same group photo image and ensure the quality of the group photo image, step 203 may also include the following content:

[0140] 1. Send the group photo to the server.

[0141] Optionally, each client participating in the virtual activity sends a group photo image generated by each client to the server.

[0142] In one example, the objective end may continuously generate multiple group photos, and then select the group photo with the largest number of virtual objects from the multiple group photos, and send it to the server. In this way, high-quality group photos can be screened out, thereby further improving the quality of the group photos.

[0143] 2. Receive a final group photo image from the server, where the final group photo image is selected by the server from group photo images from a plurality of first clients, where the first client refers to a client corresponding to a virtual object located in a designated area when the group photo image is generated.

[0144] Optionally, the server divides the group photo images according to the activity space to obtain multiple group photo image sets, and then selects the final group photo image from each group photo image set; for each activity space, the final group photo image corresponding to the activity space is sent to the clients corresponding to each virtual object participating in the group photo in the activity space.

[0145] In one example, for the final group photo image in each group photo image set, the final group photo image may refer to an image that contains the largest number of virtual objects among the group photos from multiple first clients, wherein the multiple first clients are clients corresponding to the virtual objects participating in the group photo in a same activity space.

[0146] In an example, for the final group photo image in each group photo image set, the final group photo image may refer to an image with the largest size among the group photo images from the plurality of first clients.

[0147] In an example, for the final group photo image in each group photo image set, the final group photo image may refer to an image with the largest size and the largest number of virtual objects included in the group photo images from the plurality of first clients.

[0148] After obtaining the final group photo image, the server stores the final group photo image, the shooting timestamp of the group photo image, etc.

[0149] 3. Display the final group photo image.

[0150] After receiving the final group photo image, the client displays the final group photo image.

[0151] In one example, part of the execution logic of the target application (including the group photo logic) is deployed on the server side, and the group photo image can be generated by the server, so that the client does not need to upload the group photo image to the server, thereby reducing the occupancy rate of transmission resources. Step 203 may also include the following content:

[0152] 1. When a shooting trigger condition is met and the first virtual object is located in a designated area, a group photo image from a server is received. The group photo image from the server includes a picture generated by the server with a designated resolution and a first perspective for the designated area.

[0153] When the server detects that the shooting trigger condition is met, it generates a virtual environment screen for the specified area from a first-person perspective using a specified resolution, and then embeds the virtual environment screen into the background image corresponding to the virtual activity, thereby constructing a group photo image. Optionally, the server can also use a specified resolution to directly determine the image preview screen at this time as the group photo image.

[0154] The designated resolution may be a pre-set resolution, or may be determined according to the resolution of the display screens of the terminal devices corresponding to the activity space, such as determining the maximum resolution as the designated resolution. This embodiment of the present application does not limit this.

[0155] After acquiring the group photo image, the server stores the group photo image, and sends the group photo image corresponding to each activity space to the client corresponding to each virtual object participating in the group photo in each activity space.

[0156] 2. Display the group photo image.

[0157] After receiving the group photo image, the client displays the group photo image.

[0158] In summary, the technical solution provided by the embodiment of the present application guides multiple virtual objects participating in the virtual activity to a designated area after the virtual activity ends, and then photographs the designated area to obtain a group photo image including each virtual object in the designated area, without the need to stitch the images of each virtual object one by one to obtain the group photo image, thereby improving the efficiency of obtaining the group photo image. In addition, compared with manually stitching images, the group photo image in the embodiment of the present application can be automatically generated, and the acquisition of the group photo image is more convenient.

[0159] In addition, generating a group photo image through the client is helpful to reduce the operating pressure of the server, and generating a group photo image through the server is helpful to reduce the occupancy rate of transmission resources.

[0160] In addition, when the shooting trigger conditions are met, the image preview screen is forced to be displayed, which is conducive to improving the clarity of the group photo image. At the same time, after the virtual event is over, adding a group photo session gives users a strong sense of ritual, which is conducive to improving user experience.

[0161] After obtaining the group photo image, the embodiment of the present application also supports displaying an activity weekly report to review the virtual activity, thereby encouraging users who have not participated in the virtual interaction to participate in the virtual activity next time, thereby increasing the user's stickiness to the target application. The activity weekly report will be described below, and the content not described in the embodiment of the present application can refer to the above embodiment.

[0162] Please refer to Fig. 9 , which shows a flowchart of a method for displaying images in a virtual activity provided by another embodiment of the present application. The execution subject of each step of the method may be Figure 1 For a terminal device 10 in the implementation environment of the solution shown, such as a client in the terminal device 10, the method may include the following steps (901-903).

[0163] Step 901, displaying an activity weekly report, where the activity weekly report is generated by the server based on a group photo image corresponding to the virtual activity.

[0164] The activity weekly report in the embodiment of the present application is used to report on virtual activities. The activity weekly report has a corresponding display period. For example, the activity weekly report is based on weeks, and the content of the activity weekly report is cleared at 5 o'clock every Monday. The activity weekly report can be used to report virtual activities within this week. For example, after detecting that a virtual activity has ended, the server obtains the data corresponding to the virtual activity, and updates the content of the activity weekly report for display based on the data corresponding to the virtual activity. Among them, the data corresponding to the virtual activity may include at least one of the following: the name of the virtual activity, the start time of the virtual activity, the group photo image corresponding to the virtual activity, and the activity content corresponding to the virtual activity.

[0165] Optionally, within each display cycle, the client can start multiple virtual activities. For example, if the client starts 2-4 virtual activities per week, the server needs to update the data corresponding to the multiple virtual activities to the activity weekly report. In addition, the same virtual activity may start multiple activity spaces at a time, and the data corresponding to each activity space needs to be recorded to update the activity weekly report.

[0166] In one example, the client displays the options of group photo images corresponding to various virtual activities in the activity weekly report according to the activity type during the display period. Optionally, the activity weekly report may include multiple sections, each section corresponding to a type of virtual activity, and the multiple sections are arranged according to the type of virtual activity. Each time the server obtains the data corresponding to the virtual activity, the data corresponding to the virtual activity is updated to the section corresponding to the virtual activity, such as updating the display content of the section according to the name, start time and activity content of the virtual activity, and updating the display options corresponding to the section according to the group photo image corresponding to the virtual activity, such as the option is displayed in the style of a group photo image. Among them, the option is used to view the group photo images corresponding to the virtual activity, such as the group photo images of each activity space corresponding to the virtual activity, that is, the group photo image sequence, and the group photo images in the group photo image sequence can be sorted in chronological order. Optionally, the section also includes options corresponding to virtual objects, and the user can view the information of the top n virtual objects in the virtual activity by triggering the options corresponding to the virtual objects.

[0167] For example, refer to Fig.10 and Fig.11 , the activity panel 1000 displays an option 1001 corresponding to the activity weekly report. After a period of time after the virtual activity ends, the server updates the activity data corresponding to the virtual activity into the activity weekly report. In response to the user's trigger operation on option 1001, the client displays the activity weekly report 1002. The interactive weekly report 1002 includes options for: dress-up activities, wooden man activities, party activities, and blessing activities. For each virtual activity, the options of the virtual activity are constructed with a group photo image of the virtual activity.

[0168] The user can view the group photo image corresponding to the virtual activity by triggering the option of the virtual activity. The group photo image corresponding to the virtual activity includes the group photo images in each activity space corresponding to the virtual activity.

[0169] Optionally, when the virtual activity is a flash event, the activity weekly report may also be referred to as a flash weekly report.

[0170] All user accounts logged into the client can view the weekly activity report to check and review the virtual activities, thereby ensuring the continuity of cross-server multi-person social interaction and helping to reduce the user churn rate of the target application.

[0171] Step 902: Display an option for taking a group photo in the area corresponding to the virtual activity in the activity weekly report.

[0172] That is, the client displays the option corresponding to the virtual activity in the section corresponding to the virtual activity in the weekly activity report. The option is constructed based on the group photo image corresponding to the virtual activity, such as the option displayed with the group photo image corresponding to the virtual activity as the icon.

[0173] The activity weekly report displays options corresponding to multiple virtual activities. In the initial state, the options corresponding to the multiple virtual activities are in a disabled state. In response to obtaining activity data corresponding to a virtual activity, the option corresponding to the virtual activity is switched to an activated state, that is, the user can view the virtual activity through the option.

[0174] Step 903 : in response to a trigger operation on an option, display a group photo image sequence, wherein the group photo image sequence includes group photo images of a virtual activity in different activity spaces.

[0175] Optionally, in response to a user triggering operation on any one of the multiple options, a group photo image sequence of the virtual activity corresponding to the option is displayed. The user can flip through each group photo image in the group photo image sequence to review the virtual activity.

[0176] For example, refer to Fig.12 In the user interface 1200, the group photos corresponding to the virtual activities are displayed in chronological order, and the user can view the group photos of the virtual activities in different activity spaces by flipping through the group photo image sequence 1201.

[0177] Optionally, the activity weekly report corresponds to a display period. In response to the end of the display period, the client cancels the display of the activity weekly report, such as clearing the content in the activity weekly report, and in the next week, in response to the acquisition of virtual interactive activity data, updates the display of the activity weekly report.

[0178] In summary, the technical solution provided in the embodiment of the present application supports the display of weekly activity reports for users to check and review virtual activities, group photos, etc., thereby encouraging users who have not participated in virtual activities to participate in virtual activities next time, thereby increasing user stickiness to the target application and the conversion rate of virtual activities.

[0179] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0180] refer to Fig.13 , which shows a block diagram of a display device for images in a virtual activity provided by an embodiment of the present application. The device has the function of implementing the above method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device described above, or it can be set in the terminal device. Fig.13 As shown, the device 1300 includes: an environment picture display module 1301, a prompt information display module 1302 and a group photo image display module 1303.

[0181] The environment screen display module 1301 is used to display the virtual environment screen corresponding to the virtual activity during the virtual activity. The virtual environment screen is a screen observing the virtual environment from the perspective of the first virtual object participating in the virtual activity. The virtual environment includes multiple virtual objects participating in the virtual activity.

[0182] The prompt information display module 1302 is used to display prompt information in response to the end of the virtual activity, where the prompt information is used to prompt the virtual object to go to a designated area in the virtual environment.

[0183] The group photo image display module 1303 is used to display a group photo image if the first virtual object is located in the designated area when the shooting trigger condition is met. The group photo image includes an image obtained by shooting the designated area.

[0184] In some embodiments, the group photo image display module 1303 is used to:

[0185] When the shooting trigger condition is met, if the first virtual object is located in the designated area, an image preview screen and countdown prompt information are displayed, wherein the image preview screen includes a screen obtained by observing the designated area from a first perspective;

[0186] When the countdown prompt information is completed, generating the group photo image based on the image preview screen;

[0187] The group photo image is displayed.

[0188] In some embodiments, Fig.14 As shown, the device 1300 further includes: a group photo image sending module 1304 and a group photo image receiving module 1305 .

[0189] The group photo image sending module 1304 is used to send the group photo image to a server.

[0190] The group photo image receiving module 1305 is used to receive the final group photo image from the server, where the final group photo image is selected by the server from group photo images from multiple first clients, where the first client refers to the client corresponding to the virtual object located in the designated area when the group photo image is generated.

[0191] The group photo image display module 1303 is also used to display the final group photo image.

[0192] In some embodiments, the final group photo image refers to an image containing the largest number of virtual objects among the group photos from the plurality of first clients;

[0193] Alternatively, the final group photo image refers to an image with the largest size among the group photo images from the multiple first clients.

[0194] In some embodiments, the shooting trigger condition includes:

[0195] The display duration of the prompt information is greater than or equal to the time threshold;

[0196] Alternatively, the number of virtual objects in the designated area is greater than or equal to a number threshold;

[0197] Alternatively, the virtual object in the designated area completes a designated task corresponding to the group photo image.

[0198] In some embodiments, Fig.14 As shown, the device 1300 further includes: a first control display module 1306 and a virtual object control module 1307 .

[0199] The first control display module 1306 is configured to display a first control in response to the virtual activity ending.

[0200] The virtual object control module 1307 is used to control the virtual object to go to the designated area in an automatic path-finding manner in response to the trigger operation on the first control.

[0201] The group photo image display module 1303 is further configured to highlight the designated area when the designated area appears in the virtual environment screen.

[0202] In some embodiments, the group photo image display module 1303 is further used to:

[0203] highlighting a boundary line of the designated area;

[0204] Alternatively, within the designated area, an animation based on the designated area is displayed.

[0205] In some embodiments, Fig.14 As shown, the device 1300 further includes: a preview screen display module 1308.

[0206] The preview screen display module 1308 is used to display an image preview screen when the first virtual object reaches the designated area for the first time.

[0207] Alternatively, the preview screen display module 1308 is also used to display a second control when the first virtual object does not reach the designated area for the first time; and display an image preview screen in response to a trigger operation on the second control; wherein the image preview screen includes a screen obtained by observing the designated area from a first perspective.

[0208] In one example, if Fig.14 As shown, the device 1300 further includes: an activity weekly report display module 1309 , an image option display module 1310 and an image sequence display module 1311 .

[0209] The activity weekly report display module 1309 is used to display the activity weekly report, which is generated by the server according to the group photo image corresponding to the virtual activity.

[0210] The image option display module 1310 is used to display the options of the group photo image in the area corresponding to the virtual activity in the activity weekly report.

[0211] The image sequence display module 1311 is used to display a group photo image sequence in response to a trigger operation for the option, wherein the group photo image sequence includes group photo images of the virtual activity in different activity spaces.

[0212] In one example, the activity weekly report corresponds to a display period, and there are multiple different types of virtual activities in the display period; the activity weekly report display module 1309 is used to:

[0213] During the display period, in the activity weekly report, options for group photo images corresponding to the multiple virtual activities are displayed according to the activity types;

[0214] In response to the display period ending, the activity weekly report is canceled from being displayed.

[0215] In one example, the start time of the virtual activity is randomly determined from a configured time period, and the type of the virtual activity is randomly determined from multiple types.

[0216] In one example, if Fig.14 As shown, the device 1300 further includes: a candidate region determination module 1312 , a candidate region screening module 1313 , a quality score acquisition module 1314 , a designated region acquisition module 1315 and an indication information generation module 1316 .

[0217] The candidate area determination module 1312 is used to determine a plurality of candidate areas according to the virtual environment corresponding to the virtual activity.

[0218] The candidate area screening module 1313 is used to screen the multiple candidate areas according to a first number of virtual objects participating in the virtual activity to obtain multiple screening areas, wherein the number of objects corresponding to the screening areas is greater than the first number.

[0219] The quality score acquisition module 1314 is used to acquire the quality scores corresponding to the multiple screening areas respectively, and the quality scores are used to indicate the matching degree between the screening area and the first perspective.

[0220] The designated area acquisition module 1315 is used to determine the screening area with the highest quality score among the multiple screening areas as the designated area.

[0221] The indication information generating module 1316 is used to generate the prompt information based on the designated area.

[0222] In some embodiments, the group photo image receiving module 1305 is used to receive a group photo image from a server if the shooting trigger condition is met and the first virtual object is located in the designated area. The group photo image from the server includes a picture generated by the server with a specified resolution and a first perspective for the designated area.

[0223] The group photo image display module 1303 is used to display the group photo image.

[0224] In summary, the technical solution provided by the embodiment of the present application guides multiple virtual objects participating in the virtual activity to a designated area after the virtual activity ends, and then photographs the designated area to obtain a group photo image including each virtual object in the designated area, without the need to stitch the images of each virtual object one by one to obtain the group photo image, thereby improving the efficiency of obtaining the group photo image. In addition, compared with manually stitching images, the group photo image in the embodiment of the present application can be automatically generated, and the acquisition of the group photo image is more convenient.

[0225] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0226] Please refer to Fig.15, which shows a structural block diagram of a terminal device provided by an embodiment of the present application. The terminal device can be used to implement the method for displaying images in a virtual activity provided in the above embodiment, which specifically may include the following contents.

[0227] The terminal device 1500 includes a central processing unit (such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit) and an FPGA (Field Programmable Gate Array)) 1501, a system memory 1504 including a RAM (Random-Access Memory) 1502 and a ROM (Read-Only Memory) 1503, and a system bus 1505 connecting the system memory 1504 and the central processing unit 1501. The terminal device 1500 also includes a basic input / output system (Input Output System, I / O system) 1506 for helping various devices in the server to transmit information, and a large-capacity storage device 1507 for storing an operating system 1513, an application program 1514 and other program modules 1515.

[0228] The basic input / output system 1506 includes a display 1508 for displaying information and an input device 1509 such as a mouse and a keyboard for user inputting information. The display 1508 and the input device 1509 are connected to the central processing unit 1501 through an input / output controller 1510 connected to the system bus 1505. The basic input / output system 1506 may also include an input / output controller 1510 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1510 also provides output to a display screen, a printer, or other types of output devices.

[0229] The mass storage device 1507 is connected to the central processing unit 1501 via a mass storage controller (not shown) connected to the system bus 1505. The mass storage device 1507 and its associated computer-readable medium provide non-volatile storage for the terminal device 1500. That is, the mass storage device 1507 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0230] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technology, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above. The above-mentioned system memory 1504 and mass storage device 1507 can be collectively referred to as memory.

[0231] According to the embodiment of the present application, the terminal device 1500 can also be connected to a remote computer on the network through a network such as the Internet. That is, the terminal device 1500 can be connected to the network 1512 through the network interface unit 1511 connected to the system bus 1505, or the network interface unit 1511 can be used to connect to other types of networks or remote computer systems (not shown).

[0232] The memory further includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the above-mentioned method for displaying images in virtual activities.

[0233] In some embodiments, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the method for displaying images in the above-mentioned virtual activity is implemented.

[0234] Optionally, the computer readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives) or optical disks, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0235] In some embodiments, a computer program product is further provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the terminal device executes the above-mentioned method for displaying images in a virtual activity.

[0236] It should be noted that, before collecting the relevant data of the user and during the process of collecting the relevant data of the user, the embodiment of the present application can display a prompt interface, a pop-up window or output a voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that the relevant data is currently being collected, so that the present application only starts to execute the relevant steps of obtaining the relevant data of the user after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the relevant data of the user are terminated, that is, the relevant data of the user is not obtained. In other words, all user data collected by this application are processed strictly in accordance with the requirements of the laws and regulations of relevant countries, and the informed consent or separate consent of the subject of personal information is obtained with the consent and authorization of the user. The subsequent data use and processing behavior is carried out within the scope of authorization of laws and regulations and the subject of personal information, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the virtual environment, user account, virtual activities, group photo images, etc. involved in this application are all obtained with full authorization.

[0237] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0238] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for displaying an image in a virtual activity, characterized in that: The method comprises: During the virtual activity, displaying a virtual environment screen corresponding to the virtual activity, wherein the virtual environment screen is a screen in which the virtual environment is observed from the perspective of a first virtual object participating in the virtual activity, and the virtual environment includes a plurality of virtual objects participating in the virtual activity; In response to the virtual activity ending, displaying prompt information, wherein the prompt information is used to prompt the virtual object to go to a designated area in the virtual environment; When the shooting trigger condition is met, if the first virtual object is located in the designated area, a group photo image is displayed, where the group photo image includes an image obtained by shooting the designated area.

2. The method according to claim 1, characterized in that The method of displaying a group photo image when the shooting trigger condition is met and the first virtual object is located in the designated area comprises: When the shooting trigger condition is met, if the first virtual object is located in the designated area, an image preview screen and countdown prompt information are displayed, wherein the image preview screen includes a screen obtained by observing the designated area from a first perspective; When the countdown prompt information is completed, generating the group photo image based on the image preview screen; The group photo image is displayed.

3. The method according to claim 2, characterized in that Before displaying the group photo image, the method further includes: Sending the group photo image to a server; receiving a final group photo image from the server, where the final group photo image is selected by the server from group photo images from a plurality of first clients, where the first client refers to a client corresponding to a virtual object located in the designated area when the group photo image is generated; The displaying of the group photo image comprises: The final group photo image is displayed.

4. The method according to claim 3, characterized in that The final group photo image refers to an image including the largest number of virtual objects among the group photos from the plurality of first clients; or, The final group photo image refers to an image with the largest size among the group photo images from the plurality of first clients.

5. The method according to claim 1, characterized in that The shooting trigger conditions include: The display duration of the prompt information is greater than or equal to the time threshold; or, The number of virtual objects in the designated area is greater than or equal to a number threshold; or, The virtual object in the designated area completes the designated task corresponding to the group photo image.

6. The method according to claim 1, characterized in that The method further comprises: In response to the virtual activity ending, displaying a first control; In response to a trigger operation on the first control, controlling the virtual object to go to the designated area in an automatic path-finding manner; When the designated area appears in the virtual environment screen, the designated area is highlighted.

7. The method according to claim 6, characterized in that The step of highlighting the designated area comprises: highlighting a boundary line of the designated area; or, In the designated area, an animation based on the designated area is displayed.

8. The method according to claim 1, characterized in that After displaying the prompt information in response to the virtual activity ending, the method further includes: When the first virtual object reaches the designated area for the first time, displaying an image preview screen; or, In a case where the first virtual object does not arrive at the designated area for the first time, displaying a second control; and in response to a trigger operation on the second control, displaying an image preview screen; The image preview screen includes a screen obtained by observing the designated area from a first viewing angle.

9. The method according to claim 1, characterized in that: In the case where the shooting trigger condition is met, if the first virtual object is located in the designated area, after displaying the group photo image, the method further includes: Displaying a weekly activity report, where the weekly activity report is generated by the server according to the group photo image corresponding to the virtual activity; In the area corresponding to the virtual activity in the activity weekly report, an option for displaying the group photo image; In response to a trigger operation for the option, a group photo image sequence is displayed, wherein the group photo image sequence includes group photo images of the virtual activity in different activity spaces.

10. The method according to claim 9, characterized in that The activity weekly report corresponds to a display period, and there are multiple different types of virtual activities in the display period; The method further comprises: During the display period, in the activity weekly report, options for group photo images corresponding to the multiple virtual activities are displayed according to the activity types; In response to the display period ending, the activity weekly report is canceled from being displayed.

11. The method according to claim 1, characterized in that: The start time of the virtual activity is randomly determined from a configured time period, and the type of the virtual activity is randomly determined from multiple types.

12. The method according to claim 1, characterized in that In response to the virtual activity ending, before displaying the prompt information, the method further includes: Determining a plurality of candidate areas according to a virtual environment corresponding to the virtual activity; According to a first number of virtual objects participating in the virtual activity, the plurality of candidate areas are screened to obtain a plurality of screened areas, wherein the number of objects that can be accommodated in the screened areas is greater than the first number; Acquire quality scores corresponding to the plurality of screening areas respectively, where the quality scores are used to indicate a matching degree between the screening area and the first viewing angle; Determine the screening area with the highest quality score among the multiple screening areas as the designated area; Based on the designated area, the prompt information is generated.

13. The method according to claim 1, characterized in that The method of displaying a group photo image when the shooting trigger condition is met and the first virtual object is located in the designated area comprises: When the shooting trigger condition is met, if the first virtual object is located in the designated area, receiving a group photo image from the server, wherein the group photo image from the server includes a picture generated by the server with a designated resolution and a first viewing angle for the designated area; The group photo image is displayed.

14. A display device for images in a virtual activity, characterized in that: The device comprises: An environment picture display module, used for displaying a virtual environment picture corresponding to the virtual activity during the virtual activity, wherein the virtual environment picture is a picture of observing the virtual environment from the perspective of a first virtual object participating in the virtual activity, and the virtual environment includes a plurality of virtual objects participating in the virtual activity; A prompt information display module, configured to display prompt information in response to the end of the virtual activity, wherein the prompt information is used to prompt the virtual object to go to a designated area in the virtual environment; The group photo image display module is used to display a group photo image if the first virtual object is located in the designated area when a shooting trigger condition is met. The group photo image includes an image obtained by shooting the designated area.

15. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method for displaying images in a virtual activity as described in any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the method for displaying an image in a virtual activity according to any one of claims 1 to 13.

17. A computer program product, characterized in that The computer program product comprises a computer program, the computer program is stored in a computer-readable storage medium, and a processor reads and executes the computer program from the computer-readable storage medium to implement the display of an image in a virtual activity as claimed in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Interaction method and device, electronic equipment and computer readable storage medium

    CN113318446A

  • Interface display method and device, terminal and storage medium

    CN113694515A

  • Game picture display method, device and equipment and computer readable storage medium

    CN116159306A