Data collection method and device of virtual scene, electronic device and storage medium

By displaying image acquisition controls in a virtual scene, the problem of inconvenient image data acquisition in the flight state of virtual objects is solved, achieving efficient image data acquisition and improving the user experience.

CN117666761BActive Publication Date: 2026-11-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211026110.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-25
Publication Date
2026-11-06
Estimated Expiration
2042-08-25

AI Technical Summary

Technical Problem

In virtual scenarios, when users acquire image data while the virtual object is in flight, the operation is inconvenient, affecting the flight of the virtual object or the quality of the image data.

Method used

An image acquisition control is displayed in the human-computer interaction interface. In response to the virtual object entering flight mode, image data of the virtual scene is acquired by triggering the operation.

Benefits of technology

It improves the efficiency of image data acquisition in virtual object flight mode, simplifies the operation process, and enhances human-computer interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117666761B_ABST
    Figure CN117666761B_ABST
Patent Text Reader

Abstract

The application provides a data collection method and device of a virtual scene, an electronic device and a storage medium. The method comprises: displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene comprises at least one virtual object including a first virtual object, and the first virtual object is a virtual object that can be controlled in the human-computer interaction interface; in response to the first virtual object entering a flight state, displaying an image collection control; and in response to a triggering operation on the image collection control, acquiring image data of the virtual scene, wherein the image data comprises at least one of a video and a photo. Through the application, the efficiency of collecting image data of the virtual scene when the virtual object is in the flight state can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to computer technology, and more particularly to a data acquisition method, apparatus, electronic device, and storage medium for virtual scenes. Background Technology

[0002] Display technologies based on graphics processing hardware have expanded the channels for perceiving the environment and acquiring information. In particular, virtual scene display technologies can realize diverse interactions between virtual objects controlled by users or artificial intelligence according to actual application needs. They have various typical application scenarios. For example, in virtual scenes such as games, they can simulate the real battle process between virtual objects.

[0003] Users observe virtual scenes through the viewpoint of virtual objects. When a virtual object is flying in a virtual scene, if the user wants to obtain image data of the virtual scene, they need to perform screenshot operations and control the flight of the virtual object at the same time. This operation is inconvenient and can easily affect the flight of the virtual object or the quality of the obtained image data.

[0004] There is currently no good solution for quickly acquiring image data from virtual scenes. Summary of the Invention

[0005] This application provides a data acquisition method, apparatus, electronic device, computer-readable storage medium, and computer program product for virtual scenes, which can improve the efficiency of acquiring image data of virtual scenes when virtual objects are in flight.

[0006] The technical solution of this application embodiment is implemented as follows:

[0007] This application provides a data acquisition method for a virtual scene, including:

[0008] A virtual scene is displayed in a human-computer interaction interface, wherein the virtual scene includes at least one virtual object, including a first virtual object, which is a virtual object that can be controlled in the human-computer interaction interface.

[0009] In response to the first virtual object entering flight mode, an image acquisition control is displayed;

[0010] In response to a trigger operation on the image acquisition control, image data of the virtual scene is acquired, wherein the image data includes at least one of video and photograph.

[0011] This application provides a data acquisition device for a virtual scene, including:

[0012] The display module is used to display a virtual scene in a human-computer interaction interface, wherein the virtual scene includes at least one virtual object, including a first virtual object, and the first virtual object is a virtual object that can be controlled in the human-computer interaction interface.

[0013] The display module is also used to display image acquisition controls in response to the first virtual object entering flight mode;

[0014] The data acquisition module is used to acquire image data of the virtual scene in response to a trigger operation of the image acquisition control, wherein the image data includes at least one of video and photograph.

[0015] This application provides an electronic device, including:

[0016] Memory is used to store executable instructions for a computer;

[0017] The processor, when executing computer-executable instructions stored in the memory, implements the data acquisition method for virtual scenes provided in the embodiments of this application.

[0018] This application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the data acquisition method for a virtual scene provided in this application.

[0019] This application provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, implements the data acquisition method for a virtual scene provided in this application.

[0020] The embodiments of this application have the following beneficial effects:

[0021] By intuitively displaying the image acquisition control for capturing images when the virtual object enters flight mode, users can easily trigger the image acquisition control to capture images while the virtual object is in flight mode. This allows for the acquisition of images or videos of the virtual object in flight mode with fewer operations, thus improving the efficiency of human-computer interaction. Attached Figure Description

[0022] Figure 1A This is a schematic diagram illustrating the application mode of the data acquisition method for virtual scenes provided in the embodiments of this application;

[0023] Figure 1B This is a schematic diagram illustrating the application mode of the data acquisition method for virtual scenes provided in the embodiments of this application;

[0024] Figure 2 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application;

[0025] Figures 3A to 3K This is a flowchart illustrating the data acquisition method for a virtual scene provided in an embodiment of this application;

[0026] Figure 4 This is a flowchart illustrating the data acquisition method for a virtual scene provided in an embodiment of this application;

[0027] Figures 5A to 5J This is a schematic diagram of the human-computer interaction interface provided in an embodiment of this application;

[0028] Figure 6A This is an optional flowchart illustrating a data acquisition method for a virtual scene provided in an embodiment of this application.

[0029] Figures 6B to 6E This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0031] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0032] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0033] It should be noted that in the embodiments of this application, user information, user feedback data and other related data are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0035] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0036] 1) Virtual scenes utilize the scene output by the device that is different from the real world. Visual perception of the virtual scene can be formed with the naked eye or with the assistance of the device. For example, two-dimensional images are output through a display screen, and three-dimensional images are output through stereoscopic display technologies such as stereoscopic projection, virtual reality and augmented reality. In addition, various possible hardware can be used to form various perceptions that simulate the real world, such as auditory perception, tactile perception, olfactory perception and motion perception.

[0037] 2) In response, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.

[0038] 3) Virtual objects are objects that interact in a virtual scene. They are controlled by the user or a robot program (e.g., an AI-based robot program) and can remain still, move, and perform various behaviors in the virtual scene, such as various characters in a game.

[0039] 4) Field of view: The spatial range that can be seen in a virtual scene, which can be presented through a first-person or third-person perspective. The eyes of virtual objects are implemented through virtual cameras in the virtual scene engine. For example, a virtual camera is mounted at a preset position on a virtual object (e.g., the head). The field of view of a virtual object is the observation range of its corresponding virtual camera in the virtual environment. The image data obtained based on the field of view is the image data of the virtual scene and virtual objects within the observation range.

[0040] 5) Flight state: This refers to the state in which a virtual object moves within a virtual scene by flying. Flight state includes active flight state and passive flight state. Flight methods include: the virtual object flying on its own, and the virtual object flying through a virtual flying vehicle.

[0041] 6) Virtual flying vehicles: Virtual props used in virtual scenes to carry virtual objects to fly, such as wings, Pegasus, airplanes, parachutes, rockets, or hang gliders.

[0042] This application provides a data acquisition method, a data acquisition device, an electronic device, a computer-readable storage medium, and a computer program product for virtual scenes, which can improve the efficiency of acquiring image data of virtual scenes when virtual objects are in flight.

[0043] The following describes exemplary applications of the electronic devices provided in the embodiments of this application. These electronic devices can be implemented as various types of user terminals, such as laptops, tablets, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), and in-vehicle terminals, or as servers. The following will describe exemplary applications when the device is implemented as a terminal device.

[0044] In one implementation scenario, see Figure 1A , Figure 1A This is a schematic diagram of the application mode of the data acquisition method for virtual scenes provided in the embodiments of this application. It is applicable to some application modes that can complete the relevant data calculation of virtual scenes by relying entirely on the graphics processing hardware computing power of the terminal device 400, such as stand-alone / offline games, and complete the output of virtual scenes through various types of terminal devices 400 such as smartphones, tablets and virtual reality / augmented reality devices.

[0045] As an example, types of graphics processing hardware include central processing units (CPUs) and graphics processing units (GPUs).

[0046] When visual perception of a virtual scene is formed, the terminal device 400 calculates the data required for display through graphics computing hardware, and completes the loading, parsing and rendering of the display data. The graphics output hardware outputs video frames that can form visual perception of the virtual scene. For example, two-dimensional video frames are displayed on the display screen of a smartphone, or video frames that achieve a three-dimensional display effect are projected onto the lenses of augmented reality / virtual reality glasses. In addition, in order to enrich the perceptual effect, the terminal device 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.

[0047] As an example, the terminal device 400 runs a client (such as a standalone game application). During the client's operation, it outputs a virtual scene for role-playing. The virtual scene can be an environment for game characters to interact with, such as plains, streets, valleys, etc., for game characters to fight. The first virtual object can be a game character controlled by the user, that is, the first virtual object is controlled by the real user and will move in the virtual scene in response to the real user's operation on the controller (such as touch screen, voice switch, keyboard, mouse, and joystick). For example, when the real user moves the joystick to the right, the first virtual object will move to the right in the virtual scene. It can also remain stationary, jump, and be controlled to shoot. The flight state can be the virtual object flying itself, for example, the virtual object flying by "lightness skill", the virtual object being a flying animal such as a bat or bird; the flight state can be the virtual object driving a flying vehicle (for example, the virtual object driving an airplane, hot air balloon, Pegasus, etc.), or the flying vehicle carrying the virtual object (for example, the virtual object flying by parachute). The above examples will be used to explain further.

[0048] For example, the human-computer interaction interface in the terminal device 400 displays a virtual scene 101A. The user can control the virtual object 102A to enter the flight state through the terminal device 400 and display the image acquisition control 103A. In response to the image acquisition control 103A being triggered by the user's click operation (or drag operation, etc.), the image data of the virtual scene 101A is acquired. The image data includes at least one of the following: photos and videos.

