Data processing method, device, electronic device and storage medium
Through the camera acquisition and image recognition technology of AR devices, users are allowed to move the operating body in the AR interaction space to control the AR model, solving the problem of low user experience and realizing rich control methods and efficient interactive experience.
Patent Information
- Application Number
- CN202111156291.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-09-29
AI Technical Summary
Users have a single way to manipulate information on the touch screen of their mobile phones, resulting in low user experience and the inability to control the AR model by inputting interactive operations through non-touch screen methods in the AR interaction space.
Collect interactive space images through the camera of the AR device, use the image recognition model to identify the operating body, obtain its position and posture, and render the operating body on the AR interactive interface, allowing users to move the operating body in the AR interactive space to control the AR model and provide operations Prompt information to guide interaction.
It enriches the way users control AR models and improves user experience. Users no longer rely on the touch screen and can interact with each other on the screen of devices without touch functions, which enhances the interest and convenience of control.
Smart Images

Figure CN113946265B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a data processing method, device, electronic equipment and storage medium. Background Art
[0002] With the development of technology, users can use their mobile phones to enjoy online services such as online shopping, online house hunting, and online job hunting. This not only greatly improves the convenience of life, but also enriches the diversity of life.
[0003] In one scenario, a mobile phone can be controlled to display information on a touch screen of the mobile phone, and then a user can view the information displayed on the touch screen and manipulate the information on the touch screen.
[0004] However, in the above situation, the user can only manipulate information on the touch screen, and the manipulation method is single, resulting in a poor user experience. Summary of the invention
[0005] The present application illustrates a data processing method, device, electronic device and storage medium.
[0006] In a first aspect, the present application shows a data processing method, which is applied to an AR device, wherein an AR interaction interface of the AR device at least displays: a first image of a real environment including an AR interaction space of the AR device acquired by a camera; the method comprises:
[0007] In response to a first interaction operation on the AR device, acquiring a first spatial position for setting an AR model in the AR interaction space;
[0008] Obtaining a first rendering position corresponding to the first spatial position on the AR interaction interface;
[0009] Rendering the AR model at the first rendering position on the AR interaction interface;
[0010] In response to a second interaction operation of an operator located in the AR interaction space to the AR model located in the AR interaction space, the AR model is controlled on the AR interaction interface to perform a response action corresponding to the second interaction operation.
[0011] In an optional implementation manner, after rendering the AR model at the first rendering position on the AR interaction interface, the method further includes:
[0012] A second image of a real environment including the AR interaction space is collected by the camera, wherein the second image includes the operating body located in the AR interaction space;
[0013] recognizing the operating body in the second image using an image recognition model;
[0014] Acquire a second spatial position of the operating body in the AR interaction space;
[0015] Obtaining a second rendering position corresponding to the second spatial position on the AR interaction interface;
[0016] The operating body is rendered at the second rendering position on the AR interaction interface.
[0017] In an optional implementation, rendering the operating body at the second rendering position on the AR interaction interface includes:
[0018] Performing personalized style configuration on the operating body to obtain a virtual operating body with a personalized style;
[0019] A virtual operating body of a personalized style is rendered at the second rendering position on the AR interaction interface.
[0020] In an optional implementation, before rendering the operating body at the second rendering position on the AR interaction interface, the method further includes:
[0021] Determining whether the operating body has been rendered on the AR interaction interface;
[0022] When the operating body has been rendered on the AR interaction interface, determining whether a third spatial position of the rendered operating body in the AR interaction space is the same as the second spatial position; when the third spatial position is different from the second spatial position, obtaining a third rendering position corresponding to the third spatial position on the AR interaction interface, and gradually moving the operating body rendered on the AR interaction interface from the third rendering position to the second rendering position;
[0023] or,
[0024] When the operating body is not rendered on the AR interaction interface, the step of rendering the operating body at the second rendering position on the AR interaction interface is performed.
[0025] In an optional implementation, in response to a second interaction operation of an operator located in the AR interaction space on the AR model located in the AR interaction space, controlling the AR model on the AR interaction interface to perform a response action corresponding to the second interaction operation includes:
[0026] Acquire an operation position of the second interaction operation in the AR interaction space and an operation posture of the interaction operation;
[0027] Acquire a relative position of an operation position of the second interaction operation in the AR interaction space with respect to the AR model;
[0028] Acquire a response action that matches the relative position and the operation posture simultaneously;
[0029] The AR model is controlled on the AR interaction interface to perform the response action.
[0030] In an optional implementation, the method further includes:
[0031] In response to a first interactive operation on the AR device, displaying a plurality of AR models on the AR interaction interface;
[0032] The acquiring a first spatial position for setting the AR model in the AR interaction space includes:
[0033] In response to a selection operation on at least one AR model among the plurality of AR models, acquiring a first spatial position for setting the at least one AR model in the AR interaction space;
[0034] Correspondingly, rendering the AR model at the first rendering position on the AR interaction interface includes:
[0035] Render at least one AR model at the first rendering position on the AR interaction interface.
[0036] In an optional implementation manner, after rendering the AR model at the first rendering position on the AR interaction interface, the method further includes:
[0037] Acquiring operation prompt information for the AR model, where the operation prompt information is used to prompt an interactive operation for controlling the AR model to be input in the AR interaction space;
[0038] The operation prompt information is output.
[0039] In an optional implementation, the obtaining operation prompt information for the AR model includes:
[0040] In the correspondence between the AR model and the operation prompt information, the operation prompt information corresponding to the AR model is searched.
[0041] In a second aspect, the present application shows a data processing device, which is applied to an AR device, and the AR interaction interface of the AR device at least displays: a first image of a real environment including an AR interaction space of the AR device acquired by a camera; the device includes:
[0042] A first acquisition module, configured to acquire, in response to a first interaction operation on the AR device, a first spatial position for setting an AR model in the AR interaction space;
[0043] A second acquisition module is used to acquire a first rendering position corresponding to the first spatial position on the AR interaction interface;
[0044] A first rendering module, configured to render the AR model at the first rendering position on the AR interaction interface;
[0045] The control module is used to control the AR model to perform a response action corresponding to the second interaction operation on the AR model in the AR interaction space in response to the second interaction operation performed by the operating body in the AR interaction space.
[0046] In an optional implementation, the device further includes:
[0047] a collection module, configured to collect, based on the camera, a second image of the real environment including the AR interaction space, wherein the second image includes the operating body located in the AR interaction space;
[0048] a recognition module, configured to recognize the operating body in the second image using an image recognition model;
[0049] A third acquisition module is used to acquire a second spatial position of the operating body in the AR interaction space;
[0050] A fourth acquisition module, configured to acquire a second rendering position corresponding to the second spatial position on the AR interaction interface;
[0051] The second rendering module is used to render the operating body at the second rendering position on the AR interaction interface.
[0052] In an optional implementation, the second rendering module includes:
[0053] A configuration unit, configured to perform personalized style configuration on the operating body to obtain a virtual operating body of a personalized style;
[0054] A rendering unit is used to render a virtual operating body of a personalized style at the second rendering position on the AR interaction interface.
[0055] In an optional implementation, the device further includes:
[0056] A first determining module, used to determine whether the operating body has been rendered on the AR interaction interface;
[0057] a second determining module, for determining, when the operating body has been rendered on the AR interaction interface, whether a third spatial position of the rendered operating body in the AR interaction space is the same as the second spatial position; a fifth acquiring module, for acquiring, when the third spatial position is different from the second spatial position, a third rendering position corresponding to the third spatial position on the AR interaction interface; and a moving module, for gradually moving the operating body rendered on the AR interaction interface from the third rendering position to the second rendering position;
[0058] or,
[0059] The second rendering module is further used for rendering the operating body at the second rendering position on the AR interaction interface when the operating body is not rendered on the AR interaction interface.
[0060] In an optional implementation, the control module includes:
[0061] A first acquisition unit is used to acquire an operation position of the second interaction operation in the AR interaction space and an operation posture of the interaction operation;
[0062] A second acquiring unit, configured to acquire a relative position of an operation position of the second interaction operation in the AR interaction space relative to the AR model;
[0063] A third acquisition unit, used to acquire a response action that matches both the relative position and the operation posture;
[0064] A control unit is used to control the AR model to perform the response action on the AR interaction interface.
[0065] In an optional implementation, the device further includes:
[0066] A display module, configured to display a plurality of AR models on the AR interaction interface in response to a first interactive operation on the AR device;
[0067] The first acquisition module is specifically configured to: in response to a selection operation on at least one AR model among the plurality of AR models, acquire a first spatial position for setting the at least one AR model in the AR interaction space;
[0068] Correspondingly, the first rendering module is specifically used to render at least one AR model at the first rendering position on the AR interaction interface.
[0069] In an optional implementation, the device further includes:
[0070] a sixth acquisition module, configured to acquire operation prompt information for the AR model, wherein the operation prompt information is used to prompt an interactive operation for controlling the AR model to be input in the AR interaction space;
[0071] The output module is used to output the operation prompt information.
[0072] In an optional implementation manner, the sixth acquisition module is specifically configured to: search for the operation prompt information corresponding to the AR model in the correspondence between the AR model and the operation prompt information.
[0073] In a third aspect, the present application shows an electronic device, the electronic device comprising:
[0074] processor;
[0075] a memory for storing processor-executable instructions;
[0076] Wherein, the processor is configured to execute the data processing method as described in the first aspect.
[0077] In a fourth aspect, the present application illustrates a non-temporary computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the data processing method as described in the first aspect.
[0078] In a fifth aspect, the present application illustrates a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to perform the data processing method as described in the first aspect.
[0079] The technical solution provided by this application may have the following beneficial effects:
[0080] In the present application, in response to a first interactive operation on an AR device, a first spatial position for setting an AR model in an AR interactive space of the AR device is obtained, and then a first rendering position corresponding to the first spatial position on an AR interactive interface of the AR device can be obtained, and then the AR model can be rendered at the first rendering position on the AR interactive interface, and then, in response to a second interactive operation of an operator located in the AR interactive space on the AR model located in the AR interactive space, the AR model can be controlled on the AR interactive interface to perform a response action corresponding to the second interactive operation.
[0081] Through this application, users can input interactive operations in the AR interactive space to control the AR model without relying on the touch screen, and in the process of controlling the AR model, the state of the operating body (such as position or posture, etc.) can be seen in real time on the AR interactive interface, which is convenient for users to use the operating body to control the AR model in the AR interactive space. In this way, this application enriches the information that can be manipulated, for example, supports users to manipulate the AR model, and enriches the manipulation methods of users to manipulate the AR model, for example, input interactive operations in the AR interactive space to control the AR model without relying on the touch screen, thereby increasing the user's interest in manipulating the AR model, and further improving the user's manipulation experience. In addition, the limitation of the touch screen can be eliminated, that is, when the screen of a device does not have a touch function, it also supports users to input interactive operations in the AR interactive space to control the AR model. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] Figure 1 It is a step flow chart of a data processing method of the present application.
[0083] Figure 2 It is a step flow chart of a data processing method of the present application.
[0084] Figure 3 It is a structural block diagram of a data processing device of the present application.
[0085] Figure 4 It is a block diagram of an electronic device shown in the present application.
[0086] Figure 5 It is a block diagram of an electronic device shown in the present application. DETAILED DESCRIPTION
[0087] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0088] Reference Figure 1 , shows a flow chart of the steps of a data processing method of the present application, the method is applied to an AR (Augmented Reality) device, the AR device has a screen, the screen of the AR device displays an AR interaction interface, and the AR interaction interface displays at least: a first image of a real environment including an AR interaction space captured by a camera. The method may specifically include the following steps:
[0089] In step S101 , in response to a first interaction operation on an AR device, a first spatial position for setting an AR model in an AR interaction space of the AR device is acquired.
[0090] AR models include three-dimensional models, for example, three-dimensional models of cartoon characters, animals, trees, and buildings, etc.
[0091] In the present application, the AR interaction space is a three-dimensional space, wherein the AR device has a camera, the camera can capture images within the spatial range that the camera is facing, and the AR interaction space can be located within the spatial range that the camera is facing.
[0092] In the present application, the first interaction operation is used to control the AR device to render an AR model at a corresponding position on the AR interaction interface at a certain position in the AR interaction space.
[0093] In one embodiment, if the first interaction operation does not indicate the spatial position of the AR model in the AR interaction space, that is, the user does not specify the spatial position of the AR model in the AR interaction space according to the first interaction operation, then the spatial position of the AR model in the AR interaction space may be a default, for example, a default first spatial position, etc. For example, it may be a position in the direction in which the camera is facing and at a preset distance from the camera.
[0094] The preset distance may be set in advance in the AR device by a technician, for example, 10 cm or 20 cm, etc. The specific distance may be determined according to actual conditions and will not be described in detail here.
[0095] In another embodiment, if the first interaction operation indicates the spatial position of the AR model in the AR interaction space, that is, the user specifies the spatial position of the AR model in the AR interaction space according to the first interaction operation, then the spatial position of the AR model in the AR interaction space can be the first spatial position specified by the user, etc.
[0096] In step S102, a first rendering position corresponding to the first spatial position on the AR interaction interface of the AR device is obtained.
[0097] In the present application, the AR interaction space has a spatial coordinate system, and any spatial coordinate in the AR interaction space corresponds to at least one interface coordinate on the AR interaction interface. For example, the AR device stores the correspondence between the spatial coordinates in the AR interaction space and the interface coordinates on the AR interaction interface.
[0098] Therefore, in the present application, the spatial coordinates of the first spatial position in the spatial coordinate system in the AR interaction space can be obtained, and then the interface coordinates corresponding to the spatial coordinates can be searched in the correspondence between the spatial coordinates in the AR interaction space and the interface coordinates on the AR interaction interface, and the position corresponding to the interface coordinates is determined on the AR interaction interface, and used as the first rendering position corresponding to the first spatial position on the AR interaction interface.
[0099] In step S103, the AR model is rendered at a first rendering position on the AR interaction interface.
[0100] At this time, the AR interaction interface at least includes a first image and an AR model.
[0101] For example, the AR model can be displayed in a floating manner at the first rendering position on the AR interaction interface. Since the AR interaction interface has a first image, the user can see the AR model superimposed on the first image on the AR interaction interface. Since the first image is an image of the real environment and the AR model is a virtual model, the superposition of the real environment and the virtual AR model can give the user a sense of augmented reality.
[0102] Although the AR model is displayed on the AR interaction interface, in fact, the AR model is virtually set at a spatial position in the real environment corresponding to the first image, for example, in the AR interaction space.
[0103] In step S104, in response to a second interaction operation performed by the operator in the AR interaction space on the AR model in the AR interaction space, the AR model is controlled on the AR interaction interface to perform a response action corresponding to the second interaction operation.
[0104] The operating body may include a user's hand or other objects held by the user that can manipulate the AR model in the AR interaction space.
[0105] When the user needs to manipulate the AR model, one way is for the user to manipulate the AR model on the AR interaction interface through a touch screen, and another way is for the user to use an operating body to manipulate the AR model in the AR interaction space (for example, the position of the AR model in the real environment corresponding to the first image, etc.).
[0106] Taking the above-mentioned "another way" as an example, the user can move the operating body to the AR interaction space, and the camera of the AR device can capture images including the AR interaction space in real time or periodically, and use the latest captured image (including the operating body) to update the displayed image on the AR interaction interface. In this way, the user can not only see the AR model on the AR interaction interface, but also the operating body, and can determine the relative position between the AR model and the operating body, for example, determine whether the two are in contact.
[0107] When the two are in contact, the user can manipulate the AR model using the operating body.
[0108] Therefore, if the user determines on the AR interaction interface that the two are not in contact, the user can continue to move the operating body in the AR interaction space until the contact between the two can be reflected in the image captured by the camera displayed on the AR interaction interface. In this way, the user can use the operating body to input a second interactive operation on the AR model.
[0109] The second interactive operation may include operations such as clicking, rotating, zooming in, zooming out, and dragging, or other types of gesture operations.
[0110] For the AR device, in response to the second interaction operation of the operating body located in the AR interaction space on the AR model, the AR model can be controlled to perform a response action corresponding to the second interaction operation.
[0111] For example, the collected images are used to analyze whether the operating body in the AR interaction space is in contact with the AR model, and if the two are in contact, the collected images are used to analyze the interactive operation input by the user in the AR interaction space as the second interactive operation.
[0112] In one embodiment, in the correspondence relationship between the interaction operation and the response action corresponding to the AR model, a response action corresponding to the second interaction action is searched, and the AR model is controlled to execute the response action.
[0113] Among them, the corresponding relationship between the interactive operation and the response action corresponding to the AR model is set in advance in the AR device. For the AR model, what kind of interactive operation corresponds to what kind of response action can be determined according to actual conditions and is not limited here.
[0114] Alternatively, in another embodiment, the operation position of the second interactive operation in the AR interaction space and the operation posture of the second interactive operation can be obtained, and the relative position of the operation position of the second interactive operation in the AR interaction space relative to the AR model can be obtained, and then the response action that matches the relative position and the operation posture at the same time can be obtained. For example, in the correspondence between the relative position, operation posture and response action corresponding to the AR model, the response action corresponding to the relative position and the operation posture is searched, and then the AR model is controlled to perform the response action on the AR interaction interface.
[0115] Among them, the corresponding relationship between the relative position, operation posture and response action of the AR model is set in advance in the AR device. For the AR model, what kind of relative position and what kind of operation posture corresponds to what kind of response action can be determined according to actual conditions and is not limited here.
[0116] In the present application, in response to a first interactive operation on an AR device, a first spatial position for setting an AR model in an AR interactive space of the AR device is obtained, and then a first rendering position corresponding to the first spatial position on an AR interactive interface of the AR device can be obtained, and then the AR model can be rendered at the first rendering position on the AR interactive interface, and then, in response to a second interactive operation of an operator located in the AR interactive space on the AR model located in the AR interactive space, the AR model can be controlled on the AR interactive interface to perform a response action corresponding to the second interactive operation.
[0117] Through this application, users can input interactive operations in the AR interactive space to control the AR model without relying on the touch screen, and in the process of controlling the AR model, the state of the operating body (such as position or posture, etc.) can be seen in real time on the AR interactive interface, which is convenient for users to use the operating body to control the AR model in the AR interactive space. In this way, this application enriches the information that can be manipulated, for example, supports users to manipulate the AR model, and enriches the manipulation methods of users to manipulate the AR model, for example, input interactive operations in the AR interactive space to control the AR model without relying on the touch screen, thereby increasing the user's interest in manipulating the AR model, and further improving the user's manipulation experience. In addition, the limitation of the touch screen can be eliminated, that is, when the screen of a device does not have a touch function, it also supports users to input interactive operations in the AR interactive space to control the AR model.
[0118] Furthermore, after the user moves the operating body into the AR interaction space, in order to enable the user to see the operating body on the AR interaction interface so that the user can use the operating body to control the AR model in the AR interaction space, in another embodiment of the present application, see Figure 2 After step S103 of “rendering the AR model at a first rendering position on the AR interaction interface”, the method further includes:
[0119] In step S201, a second image of a real environment including an AR interaction space is captured based on a camera of an AR device, and the second image includes an operating body located in the AR interaction space.
[0120] In the present application, when the user needs to manipulate the AR model in the AR interaction space, the user can control the operating body to move into the AR interaction space, and the camera of the AR device can capture a second image (including the operating body) of the real environment of the AR interaction space, and then execute step S202.
[0121] In step S202, an operating body in the second image is recognized using an image recognition model, and a second spatial position of the operating body in the AR interaction space is acquired.
[0122] In one embodiment of the present application, an image recognition model may be trained in advance. After the image recognition model is obtained through training, the image recognition model may be configured in an AR device. In this way, the image recognition model may be used to recognize the operating body in the second image. For example, the second image may be input into the image recognition model so that the image recognition model recognizes the second image, obtains the operating body in the second image, and outputs the operating body in the second image. Then, the AR device may obtain the operating body in the second image output by the image recognition model.
[0123] When training the image recognition model, at least one sample data set can be obtained, the sample data set including sample images labeled with operating bodies, and then the initialization model is trained using the at least one sample data set until the parameters in the initialization model converge, thereby obtaining the image recognition model.
[0124] Among them, the initialization models include PoseNet or Creat ML.
[0125] When training an image recognition model, sample images of various situations can be used, for example, sample images of operating bodies in various postures, sample images in weak light, sample images in which the operating body is partially blocked, and sample images that include more than two operating bodies at the same time, etc., so that the trained image recognition model has recognition capabilities for operating bodies in various postures, weak light, partially blocked operating bodies, and more than two operating bodies in one image. In this way, the generalization of the trained image recognition model can be improved. In this way, identifying the operating body in the second image through the image recognition model can improve the accuracy of the identified operating body.
[0126] Furthermore, the image recognition model is not restricted by hardware, so that the solution can get rid of the dependence on specific hardware and improve the universality of the solution.
[0127] The second image may be analyzed to obtain the second spatial position of the operating body in the AR interaction space. The specific analysis method may refer to the currently existing method, which will not be described in detail here.
[0128] For example, the depth features of the second image can be acquired with the help of a neural network. Since the second image includes the operating body, the depth features of the operating body can be obtained, and thus the distance between the operating body and the camera can be determined. Since the AR device can obtain the position coordinates of the camera and the direction of the operating body relative to the camera can be determined by analyzing the second image, the second spatial position of the operating body in the AR interaction space can be determined according to the position coordinates of the camera, the distance between the operating body and the camera, and the direction of the operating body relative to the camera.
[0129] In step S203, a second rendering position corresponding to the second spatial position on the AR interaction interface of the AR device is obtained.
[0130] In the present application, the AR interaction space has a spatial coordinate system, and any spatial coordinate in the AR interaction space corresponds to at least one interface coordinate on the AR interaction interface. For example, the AR device stores the correspondence between the spatial coordinates in the AR interaction space and the interface coordinates on the AR interaction interface.
[0131] Therefore, in the present application, the spatial coordinates of the second spatial position in the spatial coordinate system in the AR interaction space can be obtained, and then the interface coordinates corresponding to the spatial coordinates can be searched in the correspondence between the spatial coordinates in the AR interaction space and the interface coordinates on the AR interaction interface, and the position corresponding to the interface coordinates is determined on the AR interaction interface, and used as the second rendering position corresponding to the second spatial position on the AR interaction interface.
[0132] In step S204, the operating body is rendered at a second rendering position on the AR interaction interface.
[0133] At this time, the AR interaction interface at least includes a first image, an AR model, and an operating body.
[0134] Before rendering the operating body at the second rendering position on the AR interaction interface, the method further includes: determining whether the operating body has been rendered on the AR interaction interface.
[0135] When an operating body has been rendered on the AR interaction interface (that is, the second image is not the first image of the operating body), it can be determined whether the third spatial position of the rendered operating body in the AR interaction space is the same as the second spatial position. When the third spatial position is different from the second spatial position, the third rendering position corresponding to the third spatial position on the AR interaction interface is obtained (the specific acquisition method can be found in step S203, which is not described in detail here). The operating body that has been rendered on the AR interaction interface is gradually moved from the third rendering position to the second rendering position, so that the movement of the operating body is reflected in the form of animation, which can improve the user's viewing experience.
[0136] Alternatively, when the operating body is not rendered on the AR interaction interface (that is, the second image is an image in which the operating body appears for the first time), the operating body is rendered at a second rendering position on the AR interaction interface.
[0137] Among them, “rendering the operating body at the second rendering position on the AR interaction interface” can be implemented through the following process, including:
[0138] 2041. Perform personalized style configuration on the operator to obtain a virtual operator with a personalized style.
[0139] In one example, assuming that the operating body includes a user's hand, the original style of the user's hand has a low degree of personalization, the original style of each user's hand is almost the same, and is not adapted to the scene where the AR model is located, resulting in a low user experience.
[0140] Therefore, in order to improve the personalized style of the operating body to give users a personalized feeling, or to make the style of the operating body rendered on the AR interaction interface adapt to the scene where the AR model is located as much as possible to improve the user experience, in the present application, the operating body can be configured with a personalized style to obtain a virtual operating body with a personalized style. For example, the virtual operating body in animated form can be configured according to the shape, size, and position of the operating body.
[0141] Furthermore, a virtual operating body with a personalized style related to the AR model can also be configured.
[0142] For example, assuming that the AR model is a three-dimensional model of a cat, a human hand can be configured as a three-dimensional virtual cat paw.
[0143] Alternatively, assuming that the AR model is a dragon, dragon scales or other characteristic images of a dragon may be configured on the outer contour of a human hand to combine the human hand with the configured dragon scales or other characteristic images of a dragon into a virtual operating body, etc.
[0144] 2042. Render a virtual operating body of a personalized style at a second rendering position on the AR interaction interface.
[0145] At this time, the AR interaction interface includes at least the first image, the AR model, and a virtual operating body of a personalized style.
[0146] In this application, there are many AR models built into the AR device, and the user can select the AR model that the user needs to control in the AR device according to his or her actual needs.
[0147] In order to support the user to select the AR model that the user needs to manipulate in the AR device according to their actual needs, in another embodiment of the present application, when the user needs to select the AR model that the user needs to manipulate in the AR device, the user can input a first interactive operation on the AR device, and the first manipulation operation is used to control the AR device to display multiple AR models on the AR interaction interface for the user to select. In response to the first interactive operation, the AR device can obtain multiple AR models and display the multiple AR models on the AR interaction interface.
[0148] In this way, when obtaining the first spatial position for setting the AR model in the AR interaction space of the AR device, the first spatial position for setting at least one AR model in the AR interaction space of the AR device can be obtained in response to a selection operation of at least one AR model among multiple AR models.
[0149] Correspondingly, when the AR model is rendered at the first rendering position on the AR interaction interface, at least one AR model may be rendered at the first rendering position on the AR interaction interface.
[0150] Through the embodiments of the present application, the user is supported to select the AR model that the user needs to control on the AR device, so that the AR device can render the AR model selected by the user on the AR interaction interface, and then the user can manipulate the interaction model selected by the user in the AR interaction space.
[0151] However, if it is the first time that the user wants to control the operating body to input interactive operations in the AR interactive space to control the AR model to perform corresponding response actions, the user may not know how to input interactive operations to the AR model, which will bring inconvenience to the user. The user may need to repeat trial and error many times before knowing how to input interactive operations to the AR model to control the AR model to perform corresponding response actions, which will reduce the user experience.
[0152] Therefore, in order to avoid this situation, in another embodiment of the present application, after step S103 “rendering the AR model at the first rendering position on the AR interaction interface”, the method further includes:
[0153] Get the operation prompt information for the AR model, which is used to prompt the input of interactive operations for controlling the AR model in the AR interactive space. The interactive operations may include operations such as clicking, rotating, zooming in, zooming out, and moving positions, and then the operation prompt information may be output. For example, the operation prompt information may be displayed on the touch screen of the AR device or played using the microphone of the AR device.
[0154] In this way, the user can perceive the operation prompt information, and through the operation prompt information can know how to use the operating body to input interactive operations to control the AR model in the AR interactive space, that is, what kind of interactive operations input in the AR interactive space can control the AR model, thereby avoiding the situation where "repeated trial and error are required to know how to input interactive operations to the AR model to control the AR model to perform corresponding response actions", thereby improving the user experience.
[0155] In the present application, there may be many AR models that can be manipulated on an AR device, and different operation prompt information can be set for different AR models. For example, the display styles of the operation prompt information of different AR models are different, or the operation prompt information of different AR models includes different interactive operations for controlling the AR model, etc. (the difference in interactive operations can be determined based on the actual situation of the AR model).
[0156] In this way, for any AR model, the AR model and the operation prompt information of the AR model set in advance can be stored in the corresponding relationship between the AR model and the operation prompt information, and the same is true for each other AR model.
[0157] Therefore, when it is necessary to obtain operation prompt information for an AR model, the operation prompt information corresponding to the AR model may be searched in the correspondence between the AR model and the operation prompt information.
[0158] Reference Figure 3 , shows a structural block diagram of a data processing device of the present application, the device is applied to an AR device, and the AR interaction interface of the AR device at least displays: a first image of a real environment including an AR interaction space of the AR device acquired by a camera; the device includes:
[0159] A first acquisition module 11 is used for acquiring a first spatial position for setting an AR model in the AR interaction space in response to a first interaction operation on the AR device;
[0160] A second acquisition module 12 is used to acquire a first rendering position corresponding to the first spatial position on the AR interaction interface;
[0161] A first rendering module 13, configured to render the AR model at the first rendering position on the AR interaction interface;
[0162] The control module 14 is configured to control the AR model to perform a response action corresponding to the second interaction operation on the AR model in the AR interaction space in response to a second interaction operation performed by an operator in the AR interaction space.
[0163] In an optional implementation, the device further includes:
[0164] a collection module, configured to collect, based on the camera, a second image of the real environment including the AR interaction space, wherein the second image includes the operating body located in the AR interaction space;
[0165] a recognition module, configured to recognize the operating body in the second image using an image recognition model;
[0166] A third acquisition module is used to acquire a second spatial position of the operating body in the AR interaction space;
[0167] A fourth acquisition module, configured to acquire a second rendering position corresponding to the second spatial position on the AR interaction interface;
[0168] The second rendering module is used to render the operating body at the second rendering position on the AR interaction interface.
[0169] In an optional implementation, the second rendering module includes:
[0170] A configuration unit, configured to perform personalized style configuration on the operating body to obtain a virtual operating body of a personalized style;
[0171] A rendering unit is used to render a virtual operating body of a personalized style at the second rendering position on the AR interaction interface.
[0172] In an optional implementation, the device further includes:
[0173] A first determining module, used to determine whether the operating body has been rendered on the AR interaction interface;
[0174] a second determining module, for determining, when the operating body has been rendered on the AR interaction interface, whether a third spatial position of the rendered operating body in the AR interaction space is the same as the second spatial position; a fifth acquiring module, for acquiring, when the third spatial position is different from the second spatial position, a third rendering position corresponding to the third spatial position on the AR interaction interface; and a moving module, for gradually moving the operating body rendered on the AR interaction interface from the third rendering position to the second rendering position;
[0175] or,
[0176] The second rendering module is further used for rendering the operating body at the second rendering position on the AR interaction interface when the operating body is not rendered on the AR interaction interface.
[0177] In an optional implementation, the control module includes:
[0178] A first acquisition unit is used to acquire an operation position of the second interaction operation in the AR interaction space and an operation posture of the interaction operation;
[0179] A second acquiring unit, configured to acquire a relative position of an operation position of the second interaction operation in the AR interaction space relative to the AR model;
[0180] A third acquisition unit, used to acquire a response action that matches both the relative position and the operation posture;
[0181] A control unit is used to control the AR model to perform the response action on the AR interaction interface.
[0182] In an optional implementation, the device further includes:
[0183] A display module, configured to display a plurality of AR models on the AR interaction interface in response to a first interactive operation on the AR device;
[0184] The first acquisition module is specifically configured to: in response to a selection operation on at least one AR model among the plurality of AR models, acquire a first spatial position for setting the at least one AR model in the AR interaction space;
[0185] Correspondingly, the first rendering module is specifically used to render at least one AR model at the first rendering position on the AR interaction interface.
[0186] In an optional implementation, the device further includes:
[0187] a sixth acquisition module, configured to acquire operation prompt information for the AR model, wherein the operation prompt information is used to prompt an interactive operation for controlling the AR model to be input in the AR interaction space;
[0188] The output module is used to output the operation prompt information.
[0189] In an optional implementation manner, the sixth acquisition module is specifically configured to: search for the operation prompt information corresponding to the AR model in the correspondence between the AR model and the operation prompt information.
[0190] In the present application, in response to a first interactive operation on an AR device, a first spatial position for setting an AR model in an AR interactive space of the AR device is obtained, and then a first rendering position corresponding to the first spatial position on an AR interactive interface of the AR device can be obtained, and then the AR model can be rendered at the first rendering position on the AR interactive interface, and then, in response to a second interactive operation of an operator located in the AR interactive space on the AR model located in the AR interactive space, the AR model can be controlled on the AR interactive interface to perform a response action corresponding to the second interactive operation.
[0191] Through this application, users can input interactive operations in the AR interactive space to control the AR model without relying on the touch screen, and in the process of controlling the AR model, the state of the operating body (such as position or posture, etc.) can be seen in real time on the AR interactive interface, which is convenient for users to use the operating body to control the AR model in the AR interactive space. In this way, this application enriches the information that can be manipulated, for example, supports users to manipulate the AR model, and enriches the manipulation methods of users to manipulate the AR model, for example, input interactive operations in the AR interactive space to control the AR model without relying on the touch screen, thereby increasing the user's interest in manipulating the AR model, and further improving the user's manipulation experience. In addition, the limitation of the touch screen can be eliminated, that is, when the screen of a device does not have a touch function, it also supports users to input interactive operations in the AR interactive space to control the AR model.
[0192] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0193] Optionally, an embodiment of the present invention further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned data processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0194] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned data processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0195] Figure 4 800 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0196] Reference Figure 4 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0197] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0198] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, images, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0199] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0200] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0201] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0202] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0203] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0204] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0205] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0206] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0207] Figure 51 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
[0208] Reference Figure 5 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0209] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0210] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0211] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0212] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0213] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0214] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0215] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0216] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0217] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0218] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0219] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A data processing method, characterized in that: The method is applied to an augmented reality (AR) device, wherein an AR interaction interface of the AR device at least displays: a first image of a real environment including an AR interaction space of the AR device acquired by a camera; the method comprises: In response to a first interaction operation on the AR device, acquiring a first spatial position for setting an AR model in the AR interaction space; Obtaining a first rendering position corresponding to the first spatial position on the AR interaction interface; Rendering the AR model at the first rendering position on the AR interaction interface; In response to a second interaction operation of an operator located in the AR interaction space to the AR model located in the AR interaction space, controlling the AR model to perform a response action corresponding to the second interaction operation on the AR interaction interface; Among them, the AR interaction space has a spatial coordinate system, and any spatial coordinate in the AR interaction space corresponds to at least one interface coordinate on the AR interaction interface, the first spatial position is searched and determined according to the correspondence between the spatial coordinate and the interface coordinate, and the second interaction operation includes at least: clicking, rotating, zooming in, zooming out, dragging, or gesture operation.
2. The method according to claim 1, characterized in that After rendering the AR model at the first rendering position on the AR interaction interface, the method further includes: A second image of a real environment including the AR interaction space is collected by the camera, wherein the second image includes the operating body located in the AR interaction space; recognizing the operating body in the second image using an image recognition model; Acquire a second spatial position of the operating body in the AR interaction space; Obtaining a second rendering position corresponding to the second spatial position on the AR interaction interface; The operating body is rendered at the second rendering position on the AR interaction interface.
3. The method according to claim 2, characterized in that Rendering the operating body at the second rendering position on the AR interaction interface includes: Performing personalized style configuration on the operating body to obtain a virtual operating body with a personalized style; A virtual operating body of a personalized style is rendered at the second rendering position on the AR interaction interface.
4. The method according to claim 2, characterized in that: Before rendering the operating body at the second rendering position on the AR interaction interface, the method further includes: Determining whether the operating body has been rendered on the AR interaction interface; When the operating body has been rendered on the AR interaction interface, determining whether a third spatial position of the rendered operating body in the AR interaction space is the same as the second spatial position; when the third spatial position is different from the second spatial position, obtaining a third rendering position corresponding to the third spatial position on the AR interaction interface, and gradually moving the operating body rendered on the AR interaction interface from the third rendering position to the second rendering position; or, When the operating body is not rendered on the AR interaction interface, the step of rendering the operating body at the second rendering position on the AR interaction interface is performed.
5. The method according to claim 1, characterized in that In response to a second interaction operation of an operator located in the AR interaction space on the AR model located in the AR interaction space, controlling the AR model on the AR interaction interface to perform a response action corresponding to the second interaction operation includes: Acquire an operation position of the second interaction operation in the AR interaction space and an operation posture of the interaction operation; Acquire a relative position of an operation position of the second interaction operation in the AR interaction space with respect to the AR model; Acquire a response action that matches the relative position and the operation posture simultaneously; The AR model is controlled on the AR interaction interface to perform the response action.
6. The method according to claim 1, characterized in that The method further comprises: In response to a first interactive operation on the AR device, displaying a plurality of AR models on the AR interaction interface; The acquiring a first spatial position for setting the AR model in the AR interaction space includes: In response to a selection operation on at least one AR model among the plurality of AR models, acquiring a first spatial position for setting the at least one AR model in the AR interaction space; Correspondingly, rendering the AR model at the first rendering position on the AR interaction interface includes: Render at least one AR model at the first rendering position on the AR interaction interface.
7. The method according to claim 1, characterized in that After rendering the AR model at the first rendering position on the AR interaction interface, the method further includes: Acquiring operation prompt information for the AR model, where the operation prompt information is used to prompt an interactive operation for controlling the AR model to be input in the AR interaction space; The operation prompt information is output.
8. The method according to claim 7, characterized in that The obtaining of operation prompt information for the AR model includes: In the correspondence between the AR model and the operation prompt information, the operation prompt information corresponding to the AR model is searched.
9. A data processing device, characterized in that: The device is applied to an augmented reality (AR) device, and the AR interaction interface of the AR device at least displays: a first image of a real environment including an AR interaction space of the AR device acquired by a camera; the device includes: A first acquisition module, configured to acquire, in response to a first interaction operation on the AR device, a first spatial position for setting an AR model in the AR interaction space; A second acquisition module is used to acquire a first rendering position corresponding to the first spatial position on the AR interaction interface; A first rendering module, configured to render the AR model at the first rendering position on the AR interaction interface; a control module, configured to control the AR model to perform a response action corresponding to the second interaction operation on the AR model in the AR interaction space in response to a second interaction operation of the operator in the AR interaction space; Among them, the AR interaction space has a spatial coordinate system, and any spatial coordinate in the AR interaction space corresponds to at least one interface coordinate on the AR interaction interface, the first spatial position is searched and determined according to the correspondence between the spatial coordinate and the interface coordinate, and the second interaction operation includes at least: clicking, rotating, zooming in, zooming out, dragging, or gesture operation.
10. The device according to claim 9, characterized in that The device also includes: a collection module, configured to collect, based on the camera, a second image of the real environment including the AR interaction space, wherein the second image includes the operating body located in the AR interaction space; a recognition module, configured to recognize the operating body in the second image using an image recognition model; A third acquisition module is used to acquire a second spatial position of the operating body in the AR interaction space; A fourth acquisition module, configured to acquire a second rendering position corresponding to the second spatial position on the AR interaction interface; The second rendering module is used to render the operating body at the second rendering position on the AR interaction interface.
11. The device according to claim 10, characterized in that The second rendering module includes: A configuration unit, configured to perform personalized style configuration on the operating body to obtain a virtual operating body of a personalized style; A rendering unit is used to render a virtual operating body of a personalized style at the second rendering position on the AR interaction interface.
12. The device according to claim 10, characterized in that The device also includes: A first determining module, used to determine whether the operating body has been rendered on the AR interaction interface; a second determining module, for determining, when the operating body has been rendered on the AR interaction interface, whether a third spatial position of the rendered operating body in the AR interaction space is the same as the second spatial position; a fifth acquiring module, for acquiring, when the third spatial position is different from the second spatial position, a third rendering position corresponding to the third spatial position on the AR interaction interface; and a moving module, for gradually moving the operating body rendered on the AR interaction interface from the third rendering position to the second rendering position; or, The second rendering module is further used for rendering the operating body at the second rendering position on the AR interaction interface when the operating body is not rendered on the AR interaction interface.
13. The device according to claim 9, characterized in that The control module comprises: A first acquisition unit is used to acquire an operation position of the second interaction operation in the AR interaction space and an operation posture of the interaction operation; A second acquiring unit, configured to acquire a relative position of an operation position of the second interaction operation in the AR interaction space relative to the AR model; A third acquisition unit, used to acquire a response action that matches both the relative position and the operation posture; A control unit is used to control the AR model to perform the response action on the AR interaction interface.
14. The device according to claim 9, characterized in that The device also includes: A display module, configured to display a plurality of AR models on the AR interaction interface in response to a first interactive operation on the AR device; The first acquisition module is specifically configured to: in response to a selection operation on at least one AR model among the plurality of AR models, acquire a first spatial position for setting the at least one AR model in the AR interaction space; Correspondingly, the first rendering module is specifically used to render at least one AR model at the first rendering position on the AR interaction interface.
15. The device according to claim 9, characterized in that The device also includes: a sixth acquisition module, configured to acquire operation prompt information for the AR model, wherein the operation prompt information is used to prompt an interactive operation for controlling the AR model to be input in the AR interaction space; The output module is used to output the operation prompt information.
16. The device according to claim 15, characterized in that The sixth acquisition module is specifically used to: search for the operation prompt information corresponding to the AR model in the correspondence relationship between the AR model and the operation prompt information.
17. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the data processing method according to any one of claims 1 to 8 when executed by the processor.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 8 are implemented.
