A VR interactive control method based on data processing

By collecting and correcting the three-axis acceleration data of the VR device, generating attitude adjustment values ​​and inputting them into the SVM classifier, the problem of low accuracy of action recognition in the existing technology is solved, and more accurate user action recognition and VR device output are achieved. .

CN118349119BActive Publication Date: 2024-09-03ZHIGUANG XINYAN (DONGGUAN) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410772270.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-03
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

In the human-computer interaction process of existing VR equipment, the accuracy of the action recognition method is not high, resulting in inaccurate user action recognition.

Method used

The user's three-axis acceleration data is collected through the sensor of the VR device, a mixed set of postures is generated, and the data is corrected using the posture adjustment value, and finally input into the SVM classifier to generate the user's predicted actions for the VR device, using particle swarm optimization The algorithm optimizes SVM parameters and establishes an action classification model.

Benefits of technology

It improves the accuracy of the user's three-axis acceleration data, ensures the accuracy and reliability of action recognition, and enhances the accuracy of the output action of the VR device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118349119B
    Figure CN118349119B
Patent Text Reader

Abstract

The present invention discloses a VR interactive control method based on data processing, which belongs to the field of data processing technology and includes the following steps: S1, using the sensor of the VR device to collect the three-axis acceleration data of the user within a preset time, and generating a posture mixed set according to the three-axis acceleration data within the preset time; S2, generating a posture adjustment value according to the posture mixed set; S3, using the posture adjustment value to correct the three-axis acceleration data of the user within the preset time, and generating the user's predicted action for the VR device. The VR interactive control method based on data processing effectively fills the defect that the sensor collection data may be inaccurate, ensures that the data input to the classifier is accurate, provides a basis for accurately identifying user actions, and ensures that the output action of the VR device is accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data processing, and in particular relates to a VR interactive control method based on data processing. Background Art

[0002] Virtual reality technology is an important branch of simulation technology. It uses computers, related technologies and software and hardware tools to generate real-time dynamic, three-dimensional and realistic texture scenes, and enables it to imitate various human perceptions and interact with users using sensors.

[0003] In the human-computer interaction process of existing VR devices, in addition to traditional button operations, there is also a motion recognition function. VR devices collect data through sensors set in the device, and perform model matching on the data collected by the sensors to determine the action category. However, the accuracy of existing motion recognition methods is not high. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a VR interactive control method based on data processing.

[0005] The technical solution of the present invention is: a VR interactive control method based on data processing comprises the following steps:

[0006] S1. Using the sensor of the VR device to collect the three-axis acceleration data of the user within a preset time, and generating a posture mixed set according to the three-axis acceleration data within the preset time;

[0007] S2. Generate a posture adjustment value according to the posture mixture set;

[0008] S3. Use the posture adjustment value to correct the three-axis acceleration data of the user within a preset time, and generate the user's predicted action for the VR device.

[0009] Furthermore, S1 includes the following sub-steps:

[0010] S11, using the sensor of the VR device to collect the three-axis acceleration data of the user within a preset time, and splitting the three-axis acceleration data at each moment into acceleration data on the X-axis, acceleration data on the Y-axis, and acceleration data on the Z-axis;

[0011] S12, generating an acceleration mixed function at each moment according to the acceleration data of the user at each moment on the X-axis, the acceleration data on the Y-axis, and the acceleration data on the Z-axis;

[0012] S13, determining the three-axis sensing range of the VR device used by the user;

[0013] S14. Generate a posture mixing set according to the acceleration mixing function of the user at each moment and the three-axis sensing range of the VR device.

[0014] The beneficial effect of the above further scheme is: in the present invention, the acceleration data of the user is decomposed to obtain the acceleration data of the user in three directions at each moment, and based on the acceleration data of the user in different directions, the acceleration mixing function of the user at each moment is determined, so as to determine the three-axis sensing range of the user when using the VR device, and extract the elements of the posture mixing set based on the three-axis sensing range to generate a posture adjustment value.

[0015] Furthermore, in S12, the acceleration mixing function M at time t is t The expression is:

[0016] ; ; ; ; In the formula, A x_t Represents the acceleration data on the X axis at time t, A x_t-1 Represents the acceleration data on the X axis at time t-1, A x_t+1 Represents the acceleration data on the X axis at time t+1, A y_t Represents the acceleration data on the Y axis at time t, A y_t-1 Represents the acceleration data on the Y axis at time t-1, A y_t+1 Represents the acceleration data on the Y axis at time t+1, A z_t Represents the acceleration data on the Z axis at time t, A z_t-1 Represents the acceleration data on the Z axis at time t-1, A z_t+1 Represents the acceleration data on the Z axis at time t+1, a x_y represents the horizontal and vertical mixing matrix corresponding to time t, a x_z represents the horizontal and vertical mixing matrix corresponding to time t, a y_z Represents the vertical and horizontal mixing matrix corresponding to time t.