[0049] In the Figure 1B Before proceeding, let's first introduce the game modes involved in the terminal device and server collaborative implementation scheme. This scheme primarily involves two game modes: local game mode and cloud game mode. In local game mode, the terminal device and server collaboratively run the game processing logic. The player's input commands on the terminal device are partly processed by the terminal device's game logic, and partly by the server. Furthermore, the server-side game logic processing is often more complex and requires more computing power. In cloud game mode, the server handles all game logic processing, and the cloud server renders the game scene data into audio and video streams, which are then transmitted to the terminal device for display over the network. The terminal device only needs basic streaming media playback capabilities and the ability to receive player commands and send them to the server.

[0050] In another implementation scenario, see Figure 1B , Figure 1BThis is a schematic diagram of the application mode of the data acquisition method for virtual scenes provided in the embodiments of this application. It is applied to terminal device 400 and server 200, and is suitable for application modes that rely on the computing power of server 200 to complete the calculation of virtual scenes and output the virtual scenes on terminal device 400.

[0051] Taking the visual perception of forming a virtual scene as an example, server 200 calculates display data related to the virtual scene (such as scene data) and sends it to terminal device 400 via network 300. Terminal device 400 relies on graphics computing hardware to load, parse, and render the calculated display data, and relies on graphics output hardware to output the virtual scene to form visual perception. For example, it can display two-dimensional video frames on the display screen of a smartphone, or project video frames to achieve a three-dimensional display effect on the lenses of augmented reality / virtual reality glasses. As for the perception of the form of the virtual scene, it can be understood that it can be achieved with the help of the corresponding hardware output of terminal device 400, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.

[0052] As an example, the terminal device 400 runs a client (such as a standalone game application). During the client's operation, it outputs a virtual scene for role-playing. The virtual scene can be an environment for game characters to interact with, such as plains, streets, valleys, etc., for game characters to fight. The first virtual object can be a game character controlled by the user, that is, the first virtual object is controlled by the real user and will move in the virtual scene in response to the real user's operation on the controller (such as touch screen, voice switch, keyboard, mouse, and joystick). For example, when the real user moves the joystick to the right, the first virtual object will move to the right in the virtual scene. It can also remain stationary, jump, and be controlled to shoot. The flight state can be the virtual object flying itself, for example, the virtual object flying by "lightness skill", the virtual object being a flying animal such as a bat or bird; the flight state can be the virtual object driving a flying vehicle (for example, the virtual object driving an airplane, hot air balloon, Pegasus, etc.), or the flying vehicle carrying the virtual object (for example, the virtual object flying by parachute). The above examples will be used to explain further.

[0053] For example, server 200 runs the process corresponding to virtual scene 101A and synchronizes the scene data of virtual scene 101A to terminal device 400 so that the corresponding virtual scene 101A is displayed on terminal device 400. The user can control virtual object 102A to enter flight mode through terminal device 400 and display image acquisition control 103A. In response to the user's click operation (or drag operation, etc.) triggering the image acquisition control 103A, server 200 obtains the image data of virtual scene 101A and sends the obtained image data to terminal device 400. The image data includes at least one of the following: photos and videos.

[0054] In some embodiments, the terminal device 400 can implement the virtual scene data acquisition method provided in this application embodiment by running a computer program. For example, the computer program can be a native program or software module in an operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run, such as a shooting game APP; it can also be a mini-program, that is, a program that only needs to be downloaded to the browser environment to run; or it can be a game mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plugin.

[0055] Taking a computer program as an example, in actual implementation, the terminal device 400 has an application that supports virtual scenes installed and running. This application can be any of the following: a first-person shooter (FPS) game, a third-person shooter game, a virtual reality application, a 3D map application, or a multiplayer survival game. Users use the terminal device 400 to manipulate virtual objects located in the virtual scene, and these activities include, but are not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up items, shooting, attacking, throwing, and constructing virtual buildings—at least one of these. Illustratively, the virtual object can be a virtual character, such as a realistic or anime character.

[0056] This application embodiment can be implemented using database technology. A database, simply put, can be viewed as an electronic filing cabinet storing electronic files, where users can perform operations such as adding, querying, updating, and deleting data. A "database" is a collection of data stored together in a certain way, capable of being shared by multiple users, having minimal redundancy, and being independent of application programs.

[0057] A Database Management System (DBMS) is a computer software system designed to manage databases, generally possessing basic functions such as storage, retrieval, security, and backup. DBMSs can be classified according to the database model they support, such as relational or XML (Extensible Markup Language); or according to the type of computer they support, such as server clusters or mobile devices; or according to the query language used, such as Structured Query Language (SQL) or XQuery; or according to performance priorities, such as maximum scale or maximum operating speed; or other classification methods. Regardless of the classification method used, some DBMSs can cross categories, for example, simultaneously supporting multiple query languages.

[0058] In some embodiments, the server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, in-vehicle terminal, etc., but is not limited to these. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.

[0059] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. Figure 2 The terminal device 400 shown includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in the terminal device 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 440.

[0060] The processor 410 can 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, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0061] User interface 430 includes one or more output devices 431 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0062] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 410.

[0063] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.

[0064] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0065] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;

[0066] The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.

[0067] Presentation module 453 is configured to enable the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with user interface 430;

[0068] The input processing module 454 is used to detect and translate one or more user inputs or interactions from one or more input devices 432.

[0069] In some embodiments, the virtual scene data acquisition device provided in this application can be implemented in software. Figure 2 A data acquisition device 455 for a virtual scene stored in memory 450 is shown. This device can be software in the form of programs and plugins, and includes the following software modules: a display module 4551 and a data acquisition module 4552. These modules are logically connected and can therefore be arbitrarily combined or further separated according to the functions they implement. The functions of each module will be described below.

[0070] The data acquisition method for virtual scenes provided in this application will be described in conjunction with exemplary applications and implementations of the terminal devices provided in the embodiments of this application.

[0071] See Figure 3A , Figure 3A This is a flowchart illustrating the data acquisition method for virtual scenes provided in this application embodiment. The following will use a terminal device as the execution entity and will combine... Figure 3A The steps shown are explained.

[0072] In step 301, a virtual scene is displayed in the human-computer interaction interface.

[0073] Here, the virtual scene includes at least one virtual object, including a first virtual object, which is a virtual object that can be controlled in the human-computer interaction interface.

[0074] Example, combination Figure 1A To illustrate, the virtual scene is displayed on the human-computer interaction interface of the terminal device 400. The virtual scene in the game typically features different scenery, and users can obtain image data from the virtual scene through screenshots, video recordings, and other methods.

[0075] In step 302, in response to the first virtual object entering flight mode, the image acquisition control is displayed.

[0076] In some embodiments, when the image acquisition control is displayed, the motion control control (e.g., joystick, directional buttons) is displayed in the form of a floating layer; in response to a trigger operation on the motion control control, the pose parameters of the first virtual object are adjusted according to the direction corresponding to the trigger operation, wherein the pose parameters include at least one of the following: height, pitch angle, and azimuth angle.

[0077] refer to Figure 5A , Figure 5A This is a schematic diagram of the human-computer interaction interface provided in an embodiment of this application; the virtual object 506A enters a flight state, and the virtual object 506A flies actively, for example, through light-footed movement. The movement control control 507A is a joystick. The button at the center of the movement control control 507A can be pressed and dragged by the user to other positions on the joystick. Based on the distance between the center position of the joystick and the dragged position, and the direction from the center position to the dragged position, the pose parameters of the virtual object are determined. (Reference) Figure 5B The motion control 507B can also be presented as directional buttons. When different directional buttons are triggered, the virtual object flies in the corresponding direction.

[0078] For example, before entering flight mode, multiple controls, including a motion control control, are displayed in the human-computer interaction interface; in response to the first virtual object entering flight mode, the controls other than the motion control control are hidden.

[0079] For example, among multiple controls, those other than movement controls can be interactive controls (used to control the interaction between virtual objects and virtual props), crouch controls, prone controls, jump controls, shooting controls, and other action controls unrelated to flight. (See reference) Figure 5E , Figure 5E This is a schematic diagram of the human-computer interaction interface provided in an embodiment of this application; Figure 5E The virtual object 501E is in a standing state (i.e., before entering flight mode). Interactive control 502E and movement control 507A are displayed in the virtual scene. Different controls within interactive control 502E are used to control the virtual object to perform different actions, such as shooting, jumping, and reloading. Multiple controls include interactive control 502E and movement control 507A. (Continue to refer to...) Figure 5A After the virtual object enters flight mode, it hides all controls except the movement control control.

[0080] In this embodiment, by hiding the controls, computing resources are saved, excessive controls are prevented from obscuring the virtual scene, the user's visual experience of the virtual scene is improved, the user can easily find the mobile control controls, and the efficiency of human-computer interaction is improved.

[0081] In some embodiments, references Figure 3C , Figure 3C This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. Step 302 can be implemented through the following steps 3021C to 3022C.

[0082] In step 3021C, in response to the first virtual object entering flight mode, a shooting panel is displayed in the edge area of ​​the human-computer interaction interface.

[0083] Here, the shooting panel includes at least image acquisition controls.

[0084] As an example, the shooting panel is displayed as a floating layer in the edge area; the shooting panel can be transparent or semi-transparent. See further reference. Figure 5A The shooting panel 502A is located on the right edge of the human-computer interaction interface, and the image acquisition area 501A displays a motion control control 507A. The shooting panel 502A includes at least an image acquisition control 504A.

[0085] In step 3022C, at least some of the original controls in the image data acquisition area are hidden.

[0086] For example, the image data acquisition area is the area in the human-computer interaction interface excluding the edge areas. See also... Figure 5A as well as Figure 5E Compared to Figure 5A , Figure 5E All interactive controls 502E are hidden, leaving only the motion control control 507A.

