Operation identifier display method and device, computer equipment and storage medium

By dynamically switching and generating multiple styles of interactive logos, the problem of a single display style of interactive logos in virtual reality technology is solved and the user's immersive experience is improved.

CN118732890APending Publication Date: 2024-10-01TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310356369.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The display style of interactive signs in existing virtual reality technology is relatively single and lacks richness, which affects the user's immersive experience in the virtual reality world.

Method used

By detecting the interaction status between the interactive logo and the virtual reality component, dynamically switching the display style of the interactive logo, generating a first interaction style that matches the type of the virtual reality component, and generating a second interaction style that represents the interactive animation during control operations, it improves the interactive logo richness and dynamics.

Benefits of technology

The richness of display styles of interactive logos in virtual reality technology is improved, and the user's immersion and interactive experience in the virtual reality world are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732890A_ABST
    Figure CN118732890A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an operation identifier display method and device, computer equipment and a storage medium. According to the embodiment of the invention, a virtual reality content interface can be displayed, and the virtual reality content interface comprises virtual reality content and an interaction identifier of an object for the virtual reality content interface; when it is detected that the interaction identifier interacts with the virtual reality component, switching a display style of the interaction identifier from a current style to a first interaction style; when a control operation for the virtual reality component is detected, operation state information of the control operation is obtained, a second interaction style of the interaction identifier corresponding to the operation state information is displayed, and the second interaction style comprises an interaction animation which is generated based on the first interaction style and represents interaction between the interaction identifier and the virtual reality component. And the interactive animation also indicates the operation state of the object for the virtual component, so that the richness of the cursor display style in the virtual reality technology can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for displaying an operation mark. Background Art

[0002] Virtual Reality (VR) is a brand-new practical technology developed in the 20th century. Virtual reality technology encompasses computers, electronic information, and simulation technology. Its basic implementation method is based on computer technology, using and integrating the latest developments of various high technologies such as three-dimensional graphics technology, multimedia technology, simulation technology, display technology, and servo technology. With the help of computers and other equipment, a realistic three-dimensional virtual world with multiple sensory experiences such as vision, touch, and smell is generated, so that people in the virtual world can have an immersive feeling. Existing VR technology can use interactive logos to enable users to control the virtual reality world. However, the existing VR technology has the problem that the display style of interactive logos is relatively single. Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, computer device, and storage medium for displaying an operation mark, which can improve the richness of interactive mark display styles in virtual reality technology, thereby improving the user's immersion in the virtual reality world.

[0004] The present application provides a method for displaying an operation mark, including:

[0005] Displaying a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component;

[0006] When it is detected that the interaction identifier and the virtual reality component interact, the current style of the interaction identifier is switched to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component;

[0007] When a control operation on the virtual reality component is detected, the operation status information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation status information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object on the virtual component.

[0008] Accordingly, an embodiment of the present application further provides a display device for an operation mark, including:

[0009] A first display unit, configured to display a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object with respect to the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component;

[0010] a switching unit, configured to switch a current style of the interaction identifier to a first interaction style when detecting that the interaction identifier interacts with the virtual reality component, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches a type of the virtual reality component;

[0011] A second display unit is used to obtain operation status information of the control operation when a control operation for the virtual reality component is detected, and to display a second interaction style of the interaction identifier corresponding to the operation status information, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object for the virtual component.

[0012] In one embodiment, the operation identification display device may further include:

[0013] The third display unit is used to display the dynamic interaction effect of the virtual reality component according to the type of the virtual reality component when the interaction identifier and the virtual reality component are detected to interact, wherein the identification attribute of the interaction identifier is associated with the dynamic interaction effect of the virtual reality component.

[0014] In one embodiment, the second display unit may include:

[0015] a determination subunit, configured to determine trigger state information corresponding to the virtual reality component according to the termination operation state information;

[0016] A matching subunit, used for matching the trigger state information corresponding to the virtual reality component with a preset trigger condition;

[0017] The trigger subunit is used to trigger the function of the virtual reality component when the trigger state information corresponding to the virtual reality component meets the preset trigger condition.

[0018] In one embodiment, the operation identification display device may further include:

[0019] an acquisition unit, configured to acquire trigger state information of the trigger operation when a trigger operation for the interaction identifier is detected, and display a third interaction style of the interaction identifier corresponding to the trigger state information, wherein the third interaction style matches the trigger operation state information

[0020] In one embodiment, the switching unit may include:

[0021] A mapping subunit, configured to, when detecting that the interaction identifier interacts with the virtual reality component, map the type of the virtual reality component to obtain style structure information of the interaction identifier that matches the type of the virtual reality component;

[0022] A drawing subunit, configured to perform an interaction mark drawing process according to the style structure information of the interaction mark to obtain a first interaction style of the interaction mark;

[0023] The synchronization subunit is used to synchronize the first interaction style of the interaction identifier to switch the current style of the interaction identifier to the first interaction style.

[0024] In one embodiment, the drawing subunit may include:

[0025] A parsing module, used to parse the style structure information of the interactive logo to obtain the size attribute, rounded corner attribute, shape attribute and fill attribute of the interactive logo;

[0026] A size drawing module, used for performing size drawing processing on the interactive logo according to the size attribute parameters to obtain a size drawing style of the interactive logo;

[0027] A rounded corner drawing module, used for performing rounded corner drawing processing on the interactive logo according to the rounded corner attribute to obtain a rounded corner drawing style of the interactive logo;

[0028] A shape drawing module, used for performing shape drawing processing on the interactive mark according to the shape attribute to obtain a shape drawing style of the interactive mark;

[0029] A filling and drawing module is used to perform a filling and drawing process on the interaction mark according to the filling attribute to obtain a first interaction style of the interaction mark.

[0030] In one embodiment, the switching unit may further include:

[0031] The instruction receiving subunit is used to receive the interactive identification start instruction;

[0032] A starter unit, configured to start an interaction identification detector based on the interaction identification instruction;

[0033] The detection subunit is used to detect and process the interaction identifier through the interaction identifier detector.

[0034] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device performs the method provided in various optional modes of the above-mentioned aspect.

[0035] Correspondingly, an embodiment of the present application further provides a storage medium, which stores instructions, and when the instructions are executed by a processor, implements any method for displaying an operation identifier provided in the embodiment of the present application.

[0036] The embodiment of the present application can display a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component; when an interaction between the interaction identifier and the virtual reality component is detected, the display style of the interaction identifier is switched from a current style to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component; when a control operation for the virtual reality component is detected, operation state information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation state information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, which represents the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation state of the object for the virtual component, which can improve the richness of the cursor display style in the virtual reality technology, thereby improving the user's immersion in the virtual reality world. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 It is a scene diagram of the method for displaying the operation identifier provided in the embodiment of the present application;

[0039] Figure 2a It is a flowchart of a method for displaying an operation identifier provided in an embodiment of the present application;

[0040] Figure 2bThis is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0041] Figure 2c This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0042] Figure 2d This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0043] Figure 2e This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0044] Figure 2f This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0045] Figure 2g This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0046] Figure 2h This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0047] Figure 2i This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0048] Figure 2j This is another flowchart of the method for displaying an operation identifier provided in an embodiment of the present application;

[0049] Figure 2k This is another flowchart of the method for displaying an operation identifier provided in an embodiment of the present application;

[0050] Figure 2l This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0051] Figure 2m This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0052] Figure 2n This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0053] Figure 3a It is a flowchart of a method for displaying an operation identifier provided in an embodiment of the present application;

[0054] Figure 3b This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0055] Figure 3cThis is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0056] Figure 3d This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0057] Figure 3e This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0058] Figure 3f This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0059] Figure 3g This is another schematic diagram of a scenario of a method for displaying an operation identifier provided in an embodiment of the present application;

