Multimedia data generation method and apparatus, readable medium, and electronic device

CN117244249BActive Publication Date: 2026-07-10BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2023-11-03
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

The virtual camera operation in existing games is complicated and requires frequent switching of perspectives, resulting in low game fun.

Method used

By responding to the movement of a virtual character to a preset area, multimedia data is automatically generated, including scene images and virtual characters in the target virtual space, simplifying the operation process and reducing perspective switching.

Benefits of technology

It increases the game's fun, simplifies the operation process, eliminates the need to frequently switch between game perspectives and camera shooting angles, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117244249B_ABST
    Figure CN117244249B_ABST
Patent Text Reader

Abstract

The present disclosure provides a multimedia data generation method and device, readable medium and electronic equipment, to reduce the operation complexity of generating multimedia data in a virtual space and increase the fun of the game. The method comprises: in response to a trigger operation of controlling a virtual character to enter a target virtual space, displaying a scene picture of the target virtual space; in response to a movement operation of controlling the virtual character, controlling the virtual character to move in the target virtual space; and in response to the virtual character moving to a preset area, generating at least one multimedia data, the multimedia data comprising at least part of the scene picture of the target virtual space and the virtual character.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing technology, and more specifically, to a multimedia data generation method, apparatus, readable medium, and electronic device. Background Technology

[0002] With the development and popularization of computer equipment technology, more and more game applications have emerged, and the virtual world in the game field has become more and more realistic.

[0003] In related technologies, in order to increase the playability of games, a shooting function has been added to the game. Users control the shooting position of the virtual camera in the game and then click the shooting control to take a picture. If it is necessary to adjust the position and movement of the virtual character, it is also necessary to switch from the camera shooting perspective to the game perspective, and then switch back to the camera shooting perspective after the adjustment. The operation is complicated and the method is monotonous, resulting in low game fun. Summary of the Invention

[0004] This summary section is provided to briefly introduce the concepts, which will be described in detail in the detailed description section below. This summary section is not intended to identify key or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] In a first aspect, this disclosure provides a multimedia data generation method, the method comprising:

[0006] In response to a trigger operation that controls a virtual character to enter a target virtual space, the scene of the target virtual space is displayed;

[0007] In response to a control operation that moves the virtual character, the virtual character is controlled to move within the target virtual space;

[0008] In response to the virtual character moving to a preset area, at least one multimedia data is generated, the multimedia data including at least a portion of the scene image of the target virtual space and the virtual character.

[0009] Secondly, this disclosure provides a multimedia data generation apparatus, the apparatus comprising:

[0010] The display module is used to display the scene of the target virtual space in response to the trigger operation of controlling the virtual character to enter the target virtual space;

[0011] A control module is used to respond to a movement operation of the virtual character and control the virtual character to move within the target virtual space;

[0012] A generation module is configured to generate at least one multimedia data in response to the virtual character moving to a preset area, the multimedia data including at least a portion of the scene images of the target virtual space and the virtual character.

[0013] Thirdly, this disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method described in any one of the first aspects.

[0014] Fourthly, this disclosure provides an electronic device, comprising:

[0015] A storage device on which computer programs are stored;

[0016] A processing device for executing the computer program in the storage device to implement the steps of the method according to any one of the first aspects.

[0017] The above technical solution, in response to a trigger operation that controls a virtual character to enter a target virtual space, displays the scene of the target virtual space. Then, in response to a movement operation that controls the virtual character, the virtual character is controlled to move within the target virtual space. Finally, in response to the virtual character moving to a preset area, at least one multimedia data point is generated. This multimedia data includes at least a portion of the scene of the target virtual space and the virtual character. Using this method, when the user controls the virtual character to move to a preset area, multimedia data can be automatically generated, increasing the game's fun factor. Furthermore, it eliminates the need to manipulate a virtual camera or frequently switch between the game viewpoint and the camera's shooting viewpoint to generate multimedia data, making the operation simple.

[0018] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating a multimedia data generation method according to an exemplary embodiment;