[0017] During calculation, the acceleration data can be dimensioned.

[0018] Furthermore, in S13, the user uses the upper limit A of the three-axis sensing range of the VR device. max The calculation formula is: Where A x_t Represents the acceleration data on the X axis at time t, A y_t Represents the acceleration data on the Y axis at time t, A z_trepresents the acceleration data on the Z axis at time t, and max(·) represents the maximum value function;

[0019] In S13, the user uses the lower limit A of the three-axis sensing range of the VR device min The calculation formula is:

[0020] ; Where min(·) represents the minimum function.

[0021] Furthermore, S14 includes the following sub-steps:

[0022] S141, determining the mixing weight of the user at each moment according to the acceleration mixing function of the user at each moment and the three-axis sensing range of the VR device;

[0023] S142, constructing posture change constraints, and taking the acceleration mixing function value corresponding to the moment when the mixing weight satisfies the posture change constraints as the posture mixing set.

[0024] Furthermore, in S141, the mixing weight η at time t t The expression is:

[0025] Where A max Indicates the upper limit of the three-axis sensing range of the VR device used by the user, A min Indicates the lower limit of the three-axis sensing range of the VR device used by the user, M t Represents the acceleration mixing function at time t.

[0026] Further, in S142, the expression of the posture change constraint condition is: ; In the formula, η t represents the mixing weight at time t.

[0027] Furthermore, S2 includes the following sub-steps:

[0028] S21, extracting the time corresponding to each acceleration mixing function value in the posture mixing set;

[0029] S22. Determine the attitude adjustment value according to the time corresponding to each acceleration mixing function value.

[0030] The beneficial effect of the above further scheme is: in the present invention, the duration of the moment corresponding to each element in the posture mixing set is calculated, and it is operated with the acceleration mixing function value to obtain the posture adjustment value, and the posture adjustment value is used to correct the three-axis acceleration data of the user at each moment to ensure the accuracy of the user's three-axis acceleration data, which is conducive to the classifier to perform action recognition.

[0031] Furthermore, in S22, the calculation formula of the posture adjustment value θ is:

[0032] Where, L i+1 Indicates the time corresponding to the i+1th acceleration mixing function value in the attitude mixing set, L i Indicates the time corresponding to the value of the i-th acceleration mixing function in the attitude mixing set, M i represents the i-th acceleration mixing function value in the posture mixing set, I represents the number of acceleration mixing function values ​​in the posture mixing set, and T represents the preset time.

[0033] Furthermore, in S3, the three-axis acceleration data of the user at each moment is multiplied by the posture adjustment value as the corrected three-axis acceleration data of the user at each moment, and the corrected three-axis acceleration data at each moment is input into the SVM classifier to generate the user's predicted action for the VR device.

[0034] The SVM classifier can use the SVM multi-classification algorithm to train the preprocessed action data, and use the particle swarm optimization algorithm (PSO) to optimize the SVM parameters to establish an action classification model to identify the user's action intention.

[0035] The beneficial effects of the present invention are as follows: the VR interactive control method based on data processing decomposes the three-axis acceleration data of the user within a preset time, determines the three-axis sensing range, and finally generates a posture adjustment value, and corrects the three-axis acceleration data of the user, effectively filling the defect that the sensor acquisition data may be inaccurate, ensuring that the data input to the classifier is accurate, providing a basis for accurately identifying user actions, and ensuring the accuracy of the output actions of the VR device. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 Flowchart of a VR interactive control method based on data processing. DETAILED DESCRIPTION

[0037] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0038] like Figure 1 As shown, the present invention provides a VR interactive control method based on data processing, comprising the following steps:

[0039] S1. Using the sensor of the VR device to collect the three-axis acceleration data of the user within a preset time, and generating a posture mixed set according to the three-axis acceleration data within the preset time;

[0040] S2. Generate a posture adjustment value according to the posture mixture set;

[0041] S3. Use the posture adjustment value to correct the three-axis acceleration data of the user within a preset time, and generate the user's predicted action for the VR device.

[0042] In this embodiment of the present invention, S1 includes the following sub-steps:

[0043] S11, using the sensor of the VR device to collect the three-axis acceleration data of the user within a preset time, and splitting the three-axis acceleration data at each moment into acceleration data on the X-axis, acceleration data on the Y-axis, and acceleration data on the Z-axis;

[0044] S12, generating an acceleration mixed function at each moment according to the acceleration data of the user at each moment on the X-axis, the acceleration data on the Y-axis, and the acceleration data on the Z-axis;

[0045] S13, determining the three-axis sensing range of the VR device used by the user;

[0046] S14. Generate a posture mixing set according to the acceleration mixing function of the user at each moment and the three-axis sensing range of the VR device.

[0047] In the present invention, the acceleration data of the user is decomposed to obtain the acceleration data of the user in three directions at each moment, and the acceleration mixing function of the user at each moment is determined based on the acceleration data of the user in different directions, so as to determine the three-axis sensing range of the user when using the VR device, and extract the elements of the posture mixing set based on the three-axis sensing range to generate a posture adjustment value.

[0048] In the embodiment of the present invention, in S12, the acceleration mixing function M at time t t The expression is:

[0049] ; ; ; ; In the formula, A x_t Represents the acceleration data on the X axis at time t, A x_t-1 Represents the acceleration data on the X axis at time t-1, A x_t+1 Represents the acceleration data on the X axis at time t+1, A y_t Represents the acceleration data on the Y axis at time t, A y_t-1 Represents the acceleration data on the Y axis at time t-1, A y_t+1 Represents the acceleration data on the Y axis at time t+1, A z_t Represents the acceleration data on the Z axis at time t, A z_t-1Represents the acceleration data on the Z axis at time t-1, A z_t+1 Represents the acceleration data on the Z axis at time t+1, a x_y represents the horizontal and vertical mixing matrix corresponding to time t, a x_z represents the horizontal and vertical mixing matrix corresponding to time t, a y_z Represents the vertical and horizontal mixing matrix corresponding to time t.

[0050] During calculation, the acceleration data can be dimensioned.

[0051] In the embodiment of the present invention, in S13, the user uses the upper limit A of the three-axis sensing range of the VR device. max The calculation formula is:

[0052] Where A x_t Represents the acceleration data on the X axis at time t, A y_t Represents the acceleration data on the Y axis at time t, A z_t represents the acceleration data on the Z axis at time t, and max(·) represents the maximum value function;

[0053] In S13, the user uses the lower limit A of the three-axis sensing range of the VR device min The calculation formula is:

[0054] ; Where min(·) represents the minimum function.

[0055] In this embodiment of the present invention, S14 includes the following sub-steps:

[0056] S141, determining the mixing weight of the user at each moment according to the acceleration mixing function of the user at each moment and the three-axis sensing range of the VR device;

[0057] S142, constructing posture change constraints, and taking the acceleration mixing function value corresponding to the moment when the mixing weight satisfies the posture change constraints as the posture mixing set.

[0058] In the embodiment of the present invention, in S141, the mixing weight η at time t is t The expression is:

[0059] Where A max Indicates the upper limit of the three-axis sensing range of the VR device used by the user, A min Indicates the lower limit of the three-axis sensing range of the VR device used by the user, M t Represents the acceleration mixing function at time t.

[0060] In the embodiment of the present invention, in S142, the expression of the posture change constraint condition is: ; In the formula, η t represents the mixing weight at time t.

[0061] In this embodiment of the present invention, S2 includes the following sub-steps:

[0062] S21, extracting the time corresponding to each acceleration mixing function value in the posture mixing set;

[0063] S22. Determine the attitude adjustment value according to the time corresponding to each acceleration mixing function value.

[0064] In the present invention, the duration of the moment corresponding to each element in the posture mixing set is calculated, and is operated with the acceleration mixing function value to obtain the posture adjustment value. The posture adjustment value is used to correct the three-axis acceleration data of the user at each moment to ensure the accuracy of the user's three-axis acceleration data, which is beneficial for the classifier to perform action recognition.

[0065] In the embodiment of the present invention, in S22, the calculation formula of the posture adjustment value θ is:

[0066] Where, L i+1 Indicates the time corresponding to the i+1th acceleration mixing function value in the attitude mixing set, L i Indicates the time corresponding to the value of the i-th acceleration mixing function in the attitude mixing set, M i represents the i-th acceleration mixing function value in the posture mixing set, I represents the number of acceleration mixing function values ​​in the posture mixing set, and T represents the preset time.

[0067] In an embodiment of the present invention, in S3, the three-axis acceleration data of the user at each moment is multiplied by the posture adjustment value as the corrected three-axis acceleration data of the user at each moment, and the corrected three-axis acceleration data at each moment is input into the SVM classifier to generate the user's predicted action for the VR device.

