Control method and device based on augmented reality, electronic equipment and storage medium

By displaying selectable dance moves in an extended reality space and switching to a third-person perspective, the problem of limited ways for users to control virtual character movements is solved, improving the user's observation flexibility and immersion.

CN119002682APending Publication Date: 2024-11-22BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310575192.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-19
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In existing extended reality technologies, users have limited ways to control virtual characters to perform actions, and the perspective switching is not flexible enough when observing actions, which affects the user experience.

Method used

The system displays selectable dance moves in an extended reality space. After the user selects a target dance move, the virtual character performs the action and automatically switches to a third-person perspective, allowing the user to adjust the view around the character to better observe the action.

Benefits of technology

It enriches the control methods of extended reality, improves the user's flexibility and immersion when observing the actions of virtual characters, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002682A_ABST
    Figure CN119002682A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device based on augmented reality, electronic equipment and a storage medium. The control method based on augmented reality comprises the steps that in response to a first operation event, at least one selectable dance posture is displayed in an augmented reality space; and in response to a second operation event for determining a target dance posture from the selectable dance postures, enabling a target virtual role controlled by a current user in the augmented reality space to enter a first state for executing an action of the target dance posture, and switching a view angle of the current user from a first-person view angle of the target virtual role to a third-person view angle. According to the method disclosed by the invention, the use experience of using the augmented reality equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a control method, device, electronic device and storage medium based on extended reality. Background Art

[0002] Extended reality technology includes mixed reality, augmented reality, virtual reality and other technologies. Through extended reality technology, the virtual world and the real world are mixed for users to achieve an immersive experience. Summary of the invention

[0003] The present disclosure provides a control method, device, electronic device and storage medium based on extended reality.

[0004] The present disclosure adopts the following technical solutions.

[0005] In some embodiments, the present disclosure provides a control method based on extended reality, including:

[0006] In response to the first operation event, displaying at least one selectable dance pose in the extended reality space;

[0007] In response to a second operation event of determining a target dance pose from the optional dance poses, the target virtual character controlled by the current user in the extended reality space enters a first state of executing the action of the target dance pose, and switches the current user's perspective from the first-person perspective of the target virtual character to the third-person perspective.

[0008] In some embodiments, the present disclosure provides a control device based on extended reality, characterized in that it includes:

[0009] A display unit, configured to display at least one selectable dance pose in an extended reality space in response to a first operation event;

[0010] A control unit is used to respond to a second operation event of determining a target dance posture from the optional dance postures, causing the target virtual character controlled by the current user in the extended reality space to enter a first state of executing the action of the target dance posture, and switching the current user's perspective from the first-person perspective of the target virtual character to the third-person perspective.

[0011] In some embodiments, the present disclosure provides an electronic device, comprising: at least one memory and at least one processor;

[0012] The memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.

[0013] In some embodiments, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to perform the above method.

[0014] In some embodiments of the present disclosure, the current user controls the target virtual character to perform the target dance moves, thereby enriching the control method of the extended real world, and when the target virtual character performs the target dance moves, it automatically switches to a third-person perspective, which makes it convenient for the current user to watch the actions performed by the target virtual character. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0016] Figure 1 is a schematic diagram of using an extended reality device according to an embodiment of the present disclosure.

[0017] Figure 2 Schematic diagram of a virtual field of view of an extended reality device according to an embodiment of the present disclosure.

[0018] Figure 3 is a schematic diagram of a control method based on extended reality according to an embodiment of the present disclosure.

[0019] Figure 4 It is a schematic diagram of the action preview and optional dance postures of the embodiment of the present disclosure.

[0020] Figure 5 is a schematic diagram of the target virtual character in the second state according to an embodiment of the present disclosure.

[0021] Figure 6 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0023] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in sequence and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0024] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part 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". The relevant definitions of other terms will be given in the following description.

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

[0026] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as “one or more” unless otherwise clearly indicated in the context.

[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0028] The solution provided by the embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0029] The extended reality (XR) technology in one or more embodiments of the present disclosure may be mixed reality technology, augmented reality technology, or virtual reality technology. Extended reality technology can combine reality and virtuality through computers to provide users with an extended reality space that allows human-computer interaction. In the extended reality space, users can use extended reality devices such as helmet-mounted displays (HMDs) to engage in social interaction, entertainment, learning, work, telecommuting, and UGC (User Generated Content) creation.