[0087] Continue to refer to Figure 3C After step 3022C, the display controls can be restored through step 3023C.

[0088] In step 3023C, in response to the end of the flight state of the first virtual object, at least some of the hidden controls in the image data acquisition area are displayed, and the shooting panel is hidden.

[0089] For example, when the first virtual object enters flight mode, the camera panel is displayed, and controls not needed in flight mode are hidden. When the first virtual object ends flight mode, the camera panel is hidden, and the previously hidden controls are displayed. When flight mode ends, the human-computer interaction interface... Figure 5A Switch back to the state Figure 5E The original controls will be restored to their original state.

[0090] In this embodiment, by entering and exiting the flight state, the display and hiding of controls in the virtual scene can be flexibly switched, making it convenient for users to take screenshots while the virtual object is in flight state, without affecting the motion control of the virtual object in other motion states, thus improving the efficiency of human-computer interaction. In flight state, hiding unnecessary controls removes useless information from the human-computer interaction interface, resulting in cleaner image data of the captured virtual scene.

[0091] In some embodiments, in response to the first virtual object entering a flight state, and the flight state being an active flight state, a landing control is displayed; in response to a trigger operation on the landing control, the first virtual object is controlled to land in the virtual scene.

[0092] For example, please continue to refer to [the example]. Figure 5A The landing control 505A is displayed in the shooting panel 502A. Active flight state refers to flight actively executed by the virtual object, such as when the virtual object uses "lightweight skill" to fly, or when the virtual object drives a virtual vehicle (e.g., an airplane, a Pegasus, a hang glider, etc.). Non-active flight state refers to flight where the virtual object has no control over its flight, such as when a preset transition animation is played, and the virtual object flies according to a pre-designed path; in this case, the movement control and landing controls are not displayed.

[0093] refer to Figure 5D , Figure 5D This is a schematic diagram of the human-computer interaction interface provided in the embodiment of this application; the virtual object 502D is carried by the virtual vehicle 501D for flight. Since the virtual object 502D does not have control authority over the virtual vehicle 501D, the human-computer interaction interface does not display movement control controls and landing controls.

[0094] In some embodiments, when the image acquisition control is displayed, an image status control in a first display mode is displayed. The first display mode represents one of the states of the first virtual object in the virtual scene, either a displayed state or a hidden state. In response to a trigger operation on the image status control, the image status control switches from the first display mode to a second display mode, where the second display mode represents another state of the first virtual object, either a displayed state or a hidden state.

[0095] For example, please continue to refer to [the example]. Figure 5A Image status control 503A is displayed in the shooting panel 502A. Image status control 503A corresponds to two different icons: an icon for the displayed state and an icon for the hidden state. When image status control 503A is displayed with the icon corresponding to the displayed state, virtual object 506A is in the displayed state. (Reference) Figure 5B , Figure 5BThis is a schematic diagram of the human-computer interaction interface provided in this application embodiment; the image status control 503B can also be displayed in the form of a switch, with the icon of the switch being on corresponding to the display state, and vice versa, the icon of the switch being off corresponding to the hidden state. When the image status control 503B is displayed with the icon corresponding to the hidden state, the model of the virtual object is replaced with a transparent model, thus presenting a hidden state. The transparent model of the virtual object is located in the corresponding position (position 506B of the virtual object).

[0096] The hidden state of a virtual object can be achieved by replacing the virtual object's model with a transparent model. Even when the first virtual object is hidden, its pose can still be controlled using motion controls. In response to a trigger operation on the motion controls, the pose parameters of the first virtual object are adjusted according to the direction of the trigger operation, and the field of view corresponding to the first virtual object is displayed based on the adjusted pose parameters.

[0097] In some embodiments, when displaying the image acquisition control, refer to Figure 3D , Figure 3D This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. The method can achieve one-click switching of the virtual object's state and image data acquisition through the following steps 3041D to 3043D, which are described in detail below.

[0098] In step 3041D, the image status control in the first display mode is displayed.

[0099] For example, the first display mode represents a state in which the first virtual object is either in a displayed state or a hidden state in the virtual scene.

[0100] In step 3042D, in response to the association operation between the image status control and the image acquisition control, the associated control connecting the image status control and the image acquisition control is displayed.

[0101] For example, a linked operation could be achieved by dragging the image status control and the image acquisition control to the same position between them using two fingers. (See reference) Figure 5H , Figure 5H This is a schematic diagram of the human-computer interaction interface provided in an embodiment of this application; the associated control 501H is located between the image status control 503A and the image acquisition control 504A, connecting the two controls together. The associated control 501H includes the functions corresponding to the image status control 503A and the image acquisition control 504A.

[0102] In some embodiments, the display of associated controls can be preset through settings options, simultaneously displaying image acquisition controls, associated controls, and image status controls.

[0103] In step 3043D, in response to a trigger operation on the associated control, the display status control switches from the first display mode to the second display mode.

[0104] Here, the second display mode represents another state between the first virtual object being in a displayed state and a hidden state. For example, when the image state control is displayed in the first display mode corresponding to the displayed state, in response to a trigger operation on the associated control, the image state control switches to the second display mode, and the virtual object is hidden, while image data of the virtual scene begins to be acquired.

[0105] In this embodiment, the image data acquisition and virtual object state switching functions can be realized with one click through the associated control, making the operation simpler and improving the efficiency of image data acquisition.

[0106] In some embodiments, when displaying the image acquisition control, refer to Figure 3E , Figure 3E This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. The method can achieve one-click switching of the virtual object's state and image data acquisition through the following steps 3041E to 3043E, which are described in detail below.

[0107] In step 3041E, the image status control in the first display mode is displayed.

[0108] Here, the first display mode represents a state in which the first virtual object is either in a displayed state or a hidden state in the virtual scene.

[0109] For example, the execution of step 3041E is the same as that of step 3041D, and will not be repeated here.

[0110] In step 3042E, in response to a combined operation on the image status control and the image acquisition control, the combined control is displayed.

[0111] Here, the combined control includes the functions of the image status control and the image acquisition control.

[0112] For example, a combination operation can be achieved by dragging either the image status control or the image acquisition control to the position of the other control pair. After being dragged, the corresponding combined control is displayed in the shooting panel. (See reference) Figure 5I , Figure 5I This is a schematic diagram of the human-computer interaction interface provided in the embodiment of this application; dragging the image acquisition control 504A onto the image status control 503A will display the combination control 501I above the image status control 503A.

[0113] In step 3043E, in response to a trigger operation on the composite control, the display status control switches from the first display mode to the second display mode.

[0114] Here, the second display mode represents another state in which the first virtual object is in a displayed state and a hidden state.

[0115] In some embodiments, after combining two controls into one control, the original control may not be displayed, saving space for arranging controls in the human-computer interaction interface.

[0116] In this embodiment, image data acquisition and virtual object state switching are achieved with a single click using a combination of controls, making the operation simpler and improving the efficiency of image data acquisition. It also saves space in the human-computer interaction interface for placing controls, avoids obstructing the virtual scene, and improves the visual experience.

[0117] In step 303, in response to a trigger operation on the image acquisition control, image data of the virtual scene is acquired.

[0118] Here, image data includes at least one of video and photograph.

[0119] For example, when the image capture control is triggered, it can acquire a photo of a virtual scene; or, it can record a video of a virtual scene; or, it can take one or more photos while recording a video.

[0120] Example, combination Figure 1A Taking the method for data acquisition of a virtual scene provided in this application embodiment, which is independently implemented by a terminal device 400, as an example, the layers corresponding to the images presented in the human-computer interaction interface include: the layer corresponding to the controls, the virtual scene, and the layer corresponding to the virtual objects. The image data acquired by the terminal device 400 can be image data of the virtual scene including the controls, or image data of the virtual scene not including the controls. The display or hiding of virtual objects can be controlled by the corresponding controls during the shooting process to acquire image data including or not including virtual objects.

[0121] Example, combination Figure 1B The following explanation uses the method of data acquisition for a virtual scene provided in this application embodiment, achieved through collaboration between terminal device 400 and server 200, as an example. If image data acquisition is performed by terminal device 400, the method is the same as described above and will not be repeated here. If image data acquisition is performed by server 200, server 200 runs the process corresponding to the virtual scene, which can separate the virtual scene from the virtual object. Therefore, the image data obtained by server 200 can include at least image data of the virtual scene. After obtaining the image data, server 200 sends the image data to terminal device 400.

[0122] In some embodiments, reference Figure 3B , Figure 3B This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. Step 303 can be implemented through the following steps 3031B to 3032B. The execution order of step 3032B and step 3031B is not important.

[0123] In step 3031B, in response to a first trigger operation on the image acquisition control, a first image acquisition result of the virtual scene is obtained.

[0124] In step 3032B, in response to a second trigger operation on the image acquisition control, a second image acquisition result of the virtual scene is obtained.

[0125] Here, the triggering method of the first triggering operation differs from that of the second triggering operation, and the types of the first and second image acquisition results are different. For example, the first triggering method is a long press, the second triggering method is a short press, the first image acquisition result is a photo and a video, and the second image acquisition result is a photo.

[0126] In some embodiments, the triggering method of the first triggering operation and the triggering method of the second triggering operation are any two of the following triggering methods:

[0127] Method 1: Long press; for example, a long press lasts for 2 seconds.

[0128] Method 2: Short press, where the duration of a short press (e.g., 0.5 seconds) is shorter than the duration of a long press.

[0129] Method 3: Single trigger; for example: a single click.

[0130] Method 4: Triggering multiple times in succession; for example: clicking multiple times in succession.