[0060] Figure 4 This is another flowchart of the method for displaying an operation identifier provided in an embodiment of the present application;

[0061] Figure 5 is a schematic diagram of the structure of a display device for an operation indicator provided in an embodiment of the present application;

[0062] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. However, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0064] The embodiment of the present application proposes a method for displaying an operation mark, which can be executed by a display device for the operation mark, and the display device for the operation mark can be integrated in a computer device, wherein the computer device can include a terminal and other devices.

[0065] Among them, the terminal may include but is not limited to smart phones, tablet computers, laptops, personal computers (PCs), smart home appliances, wearable electronic devices, vehicle-mounted terminals, intelligent voice interaction devices, and other devices that can realize virtual display functions.

[0066] It should be noted that the embodiments of the present application can be applied to various scenarios, including but not limited to virtual reality, cloud technology, artificial intelligence, smart transportation, assisted driving, virtual reality games, etc.

[0067] In one embodiment, if Figure 1 As described above, taking the computer device as a terminal as an example, the system for displaying virtual items provided in the embodiment of the present application includes a terminal 10 and a server 11, etc.; the terminal 10 and the server 11 are connected via a network, such as a wired or wireless network connection, etc., wherein the display device of the operation mark is integrated in the terminal, for example, integrated in the terminal 10 in the form of a client, and the client can be an application client, etc.

[0068] The terminal 10 can be used to: display a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component; when the interaction identifier and the virtual reality component are detected to interact, the display style of the interaction identifier is switched from the current style to the first interaction style, wherein the first interaction style indicates the interaction state of the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component; when a control operation for the virtual reality component is detected, the operation state information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation state information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation state of the object for the virtual component. The virtual reality content can be stored in the server 11.

[0069] The virtual item display method provided in the embodiment of the present application relates to Extended Reality (XR) in the field of artificial intelligence (AI). XR refers to the combination of reality and virtuality through computers to create a virtual environment for human-computer interaction. This is also a general term for various technologies such as Augmented Reality (AR), Virtual Reality (VR), and Mixed Reality (MR). By integrating the visual interaction technologies of the three, the experiencer can be brought an "immersive feeling" of seamless transition between the virtual world and the real world.

[0070] Among them, augmented reality technology is also called augmented reality. AR augmented reality technology is a relatively new technical content that promotes the integration of real-world information and virtual-world information content. It simulates and processes physical information that is difficult to experience in the spatial range of the real world on the basis of computers and other scientific technologies, and superimposes virtual information content to be effectively applied in the real world. In this process, it can be perceived by human senses, thus achieving a sensory experience beyond reality. After the real environment and virtual objects overlap, they can exist simultaneously in the same picture and space. Augmented reality technology can not only effectively reflect the content of the real world, but also promote the display of virtual information content. These delicate contents complement and overlap each other. In visual augmented reality, users need to make the real world overlap with computer graphics on the basis of helmet displays, and after the overlap, they can fully see the real world around it. Augmented reality technology mainly includes new technologies and means such as multimedia, three-dimensional modeling and scene fusion. There is a clear difference between the information content provided by augmented reality and the information content that humans can perceive.

[0071] Among them, VR is a brand-new practical technology developed in the 20th century. Virtual reality technology includes computers, electronic information, and simulation technology. Its basic implementation method is based on computer technology, and uses and integrates the latest developments of various high technologies such as three-dimensional graphics technology, multimedia technology, simulation technology, display technology, and servo technology. With the help of computers and other equipment, a realistic three-dimensional visual, tactile, olfactory and other sensory experiences are generated in the virtual world, so that people in the virtual world have an immersive feeling.

[0072] MR is a further development of virtual reality technology. This technology introduces real scene information into the virtual environment, builds an interactive feedback information loop between the virtual world, the real world and the user, and enhances the realism of the user experience. VR is a pure virtual digital picture, while AR is a virtual digital picture plus naked eye reality, and MR is a digital reality plus a virtual digital picture. Conceptually, MR is closer to AR, both are half real and half virtual images, but traditional AR technology uses the prism optical principle to refract real images, the viewing angle is not as large as VR, and the clarity is also affected. MR technology combines the advantages of VR and AR, and can better reflect AR technology.

[0073] In one embodiment, the method proposed in the embodiment of the present application can be applied to the XR field. For example, the method proposed in the field of the present application can be applied to the game field such as shooting games, level-breaking games, and strategy games based on XR technology. For another example, the method proposed in the embodiment of the present application can be applied to the teaching field based on XR technology, etc.

[0074] The following are detailed descriptions respectively. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0075] The embodiments of the present application will be described from the perspective of a display device for an operation mark, and the display device for the operation mark can be integrated in a computer device, and the computer device can be a terminal or other device.

[0076] like Figure 2a A method for displaying an operation mark is provided, and the specific process includes:

[0077] 101. Display a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object with respect to the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component.

[0078] In one embodiment, the virtual reality content interface can provide a medium for the object to interact with the virtual reality world, and the user can immerse himself in the virtual reality world through the virtual reality content interface. For example, the virtual reality content interface can include virtual reality content and the object's interaction mark for the virtual reality content interface.

[0079] In one embodiment, virtual reality content may include content that can be perceived through a virtual reality interface but does not really exist. For example, virtual reality content may include various types of content, and any content that exists in a virtual reality world may be virtual reality content. For example, when the present solution is applied to the field of gaming, the virtual reality content may include game scenes generated based on virtual reality technology, game avatars generated based on virtual reality scenes, and so on.

[0080] In one embodiment, the virtual reality content may include at least one type of virtual reality component. The virtual reality component may include virtual reality content that can interact with an object in a virtual reality content interface. For example, the virtual reality component may be a functional component. For example, a virtual functional component may include a general control, a slider control, or a progress bar control, etc. that responds to a corresponding function when triggered. For another example, the virtual reality component may include a virtual reality item that can interact with an object. For example, the virtual reality component may be various virtual reality items such as chairs and stools that can be moved by objects in a virtual reality world. For another example, the virtual reality component may be a game item in a virtual reality world, etc.

[0081] In one embodiment, the interactive mark can provide a medium for the object to interact with the virtual reality world, and through the interactive mark, the object can operate or control the virtual reality content, etc. For example, the interactive mark can include a cursor in the virtual reality content interface, etc.

[0082] In one embodiment, the object may include a user who enters a virtual reality world through a VR device.

[0083] In one embodiment, a virtual reality content interface is displayed, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object with respect to the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component.

[0084] For example, after a user wears a VR device, the user can enter the virtual reality world through the VR device. For example, after a user wears VR glasses, the user can view the virtual reality content interface through the VR glasses, wherein the virtual reality content interface may include virtual objects, progress bars or sliders and other virtual reality components and cursors. For example, for a VR shooting game, after a user wears VR glasses, the user can view the game scene of the shooting game through the VR glasses, and can also see other players who have entered the shooting game through the VR glasses. Among them, the game scene may include different virtual reality components, for example, shooting objects, sliders, etc. The user controls the cursor to shoot the shooting objects in the game scene.

[0085] 102. When it is detected that the interaction identifier and the virtual reality component interact, the current style of the interaction identifier is switched to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component.

[0086] In one embodiment, in order to improve the richness of the interactive identification display in VR technology, the interactive identification of the present application may have a variety of different interactive styles, wherein different interactive styles may correspond to different interactive states.

[0087] For example, different interaction styles can indicate different interaction states between the interaction mark and the virtual reality component. For example, when the display style of the interaction mark is interaction style A, it can be indicated that the interaction mark and the virtual reality component are not interacting. For another example, when the display style of the interaction mark is interaction style B, it can be indicated that the interaction mark and the virtual reality component are interacting.

[0088] For another example, different interaction styles can illustrate the operation of the object on the virtual reality content interface. For example, when the display style of the interaction mark is the A interaction style, it can be explained that the object has performed a pressing operation. For another example, when the display style of the interaction mark is the B interaction style, it can be explained that the object has performed a long press operation.