[0021] Figure 2 This is a schematic diagram illustrating the generation of multimedia data in virtual space according to an exemplary embodiment;

[0022] Figure 3 This is a schematic diagram of a virtual camera position provided according to an exemplary embodiment;

[0023] Figure 4 This is a schematic diagram of a camera adjustment interface provided according to an exemplary embodiment;

[0024] Figure 5 This is a schematic diagram illustrating the sharing and editing of multimedia data according to an exemplary embodiment;

[0025] Figure 6 This is a block diagram of a multimedia data generation apparatus according to an exemplary embodiment;

[0026] Figure 7 This is a block diagram of an electronic device provided according to an exemplary embodiment. Detailed Implementation

[0027] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0028] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0029] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0030] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0031] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0032] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0033] In related technologies, in order to increase the playability of games, a shooting function has been added to the game. Users control the shooting position of the virtual camera in the game and then click the shooting control to take a picture. If it is necessary to adjust the position and movement of the virtual character, it is also necessary to switch from the camera shooting perspective to the game perspective, and then switch back to the camera shooting perspective after the adjustment. The operation is complicated and the method is monotonous, resulting in low game fun.

[0034] In view of the above, this disclosure provides a multimedia data generation method, apparatus, readable medium, and electronic device to solve the aforementioned technical problems.

[0035] The embodiments of this disclosure will be further explained below with reference to the accompanying drawings.

[0036] Figure 1 This is a flowchart illustrating a multimedia data generation method according to an exemplary embodiment of the present disclosure. (Refer to...) Figure 1 ,include:

[0037] S101: In response to the trigger operation of controlling the virtual character to enter the target virtual space, display the scene screen of the target virtual space.

[0038] S102: In response to the operation of controlling the movement of the virtual character, control the virtual character to move within the target virtual space.

[0039] S103: In response to a virtual character moving to a preset area, generate at least one multimedia data, the multimedia data including at least part of the scene image of the target virtual space and the virtual character.

[0040] Using the above method, when the user controls the virtual character to move to the preset area, multimedia data can be automatically generated, increasing the fun of the game. Moreover, there is no need to operate the virtual camera or frequently switch between the game view and the camera shooting view to generate multimedia data, making the operation simple.

[0041] It should be understood that in the virtual world, virtual cameras are often used for shooting, such as... Figure 2 As shown, when the user controls the virtual character to move to a preset area, a virtual camera can be automatically triggered to capture images and generate multimedia data. This multimedia data can be image data or video data, depending on the virtual camera settings; this disclosure does not impose any limitations on this. Furthermore, the range of the scene image in the multimedia data can be determined based on the virtual camera's shooting area, such as... Figure 2The generated multimedia data shown includes a virtual character and a tree.

[0042] In one possible approach, the method further includes: determining the pose of the virtual camera in response to the deployment operation of the virtual camera, and determining a preset area based on the shooting area corresponding to the pose, wherein the virtual camera is used to generate at least one multimedia data.

[0043] For example, in response to the deployment operation of the virtual camera, the pose of the virtual camera is determined, which is equivalent to setting the shooting attributes of the virtual camera, such as the shooting angle and shooting area, and then determining a preset area based on the shooting area. The preset area can be the same as the shooting area, or the preset area can be a part of the shooting area. It can be set according to the needs, and this disclosure does not impose any restrictions on it.

[0044] Furthermore, shooting can be triggered either when the entire virtual character appears within the preset area, or when only a portion of the virtual character appears within the preset area. The triggering condition can be determined based on requirements or the location of the preset area. Figure 2 The preset area shown represents the ground position in virtual space. Therefore, a photo can be taken when the virtual character's feet appear in the preset area. In other words, controlling the virtual character to "walk" into the preset area triggers a photo, and so on. This disclosure does not impose any limitations on this. This allows for automatic photo triggering, increasing the fun of the game.

[0045] It is worth noting that the virtual camera can be set by the system. Taking a game scene as an example, check-in points are set based on the shooting area of ​​the virtual camera deployed by the system, and check-in tasks are issued. When the user controls the virtual character to enter the preset area corresponding to the check-in point, the virtual camera is automatically triggered to take a picture and complete the check-in task.