[0131] Method 5: Slide in the first direction; for example: if the first direction is upward, slide in the first direction by pressing and holding the image acquisition control and moving it upward.

[0132] Method 6: Slide in the second direction, which is different from the first direction. For example, if the second direction is downward, then sliding in the second direction means pressing and holding the image acquisition control and moving it downward.

[0133] In this application, by triggering different data acquisition functions in different ways for the same control, multiple functions can be implemented using a single control. On the one hand, this saves the area of ​​the human-computer interaction interface where controls are placed, avoids too many controls from obscuring the human-computer interaction interface, and makes the visual experience better. On the other hand, by implementing the data acquisition function through the same control, it saves the time that users spend searching for different functional controls in the human-computer interaction interface, without having to move their fingers, making the operation simpler.

[0134] In some embodiments, the image acquisition control includes a video sub-control and an image sub-control; step 303 can be implemented as follows: in response to a trigger operation on the video sub-control, acquire video of the virtual scene; in response to a trigger operation on the image sub-control, acquire at least one photograph of the virtual scene (i.e., a single shot or multiple shots taken consecutively). Reference Figure 5F , Figure 5F This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application; the shooting panel 501F is located in the lower edge area of ​​the human-computer interaction interface, and the shooting panel 501F includes a video sub-control 502F and an image sub-control 503F.

[0135] In this embodiment of the application, the image acquisition control is set as a sub-control with different functions, which makes it easier to distinguish the functions and facilitates user operation.

[0136] In some embodiments, reference Figure 3G , Figure 3G This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. Step 303 can be implemented through the following steps 3031G to 3032G, which are described in detail below.

[0137] In step 3031G, the countdown control is displayed.

[0138] Example, reference Figure 5J , Figure 5J This is a schematic diagram of the human-computer interaction interface provided in this application embodiment; a countdown control 501J is displayed in the virtual scene, and the countdown control 501J displays the prompt message: "5 seconds left to enter shooting," where 5 seconds is the countdown duration. The countdown control is used to automatically trigger the waiting time of the image acquisition control to count down. Players can stop the countdown before it ends (for example, by clicking the countdown control or a location other than the countdown control to trigger the countdown to stop), thereby canceling the automatic triggering of image data acquisition from the virtual scene.

[0139] In step 3032G, in response to the end of the countdown of the countdown control, the image data of the virtual scene is acquired.

[0140] For example, the method of obtaining image data of the virtual scene has been explained in step 303 above and will not be repeated here.

[0141] In some embodiments, after step 3032G, the acquisition of images of the virtual scene can be stopped in any of the following ways:

[0142] Method 1: In response to the end of the flight state of the first virtual object, stop acquiring image data of the virtual scene. For example, if the first virtual object lands on the ground in the virtual scene, then the flight state ends and the acquisition of image data of the virtual scene stops.

[0143] Method 2: In response to the end of the acquisition operation, stop acquiring image data from the virtual scene. For example, ending the acquisition operation could be a long press or click on the image acquisition control. For instance, during automatic recording, a long press on the image acquisition control stops recording.

[0144] In some embodiments, reference Figure 3H , Figure 3H This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. Step 303 can be implemented through the following steps 3031H, which are described in detail below.

[0145] In step 3031H, in response to the fulfillment of the image acquisition conditions, image data of the virtual scene is acquired.

[0146] The image acquisition conditions include at least one of the following:

[0147] Condition 1: The time interval since the last image acquisition reaches a time threshold; the time threshold can be 20 seconds, for example: when a virtual object is in flight mode, a photo of the virtual scene is taken every 20 seconds to obtain a photo.

[0148] Condition 2: There is a change in the scenery within the field of view corresponding to the first virtual object. For example: an obstruction changes to an unobstructed one; new scenery (e.g., a lake, a mountain peak) appears in the field of view.

[0149] Condition 3: The weather in the virtual scene changes. For example, the virtual scene changes from sunny to cloudy, rainy, etc.

[0150] Condition 4: The height change of the first virtual object is greater than the height threshold. For example, if the height threshold is 3 meters, a photo is taken every time the virtual object descends or rises 3 meters; or, recording begins when the height of the first virtual object differs from the last time recording stopped by 3 meters.

[0151] In this application, the image data of the virtual scene is obtained by using the parameters of the virtual object and the virtual scene as conditions, which improves the efficiency of obtaining image data and facilitates the acquisition of different scenes in the virtual scene, preventing users from missing exciting moments in the game and enhancing the gaming experience.

[0152] In some embodiments, reference Figure 3I , Figure 3I This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. Step 303 can be implemented through the following steps 3031I to 3032I, which are described in detail below.

[0153] In step 3031I, in response to the fact that the pose parameters of the first virtual object are the same as those of the first virtual object during the previous image acquisition, a countdown control is displayed.

[0154] For example, the countdown control is used to automatically trigger the image acquisition control's waiting time for a countdown; the countdown control has already been explained in step 3031G and will not be repeated here. The pose parameters of the first virtual object include at least one of the following: flight speed, pitch angle, and motion.

[0155] In step 3032I, in response to the end of the countdown of the countdown control, image data of the virtual scene is acquired based on the acquisition parameters used in the previous image acquisition.

[0156] When the image data is video, the acquisition parameters include at least one of the following: recording duration (e.g., 2 minutes); recording perspective (e.g., first-person perspective, third-person perspective); the flight distance of the first virtual object during the recording process (e.g., 20 meters); the start time and end time of the recording (e.g., the start time of the recording is the first second of each minute, and the end time is the last second of each minute).

[0157] When the image data is a photograph, the acquisition parameters include at least one of the following: number of photos taken (e.g., one or three); shooting perspective (e.g., first-person perspective, third-person perspective); and shooting time (e.g., the shooting time is the first second of every minute).

[0158] Assuming the image data is a picture, the acquisition parameters include the shooting perspective (first-person view), the number of shots taken (2), and the pose parameter of the virtual object being its action. If the virtual object's action is the same as the action in the previous shot, then two shots are taken from the first-person view. Users can obtain different images of the virtual object performing the same action using the above method, and then select the best image from them.

[0159] In this embodiment, the pose parameters of the virtual object are the same as those of the previous image acquisition, and the image acquisition is performed using the same method as the previous image acquisition. This reuses the shooting techniques used previously, making it easier for users to obtain more photos or videos, and making it easier for users to select their favorite image data. This improves the convenience of obtaining image data and saves computing resources.

[0160] In some embodiments, reference Figure 3J , Figure 3J This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. Step 303 can be implemented through the following steps 3031J to 3032J, which are described in detail below.

[0161] In step 3031J, in response to the fact that the feature parameters of the first virtual object are the same as those during the last image acquisition, a countdown control is displayed.

[0162] For example, the countdown control is used to automatically trigger the image acquisition control's waiting time for a countdown. The countdown control has already been described in step 3031G and will not be repeated here. The characteristic parameters of the first virtual object include at least one of the following: the height of the first virtual object; the task performed by the first virtual object; and the map in which the first virtual object is located within the virtual scene.

[0163] In step 3032J, in response to the end of the countdown of the countdown control, image data of the virtual scene is acquired based on the acquisition parameters used in the previous image acquisition.

[0164] The execution of step 3032J is the same as that of step 3032I, and will not be described in detail here.

[0165] When the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; flight distance of the first virtual object during recording; recording start time and ending time. When the image data is photograph, the acquisition parameters include at least one of the following: number of photos; photo angle; photo time.

[0166] In this embodiment, the virtual object's feature parameters are the same as those of the previous image acquisition, and the image acquisition method is used to recreate the previously used shooting techniques. This makes it easier for users to obtain more photos or videos, and to select their favorite image data. It also improves the convenience of obtaining image data and saves computing resources.

[0167] In some embodiments, reference Figure 3K , Figure 3KThis is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. After step 301, image data of the virtual scene can be acquired through steps 3011 to 3012, as detailed below.

[0168] In step 3011, in response to the first virtual object entering flight mode, a list of image acquisition modes is displayed.

[0169] For example, the image acquisition mode list includes multiple image acquisition modes, each with different acquisition parameters. At least one of the multiple image acquisition modes includes the acquisition parameters used during the last image acquisition. Image acquisition modes can be obtained in the following ways: pre-input by the user; image acquisition mode learned from image acquisition tutorial videos obtained from the internet; or acquisition parameters used by the user in recent image acquisitions (including the last image acquisition) based on historical image acquisition records.