[0089] For another example, different interaction styles can illustrate the interaction status between the interaction identifier, the object, and the virtual reality component. For example, when the display style of the interaction identifier is the A interaction style, it can be explained that the object has performed a pressing operation on the virtual reality component in the virtual reality content interface. For another example, when the display style of the interaction identifier is the B interaction style, it can be explained that the object has performed a long pressing operation on the virtual reality component in the virtual reality content interface.

[0090] In one embodiment, when the interaction between the interaction marker and the virtual reality component is detected, the current style of the interaction marker is switched to the first interaction style.

[0091] The interaction between the interactive identifier and the virtual reality component may refer to the interaction distance between the interactive identifier and the virtual reality component being within a preset interaction range. For example, when the distance between the interactive identifier and the virtual reality component is less than 5 mm, it can be considered that the interactive identifier and the virtual reality component are interacting. For another example, when the interactive identifier and the virtual reality component touch each other (i.e., the distance between the interactive identifier and the virtual reality component is a negative number), it can be considered that the interactive identifier and the virtual reality component are interacting.

[0092] The current style of the interaction mark may include the style of the interaction mark currently displayed on the virtual reality content interface. For example, the current style of the interaction mark may be a default style of the interaction mark. For another example, the current style of the interaction mark may also be another style of the interaction mark.

[0093] The default style of the interactive mark may refer to the style of the interactive mark when it is not in an interactive state. Figure 2b As shown in , it can be the default style of the interactive logo. Figure 2b As shown in FIG. 1 , the default cursor style may be a hollow ring style. The size of the cursor in the default style may be as follows: Figure 2b As shown, the diameter of the outer circle can be 0.02m and the diameter of the inner circle can be 0.015m.

[0094] In one embodiment, the first interaction style may include a display style of the interaction logo when the interaction logo interacts with the virtual reality component. The first interaction style of the interaction logo is compared with the current style, and the first interaction style of the interaction logo may have changes in size, rounded corners, shape, position or color.

[0095] The first interaction style matches the type of the virtual reality component. For example, assuming that the virtual reality component is a general control, the first interaction style of the interaction identifier can be that the shape of the interaction identifier is the same as that of the virtual reality component. For another example, assuming that the virtual reality component is a progress bar, the first interaction style of the interaction identifier can be that the shape and size of the interaction identifier matches the style of the progress bar.

[0096] In one embodiment, the first interaction style may include an adaptation form between an identification attribute of the interaction identifier and a component attribute of the virtual reality component, and the adaptation form may indicate that the interaction identifier selects the virtual reality component.

[0097] The logo attribute of the interaction logo can be used to control the style display of the interaction logo. For example, the logo attribute of the interaction logo can include at least one of shape attribute, position attribute, rotation angle attribute, rounded corner attribute, size attribute and fill attribute.

[0098] The shape attribute can be used to control the shape change of the interaction mark. For example, by adjusting the shape attribute, the interaction mark can be controlled to change from a ring shape to a ray shape. For another example, by adjusting the shape attribute, the interaction mark can be controlled to change from a ring shape to a shape that matches the virtual reality component.

[0099] The position attribute can be used to control the position change of the interaction mark. For example, by adjusting the position attribute, the interaction mark can be controlled to move to the left or to the right.

[0100] The rotation angle attribute can be used to control the rotation change of the interactive logo. For example, by adjusting the rotation angle attribute, the interactive logo can be controlled to rotate and display. Figure 2b As shown, the interactive mark can be displayed in a clockwise rotation or a counterclockwise rotation.

[0101] Among them, the size attribute can be used to control the size change of the interaction logo. For example, by adjusting the size attribute, the size of the interaction logo can be controlled, thereby changing the display style of the interaction logo. For example, the size attribute can include a height parameter for adjusting the height of the interaction logo and a width parameter for adjusting the width of the interaction logo. The display style of the interaction logo can be changed by adjusting the height parameter and the width parameter of the interaction logo.

[0102] Among them, the fill attribute can be used to control the display color and display transparency of the interactive logo. For example, the fill attribute can include a color parameter and a transparency parameter. The color parameter can be used to control whether the color of the interactive logo is red or green. The transparency parameter can be used to control whether the transparency of the interactive logo is semi-transparent or fully transparent, and so on.

[0103] The component attributes of the virtual reality component can be used to control the style display of the virtual reality component. For example, the component attributes of the virtual reality component can include at least one of a shape attribute, a size attribute, and a fill attribute. The shape attribute, the size attribute, and the fill attribute of the virtual reality component can also respectively control the shape, size, color, and fill degree of the virtual reality component.

[0104] The first interaction style may include an adaptation form between an identification attribute of the interaction identifier and a component attribute of the virtual reality component, and the adaptation form may indicate that the interaction identifier selects the virtual reality component.

[0105] For example, the first interaction identifier may include an adaptation form between the shape attribute of the interaction identifier and the shape attribute of the virtual reality component. Figure 2d As shown in FIG. 1 , when the interaction mark selects the virtual reality component, the shape 002 of the interaction mark can be the same as the shape 003 of the virtual reality component. Figure 2e As shown, when the interaction mark selects the virtual reality component, the first interaction mark may include the shape attribute and size attribute of the interaction mark 004, which match the shape attribute and size attribute of the virtual reality component. For another example, in a VR shooting game scene, assuming that the interaction mark is a shooting tool and the virtual reality component is a shooting target, when the interaction mark selects the virtual reality component, the shape and size of the shooting tool will become the same as the shape and size of the shooting target.

[0106] In one embodiment, the first interaction style may indicate the interaction state between the interaction identifier and the virtual reality component. For example, the interaction between the interaction identifier and the virtual reality component may mean that the interaction distance between the interaction identifier and the virtual reality component is within a preset interaction range. When the interaction distance between the interaction identifier and the virtual reality component is within the preset interaction range, but the interaction identifier and the virtual reality component have not yet touched, the first interaction style may be one style. When the interaction identifier and the virtual reality component touch, that is, when the interaction identifier selects the virtual reality component, the first interaction style may be another style. For example, Figure 2f As shown in FIG. 1 , when the interaction distance between the interaction mark and the virtual reality component is within the preset interaction range, but the interaction mark and the virtual reality component have not yet touched, the first interaction style can be as follows: Figure 2f As shown in 005 in . For another example, Figure 2f As shown, when the interaction mark and the virtual reality component touch, that is, when the interaction mark selects the virtual reality component, the first interaction style can be as follows Figure 2f 006 in the game.

[0107] In one embodiment, when the interaction mark and the virtual reality component interact, in addition to the change in style of the interaction mark, the virtual reality component may also change in style. For example, when the interaction mark and the virtual reality component are detected to interact, the dynamic interaction effect of the virtual reality component is displayed according to the type of the virtual reality component, wherein the identification attribute of the interaction mark is associated with the dynamic interaction effect of the virtual reality component.

[0108] The dynamic interaction effect of the virtual reality component may refer to the dynamic reality effect of the virtual reality component. The dynamic interaction effect may include the dynamic interaction effect of the component attribute in the virtual reality component. For example, the dynamic interaction effect may include the change effect of the size attribute in the virtual reality component. For another example, the dynamic interaction effect may include the change effect of the shape attribute in the virtual reality component.

[0109] For example, Figure 2g As shown, when the virtual reality component is a progress bar, if the interaction identifier and the virtual reality component are detected to interact, the progress of the progress bar can be changed. Figure 2g As shown, the display style of the progress bar can be changed from 007 to 008.

[0110] For example, Figure 2h As shown, when the virtual reality component is a slider, if the interaction identifier and the virtual reality component are detected to interact, the progress of the slider can be changed. Figure 2h As shown, the display style of the slider can change from 009 to 010 and then to 011.