[0046] Alternatively, the virtual camera can be user-defined. Again, taking a game scene as an example, a user can deploy a virtual camera at any location in the virtual space and determine a preset area based on the shooting area of ​​the virtual camera. When the user who deployed the camera or other users control the virtual character to enter the preset area, the virtual camera is automatically triggered to take a picture.

[0047] Furthermore, the virtual camera can be displayed publicly, hidden, or conditionally triggered, depending on the system settings or the user settings that deployed the virtual camera. The triggering condition for conditional display could be that the distance between the virtual character and the virtual camera meets a preset distance condition, or that the user controlling the virtual character's level meets a preset level condition, etc., and this disclosure does not impose any restrictions on this.

[0048] It is worth noting that, in addition to the user who deploys the virtual camera being able to adjust it, for virtual cameras that are publicly displayed or conditionally triggered to be displayed, the user who discovers the virtual camera is also allowed to adjust it, and this disclosure does not impose any restrictions on this.

[0049] In some possible embodiments, the method further includes: displaying a virtual camera in the scene of the target virtual space in response to a preset condition being met in the positional relationship or subordinate relationship between the virtual character and the virtual camera; and adjusting the pose of the virtual camera in response to an adjustment operation of the virtual camera.

[0050] For example, such as Figure 3 The virtual camera 31 shown can be a user-deployed virtual camera. Therefore, when the user controlling the virtual character is also the user who deployed the virtual camera, meaning the virtual camera and the virtual character are subordinate to each other, the following display will be shown: Figure 4 The camera adjustment interface shown.

[0051] For example, such as Figure 3 The virtual camera 31 shown can be a publicly displayed virtual camera or a conditionally triggered virtual camera, and allows users who discover the virtual camera to adjust it. Taking the trigger condition being that the distance between the virtual character and the virtual camera meets a preset distance condition as an example, the distance between the two is determined based on their positional relationship, and when this distance is less than or equal to the preset distance, the following is displayed: Figure 3 The virtual camera 31 shown can be clicked to enter the virtual camera, as shown in the image. Figure 4 The camera adjustment interface shown.

[0052] It should be understood that users deploy virtual cameras through methods such as... Figure 4 The camera adjustment interface shown displays camera properties. When deploying a virtual camera, users need to specify the deployment location, such as... Figure 3 The virtual camera 31 is positioned in the center, and then the mode is switched from standard mode to tripod mode, which is equivalent to setting the virtual camera at that position, and then... Figure 3 The interface shown is converted to as follows Figure 4 The interface shown is as follows. Furthermore, when switching to tripod mode, the virtual camera will use its current position as its initial position upon switching. The camera can be dragged to rotate horizontally and vertically. The vertical rotation angle of the virtual camera can be limited as needed; this disclosure does not impose any limitations on this. Additionally, when the virtual camera is in tripod mode, the virtual camera will not follow the virtual character's movement.

[0053] For example, refer to Figure 4 Users (including users who deploy virtual cameras and users who discover virtual cameras) can control the virtual camera to move up, down, left, and right by operating the joystick 43. When the joystick 43 is touched and dragged in the corresponding direction, the virtual camera moves in the corresponding direction in the virtual space. For example, it can move at a constant speed according to a preset speed. As the virtual camera moves, the image displayed by the virtual camera also changes. Finally, the movement stops when the touch is stopped.

[0054] It's worth noting that the movement range of the virtual camera can also be limited. For example, the movement range can be a square, with the initial tripod position as the center and a side length of 5m forming the virtual camera's movement range. When the virtual camera moves to the maximum range, a pop-up message can appear stating "Maximum movement boundary reached, cannot move further." Alternatively, the system or user can limit the virtual camera's movement range when deploying it, preventing it from moving outside that range. Specific settings can be configured according to requirements; this disclosure does not impose any restrictions on this.