[0170] refer to Figure 5G , Figure 5G This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application; wherein the image acquisition mode list 501G contains multiple image acquisition modes, and the user can select the option corresponding to the image acquisition mode ( Figure 5G It includes four image acquisition modes: 1, 2, 3, and 4.

[0171] In step 3012, in response to the selection operation of an image acquisition mode in the image acquisition mode list, image data of the virtual scene is acquired based on the acquisition parameters corresponding to the image acquisition mode selected by the selection operation.

[0172] For example, the selected image acquisition mode can be displayed in different ways; please refer to [link / reference]. Figure 5G Image acquisition mode 3 is selected and displayed with a color that distinguishes it from the options corresponding to other image acquisition modes.

[0173] When the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; flight distance of the first virtual object during recording; recording start time and ending time. When the image data is photograph, the acquisition parameters include at least one of the following: number of photos; photo angle; photo time.

[0174] For example, if the image data corresponding to image acquisition mode 3 is video, then after the user selects image acquisition mode 3, the virtual scene video will be recorded based on the recording duration and recording angle corresponding to image acquisition mode 3. During the recording process, the user can switch the display or hiding state of the virtual object at any time by triggering the image status control.

[0175] In some embodiments, image data is stored in a cache space; Reference Figure 3F , Figure 3F This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. After step 303, the acquired image data can be deleted or saved through steps 3051 to 3053, as detailed below.

[0176] In step 3051, the save control is displayed.

[0177] For example, the save control can be displayed on the save page or directly in the virtual scene.

[0178] In step 3052, in response to a trigger operation on the save control, the image data in the cache space is transferred to the non-volatile storage space.

[0179] refer to Figure 5C , Figure 5C This is a schematic diagram of the human-computer interaction interface provided in this application embodiment; the human-computer interaction interface of the terminal device 400 displays a thumbnail 502C and a save control 501C. Assuming the acquired image data is a photograph, thumbnail 502C is a thumbnail of the photograph. Assuming the acquired image data is a video, thumbnail 502C is a thumbnail of at least one frame from the video.

[0180] Example, combination Figure 1A To explain further, the terminal device 400 includes a cache space and a non-volatile storage space. The acquired image data is temporarily stored in the cache space, and when the save control is triggered, the image data is transferred to the non-volatile storage space.

[0181] In some embodiments, combined with Figure 1B To explain, when the server 200 performs the image acquisition operation, the image data is temporarily stored in the cache space of the server 200. When the save control is triggered, the image data is sent to the terminal device 400 and saved in the non-volatile storage space of the terminal device 400.

[0182] In step 3053, in response to a trigger operation targeting any location other than the save control, the image data in the cache space is deleted.

[0183] For example, please continue to refer to [the example]. Figure 5C Users can view the thumbnail 502C to determine the status of the acquired image data. If users are not satisfied with the acquired image data, they can delete the image data temporarily stored in the cache control by clicking anywhere except the save control.

[0184] In this embodiment, after acquiring image data, the image can be saved or deleted, and all captured image data can be stored, thus saving storage space.

[0185] In some embodiments, reference Figure 4 , Figure 4 This is a flowchart illustrating the data acquisition method for a virtual scene provided in this application embodiment. When the first virtual object is in flight mode, the pose parameters of the virtual object can be controlled through the following step 306, which will be explained in detail below.

[0186] In step 306, in response to the rotation operation, the pose parameters of the first virtual object are adjusted based on the rotation angle corresponding to the rotation operation.

[0187] For example, the pose parameters include at least one of the following: altitude, pitch angle, and azimuth angle.

[0188] Continue to refer to Figure 4 Step 306 can be achieved through the following steps 3061 to 3063.

[0189] In step 3061, when the rotation operation is performed around a rotation axis perpendicular to the human-computer interaction interface, the height of the first virtual object is adjusted based on the rotation angle corresponding to the rotation operation.

[0190] Example, combination Figure 1A or Figure 1B To explain further, the terminal device 400 has a built-in gyroscope or other device capable of sensing the tilt angle of the terminal device 400. (Reference) Figure 6B , Figure 6B This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application. Figure 6B The diagram illustrates the coordinate axes corresponding to the human-computer interaction interface 601B of the terminal device 400. O is the intersection of the three axes; the Z-axis is the rotation axis perpendicular to the human-computer interaction interface; the Y-axis is the horizontal rotation axis parallel to the human-computer interaction interface; and the X-axis is the vertical rotation axis parallel to the human-computer interaction interface.

[0191] refer to Figure 6C , Figure 6C This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application. Figure 6C L2 is a horizontally parallel straight line before the terminal device rotates around the Z-axis, and L1 is a horizontally parallel straight line after the terminal device rotates around the Z-axis. The virtual object 601C adjusts its flight altitude according to the rotation angle Z1 corresponding to the rotation operation. Figure 6C The flight altitude of the virtual object 601C decreases with clockwise rotation around the Z-axis. Conversely, the flight altitude of the virtual object 601C increases with counterclockwise rotation around the Z-axis.

[0192] In step 3062, when the rotation operation is performed around a rotation axis parallel to the horizontal direction of the human-computer interaction interface, the pitch angle of the first virtual object is adjusted based on the rotation angle corresponding to the rotation operation.

[0193] Example, reference Figure 6D , Figure 6D This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application. Figure 6D L3 is a vertically parallel straight line before the terminal device rotates around the Y-axis, and L4 is a vertically parallel straight line after the terminal device rotates around the Y-axis. The virtual object 601C adjusts its pitch angle according to the rotation angle Y1 corresponding to the rotation operation. Figure 6D The pitch angle of the virtual object 601C increases with clockwise rotation around the Y-axis. Conversely, the pitch angle of the virtual object 601C increases with counterclockwise rotation around the Y-axis.

[0194] In step 3063, when the rotation operation is performed around a rotation axis that is parallel to the vertical direction of the human-computer interaction interface, the orientation angle of the first virtual object is adjusted based on the rotation angle corresponding to the rotation operation.

[0195] Example, reference Figure 6E , Figure 6E This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application. Figure 6E L6 represents the position of the horizontally parallel straight line before the terminal device rotates around the X-axis, and L5 represents the position of the horizontally parallel straight line after the terminal device rotates around the X-axis. The virtual object 601C adjusts its orientation angle according to the rotation angle X1 corresponding to the rotation operation. The change in orientation angle is positively correlated with the angle X1.

[0196] In this embodiment, the pose parameters of a virtual object in flight state are controlled by rotation operation, which improves the efficiency of human-computer interaction and makes the operation more convenient.

[0197] In some embodiments, when the first virtual object enters a flight state, in response to a third trigger operation targeting any location in the human-computer interaction interface, image data of the virtual scene is acquired; wherein the third trigger operation includes at least one of the following: joint click; joint double click; or sliding in a third direction with a joint.

[0198] In this embodiment, an image acquisition control for capturing images is intuitively displayed when the virtual object enters flight mode. This makes it easier for users to locate the control and capture images during flight. This allows for the acquisition of images or videos of the virtual object in flight mode with fewer operations, improving human-computer interaction efficiency. Furthermore, the image acquisition control can be reused to achieve various functions, saving space in the human-computer interface, enhancing the user's visual experience of the virtual scene, and conserving the computing resources required for the terminal device to perform image acquisition.

[0199] The following will describe an exemplary application of the virtual scene data acquisition method provided in this application embodiment in a real-world application scenario.

[0200] For example, the virtual scene can be a game scene, the user can be a player, and the terminal device can be a mobile phone. Using the example above as a guide, when a virtual object is in flight, due to its relatively high altitude, it is usually an important scene showcasing game visuals. In such scenarios, users typically have a strong desire to take photos and share them. Currently, in common flight gameplay and modes in mobile games, the image of the flying virtual object is usually fixed in the center of the screen by default, which obstructs the view and affects the shooting effect to some extent. This is not suitable for users who want to capture beautiful, purely scenic scenes and videos. In related technologies, the screenshot entry for virtual objects in flight is deeply hidden in the function menu, making it difficult to control the flight state simultaneously; using the phone's built-in shortcut keys for screenshots is prone to accidental operation.

[0201] When a user plays a game on their mobile phone, controlling a virtual object to fly within a virtual scene, if the user wants to capture the virtual object's flight posture or the beautiful scenery of the virtual scene in which the virtual object is located, this can be achieved using the virtual scene data acquisition method provided in this application embodiment. When the virtual object is in flight mode, an image acquisition control is automatically displayed. Triggering the image acquisition control allows the acquisition of image data of the virtual object in flight mode, enabling the user to easily obtain image data (at least one of video or photo) of the virtual scene with a single click.

[0202] refer to Figure 6A , Figure 6A This is an optional flowchart illustrating a data acquisition method for a virtual scene provided in an embodiment of this application. The following is combined with... Figure 1B Taking the server 200 and terminal device 400 shown in the figure as an example to implement the data acquisition method of the virtual scene provided in the embodiment of this application, the following is an example: Figure 6A The steps in the document will be explained.

[0203] refer to Figure 5E , Figure 5E This is a schematic diagram of the human-computer interaction interface provided in an embodiment of this application; Figure 5E The virtual object 501E is in a standing position, and interactive controls 502E and movement control controls 507A are displayed in the virtual scene. Different controls in interactive control 502E are used to control the virtual object to perform different actions, such as shooting, jumping, and reloading.

[0204] In step 601A, the aircraft enters flight mode.

[0205] For example, the first virtual object is a virtual object controlled by a real user. The first virtual object can enter flight mode in the following ways: by being carried by a vehicle (e.g., by a bird virtual object grabbing the first virtual object to fly), by flying actively on its own (e.g., "lightweight skill"), or by piloting a vehicle (e.g., the virtual object piloting an airplane or spaceship). Reference Figure 5A , Figure 5A This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application; the virtual object 506A enters the flight state, and the virtual object 506A flies by itself, for example: light-footed kung fu.

[0206] For example, after step 601A, steps 606A and 602A are executed. Steps 606A and 602A are not in any particular order.

[0207] In step 602A, it is determined whether to actively fly. If the result is yes, step 603A is executed, followed by step 604A. If the result of step 602A is no, step 604A is executed directly.

[0208] For example, flight states include active flight states and inactive flight states. The type of flight state of a virtual object can be determined by how it enters that state. For instance, if a virtual object enters flight state by performing a task, and its movement cannot be actively controlled after entering flight state, then it is not in active flight. Conversely, if the virtual object can be controlled by movement controls (such as directional buttons, joysticks, etc.) after entering flight state, then it is in active flight.

[0209] refer to Figure 5D , Figure 5D This is a schematic diagram of the human-computer interaction interface provided in the embodiment of this application; the virtual object 502D is carried by the virtual vehicle 501D for flight. Since the virtual object 502D does not have control authority over the virtual vehicle 501D, the human-computer interaction interface does not display movement control controls and landing controls.

[0210] In step 603A, the landing control is displayed.

[0211] For example, if the virtual object is in active flight mode, a landing control will be displayed in the shooting panel; if the virtual object is not in active flight mode, the landing control will not be displayed. See also... Figure 5A The landing control 505A is located in the shooting panel 502A. When the landing control 505A is triggered, the virtual object 506A lands in the virtual scene.

[0212] In step 604A, it is determined whether to end the flight. If the determination result is yes, step 605A is executed. If the determination result of step 604A is no, step 606A is executed.

[0213] For example, server 200 can determine whether a virtual object has ended its flight in the following ways: if the distance between the virtual object's center of gravity and the ground surface of the virtual scene is less than or equal to a distance threshold (e.g., the height of the virtual object), then the virtual object has ended its flight. If the distance between the virtual object's center of gravity and the ground surface of the virtual scene is greater than the distance threshold, then the virtual object is in flight.

[0214] In step 605A, the flight is terminated.

[0215] For example, ending a flight can be achieved by the virtual object landing on the ground of the virtual scene; or by switching the virtual object's current position to the position it was in before entering flight mode.

[0216] In step 606A, the image acquisition control and the image status control are displayed.

[0217] For example, after the virtual object enters flight mode, unnecessary interactive controls are automatically hidden, leaving only the movement control controls. These controls are used to control the virtual object's movement direction (including controlling any of the following parameters: pitch angle, yaw angle, and altitude). A camera panel automatically appears at the edge of the human-computer interface. This panel includes landing controls, image acquisition controls, and image status controls. When the image acquisition controls are triggered, image data from the virtual scene is acquired. When the image status controls are triggered, the virtual object is hidden or shown according to its corresponding display mode.

[0218] Continue to refer to Figure 5A The motion control 507A is a joystick, and the shooting panel 502A displays the image acquisition control 504A and the image status control 503A. The two display modes of the image status control 503A correspond to different display states of the virtual object.

[0219] For image acquisition controls, different triggering methods can be used, each corresponding to the acquisition of different types of data. For example, taking a photo is triggered using the first triggering method, while recording a video is triggered using the second triggering method. The first and second triggering methods are different, and the triggering method can be any two of the following: a short click; a long press (more than 2 seconds); a double click; or dragging the control in different directions.

[0220] For example, when recording video, the image capture control flashes a notification, and the text "Recording" flashes below the image capture control. Clicking the image capture control again will end the recording.

[0221] For example, after step 606A, steps 607A and 609A are executed. Steps 607A and 609A are not in any particular order.

[0222] In step 607A, it is determined whether to display the virtual object. If the result of step 607A is yes, step 608A is executed to display the virtual object. If the result of step 607A is no, step 610A is executed to hide the virtual object.

[0223] For example, the display mode of the avatar status control determines whether to display the virtual object. (See reference) Figure 5A If the current status control 503A displays the icon corresponding to the current status, then a virtual object will be displayed.

[0224] For example, when a virtual object is hidden, its actions can still be controlled by the user (e.g., controlling flight direction). Hiding a virtual object can be achieved by the server 200 replacing the virtual object's model with a transparent model.

[0225] For example, even when a virtual object is hidden, the virtual camera is still attached to the virtual object. That is, when the virtual object is within the human-computer interaction interface (or elsewhere), and its current model is transparent, without the virtual object obstructing the view, the entire game scene can be displayed on the human-computer interaction interface, allowing users to capture beautiful scenery from the virtual scene. (Reference) Figure 5B , Figure 5B This is a schematic diagram of the human-computer interaction interface provided in the embodiments of this application; when the image status control 503B is triggered, the position of the virtual object 506B relative to... Figure 5A There is no change, but the model of virtual object 506B is replaced with a transparent model, so virtual object 506B cannot be seen, creating the visual effect of hiding virtual object 506B.

[0226] In step 609A, it is determined whether to take a picture. If the result of step 609A is yes, step 613A is executed. If the result of step 609A is no, step 611A is executed.

[0227] In step 611A, it is determined whether to record video. If the determination result is yes, proceed to step 614A. If the determination result is no, continue to step 606A.

[0228] In step 613A, a photo of the virtual scene is acquired.

[0229] For example, when server 200 and terminal device 400 collaborate to implement the virtual scene data acquisition method provided in this application embodiment, server 200 acquires a photo of the virtual scene and sends the photo to terminal device 400. In photo or video recording mode, the actual shooting range of the client is slightly smaller than the full-screen range of the human-computer interaction interface. In flight mode, the shooting panel is located at the edge of the human-computer interaction interface and will not be included in the video recording or photo. (Continue to refer to...) Figure 5A The shooting panel 502A is located at the edge of the human-computer interaction interface, and the area outside the shooting panel 502A is the image acquisition area 501A. The resulting virtual scene photograph is the image within the image acquisition area 501A.

[0230] For example, if step 610A is executed before step 613A, the image of the virtual scene is acquired while the virtual object is hidden. If step 608A is executed, the image of the virtual scene is acquired while the virtual object is displayed.

[0231] In step 614A, the video of the virtual scene is acquired.

[0232] When server 200 and terminal device 400 collaborate to implement the virtual scene data acquisition method provided in this application embodiment, server 200 acquires video of the virtual scene and sends the video of the virtual scene to terminal device 400. (See reference...) Figure 5A During video recording, a "Recording in progress" message is displayed. Users can stop recording at any time by clicking the message or the image capture control. During recording, users can also click the minimized image status control at the edge of the human-computer interaction interface to dynamically switch the virtual object's display or hiding state at any time.

[0233] For example, if step 610A is executed before step 614A, the video of the virtual scene is acquired while the virtual object is hidden. If step 608A is executed, the video of the virtual scene is acquired while the virtual object is displayed.

[0234] In step 615A, it is determined whether to save the file. If the result is yes, step 617A is executed; if the result is no, step 616A is executed.

[0235] For example, when the acquisition of images or videos from the virtual scene is complete, a save control is displayed in the virtual scene. Whether to save the file is determined by checking if the save control is triggered. (Reference) Figure 5C , Figure 5C This is a schematic diagram of the human-computer interaction interface provided in this application embodiment; the human-computer interaction interface of the terminal device 400 displays a thumbnail 502C and a save control 501C. Assuming the acquired image data is a photograph, thumbnail 502C is a thumbnail of the photograph. Assuming the acquired image data is a video, thumbnail 502C is a thumbnail of at least one frame from the video.

[0236] In step 616A, the cache file is deleted.

[0237] For example, a save control is displayed in the human-computer interaction interface within a preset time (e.g., 5 seconds). If the save control is not triggered within the preset time, the server 200 will delete the cache file corresponding to the acquired image data.

[0238] In step 617A, the file is saved to the non-volatile storage space of the terminal device.

[0239] For example, assuming that the data acquisition method in the virtual scene provided in this application is implemented through collaboration between server 200 and terminal device 400, server 200 sends the acquired image data to terminal device 400, and terminal device 400 temporarily stores the image data in a cache space. After recording or taking a photo, terminal device 400 plays an archive animation and displays a save control. If the user clicks the save control, the image data file will be saved to the non-volatile storage space of terminal device 400 and deleted from the cache space; if the user clicks on other locations in the human-computer interaction interface, the image data file will not be saved to the non-volatile storage space of terminal device 400 and will be deleted from the cache space.

[0240] For example, assuming that the data acquisition method in the virtual scene provided in this application is implemented independently by the terminal device 400, after the terminal device 400 acquires the image data, it temporarily stores the image data in the cache space. After the recording ends or a photo is taken, the terminal device 400 plays the save animation and displays the save control. If the user clicks the save control, the image data file will be saved to the non-volatile storage space of the terminal device 400 and deleted from the cache space. If the user clicks on other locations in the human-computer interaction interface, the image data file will not be saved to the non-volatile storage space of the terminal device 400 and will be deleted from the cache space.

[0241] After step 616A or step 617A is completed, the current shooting session ends.

[0242] For example, in this embodiment of the application, the server 200 communicates with the terminal device 400 in real time. The server 200 confirms in real time whether the virtual object is in flight state. When it receives the information sent by the terminal device 400 to the server 200 to end the flight state, it ends the flight state. The server 200 synchronizes the scene data corresponding to the next stage of the virtual scene to the terminal device 400 according to the data status of the virtual object.

[0243] In some embodiments, when a virtual object enters flight mode, different action controls are displayed on the shooting panel. In response to the triggering operation of any action control, the virtual object switches from its current action to the action corresponding to the triggered action control. When a virtual object enters flight mode, different outfit controls are displayed on the shooting panel. In response to the triggering operation of any outfit control, the virtual object switches from its current outfit to the outfit corresponding to the triggered outfit control. An outfit is a combination of parts worn by the virtual object in the virtual scene, such as: tops, hairstyles, pants, shoes, accessories (capes, gloves, earrings, masks), etc.

[0244] In this embodiment of the application, a mechanism for taking photos and videos by adjusting the hiding and showing of virtual object images through convenient interactive operations during flight can better meet the user's need to conveniently capture game screenshots and videos.

[0245] The following description continues to illustrate the exemplary structure of the virtual scene data acquisition device 455 provided in the embodiments of this application as a software module. In some embodiments, such as... Figure 2 As shown, the software modules in the virtual scene data acquisition device 455 stored in the memory 450 may include: a display module 4551, used to display the virtual scene in a human-computer interaction interface, wherein the virtual scene includes at least one virtual object, including a first virtual object, which is a virtual object that can be controlled in the human-computer interaction interface; a display module 4552, further used to display an image acquisition control in response to the first virtual object entering a flight state; and a data acquisition module 4552, used to acquire image data of the virtual scene in response to a trigger operation on the image acquisition control, wherein the image data includes at least one of video and photograph.

[0246] In some embodiments, the data acquisition module 4552 is configured to acquire a first image acquisition result of the virtual scene in response to a first trigger operation of the image acquisition control; and acquire a second image acquisition result of the virtual scene in response to a second trigger operation of the image acquisition control; wherein the triggering method of the first trigger operation is different from the triggering method of the second trigger operation, and the types of the first image acquisition result and the second image acquisition result are different.

[0247] In some embodiments, the triggering method of the first triggering operation and the triggering method of the second triggering operation are any two of the following triggering methods: long press; short press, wherein the press duration of the short press is less than the press duration of the long press; single trigger; multiple consecutive triggers; sliding in a first direction; sliding in a second direction, wherein the second direction is different from the first direction.

[0248] In some embodiments, the image acquisition control includes a video sub-control and an image sub-control; the data acquisition module 4552 is configured to acquire a video of the virtual scene in response to a trigger operation on the video sub-control; and acquire at least one photograph of the virtual scene in response to a trigger operation on the image sub-control.

[0249] In some embodiments, the display module 4551 is configured to display a motion control control when displaying an image acquisition control; and to adjust the pose parameters of a first virtual object according to the direction corresponding to the trigger operation in response to a trigger operation on the motion control control, wherein the pose parameters include at least one of the following: height, pitch angle, and azimuth angle.

[0250] In some embodiments, the display module 4551 is configured to display multiple controls, including a motion control control, in a human-computer interaction interface before entering flight mode; and to hide the controls other than the motion control control among the multiple controls in response to the first virtual object entering flight mode.

[0251] In some embodiments, the display module 4551 is configured to display a shooting panel in the edge area of ​​the human-computer interaction interface in response to the first virtual object entering flight state. The shooting panel includes at least image acquisition controls and hides at least some of the original controls in the image data acquisition area. The image data acquisition area is the area in the human-computer interaction interface other than the edge area.

[0252] In some embodiments, the display module 4551 is configured to, in response to the end of the flight state of the first virtual object, display at least some of the hidden controls in the image data acquisition area and hide the shooting panel.

[0253] In some embodiments, the display module 4551 is configured to display a landing control in response to the first virtual object entering a flight state, and the flight state being an active flight state; and to control the first virtual object to land in the virtual scene in response to a trigger operation on the landing control.

[0254] In some embodiments, the display module 4551 is configured to display an image state control in a first display mode when the image acquisition control is displayed, wherein the first display mode represents a state in which the first virtual object is in a display state and a hidden state in the virtual scene; and in response to a trigger operation on the image state control, to switch the display image state control from the first display mode to a second display mode, wherein the second display mode represents another state in which the first virtual object is in a display state and a hidden state.

[0255] In some embodiments, the display module 4551 is configured to, when displaying the image acquisition control, display an image state control in a first display mode, wherein the first display mode represents a state in which the first virtual object is in a display state or a hidden state in the virtual scene; in response to an association operation between the image state control and the image acquisition control, display an associated control connecting the image state control and the image acquisition control; and in response to a trigger operation on the associated control, switch the image state control from the first display mode to a second display mode, wherein the second display mode represents another state in which the first virtual object is in a display state or a hidden state.

[0256] In some embodiments, the display module 4551 is configured to, when displaying the image acquisition control, display an image state control in a first display mode, wherein the first display mode represents a state in which the first virtual object is in a display state or a hidden state in the virtual scene; in response to a combined operation of the image state control and the image acquisition control, display a combined control, wherein the combined control includes the functions of the image state control and the image acquisition control; and in response to a trigger operation of the combined control, switch the display of the image state control from the first display mode to a second display mode, wherein the second display mode represents another state in which the first virtual object is in a display state or a hidden state.

[0257] In some embodiments, image data is stored in a cache space; the display module 4551 is configured to display a save control after acquiring image data of a virtual scene in response to a trigger operation on the image acquisition control; to transfer image data in the cache space to a non-volatile storage space in response to a trigger operation on the save control; and to delete image data in the cache space in response to a trigger operation on any location other than the save control.

[0258] In some embodiments, the data acquisition module 4552 is used to display a countdown control, wherein the countdown control is used to automatically trigger the waiting time of the image acquisition control to count down; in response to the end of the countdown of the countdown control, image data of the virtual scene is acquired.

[0259] In some embodiments, the data acquisition module 4552 is configured to stop acquiring image data of the virtual scene in response to the end of the flight state of the first virtual object; and to stop acquiring image data of the virtual scene in response to the end of the acquisition operation.

[0260] In some embodiments, the data acquisition module 4552 is used to acquire image data of a virtual scene in response to meeting image acquisition conditions, wherein the image acquisition conditions include at least one of the following: the time interval since the last image acquisition reaches a duration threshold; there is a change in the scene in the field of view corresponding to the first virtual object; the weather in the virtual scene changes; the height change of the first virtual object is greater than a height threshold.

[0261] In some embodiments, the data acquisition module 4552 is configured to display a countdown control in response to the first virtual object's pose parameters being the same as those during the previous image acquisition, wherein the countdown control is used to automatically trigger the waiting time of the image acquisition control for a countdown; in response to the end of the countdown of the countdown control, image data of the virtual scene is acquired based on the acquisition parameters used during the previous image acquisition; wherein the pose parameters of the first virtual object include at least one of the following: flight speed, pitch angle, and motion; when the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; the flight distance of the first virtual object during recording; the start time and end time of recording; when the image data is photograph, the acquisition parameters include at least one of the following: number of photos; photo angle; photo time.

[0262] In some embodiments, the data acquisition module 4552 is configured to display a countdown control in response to the fact that the feature parameters of the first virtual object are the same as those during the last image acquisition, wherein the countdown control is used to automatically trigger the waiting time of the image acquisition control for a countdown; in response to the end of the countdown of the countdown control, image data of the virtual scene is acquired based on the acquisition parameters used during the last image acquisition; wherein the feature parameters of the first virtual object include at least one of the following: the height of the first virtual object; the task performed by the first virtual object; the map in which the first virtual object is located in the virtual scene; when the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; the flight distance of the first virtual object during recording; the start time and end time of recording; when the image data is photograph, the acquisition parameters include at least one of the following: number of photos; photo angle; photo time.

[0263] In some embodiments, the data acquisition module 4552 is configured to, in response to the first virtual object entering flight mode, display an image acquisition mode list, wherein the image acquisition mode list includes multiple image acquisition modes, each image acquisition mode including different acquisition parameters; in response to a selection operation for an image acquisition mode in the image acquisition mode list, acquire image data of the virtual scene based on the acquisition parameters corresponding to the image acquisition mode selected by the selection operation; when the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; flight distance of the first virtual object during recording; recording start time and ending time; when the image data is photograph, the acquisition parameters include at least one of the following: number of photos; photo angle; photo time.

[0264] In some embodiments, the display module 4551 is configured to adjust the pose parameters of the first virtual object based on the rotation angle corresponding to the rotation operation when the first virtual object is in flight state, in response to the rotation operation, wherein the pose parameters include at least one of the following: altitude, pitch angle and azimuth angle.

[0265] In some embodiments, the display module 4551 is configured to adjust the height of the first virtual object based on the rotation angle corresponding to the rotation operation when the rotation operation is performed about a rotation axis perpendicular to the human-computer interaction interface; adjust the pitch angle of the first virtual object based on the rotation angle corresponding to the rotation operation when the rotation operation is performed about a rotation axis parallel to the horizontal direction of the human-computer interaction interface; and adjust the azimuth angle of the first virtual object based on the rotation angle corresponding to the rotation operation when the rotation operation is performed about a rotation axis parallel to the vertical direction of the human-computer interaction interface.

[0266] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the computer device to perform the virtual scene data acquisition method described above in this application.

[0267] This application provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are executed by a processor, they cause the processor to execute the data acquisition method for a virtual scene provided in this application. For example, ... Figure 3A The data acquisition method for the virtual scene is shown.

[0268] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.

[0269] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.

[0270] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).