[0111] In one embodiment, when the interaction identifier and the virtual reality component interact, it is necessary to adapt the identifier attribute of the interaction identifier according to the component attribute of the virtual reality component so that the first interaction style of the interaction identifier matches the virtual reality component. To this end, it is necessary to pre-embed the style structure information related to the interaction identifier on the virtual reality component that needs to be adapted in advance. Among them, the style structure information describes what the first interaction style of the interaction identifier is when the interaction identifier and the virtual reality component interact, for example, size, rounded corners, position or color, etc.

[0112] For example, Figure 2i As shown, it may be a schematic diagram of the style structure information of the interaction logo. For example, the style structure information of the interaction logo may include position attributes, rotation angle attributes, size attributes, rounded corner attributes, and fill attributes, etc. For example, the parameter "Position" may refer to a position attribute, which is used to control the display position of the interaction logo. For another example, the parameter "Rotation" may refer to a rotation angle attribute, which is used to control the rotation change of the interaction logo.

[0113] In one embodiment, different style structure information of the interaction identifier may be corresponding to different virtual reality components. For example, the style structure information of the interaction identifier corresponding to the general control is different from the style structure information of the interaction identifier corresponding to the slider. For example, the shape attribute and position attribute of the interaction identifier corresponding to the general control may be different from the shape attribute and position attribute of the interaction identifier corresponding to the slider.

[0114] In one embodiment, when the interaction identifier and the virtual reality component are detected to interact, the style structure information of the interaction identifier can be obtained according to the type of the virtual reality component. Then, the current style of the interaction identifier can be switched to the first interaction style according to the style structure information.

[0115] Before the interaction between the interaction identifier and the virtual reality component is detected, an interaction identifier instruction may be accepted, and then the detection process of the interaction identifier may be started according to the interaction identifier instruction.

[0116] Specifically, before the step of "when the interaction identifier and the virtual reality component are detected to interact, the type of the virtual reality component is mapped to obtain the style structure information of the interaction identifier that matches the type of the virtual component", the method proposed in the embodiment of the present application further includes:

[0117] Receive an interactive identification start instruction;

[0118] Starting an interactive identification detector based on the interactive identification instruction;

[0119] The interaction identifier is detected and processed by an interaction identifier detector.

[0120] For example, when displaying a virtual reality content interface, an interactive identification start instruction may be received. For example, when a user wears VR glasses, the virtual reality content interface may be viewed through the VR glasses, and at the same time, the display device may also receive an interactive identification start instruction.

[0121] In one embodiment, an interaction identifier detector may be started based on an interaction identifier instruction, wherein the interaction identifier detector may be a mechanism inside the display device, and the interaction identifier may be detected and processed by the interaction identifier detector.

[0122] In one embodiment, an interactive identifier start instruction may be received, an interactive identifier detector may be started based on the interactive identifier instruction, and then the interactive identifier may be detected and processed by the interactive identifier detector. Figure 2j As shown, the interaction identifier detector may be started to detect and process the interaction identifier. When it is detected that the interaction identifier interacts with the virtual reality component, the current style of the interaction identifier may be switched to the first interaction style. Specifically, the step of “when it is detected that the interaction identifier interacts with the virtual reality component, the current style of the interaction identifier is switched to the first interaction style” may include:

[0123] When it is detected that the interaction identifier interacts with the virtual reality component, the type of the virtual reality component is mapped to obtain the style structure information of the interaction identifier that matches the type of the virtual component;

[0124] Performing interactive logo drawing processing according to the style structure information of the interactive logo to obtain a first interactive style of the interactive logo;

[0125] The first interaction style of the interaction identifier is synchronously processed to switch the current style of the interaction identifier to the first interaction style.

[0126] In one embodiment, when the interaction between the interaction identifier and the virtual reality component is detected, the type of the virtual reality component may be mapped to obtain the style structure information of the interaction identifier that matches the type of the virtual component.

[0127] For example, when the interaction between the interaction identifier and the virtual reality component is detected, the type of the virtual reality component can be mapped according to the preset mapping relationship to obtain the style structure information of the interaction identifier that matches the type of the virtual component.

[0128] Then, the interaction logo drawing process may be performed according to the style structure information of the interaction logo to obtain the first interaction style of the interaction logo.

[0129] There are multiple ways to perform the interactive logo drawing process according to the style structure information of the interactive logo to obtain the first interactive style of the interactive logo.

[0130] For example, the open source computer vision library (openCV) can be used to draw the interactive logo according to the style structure information of the interactive logo to obtain the first interactive style of the interactive logo. OpenCV is a cross-platform computer vision and machine learning software library that can run on multiple operating systems and provides interfaces for multiple programming languages, realizing many general algorithms in the fields of image processing and computer vision.

[0131] For another example, a shader may be used to perform an interaction mark drawing process according to the style structure information of the interaction mark to obtain a first interaction style of the interaction mark.

[0132] For example, Figure 2k As shown, the interactive logo can be drawn according to the steps of size, rounded corners, shape and filling to obtain the first interactive style of the interactive logo. Specifically, the step of "drawing the interactive logo according to the style structure information of the interactive logo to obtain the first interactive style of the interactive logo" may include:

[0133] Parsing the style structure information of the interactive logo to obtain the size attribute, rounded corner attribute, shape attribute and fill attribute of the interactive logo;

[0134] Performing dimension drawing processing on the interactive logo according to the dimension attribute parameters to obtain a dimension drawing style of the interactive logo;

[0135] Perform rounded corner drawing processing on the interactive logo according to the rounded corner attribute to obtain the rounded corner drawing style of the interactive logo;

[0136] Perform shape drawing processing on the interactive logo according to the shape attribute to obtain the shape drawing style of the interactive logo;

[0137] The interaction mark is filled and drawn according to the fill attribute to obtain a first interaction style of the interaction mark.

[0138] In one embodiment, it is assumed that the interaction identifier can be a PointerCursor. When the interaction identifier enters the virtual reality content interface, an interaction identifier move-in event is received. At this time, the interaction identifier can be set to a display state and the interaction identifier detector can be turned on. For example, the interaction identifier detector can be turned on according to the following statement:

[0139]

[0140] In one embodiment, when it is detected that the interaction mark interacts with the virtual reality component, the style structure information of the interaction mark that matches the type of the virtual component can be obtained, and then the first interaction style of the interaction mark can be rendered according to the style structure information.

[0141] For example, the display device may pass the style structure information (UIData) into the interaction identifier (PointerCursor), and the interaction identifier (PointerCursor) renders the interaction identifier in steps according to the passed style structure information. This step needs to be performed in order:

[0142] (a) The size of the interactive logo can be rendered, for example, width and height. This method can directly set the Transform width and height properties of the interactive logo.

[0143] SetSize(UIData.Width,UIData.Height);

[0144] private void function SetSize(float width,float height)

[0145] {PointerCursor.Transform.SetSize(width,height);}.

[0146] (b) After the interactive logo size is rendered, the rounded corners of the interactive logo can be rendered according to the width and height:

[0147] SetRadius(UIData.Radius);

[0148] private void function SetRadius(float radius)

[0149] {PointerCursor.materal.SetFloat("_Radius",radius);}.

[0150] (c) Rendering cursor border style

[0151] SetBorder(UIData.BorderSize,UIData.BorderColor,UIData.BorderAlpha);

[0152] private void function SetBorder(float size,Color color,float alpha)

[0153] {

[0154] PointerCursor.materal.SetFloat(“_BorderSize”,size);

[0155] PointerCursor.materal.SetColor(“_BorderColor”,color);

[0156] PointerCursor.materal.SetFloat("_BorderAlpha",alpha);

[0157] }.

[0158] (d) Fill style for rendering cursor