[0055] Continue to refer to Figure 4 Users can also control the virtual camera to rotate by operating the ring 42. When the ring is touched and slid, the virtual camera rotates around the pressed point and the Z-axis in virtual space. The sliding angle within the ring 42 is synchronized with the rotation angle of the virtual camera, and the image displayed by the virtual camera changes accordingly.

[0056] In addition, refer to Figure 4 Users can click control 45 to exit tripod mode and return to the virtual space display interface to continue controlling the virtual character. To avoid accidental user operation, a pop-up window can be displayed asking "Exit tripod mode?", allowing the user to return to the virtual space display interface after confirming the exit. This disclosure does not impose any restrictions on this. (Continue to refer to...) Figure 4 Users can also use control 41 to set the shooting magnification of the virtual camera, and use the "Take Photo" and "Record Video" controls to choose between taking pictures or videos. They can also click control 44 to take a picture, similar to real-world camera operation, which will not be elaborated upon here. Thus, users can set shooting parameters such as shooting pose, shooting mode, and shooting magnification of the virtual camera to meet different shooting needs.

[0057] In one possible manner, generating at least one multimedia data in response to a virtual character moving to a preset area may include: determining whether the virtual character meets the multimedia data generation conditions in response to the virtual character moving to the preset area; and generating at least one multimedia data based on multimedia data generation parameters in response to the virtual character meeting the multimedia data generation conditions.

[0058] For example, in response to a virtual character moving to a preset area, it is first determined whether the virtual character meets the conditions for generating multimedia data. If the virtual character meets the conditions for generating multimedia data, at least one piece of multimedia data is generated based on the multimedia data generation parameters. For example, one or more images or a video can be captured. The specific settings can be determined according to the virtual camera settings, and this disclosure does not limit this.

[0059] In possible ways, in response to a virtual character moving to a preset area, determining whether the virtual character meets the multimedia data generation conditions includes: in response to a virtual character moving to a preset area, detecting the virtual character's gaze direction; when the gaze direction is the direction of the virtual camera, the virtual character meets the multimedia data generation conditions; or in response to a virtual character moving to a preset area, detecting the virtual character's action; when the action is a preset action, the virtual character meets the multimedia data generation conditions.

[0060] For example, whether it's a system-deployed virtual camera or a user-deployed virtual camera, trigger conditions for virtual camera shooting can be set, i.e., multimedia data generation conditions. For instance, shooting can be triggered when a virtual character moves to a preset area, or when a virtual character moves to a preset area and their gaze is directed towards the virtual camera, or when a virtual character moves to a preset area and their action is a preset action, etc. This disclosure does not limit these possibilities. The preset action can be a gesture, facial expression, body movement, etc., such as smiling or jumping, etc. This disclosure does not limit these possibilities.

[0061] In addition, other conditions can be set. Taking the check-in point example above, periodic check-in tasks can be issued, and the check-in point changes periodically. For example, location 1 might be the check-in point for a certain period, and location 2 for another period. When location 1 is the check-in point, the virtual character moving to location 1 triggers a photo; when location 1 is not the check-in point, the virtual character moving to location 1 will not trigger a photo. Timed check-in tasks can also be issued. For example, if the check-in point is the beach, and the corresponding check-in task is to take a photo with the sunset, the trigger time for this check-in point can be set to 18:00-19:00 within the virtual time frame. That is, within the 18:00-19:00 interval, the virtual character moving to the check-in point triggers a photo; outside the 18:00-19:00 interval, the virtual character moving to the check-in point will not trigger a photo. Specific settings can be customized according to needs; this disclosure does not impose any restrictions, thus enabling different trigger methods and enhancing the game's fun.

[0062] In one possible manner, prior to a triggering operation that controls a virtual character to enter a target virtual space, the method further includes: displaying a game virtual space, wherein the target virtual space is a sub-virtual space of the game virtual space; after generating at least one multimedia data, the method further includes: in response to a sharing operation for the multimedia data, generating a sharing card including the multimedia data, and displaying the sharing card in an information flow display area in the target virtual space or the game virtual space.