[0030] refer to Figure 1 Users can enter the extended reality space through extended reality devices such as head-mounted glasses, and control their own virtual characters (Avatar) in the extended reality space to engage in social interaction, entertainment, learning, remote work, etc. with virtual characters controlled by other users.

[0031] In one embodiment, in the extended reality space, the user can implement relevant interactive operations through a controller, and the controller can be a handle, for example, the user performs relevant operation control by operating the buttons of the handle. Of course, in other embodiments, the target object in the extended reality device can be controlled by gestures, voice or multi-modal control instead of using a controller.

[0032] The extended reality devices described in the embodiments of the present disclosure may include but are not limited to the following types:

[0033] The computer-side extended reality device uses the computer to perform related calculations and data output of the extended reality function, and the external computer-side extended reality device uses the data output by the computer to achieve the extended reality effect.

[0034] The mobile expansion device supports the setting of a mobile terminal (such as a smart phone) in various ways (such as a head-mounted display with a dedicated card slot). Through a wired or wireless connection with the mobile terminal, the mobile terminal performs relevant calculations of the extended reality function and outputs data to the mobile extended reality device, such as watching extended reality videos through the mobile terminal's APP.

[0035] The all-in-one extended reality device has a processor for performing related calculations for extended reality functions, and thus has independent extended reality input and output functions. It does not need to be connected to a computer or mobile terminal and has a high degree of freedom in use.

[0036] Of course, the form of the extended reality device is not limited to this, and it can be further miniaturized or enlarged as needed.

[0037] The extended reality device is equipped with a posture detection sensor (such as a nine-axis sensor) for detecting posture changes of the extended reality device in real time. If the user wears the extended reality device, then when the user's head posture changes, the real-time posture of the head will be transmitted to the processor to calculate the user's gaze point in the extended reality space environment, and the image within the user's gaze range (i.e., virtual field of view) in the three-dimensional model of the extended reality space environment is calculated based on the gaze point and displayed on the display screen, giving people an immersive experience as if they were watching in the real environment.

[0038] Figure 2An optional schematic diagram of the virtual field of view of an extended reality device provided by some embodiments of the present disclosure is shown, and the horizontal field of view angle and the vertical field of view angle are used to describe the distribution range of the virtual field of view in the virtual environment. The vertical distribution range is represented by the vertical field of view angle BOC, and the horizontal distribution range is represented by the horizontal field of view angle AOB. The human eye can always perceive the image located in the virtual field of view in the extended reality space through the lens. It can be understood that the larger the field of view angle, the larger the size of the virtual field of view, and the larger the area of ​​the extended reality space that the user can perceive. Among them, the field of view angle represents the distribution range of the viewing angle when the environment is perceived through the lens. For example, the field of view angle of the extended reality device represents the distribution range of the viewing angle of the human eye when the extended reality space environment is perceived through the lens of the extended reality device; for another example, for a mobile terminal equipped with a camera, the field of view angle of the camera is the distribution range of the viewing angle when the camera perceives the real environment for shooting.

[0039] Extended reality devices, such as HMDs, are integrated with several cameras (e.g., depth cameras, RGB cameras, etc.), and the purpose of the cameras is not limited to providing a direct view. Camera images and integrated inertial measurement units (IMUs) provide data that can be processed by computer vision methods to automatically analyze and understand the environment. In addition, HMDs are designed to support not only passive computer vision analysis, but also active computer vision analysis. Passive computer vision methods analyze image information captured from the environment. These methods can be monoscopic (images from a single camera) or stereoscopic (images from two cameras). They include, but are not limited to, feature tracking, object recognition, and depth estimation. Active computer vision methods add information to the environment by projecting patterns that are visible to the camera but not necessarily visible to the human visual system. Such technologies include time-of-flight (ToF) cameras, laser scanning, or structured light to simplify stereo matching problems. Active computer vision is used to achieve scene depth reconstruction.

[0040] like Figure 3 As shown, in some embodiments of the present disclosure, a control method based on extended reality is proposed, including:

[0041] S11. In response to a first operation event, display at least one selectable dance pose in an extended reality space.

[0042] In some embodiments, the method proposed in the present disclosure can be used in an extended reality device. The first operation event may include one or more operations. The first operation event may, for example, be calling out a dance posture option panel in the extended reality world and selecting an optional dance posture in the dance posture option panel. The dance posture option panel may be a panel called out through a virtual control bracelet. In some embodiments, the extended reality world may be a purely virtual world or a mixture of a virtual world and a real world. In some embodiments, the number of optional dance postures in the dance posture option may be multiple, for example, Figure 4 As shown, Figure 4 The face of the dance options is schematically displayed, with 6 optional dances displayed on the right, and the representative movements and names of the dances displayed in the optional dances.