[0271] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.

[0272] In summary, by displaying an image acquisition control for capturing images when a virtual object enters flight mode through the embodiments of this application, the process of searching for the image acquisition control is saved, making it convenient to capture images in flight mode of the virtual object. It is possible to obtain images or videos of the virtual object in flight mode with fewer operations, thereby improving the efficiency of human-computer interaction.

[0273] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A data acquisition method for a virtual scene, characterized in that, The method includes: A virtual scene is displayed in a human-computer interaction interface, wherein the virtual scene includes at least one virtual object, including a first virtual object, which is a virtual object that can be controlled in the human-computer interaction interface. In response to the first virtual object entering flight mode, an image acquisition control is displayed; In response to a trigger operation on the image acquisition control, image data of the virtual scene is acquired, wherein the image data includes at least one of video and photograph; the acquisition of image data of the virtual scene in response to a trigger operation on the image acquisition control includes: in response to the first virtual object's pose parameters being the same as the pose parameters of the first virtual object during the last image acquisition, a countdown control is displayed, wherein the countdown control is used to automatically trigger the waiting time of the image acquisition control for a countdown; in response to the countdown control ending, image data of the virtual scene is acquired based on the acquisition parameters used during the last image acquisition; wherein the pose parameters of the first virtual object include at least one of the following: flight speed, pitch angle, and motion; when the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; flight distance of the first virtual object during recording; recording start time and ending time; when the image data is photograph, the acquisition parameters include at least one of the following: number of photos; photo angle; photo time.