[0063] It should be understood that the game virtual space is equivalent to the entire game system, and the target virtual space is equivalent to one of the game scenes in the game system. The game system can also provide information display functions, chat functions, etc. The information display function is to publish images, text and other content in the information flow display area. The information flow display area can be in the target virtual space or in the game virtual space. This disclosure does not restrict this.

[0064] For example, refer to Figure 5 Taking the generation of an image as an example, a user can click the sharing control 53 to generate a sharing card containing the image and then publish the sharing card to the information stream display area in the target virtual space or game virtual space. Furthermore, text content can be edited and displayed along with the image in the information stream display area. When the image contains multiple virtual characters corresponding to users A, B, and C respectively, the text content can automatically generate "@A@B@C" to notify users A, B, and C.

[0065] In addition, users can share to third-party platforms via the sharing control 53, and this disclosure does not impose any restrictions on this. This allows users to share and display the captured data, enriching the gameplay, such as sharing photos taken at checkpoints to complete check-in tasks, thus increasing the game's fun.

[0066] For example, the system can also automatically generate a shareable card after generating multimedia data, display the shareable card in the information stream display area, and notify relevant users. This disclosure does not limit this. For instance, the system can release a hidden check-in task, automatically sharing images taken at the check-in point and publishing them in the information stream display area. Users can then determine whether they have completed the hidden check-in task in the information stream display area, thereby increasing the fun of the game.

[0067] In some possible embodiments, the method further includes: identifying virtual characters in multimedia data; determining user relationships between the current user and other users when the multimedia data includes a first virtual character controlled by the current user and at least one second virtual character controlled by another user; sending a sharing card to other users when the user relationship indicates that the current user and other users are friends; or sending a request to other users to establish a friend relationship when the user relationship indicates that the current user and other users are not friends.

[0068] For example, continue to refer to Figure 5 The multimedia data includes a virtual character controlled by the current user A, and virtual characters controlled by other users B and C. User A and user B are friends, while user A and user C are not friends. When the current user A can click the send control 52, a share card will be sent to user B via instant messaging, and a request to establish a friend relationship will be sent to user C.

[0069] Of course, when user A clicks the send control 52, a prompt can be made asking "User C is not a friend, do you want to send a friend request?", and after user A confirms, a request to establish a friend relationship can be sent to user C. Additionally, when user A clicks the send control 52, a friend list can be displayed, and then a sharing card can be sent to the selected friend. Furthermore, after generating a sharing card, a sharing card can be automatically sent to user B, and a request to establish a friend relationship can be sent to user C. The specific settings can be customized according to needs; this disclosure does not impose any restrictions. This allows users to share captured images or videos with friends within the game, and even make friends based on captured images or videos, thereby increasing the game's fun.

[0070] In one possible manner, generating a sharing card that includes the multimedia data in response to a sharing operation on the multimedia data may include: adding a new virtual character corresponding to the addition operation to the multimedia data in response to a new addition operation on the multimedia data, thereby obtaining new multimedia data; and generating a sharing card that includes the new multimedia data in response to a sharing operation on the new multimedia data.

[0071] For example, continue to refer to Figure 5 Users can click the editing control 51 to edit the multimedia data, such as replacing the scene screen, adding virtual characters of other users to the multimedia data, obtaining new multimedia data, and generating new sharing cards, etc. This disclosure does not impose any restrictions, thereby satisfying users' needs for custom modification of multimedia data and increasing the fun of the game.

[0072] Based on the same inventive concept, this disclosure also provides a multimedia data generation apparatus, referring to... Figure 6 The device 600 includes:

[0073] The display module 601 is used to display the scene of the target virtual space in response to a trigger operation that controls the virtual character to enter the target virtual space;

[0074] Control module 602 is used to control the movement of the virtual character in response to the operation of controlling the movement of the virtual character, and to control the movement of the virtual character within the target virtual space;

[0075] The generation module 603 is configured to generate at least one multimedia data in response to the virtual character moving to a preset area, the multimedia data including at least a portion of the scene images of the target virtual space and the virtual character.