[0043] S12. In response to a second operation event of determining a target dance posture from optional dance postures, the target virtual character controlled by the current user in the extended reality space enters a first state of executing the action of the target dance posture, and switches the current user's perspective from the first-person perspective of the target virtual character to the third-person perspective.

[0044] In some embodiments, the second operation event may include one or more operations, for example, it may include the two operations of selecting an optional dance posture and confirming the selection. The target dance posture may include one or more optional dance postures. After the target dance posture is determined from the optional dance postures, the target virtual character will be controlled in the extended reality space to perform the action of the target dance posture. In some embodiments, the current user corresponds to a target virtual character in the extended reality space. The target virtual character may be the virtual character of the current user himself. The target virtual character usually performs corresponding actions according to the user's actions. Usually, the current user views the extended reality world from the first-person perspective of the target virtual character. After the target virtual character enters the first state, it will automatically switch to the third-person perspective, so that the current user can view the target dance posture action performed by the target virtual character from the third-person perspective.

[0045] In some embodiments of the present disclosure, the current user controls the target virtual character to perform the target dance moves, thereby enriching the control method of the extended real world, and when the target virtual character performs the target dance moves, it automatically switches to a third-person perspective, which makes it convenient for the current user to watch the actions performed by the target virtual character.

[0046] In some embodiments, the specific viewing angle of the third-person perspective is determined based on the target dance posture. In some embodiments, the best viewing angles for different dance postures are different. Therefore, in order to ensure the user's viewing experience, the viewing angle for viewing the target dance posture in the third-person perspective will be automatically determined based on the target dance posture, thereby ensuring the user's viewing experience.

[0047] In some embodiments of the present disclosure, after displaying at least one optional dance pose in the extended reality space and before responding to a second operation event of determining a target dance pose from the optional dance poses, it also includes: in response to a third operation event of selecting an optional dance pose, displaying a motion preview of the currently selected optional dance pose, and / or displaying the selected optional dance pose with a floating special effect.

[0048] In some embodiments, after the optional dance postures are displayed, a dance posture may be selected before the target dance posture is determined. The third operation event may include a selection operation, and the selected optional dance posture may be changed, such as Figure 4 As shown, in Figure 4 The right side of the dance panel shows 6 optional dance poses. Figure 4 The left side of the dance posture panel displays a dance movement demonstration (movement preview). After selecting an optional dance posture, the movement preview of the selected optional dance posture will be displayed. A preview virtual character can be displayed when displaying the movement preview, and the preview virtual character performs the movement of the selected optional dance posture. And the preview virtual character can adopt the appearance of the target virtual character. In some embodiments, for the selected optional dance posture, it can display a floating special effect, for example, the selected optional dance posture can be suspended and highlighted from other optional dance postures for display. In some embodiments, the current user makes a selection through the handle, the handle emits a ray, the optional dance posture pointed to by the ray is in the selected state, and then the selected optional dance posture is determined as the target dance posture by clicking a button on the handle, thereby entering the first state.

[0049] In some embodiments of the present disclosure, the method further includes: in response to a fourth operation event, adjusting a viewing angle of the target virtual character from a third-person perspective around the target virtual character.

[0050] It is physically imperceptible when in use, so that the wearer will not feel a sense of ear closure or external sounds. For example, the angle of the third-person perspective can be controlled by the joystick on the current user's physical handle, and the angle of the third-person perspective can be adjusted 360 degrees around the target virtual character, so as to watch the target virtual character performing the target dance movements from different angles.

[0051] In some embodiments of the present disclosure, while the target virtual character is in the first state, the movement instruction of the target virtual character is not executed. In some embodiments, when the target virtual character is in the first state, the current user cannot control his target virtual character by means of, for example, a joystick, and the target virtual character will not perform actions according to the actions of the current user, and cannot perform interactions such as picking up, so as to avoid affecting the execution of the target dance posture.