[0159] SetFill(UIData.FillColor,UIData.FillAlpha);

[0160] private void function SetFill(Color color,float alpha)

[0161] {

[0162] PointerCursor.materal.SetColor(“_FillColor”,color);

[0163] PointerCursor.materal.SetFloat("_FillAlpha",alpha);

[0164] }.

[0165] In one embodiment, after the interaction identifier is drawn according to the style structure information of the interaction identifier to obtain the first interaction style of the interaction identifier, the first interaction style of the interaction identifier may be synchronized to switch the current style of the interaction identifier to the first interaction style.

[0166] For example, the display style of the interaction mark can be updated according to the drawn first interaction style:

[0167]

[0168] In one embodiment, when the interaction between the interaction marker and the virtual reality component is detected, the display richness of the interaction marker can be improved by switching the current style of the interaction marker to the first interaction style.

[0169] For example, the interactive identifier may be a cursor.

[0170] For another example, the virtual reality component may include a general button, a progress bar, a slider, or the like.

[0171] For example, the virtual reality content interface may include a cursor and a general button. For another example, the virtual reality content interface may include a cursor, a general button, a progress bar, and the like.

[0172] For example, the current style of the interactive logo may be the default style of the interactive logo. Figure 2b As shown in FIG. 1 , the default cursor style may be a hollow ring style. The size of the cursor in the default style may be as follows: Figure 2b As shown, the diameter of the outer circle can be 0.02m and the diameter of the inner circle can be 0.015m.

[0173] In one embodiment, the interaction between the interactive mark and the virtual reality component may refer to the interactive mark and the virtual reality component touching each other. For example, if the cursor hovers over a general button, it can be considered that the cursor and the general button have interacted.

[0174] In one embodiment, when the terminal detects that the interaction identifier interacts with the virtual reality component, the display style of the interaction identifier may be switched from the current style to the first interaction style.

[0175] For example, Figure 2l As shown, when it is detected that the cursor is hovering over a general button, the cursor style changes from a circle to the border shape of the button component.

[0176] For example, Figure 2m As shown, when it is detected that the cursor is hovering over the progress bar, the cursor style changes from a circle to a progress bar ruler, and moves linearly on the progress bar following the ray.

[0177] For example, Figure 2n As shown, when it is detected that the cursor is hovering over the slider, the halo style changes from a circular ring to the slider outer border and obscures the current slider content.

[0178] 103. When a control operation on a virtual reality component is detected, operation status information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation status information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object on the virtual component.

[0179] The control operation on the virtual reality component may refer to the control operation of the object on the virtual reality component. For example, the control operation may include a pressing operation, a sliding operation, a rotating operation, and the like.

[0180] The operation status information may be used to describe the control operation. For example, the operation status information may include information such as the operation strength of the control operation, the duration of the operation, the operation direction, and the virtual reality component corresponding to the operation.

[0181] In one embodiment, when the control operation includes an operation of controlling a virtual reality connection device, and the virtual reality connection device is a medium for connecting a user to virtual reality content, the step of “when detecting a control operation on the virtual reality component, obtaining operation state information of the control operation” may include:

[0182] When a control operation of the virtual reality connection device on the virtual reality component is detected, operation state information of the control operation is acquired.

[0183] Among them, virtual reality connection devices may include VR glasses, VR handles and other devices.

[0184] In one embodiment, the second interaction style may include a display style of the interaction mark when the object performs a control operation on the virtual reality component.

[0185] In one embodiment, the second interaction style may have multiple forms.

[0186] In one embodiment, the second interaction style may include a style different from the first interaction style, and is only a static change without involving a dynamic change.

[0187] For example, Figure 3aAs shown, when the interaction mark and the virtual reality component interact, the display style of the interaction mark can change from 012 to 013, where 012 can be the current style of the interaction mark and 013 can be the first interaction style of the interaction mark. When a control operation for the virtual reality component is detected, the display style of the interaction mark can change from 013 to 014, where 014 can be the second interaction style of the interaction mark.

[0188] For another example, when the virtual reality component is a virtual item, if the subject clicks the virtual item, the display style of the interaction mark can be similar to Figure 3a Change like that.

[0189] For another example, in a VR shooting game scene, assuming that the interactive identifier is a shooting tool and the virtual reality component is a shooting target, when the interactive identifier selects the virtual reality component, the shape and size of the shooting tool will become the same as the shape and size of the shooting target. When a control operation targeting the shooting target is detected, the display style of the shooting tool can be changed to another style. For example, when it is detected that the game player is shooting at the shooting target, the display style of the shooting tool can be changed to a solid circle style, indicating that the player has hit the shooting target.

[0190] In one embodiment, the second interaction style may include an interaction animation generated based on the first interaction style and representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation state of the object on the virtual component.

[0191] For example, the second interaction style may include an interactive identifier and a virtual reality component that undergoes a dynamically changing animation. For example, in a VR shooting game scene, assuming that the interactive identifier is a shooting tool and the virtual reality component is a shooting target, when the interactive identifier selects the virtual reality component, the shape and size of the shooting tool will become the same as the shape and size of the shooting target. When a control operation directed to the shooting target is detected, an interactive animation will be displayed. For example, when a continuous shooting operation directed to a shooting target is detected, the shooting target will display an animation of being continuously shot, and the interactive identifier will also display an animation of constantly changing attributes such as shape, size, and position.

[0192] In one embodiment, when the operation status information includes operation status information of multiple continuous operations, the interaction animation may include multiple continuous sub-interaction animations, wherein each sub-interaction animation corresponds to an operation status information, and each sub-interaction animation indicates a dynamic change effect of an identification attribute of an interaction identifier.

[0193] When the operation state information includes operation state information of multiple continuous operations, it may refer to that the object performs continuous operations on the virtual reality component. For example, the object may perform continuous pressing operations on the virtual reality component. For another example, the object may perform continuous sliding operations on the virtual reality component.

[0194] The sub-interaction animation may include the dynamic change effect of the identification attribute of the interaction identification under different operation status information. Figure 3b As shown, when the virtual reality component is a general control, if a continuous pressing operation on a general button is detected, the interaction mark will change from thin to thick and flash with highlight at the moment of clicking.

[0195] In one embodiment, the plurality of continuous operations may include a starting operation, an intermediate operation, and a terminating operation. The starting operation may include an operation when the object starts to control the virtual reality component. For example, when the object performs a pressing operation on the virtual reality component, the starting operation may be an operation corresponding to when the object starts to press the virtual reality component. The intermediate operation may include an operation corresponding to when the object continuously operates the virtual reality component. The terminating operation may include an operation corresponding to when the object ends controlling the virtual reality component. For example, when the object performs a pressing operation on the virtual reality component, the terminating operation may be when the object releases the pressing.

[0196] In one embodiment, when the operation state information is information corresponding to a starting operation, the sub-interaction animation corresponding to the operation state information may include a shape change animation of the interaction mark.

[0197] When the operation status information is information corresponding to an intermediate operation, the sub-interaction animation corresponding to the operation status information includes a dynamic change effect of the virtual reality component and an identification attribute change effect of the interaction logo, wherein the identification attribute change effect of the interaction logo and the identification attribute change effect of the virtual reality component are associated.

[0198] When the operation status information is information corresponding to the termination operation, the sub-interaction animation corresponding to the operation status information includes the triggering termination style of the virtual reality component and the color change effect of the interaction logo, wherein the triggering termination style of the virtual reality component and the color change effect of the interaction logo are associated.