[0068] The SVM classifier can use the SVM multi-classification algorithm to train the preprocessed action data, and use the particle swarm optimization algorithm (PSO) to optimize the SVM parameters to establish an action classification model to identify the user's action intention.

[0069] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A VR interactive control method based on data processing, characterized in that: The following steps are involved: S1. Using the sensor of the VR device to collect the three-axis acceleration data of the user within a preset time, and generating a posture mixed set according to the three-axis acceleration data within the preset time; S2. Generate a posture adjustment value according to the posture mixture set; S3, using the posture adjustment value to correct the three-axis acceleration data of the user within a preset time, and generate the user's predicted action for the VR device; The S1 comprises the following sub-steps: S11, using the sensor of the VR device to collect the three-axis acceleration data of the user within a preset time, and splitting the three-axis acceleration data at each moment into acceleration data on the X-axis, acceleration data on the Y-axis, and acceleration data on the Z-axis; S12, generating an acceleration mixed function at each moment according to the acceleration data of the user at each moment on the X-axis, the acceleration data on the Y-axis, and the acceleration data on the Z-axis; S13, determining the three-axis sensing range of the VR device used by the user; S14, generating a posture mixing set according to the acceleration mixing function of the user at each moment and the three-axis sensing range of the VR device; In S12, the acceleration mixing function M at time t t The expression is: ; ; ; ; In the formula, A x_t Represents the acceleration data on the X axis at time t, A x_t-1 Represents the acceleration data on the X axis at time t-1, A x_t+1 Represents the acceleration data on the X axis at time t+1, A y_t Represents the acceleration data on the Y axis at time t, A y_t-1 Represents the acceleration data on the Y axis at time t-1, A y_t+1 Represents the acceleration data on the Y axis at time t+1, A z_t Represents the acceleration data on the Z axis at time t, A z_t-1 Represents the acceleration data on the Z axis at time t-1, A z_t+1 Represents the acceleration data on the Z axis at time t+1, a x_y represents the horizontal and vertical mixing matrix corresponding to time t, a x_z represents the horizontal and vertical mixing matrix corresponding to time t, a y_z Represents the vertical and horizontal mixing matrix corresponding to time t; In S13, the user uses the upper limit A of the three-axis sensing range of the VR device max The calculation formula is: Where A x_t Represents the acceleration data on the X axis at time t, A y_t Represents the acceleration data on the Y axis at time t, A z_t represents the acceleration data on the Z axis at time t, and max(·) represents the maximum value function; In S13, the user uses the lower limit A of the three-axis sensing range of the VR device min The calculation formula is: ; Where min(·) represents the minimum function; The S14 comprises the following sub-steps: S141, determining the mixing weight of the user at each moment according to the acceleration mixing function of the user at each moment and the three-axis sensing range of the VR device; S142, constructing a posture change constraint condition, and taking the acceleration mixing function value corresponding to the moment when the mixing weight satisfies the posture change constraint condition as a posture mixing set; In S141, the mixing weight η at time t t The expression is: ; In the formula, A max Indicates the upper limit of the three-axis sensing range of the VR device used by the user, A min Indicates the lower limit of the three-axis sensing range of the VR device used by the user, M t represents the acceleration mixing function at time t; In S142, the expression of the posture change constraint condition is: ; In the formula, η t represents the mixing weight at time t.

2. The VR interactive control method based on data processing according to claim 1, characterized in that: The S2 comprises the following sub-steps: S21, extracting the time corresponding to each acceleration mixing function value in the posture mixing set; S22. Determine the attitude adjustment value according to the time corresponding to each acceleration mixing function value.

3. The VR interactive control method based on data processing according to claim 2 is characterized in that: In S22, the calculation formula of the posture adjustment value θ is: Where, L i+1 Indicates the time corresponding to the i+1th acceleration mixing function value in the attitude mixing set, L i Indicates the time corresponding to the value of the i-th acceleration mixing function in the attitude mixing set, M i represents the i-th acceleration mixing function value in the posture mixing set, I represents the number of acceleration mixing function values ​​in the posture mixing set, and T represents the preset time.

4. The VR interactive control method based on data processing according to claim 1, characterized in that: In S3, the three-axis acceleration data of the user at each moment is multiplied by the posture adjustment value to serve as the corrected three-axis acceleration data of the user at each moment, and the corrected three-axis acceleration data at each moment is input into the SVM classifier to generate the user's predicted action for the VR device.