[0052] In some embodiments of the present disclosure, during the first state, the movement instruction for the target virtual character is changed to an instruction for adjusting the viewing angle of the target virtual character. In some embodiments, after entering the third-person perspective, the field of view of the third-person perspective can be captured by a virtual camera around the target virtual character, and the viewing angle of the third-person perspective can be adjusted by adjusting the position of the virtual camera. The movement instruction in the first state will be changed to an instruction for moving the virtual camera. For example, the instruction for moving left and right can be changed to rotating the virtual camera, the instruction for moving forward and backward can be changed to zooming in or out of the virtual camera to the target virtual character, and the instruction for changing the pitch angle of the target virtual character can be changed to changing the pitch angle of the third-person perspective.

[0053] In some embodiments of the present disclosure, during the first state, the field of view of the third-person perspective always surrounds the target virtual character. In some embodiments, during the first state of the target virtual character, it is convenient for the current user to watch the target virtual character perform the target dance posture. At this time, the current user should always be able to see the target virtual character, so the target virtual character is always within the field of view of the third-person perspective.

[0054] In some embodiments of the present disclosure, during the first state, if the location of the third-person perspective overlaps with other virtual characters, the other virtual characters are hidden. In some embodiments, the field of view of the third-person perspective is the field of view observed from the location of the third-person perspective, and the location of the third-person perspective can be understood as the location of the glasses used for observation when observing from the third-person perspective. At this time, if the location overlaps with other virtual characters, the field of view of the third-person perspective will be blocked, and thus other virtual characters that overlap with the location will be hidden.

[0055] In some embodiments of the present disclosure, during the first state, the target virtual character cyclically performs the target dance pose. In some embodiments, during the first state, the target virtual character performs the target dance pose visible to the current user and other users in the extended reality space. In this way, the current user and other users can see the target virtual character performing the target dance pose.

[0056] In some embodiments of the present disclosure, during the first state, a prompt message following the line of sight of the current user is displayed, and the prompt message is used to prompt a method of exiting the first state. In some embodiments, the line of sight of the current user can be detected to determine the direction of the line of sight of the current user, and a prompt message is displayed, the position of which moves with the movement of the line of sight of the current user, wherein it can be informed how to exit the first state, for example, by pressing the B / Y key to exit the first state. The display of the prompt message does not affect the action of watching the target virtual character perform the target dance posture.

[0057] In some embodiments of the present disclosure, the method further includes: in response to a fifth operation event, the target virtual character exits the first state, and switches the current user's perspective from a third-person perspective to a first-person perspective of the target virtual character.

[0058] In some embodiments, the fifth operation event can be of multiple types, such as pressing a specific function button, calling out a control panel, calling out a system panel, entering other links, etc. At this time, the first state will be exited, and the current user will view the extended real world from the first-person perspective of the target virtual character. At this time, the actions of the target virtual character can be consistent with the actions of the current user in the real world.

[0059] In some embodiments of the present disclosure, it also includes: after exiting the first state, if the current user does not turn on the microphone within a preset time period and the movement displacement is less than a preset distance, the target virtual character enters a second state, and in the second state the target virtual character performs preset dance movements.

[0060] In some embodiments of the present disclosure, the preset time length is, for example, 1 minute, 3 minutes or 5 minutes, and the preset distance is, for example, 1 meter, 2 meters or 3 meters. After exiting the first state, if the current user does not turn on the microphone and the movement displacement is less than the preset distance, this indicates that the current user may have temporarily left and is not using the extended reality device. Since the current user does not perform any action at this time, the target virtual character will not move and appear to be dull. Therefore, at this time, the target virtual character is controlled to enter the second state, such as Figure 5 As shown, in the second state, the target virtual character can automatically perform preset dance movements, which may include, for example, waving hands, looking around, etc. This allows the target virtual character to remain active in the extended real world, improves the display effect, and makes the atmosphere of the extended real world more active.

[0061] In some embodiments of the present disclosure, it also includes: in response to the current user turning on the microphone, or the movement displacement within the preset time is not less than the preset distance, the target virtual character exits the second state. In some embodiments, after entering the second state, if the current user turns on the microphone, or moves a preset distance, it indicates that the current user returns to the state of using the extended reality device, so the action of the target virtual character should be controlled according to the action of the current user, so the target virtual character is controlled to exit the second state, and then the action of the target virtual character is controlled according to the action of the current user.

[0062] In some embodiments of the present disclosure, the current user can, for example, select a corresponding target dance from optional dance poses by controlling a bracelet, and the current user's target virtual character performs the dance moves of the target dance pose. At the same time, the current user switches to a third-person observation perspective surrounding the target virtual character, shields movement instructions, and changes to a rotating perspective, thereby improving the user's experience of using the extended reality device.