[0199] In one embodiment, when the operation status information is information corresponding to the start operation, the sub-interaction animation corresponding to the operation status information may include a shape change animation of the interaction mark. Figure 3c As shown in FIG. 1 , when the virtual reality component is a progress bar and the control operation is a sliding operation, for the start operation, the display style of the interaction mark can have a shape change. For example, for the start operation, the interaction mark can be changed from an elliptical ring shape to a bar shape. For another example, Figure 3cAs shown, when the virtual reality component is a virtual object and the control operation is a grabbing operation, for the initial grabbing operation, the interaction mark can be changed from a style matching the outline of the virtual object to a hand grabbing style. For another example, in a VR shooting game scene, assuming that the interaction mark is a shooting tool and the virtual reality component is a shooting target, for the initial operation, the color of the shooting tool can be changed from green to red.

[0200] In one embodiment, when the operation status information is information corresponding to an intermediate operation, the sub-interaction animation corresponding to the operation status information includes a dynamic change effect of a virtual reality component and an identification attribute change effect of an interaction logo, wherein the identification attribute change effect of the interaction logo and the identification attribute change effect of the virtual reality component are associated.

[0201] For example, Figure 3c As shown, when the virtual reality component is a progress bar, when the interaction mark and the virtual reality component interact, the display style of the interaction mark can be switched from 015 to 016. When the object performs a control operation on the virtual reality component, the display style of the interaction mark for the starting operation will change from 017 to 018. When the control operation is a sliding operation, the position of the interaction mark can be changed for the intermediate operation. By changing the position of the interaction mark, the progress change of the progress bar can be described by the position of the interaction mark.

[0202] For another example, when the virtual reality component is a virtual item and the control operation is a grabbing operation, the shape of the interaction mark can be continuously changed for the intermediate operation. For example, the display style of the interaction mark can be changed from a grabbing hand style to a clenched fist style.

[0203] For example, in a VR shooting game scene, assuming that the interactive identifier is a shooting tool and the virtual reality component is a shooting target, the color of the shooting tool can change continuously for intermediate operations.

[0204] In one embodiment, when the operation status information is information corresponding to the termination operation, the sub-interaction animation corresponding to the operation status information includes the triggering and terminating style of the virtual reality component and the color change effect of the interaction mark, wherein the triggering and terminating style of the virtual reality component and the color change effect of the interaction mark are associated. For example, when the virtual reality component is a progress bar and the control operation is a sliding operation, for the intermediate operation, the color of the interaction style can change from green to yellow. For example, Figure 3c As shown, for the termination operation, the color of the interaction mark will change from style 018 to style 022. For another example, in a VR shooting game scene, assuming that the interaction mark is a shooting tool and the virtual reality component is a shooting target, for the termination operation, the color of the shooting tool can change from red to yellow.

[0205] In one embodiment, when a control operation on a virtual reality component is detected, in addition to a dynamic change in the interactive identifier, the virtual reality component may also have a dynamic change. For example, the identifier attribute change dynamic effect of the virtual reality component includes at least one of a shape change dynamic effect, a position change dynamic effect, a rotation angle change dynamic effect, a rounded corner change dynamic effect, a size change dynamic effect, and a fill change dynamic effect.

[0206] For example, Figure 3c As shown in , when the VR component is a progress bar, if a sliding operation on the progress bar is detected, the interaction indicator will gradually shrink into a thin line, providing a visual indication of the object's higher progress. In addition, the progress bar will also have a change in form display, for example, Figure 3c As shown, the progress bar changes from form 019 to form 020 and then to form 021.

[0207] For example, Figure 3d As shown, when the virtual reality component is a slider, if a press operation or a slide operation on the slider is detected, the outer border of the interaction mark becomes thicker and displays a highlight effect, and the internal slider value is also highlighted and responds to the user's drag operation.

[0208] In one embodiment, each virtual reality component may have its own corresponding trigger function. When the virtual reality component is successfully triggered, the virtual reality component may trigger the corresponding function. Specifically, when the operation status information is the termination operation status information, the method proposed in the embodiment of the present application may further include:

[0209] Determine trigger state information corresponding to the virtual reality component according to the termination operation state information;

[0210] Matching the trigger state information corresponding to the virtual reality component with the preset trigger condition;

[0211] When the trigger state information corresponding to the virtual reality component meets the preset trigger condition, the function of the virtual reality component is triggered.

[0212] The trigger status information may be used to indicate whether the virtual reality component is fully triggered. For example, the trigger status information may indicate whether the virtual reality component is fully triggered or not. When the virtual reality component is not fully triggered, the virtual reality component may be completely untriggered or in a semi-triggered state, etc.

[0213] In one embodiment, the trigger state information corresponding to the virtual reality component can be determined according to the termination operation state information. The trigger state information corresponding to the virtual reality component is matched with the preset trigger condition. When the trigger state information corresponding to the virtual reality component meets the preset trigger condition, the function of the virtual reality component is triggered.

[0214] For example, the function of the virtual reality component is to display a new interface. When the trigger state information corresponding to the virtual reality component meets the preset trigger condition, the new interface can be displayed.

[0215] In one embodiment, when the interaction identifier does not interact with the virtual reality component, the object may also perform a control operation on the interaction identifier. For example, when it is detected that the interaction identifier and the virtual reality component do not interact, and the object performs a trigger operation on the interaction identifier, the method proposed in the embodiment of the present application may also include:

[0216] When a trigger operation for an interaction identifier is detected, trigger state information of the trigger operation is acquired, and a third interaction pattern of the interaction identifier corresponding to the trigger state information is displayed, wherein the third interaction pattern matches the trigger operation state information.

[0217] For example, Figure 3e As shown, when it is detected that the interaction indicator is pressed, the interaction indicator can change from the default style 022 to the third interaction style 023.

[0218] In one embodiment, the trigger operation includes a continuous trigger operation, the trigger operation state information includes an operation continuity attribute of the trigger operation, and the third interaction style of the interaction identifier includes a shape change animation, wherein the shape change animation matches the operation continuity attribute.

[0219] For example, Figure 3f As shown, when the object is clicked, the interaction mark shrinks from the circle 024 to the dot 025. When the user performs a long press operation, the reading progress circle 026 is displayed clockwise on the basis of the dot 025. When the circle is full, a long press operation is activated.

[0220] For example, Figure 3g As shown in FIG. 1 , when the object drags the interactive mark, the interactive mark shrinks from the circle 027 to the dot 028. The shrinking dot will generate a trailing effect according to the dragging direction of the object. Figure 3g As shown, when the object is operated to the right, the dot 028 changes to 030.

[0221] In one embodiment, when a control operation on a virtual reality component is detected, operation state information of the control operation may be obtained. After obtaining the operation state information of the control operation, the style structure information of the interaction mark may be obtained, and then the second interaction style of the interaction mark may be rendered according to the style structure information. For example, the style structure information of the interaction mark may be rendered in the order of size, rounded corners, shape, and fill color to obtain the second interaction style of the interaction mark.

[0222] In an embodiment of the present application, a virtual reality content interface can be displayed, wherein the virtual reality content interface includes virtual reality content and an interactive identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component; when the interaction identifier and the virtual reality component are detected to interact, the current style of the interactive identifier is switched to a first interactive style, wherein the first interactive style indicates the interactive state of the interactive identifier and the virtual reality component, and the first interactive style matches the type of the virtual reality component; when a control operation for the virtual reality component is detected, the operation state information of the control operation is obtained, and the second interactive style of the interactive identifier corresponding to the operation state information is displayed, wherein the second interactive style includes an interactive animation generated based on the first interactive style, which characterizes the interaction between the interactive identifier and the virtual reality component, and the interactive animation also indicates the operation state of the object for the virtual component. The embodiment of the present application assists the object to interact with different virtual reality components through the dynamic change of the interactive identifier. Through the dynamic change of the interactive identifier, the clarity of the component function and the user's interactive perception can be improved by visual guidance. For example, for a progress bar, the interactive identifier changes into a style that matches the progress bar, so that the user can perceive the progress of the progress bar through the interactive identifier, thereby perceiving his own operation state.