2. The method according to claim 1, characterized in that, The step of acquiring image data of the virtual scene in response to a trigger operation on the image acquisition control includes: In response to a first trigger operation on the image acquisition control, a first image acquisition result of the virtual scene is obtained; In response to a second trigger operation on the image acquisition control, a second image acquisition result of the virtual scene is obtained; The triggering method of the first triggering operation is different from that of the second triggering operation, and the types of the first image acquisition result and the second image acquisition result are different.

3. The method according to claim 2, characterized in that, The triggering method of the first triggering operation and the triggering method of the second triggering operation are any two of the following triggering methods: Long press; A short press, wherein the duration of the short press is less than the duration of the long press; a single trigger; multiple consecutive triggers; a slide in a first direction; a slide in a second direction, wherein the second direction is different from the first direction.

4. The method according to claim 1, characterized in that, The image acquisition control includes a video sub-control and an image sub-control; The step of acquiring image data of the virtual scene in response to a trigger operation on the image acquisition control includes: In response to a trigger operation on the video sub-control, the video of the virtual scene is acquired; In response to a trigger operation on the image sub-control, at least one photo of the virtual scene is acquired.

5. The method according to claim 1, characterized in that, When the image acquisition control is displayed, the method further includes: Display movement control controls; In response to a trigger operation on the motion control control, the pose parameters of the first virtual object are adjusted according to the direction corresponding to the trigger operation, wherein the pose parameters include at least one of the following: height, pitch angle, and azimuth angle.