[0076] Using the above device, when the user controls the virtual character to move to a preset area, multimedia data can be automatically generated, increasing the fun of the game. Moreover, there is no need to operate the virtual camera or frequently switch between the game view and the camera shooting view to generate multimedia data, making the operation simple.

[0077] Optionally, the generation module 603 is used for:

[0078] In response to the virtual character moving to the preset area, it is determined whether the virtual character meets the conditions for multimedia data generation;

[0079] In response to the virtual character satisfying the multimedia data generation conditions, at least one piece of multimedia data is generated based on the multimedia data generation parameters.

[0080] Optionally, the generation module 603 is used for:

[0081] In response to the virtual character moving to the preset area, the direction of the virtual character's gaze is detected. When the direction of the gaze is the direction of the virtual camera, the virtual character satisfies the multimedia data generation conditions.

[0082] Alternatively, in response to the virtual character moving to the preset area, the action of the virtual character is detected, and when the action is a preset action, the virtual character satisfies the multimedia data generation conditions.

[0083] Optionally, the device 600 further includes a determining module, the determining module being used to:

[0084] The virtual camera's pose is determined in response to the deployment operation of the virtual camera, and the preset area is determined according to the shooting area corresponding to the pose. The virtual camera is used to generate at least one of the multimedia data.

[0085] Optionally, the device 600 further includes an adjustment module, the adjustment module being used for:

[0086] When the positional relationship or subordinate relationship between the virtual character and the virtual camera meets a preset condition, the virtual camera is displayed in the scene of the target virtual space;

[0087] In response to the adjustment operation of the virtual camera, the pose of the virtual camera is adjusted.

[0088] Optionally, the device 600 further includes a display submodule, which is used for:

[0089] The game virtual space is displayed, wherein the target virtual space is a sub-virtual space of the game virtual space;

[0090] Optionally, the device 600 further includes a sharing module, the sharing module being used for:

[0091] In response to a sharing operation on the multimedia data, a sharing card including the multimedia data is generated, and the sharing card is displayed in the information flow display area of ​​the target virtual space or the game virtual space.

[0092] Optionally, the device 600 further includes a transmitting module, the transmitting module being used for:

[0093] Identify virtual characters in the multimedia data, and when the multimedia data includes a first virtual character controlled by the current user and at least one second virtual character controlled by another user, determine the user relationship between the current user and the other user.

[0094] When the user relationship indicates that the current user and the other users are friends, the shared card is sent to the other users; or,

[0095] When the user relationship indicates that the current user and the other users are not friends, a request to establish a friend relationship is sent to the other users.

[0096] Optionally, the sharing module is used for:

[0097] In response to a new operation on the multimedia data, a new virtual character corresponding to the new operation is added to the multimedia data to obtain new multimedia data.

[0098] In response to a sharing operation for the new multimedia data, a sharing card including the new multimedia data is generated.

[0099] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0100] Based on the same concept, embodiments of this disclosure also provide a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the multimedia data generation method described above.

[0101] Based on the same concept, embodiments of this disclosure also provide an electronic device, including:

[0102] A storage device on which computer programs are stored;

[0103] A processing device is configured to execute the computer program in the storage device to implement the steps of the multimedia data generation method described above.

[0104] The following is for reference. Figure 7 The diagram illustrates a structural schematic of an electronic device 700 suitable for implementing embodiments of the present disclosure. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0105] like Figure 7 As shown, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0106] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 An electronic device 700 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0107] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from storage device 708, or installed from ROM 702. When the computer program is executed by processing device 701, it performs the functions defined in the methods of embodiments of this disclosure.

[0108] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0109] In some implementations, communication can be conducted using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can be interconnected with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0110] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0111] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: display a scene of the target virtual space in response to a trigger operation that controls a virtual character to enter a target virtual space; control the virtual character to move within the target virtual space in response to a movement operation that controls the virtual character; and generate at least one multimedia data in response to the virtual character moving to a preset area, the multimedia data including at least a portion of the scene of the target virtual space and the virtual character.