[0063] The present disclosure also provides a control device based on extended reality, comprising:

[0064] A display unit, configured to display at least one selectable dance pose in an extended reality space in response to a first operation event;

[0065] A control unit is used to respond to a second operation event of determining a target dance posture from optional dance postures, and to cause a target virtual character controlled by a current user in an extended real space to enter a first state of executing an action of the target dance posture, and to switch the current user's perspective from a first-person perspective of the target virtual character to a third-person perspective.

[0066] In some embodiments, after displaying at least one optional dance pose in the extended reality space and before responding to a second operation event of determining a target dance pose from the optional dance poses, the display unit is further configured to:

[0067] In response to a third operation event of selecting the optional dance posture, a movement preview of the currently selected optional dance posture is displayed, and / or the selected optional dance posture is displayed with a floating special effect.

[0068] In some embodiments, the control unit is further configured to: in response to a fourth operation event, adjust a viewing angle of the target virtual character from a third-person perspective around the target virtual character.

[0069] In some embodiments, while the target virtual character is in the first state, at least one of the following conditions is satisfied:

[0070] Not executing the movement instruction of the target virtual character;

[0071] Changing the movement instruction of the target virtual character into an instruction for adjusting the viewing angle of the target virtual character;

[0072] The field of view of the third-person perspective always surrounds the target virtual character;

[0073] If the location of the third-person perspective overlaps with another virtual character, hiding the other virtual character;

[0074] The target virtual character cyclically performs the target dance posture;

[0075] The target dance performed by the target virtual character is visible to the current user and other users in the extended reality space;

[0076] Display prompt information following the sight line of the current user, where the prompt information is used to prompt a method of exiting the first state.

[0077] In some embodiments, the control unit is further configured to: in response to a fifth operation event, cause the target virtual character to exit the first state, and switch the current user's perspective from the third-person perspective to the first-person perspective of the target virtual character.

[0078] In some embodiments, the control unit is further used to: after exiting the first state, if the current user does not turn on the microphone within a preset time period and the movement displacement is less than a preset distance, the target virtual character enters a second state, and in the second state the target virtual character performs preset dance movements.

[0079] In some embodiments, the control unit is further configured to: in response to the current user turning on the microphone, or the movement displacement within a preset time period is not less than a preset distance, the target virtual character exits the second state.

[0080] For the embodiments of the device, since they basically correspond to the method embodiments, the relevant parts refer to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separation modules may or may not be separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present embodiment. Those of ordinary skill in the art can understand and implement without paying creative work.

[0081] The method and device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides an electronic device and a computer-readable storage medium, which are described below.

[0082] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 800 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in the figure is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.

[0083] The electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0084] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.

[0085] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

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

[0087] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0088] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0089] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.

[0090] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate 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 a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0091] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0092] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0093] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

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

[0095] According to one or more embodiments of the present disclosure, a control method based on extended reality is provided, including:

[0096] In response to the first operation event, displaying at least one selectable dance pose in the extended reality space;

[0097] In response to a second operation event of determining a target dance pose from optional dance poses, the target virtual character controlled by the current user in the extended reality space enters a first state of executing the action of the target dance pose, and the current user's perspective is switched from the first-person perspective of the target virtual character to the third-person perspective.

[0098] According to one or more embodiments of the present disclosure, a control method based on extended reality is provided, which includes: after displaying at least one optional dance posture in the extended reality space and before responding to a second operation event of determining a target dance posture from the optional dance postures, the method further includes:

[0099] In response to the third operation event of selecting an optional dance posture, a movement preview of the currently selected optional dance posture is displayed, and / or the selected optional dance posture is displayed with a floating special effect.

[0100] According to one or more embodiments of the present disclosure, a control method based on extended reality is provided, further comprising: in response to a fourth operation event, adjusting a viewing angle of the target virtual character from a third-person perspective around the target virtual character.

[0101] According to one or more embodiments of the present disclosure, a control method based on extended reality is provided, further comprising: when the target virtual character is in the first state, satisfying at least one of the following conditions:

[0102] The movement instruction to the target virtual character is not executed;

[0103] Changing the movement instruction of the target virtual character to an instruction for adjusting the viewing angle of the target virtual character;

[0104] The third-person perspective always focuses on the target avatar;

[0105] If the location of the third-person perspective overlaps with other virtual characters, hide the other virtual characters;

[0106] The target virtual character executes the target dance posture in a loop;

[0107] The movements of the target dance pose performed by the target avatar are visible to the current user and other users in the extended reality space;