6. The method according to claim 5, characterized in that, Before entering flight mode, the human-computer interaction interface displays multiple controls, including the motion control controls. The method further includes: in response to the first virtual object entering flight state, hiding the controls among the plurality of controls other than the movement control control.

7. The method according to claim 1, characterized in that, The step of displaying image acquisition controls in response to the first virtual object entering flight mode includes: In response to the first virtual object entering flight mode, a camera panel is displayed in the edge area of ​​the human-computer interaction interface, wherein the camera panel includes at least the image acquisition control, and Hide at least some of the original controls in the image data acquisition area, which is the area in the human-computer interaction interface other than the edge area.

8. The method according to claim 7, characterized in that, The method further includes: In response to the end of the flight state of the first virtual object, the at least some of the controls that were hidden in the image data acquisition area are displayed, and the shooting panel is hidden.

9. The method according to claim 1, characterized in that, The method further includes: In response to the first virtual object entering flight mode, and the flight mode being an active flight mode, a landing control is displayed; In response to a trigger operation on the landing control, the first virtual object is controlled to land in the virtual scene.

10. The method according to claim 1 or 5, characterized in that, When the image acquisition control is displayed, the method further includes: Displays an image state control in a first display mode, wherein the first display mode represents a state in which the first virtual object is in a display state or a hidden state in the virtual scene; In response to a trigger operation on the image status control, the image status control is displayed to switch from the first display mode to a second display mode, wherein the second display mode represents the first virtual object being in another state between the display state and the hidden state.

11. The method according to claim 1, characterized in that, When the image acquisition control is displayed, the method further includes: Displays an image state control in a first display mode, wherein the first display mode represents a state in which the first virtual object is in a display state or a hidden state in the virtual scene; In response to an association operation between the image status control and the image acquisition control, the associated control connecting the image status control and the image acquisition control is displayed; In response to a trigger operation on the associated control, the image status control is displayed to switch from a first display mode to a second display mode, wherein the second display mode represents the first virtual object being in another state between the displayed state and the hidden state.

12. The method according to claim 1, characterized in that, When the image acquisition control is displayed, the method further includes: Displays an image state control in a first display mode, wherein the first display mode represents a state in which the first virtual object is in a display state or a hidden state in the virtual scene; In response to a combined operation of the image status control and the image acquisition control, a combined control is displayed, wherein the combined control includes the functions of the image status control and the image acquisition control; In response to a trigger operation on the combined control, the image status control is displayed to switch from a first display mode to a second display mode, wherein the second display mode represents the first virtual object being in another state between the displayed state and the hidden state.

13. The method according to claim 1, characterized in that, The image data is stored in a cache space; After acquiring image data of the virtual scene in response to a trigger operation on the image acquisition control, the method further includes: Display the save control; In response to a trigger operation on the save control, the image data in the cache space is transferred to non-volatile storage space; In response to a trigger operation targeting any location other than the save control, the image data in the cache space is deleted.

14. The method according to claim 1, characterized in that, The step of acquiring image data of the virtual scene in response to a trigger operation on the image acquisition control includes: A countdown control is displayed, wherein the countdown control is used to automatically trigger the waiting time of the image acquisition control to count down; In response to the end of the countdown of the countdown control, the image data of the virtual scene is acquired.

15. The method according to claim 14, characterized in that, The method further includes: In response to the end of the flight state of the first virtual object, the acquisition of image data of the virtual scene is stopped; In response to the termination of the acquisition operation, the acquisition of image data of the virtual scene is stopped.

16. The method according to claim 1, characterized in that, The step of acquiring image data of the virtual scene in response to a trigger operation on the image acquisition control includes: In response to the fulfillment of image acquisition conditions, image data of the virtual scene is acquired, wherein the image acquisition conditions include at least one of the following: The time interval since the last image acquisition has reached the duration threshold; There are changes in the scenery within the field of view corresponding to the first virtual object; The weather in the virtual scene changes; The height change of the first virtual object is greater than the height threshold.

17. The method according to claim 1, characterized in that, The step of acquiring image data of the virtual scene in response to a trigger operation on the image acquisition control includes: In response to the fact that the feature parameters of the first virtual object are the same as those during the last image acquisition, a countdown control is displayed, wherein the countdown control is used to automatically trigger the waiting time of the image acquisition control to count down; In response to the end of the countdown of the countdown control, the image data of the virtual scene is obtained based on the acquisition parameters used in the previous image acquisition. The characteristic parameters of the first virtual object include at least one of the following: the height of the first virtual object; the task performed by the first virtual object; and the map in which the first virtual object is located in the virtual scene. When the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; the flight distance of the first virtual object during recording; the start time and end time of recording; When the image data is a photograph, the acquisition parameters include at least one of the following: number of photos taken; shooting angle; and shooting time.

18. The method according to claim 1, characterized in that, The method further includes: In response to the first virtual object entering flight mode, an image acquisition mode list is displayed, wherein the image acquisition mode list includes multiple image acquisition modes, and each image acquisition mode includes different acquisition parameters; In response to a selection operation of an image acquisition mode in the image acquisition mode list, image data of the virtual scene is acquired based on the acquisition parameters corresponding to the image acquisition mode selected by the selection operation. When the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; the flight distance of the first virtual object during recording; the start time and end time of recording; When the image data is a photograph, the acquisition parameters include at least one of the following: number of photos taken; shooting angle; and shooting time.

19. The method according to claim 1, characterized in that, When the first virtual object is in flight mode, the method further includes: In response to a rotation operation, the pose parameters of the first virtual object are adjusted based on the rotation angle corresponding to the rotation operation, wherein the pose parameters include at least one of the following: height, pitch angle, and azimuth angle.

20. The method according to claim 19, characterized in that, The step of adjusting the pose parameters of the first virtual object in response to a rotation operation based on the rotation angle corresponding to the rotation operation includes: When the rotation operation is performed around a rotation axis perpendicular to the human-computer interaction interface, the height of the first virtual object is adjusted based on the rotation angle corresponding to the rotation operation. When the rotation operation is performed around a rotation axis parallel to the horizontal direction of the human-computer interaction interface, the pitch angle of the first virtual object is adjusted based on the rotation angle corresponding to the rotation operation. When the rotation operation is performed around a vertical axis parallel to the human-computer interaction interface, the orientation angle of the first virtual object is adjusted based on the rotation angle corresponding to the rotation operation.

21. A data acquisition device for a virtual scene, characterized in that, The device includes: The display module is used to display a virtual scene in a human-computer interaction interface, wherein the virtual scene includes at least one virtual object, including a first virtual object, and the first virtual object is a virtual object that can be controlled in the human-computer interaction interface. The display module is also used to display image acquisition controls in response to the first virtual object entering flight mode; A data acquisition module is configured to acquire image data of the virtual scene in response to a trigger operation of the image acquisition control, wherein the image data includes at least one of video and photograph; The data acquisition module is further configured to, in response to the first virtual object's pose parameters being the same as those during the previous image acquisition, display a countdown control, wherein the countdown control is used to automatically trigger the waiting time of the image acquisition control for a countdown; in response to the countdown control ending, acquire image data of the virtual scene based on the acquisition parameters used during the previous image acquisition; wherein the pose parameters of the first virtual object include at least one of the following: flight speed, pitch angle, and motion; when the image data is video, the acquisition parameters include at least one of the following: recording duration; recording angle; the flight distance of the first virtual object during recording; the start time and end time of recording; when the image data is photograph, the acquisition parameters include at least one of the following: number of photos; photo angle; and photo time.

22. The apparatus according to claim 21, characterized in that, The display module is further configured to, when displaying the image acquisition control, display an image status control in a first display mode, wherein the first display mode represents one of the states of the first virtual object in the virtual scene, namely a display state and a hidden state; and in response to a trigger operation on the image status control, display the image status control to switch from the first display mode to a second display mode, wherein the second display mode represents another state of the first virtual object, namely the display state and the hidden state.

23. An electronic device, characterized in that, The electronic device includes: Memory is used to store executable instructions for a computer; A processor, when executing computer-executable instructions stored in the memory, implements the data acquisition method for a virtual scene as described in any one of claims 1 to 20.

24. A computer-readable storage medium storing computer-executable instructions, characterized in that, When the computer-executable instructions are executed by the processor, they implement the data acquisition method for the virtual scene according to any one of claims 1 to 20.

25. A computer program product, comprising a computer program or computer-executable instructions, characterized in that, When the computer program or computer-executable instructions are executed by a processor, the data acquisition method for the virtual scene as described in any one of claims 1 to 20 is implemented.

Citation Information

Patent Citations

  • Control method and device of a virtual flight vehicle, terminal and storage medium

    CN113117333A