[0112] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0114] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules are not, in some cases, intended to limit the functionality of the module itself.

[0115] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0116] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0117] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0118] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0119] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative forms of implementing the claims. Regarding the apparatus in the above embodiments, the specific manner in which the various modules perform their operations has been described in detail in the embodiments relating to the method, and will not be elaborated upon here.

Claims

1. A method for generating multimedia data, characterized in that, The method includes: In response to a trigger operation that controls a virtual character to enter a target virtual space, the scene of the target virtual space is displayed; In response to a control operation that moves the virtual character, the virtual character is controlled to move within the target virtual space; In response to the virtual character moving to a preset area, at least one multimedia data is generated, the multimedia data including at least a portion of the scene image of the target virtual space and the virtual character.

2. The method according to claim 1, characterized in that, The response to the virtual character moving to a preset area generates at least one multimedia data, including: In response to the virtual character moving to the preset area, it is determined whether the virtual character meets the conditions for multimedia data generation; In response to the virtual character satisfying the multimedia data generation conditions, at least one piece of multimedia data is generated based on the multimedia data generation parameters.

3. The method according to claim 2, characterized in that, The step of determining whether the virtual character meets the multimedia data generation conditions in response to the virtual character moving to the preset area includes: In response to the virtual character moving to the preset area, the direction of the virtual character's gaze is detected. When the direction of the gaze is the direction of the virtual camera, the virtual character satisfies the multimedia data generation conditions. Alternatively, in response to the virtual character moving to the preset area, the action of the virtual character is detected, and when the action is a preset action, the virtual character satisfies the multimedia data generation conditions.

4. The method according to claim 1, characterized in that, The method further includes: The virtual camera's pose is determined in response to the deployment operation of the virtual camera, and the preset area is determined according to the shooting area corresponding to the pose. The virtual camera is used to generate at least one of the multimedia data.

5. The method according to claim 4, characterized in that, The method further includes: When the positional relationship or subordinate relationship between the virtual character and the virtual camera meets a preset condition, the virtual camera is displayed in the scene of the target virtual space; In response to the adjustment operation of the virtual camera, the pose of the virtual camera is adjusted.

6. The method according to any one of claims 1-5, characterized in that, Prior to the triggering operation that controls the virtual character to enter the target virtual space, the method further includes: The game virtual space is displayed, wherein the target virtual space is a sub-virtual space of the game virtual space; After generating at least one multimedia data, the method further includes: In response to a sharing operation on the multimedia data, a sharing card including the multimedia data is generated, and the sharing card is displayed in the information flow display area of ​​the target virtual space or the game virtual space.

7. The method according to claim 6, characterized in that, The method further includes: Identify virtual characters in the multimedia data; when the multimedia data includes a first virtual character controlled by the current user and at least one second virtual character controlled by another user, determine the user relationship between the current user and the other user. When the user relationship indicates that the current user and the other users are friends, the shared card is sent to the other users; or, When the user relationship indicates that the current user and the other users are not friends, a request to establish a friend relationship is sent to the other users.

8. The method according to claim 6, characterized in that, The step of generating a sharing card including the multimedia data in response to a sharing operation on the multimedia data includes: In response to a new operation on the multimedia data, a new virtual character corresponding to the new operation is added to the multimedia data to obtain new multimedia data. In response to a sharing operation for the new multimedia data, a sharing card including the new multimedia data is generated.

9. A multimedia data generation device, characterized in that, The device includes: The display module is used to display the scene of the target virtual space in response to the trigger operation of controlling the virtual character to enter the target virtual space; A control module is used to respond to a movement operation of the virtual character and control the virtual character to move within the target virtual space; A generation module is configured to generate at least one multimedia data in response to the virtual character moving to a preset area, the multimedia data including at least a portion of the scene images of the target virtual space and the virtual character.

10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processing device, it implements the steps of the method described in any one of claims 1-8.

11. An electronic device, characterized in that, include: A storage device on which computer programs are stored; A processing device for executing the computer program in the storage device to implement the steps of the method according to any one of claims 1-8.