[0108] The prompt information following the sight line of the current user is displayed, and the prompt information is used to prompt a method of exiting the first state.

[0109] According to one or more embodiments of the present disclosure, a control method based on extended reality is provided, which also includes: in response to a fifth operation event, the target virtual character exits the first state and switches the current user's perspective from a third-person perspective to a first-person perspective of the target virtual character.

[0110] According to one or more embodiments of the present disclosure, a control method based on extended reality is provided, which also includes: after exiting the first state, if the current user does not turn on the microphone within a preset time period and the movement displacement is less than a preset distance, the target virtual character enters a second state, and in the second state the target virtual character performs preset dance movements.

[0111] According to one or more embodiments of the present disclosure, a control method based on extended reality is provided, further comprising: in response to the current user turning on the microphone, or the movement displacement within a preset time period is not less than a preset distance, the target virtual character exits the second state.

[0112] According to one or more embodiments of the present disclosure, there is provided a control device based on extended reality, comprising: a display unit, configured to display at least one selectable dance posture in an extended reality space in response to a first operation event;

[0113] A control unit is used to respond to a second operation event of determining a target dance posture from optional dance postures, and to cause a target virtual character controlled by a current user in an extended real space to enter a first state of executing an action of the target dance posture, and to switch the current user's perspective from a first-person perspective of the target virtual character to a third-person perspective.

[0114] According to one or more embodiments of the present disclosure, there is provided an electronic device, including: at least one memory and at least one processor;

[0115] The at least one memory is used to store program codes, and the at least one processor is used to call the program codes stored in the at least one memory to execute any one of the above methods.

[0116] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to execute the above method.

[0117] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0118] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0119] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, 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. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A control method based on extended reality, characterized in that: include: In response to the first operation event, displaying at least one selectable dance pose in the extended reality space; In response to a second operation event of determining a target dance pose from the optional dance poses, the target virtual character controlled by the current user in the extended reality space enters a first state of executing the action of the target dance pose, and switches the current user's perspective from the first-person perspective of the target virtual character to the third-person perspective.

2. The method according to claim 1, characterized in that After displaying at least one optional dance pose in the extended real space, and before responding to a second operation event of determining a target dance pose from the optional dance poses, the method further includes: In response to a third operation event of selecting the optional dance posture, a movement preview of the currently selected optional dance posture is displayed, and / or the selected optional dance posture is displayed with a floating special effect.

3. The method according to claim 1, characterized in that: Also includes: In response to the fourth operation event, the viewing angle of the target virtual character from a third-person perspective is adjusted around the target virtual character.

4. The method according to claim 1, characterized in that: Also includes: While the target virtual character is in the first state, at least one of the following conditions is satisfied: Not executing the movement instruction of the target virtual character; Changing the movement instruction of the target virtual character into an instruction for adjusting the viewing angle of the target virtual character; The field of view of the third-person perspective always surrounds the target virtual character; If the location of the third-person perspective overlaps with another virtual character, hiding the other virtual character; The target virtual character cyclically performs the target dance posture; The target dance performed by the target virtual character is visible to the current user and other users in the extended reality space; Prompt information following the sight line of the current user is displayed, where the prompt information is used to prompt a method for exiting the first state.

5. The method according to claim 1, characterized in that Also includes: In response to the fifth operation event, the target virtual character exits the first state, and the perspective of the current user is switched from the third-person perspective to the first-person perspective of the target virtual character.

6. The method according to claim 5, characterized in that Also includes: After exiting the first state, if the current user does not turn on the microphone within a preset time period and the movement displacement is less than a preset distance, the target virtual character enters a second state, and in the second state the target virtual character performs a preset dance action.

7. The method according to claim 6, characterized in that Also includes: In response to the current user turning on the microphone, or the movement displacement within a preset time period is not less than a preset distance, the target virtual character exits the second state.

8. A control device based on extended reality, characterized in that: include: A display unit, configured to display at least one selectable dance pose in an extended reality space in response to a first operation event; A control unit is used to respond to a second operation event of determining a target dance posture from the optional dance postures, causing the target virtual character controlled by the current user in the extended reality space to enter a first state of executing the action of the target dance posture, and switching the current user's perspective from the first-person perspective of the target virtual character to the third-person perspective.

9. An electronic device, comprising: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 7. 10 . A computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, wherein when the program codes are executed by a processor, the processor is prompted to execute the method according to claim 1 .