[0223] According to the method described in the above embodiment, the following is further described in detail with examples.

[0224] The embodiment of the present application will take the display method of the operation mark integrated on the terminal as an example to introduce the method of the embodiment of the present application.

[0225] In one embodiment, if Figure 4 As shown, a method for displaying an operation mark, the specific process is as follows:

[0226] 201. A terminal displays a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object with respect to the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component.

[0227] For example, the interactive identifier may be a cursor.

[0228] For another example, the virtual reality component may include a general button, a progress bar, a slider, or the like.

[0229] For example, the virtual reality content interface may include a cursor and a general button. For another example, the virtual reality content interface may include a cursor, a general button, a progress bar, and the like.

[0230] For example, the terminal may include a virtual reality wearable device, such as a virtual reality glasses, etc.

[0231] 202. When the terminal detects that the interaction identifier and the virtual reality component interact, the current style of the interaction identifier is switched to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component.

[0232] For example, the current style of the interactive logo may be the default style of the interactive logo. Figure 2b As shown, the default style of the cursor may be a hollow ring style. The size of the cursor in the default style may be as shown in the figure, the diameter of the outer circle may be 0.02m, and the diameter of the inner circle may be 0.015m.

[0233] In one embodiment, the interaction between the interactive mark and the virtual reality component may refer to the interactive mark and the virtual reality component touching each other. For example, if the cursor hovers over a general button, it can be considered that the cursor and the general button have interacted.

[0234] In one embodiment, when the terminal detects that the interaction identifier interacts with the virtual reality component, the display style of the interaction identifier may be switched from the current style to the first interaction style.

[0235] For example, Figure 2l As shown, when it is detected that the cursor is hovering over a general button, the cursor style changes from a circle to the border shape of the button component.

[0236] For example, Figure 2m As shown, when it is detected that the cursor is hovering over the progress bar, the cursor style changes from a circle to a progress bar ruler, and moves linearly on the progress bar following the ray.

[0237] For example, Figure 2n As shown, when it is detected that the cursor is hovering over the slider, the halo style changes from a circular ring to the slider outer border and obscures the current slider content.

[0238] 203. When the terminal detects a control operation on a virtual reality component, it obtains operation status information of the control operation and displays a second interaction style of the interaction identifier corresponding to the operation status information, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object on the virtual component.

[0239] For example, the control operation for the virtual reality component may include a pressing operation or a sliding operation, etc.

[0240] For example, Figure 3a As shown, when the virtual reality component is a general button, if a control operation on the general button is detected, the cursor will change from thin to thick and flash with highlight at the moment of clicking.

[0241] For example, Figure 3b As shown, when the virtual reality component is a progress bar, if a control operation on the progress bar is detected, the ruler will gradually shrink into a thin line, providing the user with a higher visual indication of the progress, and display a highlight effect at the moment of clicking.

[0242] For example, Figure 3c As shown, when the virtual reality component is a slider, if a control operation on the slider is detected, the outer border of the cursor becomes thicker and displays a highlight effect, and the internal slider value is also highlighted and responds to the user's dragging operation.

[0243] In an embodiment of the present application, a terminal displays a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component; when the terminal detects that the interaction identifier interacts with the virtual reality component, the current style of the interaction identifier is switched to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component; when the terminal detects a control operation for the virtual reality component, operation state information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation state information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, which represents the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation state of the object for the virtual component, which can improve the richness of cursor display styles in virtual reality technology, thereby improving the user's immersion in the virtual reality world.

[0244] In order to better implement the method for displaying the operation mark provided in the embodiment of the present application, in one embodiment, a device for displaying the operation mark is also provided, and the device for displaying the operation mark can be integrated into a computer device. The meanings of the terms are the same as those in the method for displaying the operation mark, and the specific implementation details can refer to the description in the method embodiment.

[0245] In one embodiment, a display device for an operation mark is provided. The display device for the operation mark can be integrated in a computer device, such as Figure 5 As shown, the display device of the operation mark includes: a first display unit 301, a switching unit 302 and a second display unit 303, which are specifically as follows:

[0246] A first display unit 301 is used to display a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component;

[0247] A switching unit 302 is configured to switch a current style of the interaction identifier to a first interaction style when it is detected that the interaction identifier interacts with the virtual reality component, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches a type of the virtual reality component;

[0248] The second display unit 303 is used to obtain the operation status information of the control operation when a control operation on the virtual reality component is detected, and display a second interaction style of the interaction identifier corresponding to the operation status information, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object on the virtual component.

[0249] In one embodiment, the operation identification display device may further include:

[0250] The third display unit is used to display the dynamic interaction effect of the virtual reality component according to the type of the virtual reality component when the interaction identifier and the virtual reality component are detected to interact, wherein the identification attribute of the interaction identifier is associated with the dynamic interaction effect of the virtual reality component.

[0251] In one embodiment, the second display unit 303 may include:

[0252] a determination subunit, configured to determine trigger state information corresponding to the virtual reality component according to the termination operation state information;

[0253] A matching subunit, used for matching the trigger state information corresponding to the virtual reality component with a preset trigger condition;

[0254] The trigger subunit is used to trigger the function of the virtual reality component when the trigger state information corresponding to the virtual reality component meets the preset trigger condition.

[0255] In one embodiment, the operation identification display device may further include:

[0256] An acquisition unit is used to acquire trigger status information of the trigger operation when a trigger operation for the interaction identifier is detected, and to display a third interaction style of the interaction identifier corresponding to the trigger status information, wherein the third interaction style matches the trigger operation status information.

[0257] In one embodiment, the switching unit 302 may include:

[0258] A mapping subunit, configured to, when detecting that the interaction identifier interacts with the virtual reality component, map the type of the virtual reality component to obtain style structure information of the interaction identifier that matches the type of the virtual reality component;

[0259] A drawing subunit, configured to perform an interaction mark drawing process according to the style structure information of the interaction mark to obtain a first interaction style of the interaction mark;

[0260] The synchronization subunit is used to synchronize the first interaction style of the interaction identifier to switch the current style of the interaction identifier to the first interaction style.

[0261] In one embodiment, the drawing subunit may include:

[0262] A parsing module, used to parse the style structure information of the interactive logo to obtain the size attribute, rounded corner attribute, shape attribute and fill attribute of the interactive logo;

[0263] A size drawing module, used for performing size drawing processing on the interactive logo according to the size attribute parameters to obtain a size drawing style of the interactive logo;

[0264] A rounded corner drawing module, used for performing rounded corner drawing processing on the interactive logo according to the rounded corner attribute to obtain a rounded corner drawing style of the interactive logo;

[0265] A shape drawing module, used for performing shape drawing processing on the interactive mark according to the shape attribute to obtain a shape drawing style of the interactive mark;

[0266] A filling and drawing module is used to perform a filling and drawing process on the interaction mark according to the filling attribute to obtain a first interaction style of the interaction mark.

[0267] In one embodiment, the switching unit 302 may further include:

[0268] The instruction receiving subunit is used to receive the interactive identification start instruction;

[0269] A starter unit, configured to start an interaction identification detector based on the interaction identification instruction;

[0270] The detection subunit is used to detect and process the interaction identifier through the interaction identifier detector.

[0271] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0272] The display device of the operation mark can improve the richness of cursor display styles in virtual reality technology, thereby improving the user's immersion in the virtual reality world.

[0273] The present application also provides a computer device, which may include a terminal or a server. For example, the computer device may be used as a display terminal for operation identification, and the terminal may be a mobile phone, a tablet computer, etc.; for another example, the computer device may be a server, such as a display server for operation identification, etc. Figure 6 As shown, it shows a schematic diagram of the structure of the terminal involved in the embodiment of the present application, specifically:

[0274] The computer device may include one or more processing core processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will appreciate that Figure 6 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0275] The processor 401 is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the computer device and processes data. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0276] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0277] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0278] The computer device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0279] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:

[0280] Displaying a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component;

[0281] When it is detected that the interaction identifier and the virtual reality component interact, the current style of the interaction identifier is switched to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component;

[0282] When a control operation on the virtual reality component is detected, the operation status information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation status information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object on the virtual component.

[0283] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0284] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in various optional implementations in the above-mentioned embodiments.

[0285] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0286] To this end, an embodiment of the present application further provides a storage medium in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any method for displaying an operation mark provided in an embodiment of the present application. For example, the computer program can execute the following steps:

[0287] Displaying a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component;

[0288] When it is detected that the interaction identifier and the virtual reality component interact, the current style of the interaction identifier is switched to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component;

[0289] When a control operation on the virtual reality component is detected, the operation status information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation status information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object on the virtual component.

[0290] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0291] Since the computer program stored in the storage medium can execute the steps in any method for displaying an operation mark provided in the embodiments of the present application, the beneficial effects that can be achieved by any method for displaying an operation mark provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0292] The above is a detailed introduction to a method, device, computer equipment and storage medium for displaying an operation mark provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for displaying an operation mark, characterized in that: include: Displaying a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object for the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component; When it is detected that the interaction identifier and the virtual reality component interact, the current style of the interaction identifier is switched to a first interaction style, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches the type of the virtual reality component; When a control operation on the virtual reality component is detected, the operation status information of the control operation is obtained, and a second interaction style of the interaction identifier corresponding to the operation status information is displayed, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object on the virtual component.

2. The method according to claim 1, characterized in that The first interaction style includes an adaptation form between an identification attribute of the interaction identifier and a component attribute of the virtual reality component, and the adaptation form indicates that the interaction identifier selects the virtual reality component.

3. The method according to claim 2, characterized in that The method further comprises: When the interaction between the interaction identifier and the virtual reality component is detected, the dynamic interaction effect of the virtual reality component is displayed according to the type of the virtual reality component, wherein the identification attribute of the interaction identifier is associated with the dynamic interaction effect of the virtual reality component.

4. The method according to claim 3, characterized in that The dynamic interaction effect includes the dynamic interaction effect of the component attributes in the virtual reality component.

5. The method according to any one of claims 2-3, characterized in that: The identification attribute includes at least one of a shape attribute, a position attribute, a rotation angle attribute, a rounded corner attribute, a size attribute, and a fill attribute.

6. The method according to claim 1, characterized in that The operation status information includes operation status information of multiple continuous operations, and the interaction animation includes multiple continuous sub-interaction animations, wherein each sub-interaction animation corresponds to one operation status information, and each sub-interaction animation indicates a dynamic change effect of an identification attribute of the interaction identification.

7. The method according to claim 6, characterized in that The plurality of continuous operations include a starting operation, an intermediate operation and a terminating operation; When the operation state information is information corresponding to a starting operation, the sub-interaction animation corresponding to the operation state information includes a shape change animation of the interaction mark; When the operation state information is information corresponding to an intermediate operation, the sub-interaction animation corresponding to the operation state information includes a dynamic change effect of the virtual reality component and an identification attribute change effect of the interaction identifier, wherein the identification attribute change effect of the interaction identifier is associated with the identification attribute change effect of the virtual reality component; When the operation status information is information corresponding to a termination operation, the sub-interaction animation corresponding to the operation status information includes a trigger termination style of the virtual reality component and a color change effect of the interaction logo, wherein the trigger termination style of the virtual reality component and the color change effect of the interaction logo are associated.

8. The method according to claim 7, characterized in that The identification attribute change effect of the virtual reality component includes at least one of a shape change effect, a position change effect, a rotation angle change effect, a rounded corner change effect, a size change effect, and a filling change effect.

9. The method according to claim 7, characterized in that: When the operation status information is termination operation status information, the method further includes: Determining trigger state information corresponding to the virtual reality component according to the termination operation state information; Matching the trigger state information corresponding to the virtual reality component with the preset trigger condition; When the trigger state information corresponding to the virtual reality component meets the preset trigger condition, the function of the virtual reality component is triggered.

10. The method according to claim 1, characterized in that The method further comprises: When a trigger operation for the interaction identifier is detected, trigger state information of the trigger operation is obtained, and a third interaction style of the interaction identifier corresponding to the trigger state information is displayed, wherein the third interaction style matches the trigger operation state information.

11. The method according to claim 10, characterized in that The trigger operation includes a continuous trigger operation, the trigger operation state information includes an operation continuity attribute of the trigger operation, and the third interaction style of the interaction identifier includes a shape change animation, wherein the shape change animation matches the operation continuity attribute.

12. The method according to claim 1, characterized in that The control operation includes an operation of controlling a virtual reality connection device, wherein the virtual reality connection device is a medium for connecting a user with virtual reality content; When a control operation on the virtual reality component is detected, obtaining operation state information of the control operation includes: When a control operation of the virtual reality connection device on the virtual reality component is detected, operation state information of the control operation is acquired.

13. The method according to claim 1, characterized in that When it is detected that the interaction mark interacts with the virtual reality component, switching the current style of the interaction mark to the first interaction style includes: When it is detected that the interaction identifier interacts with the virtual reality component, mapping processing is performed on the type of the virtual reality component to obtain style structure information of the interaction identifier that matches the type of the virtual reality component; Performing interactive logo drawing processing according to the style structure information of the interactive logo to obtain a first interactive style of the interactive logo; The first interaction style of the interaction identifier is synchronously processed to switch the current style of the interaction identifier to the first interaction style.

14. The method according to claim 13, characterized in that The step of performing interactive logo drawing processing according to the style structure information of the interactive logo to obtain a first interactive style of the interactive logo includes: Parsing the style structure information of the interaction logo to obtain the size attribute, rounded corner attribute, shape attribute and fill attribute of the interaction logo; Performing size drawing processing on the interactive logo according to the size attribute parameter to obtain a size-drawn style of the interactive logo; Performing rounded corner drawing processing on the interactive logo according to the rounded corner attribute to obtain a rounded corner drawing style of the interactive logo; Performing shape drawing processing on the interaction mark according to the shape attribute to obtain a shape drawing style of the interaction mark; The interaction mark is filled and drawn according to the filling attribute to obtain a first interaction style of the interaction mark.

15. The method according to claim 13, characterized in that When the interaction identifier and the virtual reality component are detected to interact, before mapping the type of the virtual reality component to obtain the style structure information of the interaction identifier that matches the type of the virtual reality component, the method further includes: Receive an interactive identification start instruction; Starting an interaction identification detector based on the interaction identification instruction; The interaction identifier is detected and processed by the interaction identifier detector.

16. A display device for an operation mark, characterized in that: include: A first display unit, configured to display a virtual reality content interface, wherein the virtual reality content interface includes virtual reality content and an interaction identifier of an object with respect to the virtual reality content interface, and the virtual reality content includes at least one type of virtual reality component; a switching unit, configured to switch a current style of the interaction identifier to a first interaction style when detecting that the interaction identifier interacts with the virtual reality component, wherein the first interaction style indicates an interaction state between the interaction identifier and the virtual reality component, and the first interaction style matches a type of the virtual reality component; A second display unit is used to obtain operation status information of the control operation when a control operation for the virtual reality component is detected, and to display a second interaction style of the interaction identifier corresponding to the operation status information, wherein the second interaction style includes an interaction animation generated based on the first interaction style, representing the interaction between the interaction identifier and the virtual reality component, and the interaction animation also indicates the operation status of the object for the virtual component.

17. A computer device, characterized in that: It comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to execute the operations in the method for displaying an operation mark as described in any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the method for displaying an operation mark according to any one of claims 1 to 15.

19. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps in the method for displaying an operation mark according to any one of claims 1 to 15 are implemented.