CN107783653A - A kind of virtual reality exchange method and system - Google Patents

A kind of virtual reality exchange method and system Download PDF

Info

Publication number
CN107783653A
CN107783653A CN201711075233.8A CN201711075233A CN107783653A CN 107783653 A CN107783653 A CN 107783653A CN 201711075233 A CN201711075233 A CN 201711075233A CN 107783653 A CN107783653 A CN 107783653A
Authority
CN
China
Prior art keywords
information
controller
key
location
virtual reality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711075233.8A
Other languages
Chinese (zh)
Inventor
杨立峰
钟钦耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou New Dimension Sense Information Technology Co Ltd
Original Assignee
Guangzhou New Dimension Sense Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou New Dimension Sense Information Technology Co Ltd filed Critical Guangzhou New Dimension Sense Information Technology Co Ltd
Priority to CN201711075233.8A priority Critical patent/CN107783653A/en
Publication of CN107783653A publication Critical patent/CN107783653A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to technical field of virtual reality, discloses a kind of virtual reality exchange method and system, and acceleration, angular speed, magnetic field and key information are gathered by controller;Acceleration, angular speed, magnetic field and the key information for being collected the controller by bluetooth send control main frame to;The control main frame calculates attitude angle of the controller relative to absolute coordinate system by gravitometer, magnetometer and gyro data blending algorithm;Attitude angle and key information according to controller relative to absolute coordinate system, by predicting that interpolation algorithm is modified, to obtain user key-press information, location of controls information, user gesture information, controller directional information;It is supplied to corresponding application program to read the user key-press information, location of controls information, user gesture information, controller directional information.The present invention realizes the interactive mode based on controller collection, realizes that simply amount of calculation is small.

Description

A kind of virtual reality exchange method and system
Technical field
The present invention relates to technical field of virtual reality, more particularly to a kind of virtual reality exchange method and system.
Background technology
In reality environment, user in Virtual Space in order to click on, choose, mobile object, with Virtual Space Object interaction etc. is, it is necessary to which a kind of device gathers user's hand position, state, and obtains the position that cursor is clicked on.It can use Optical means goes to position, but optical means is related to image procossing, calculates more complicated, it is necessary to which bigger amount of calculation, is being moved Without so abundant computing resource on dynamic virtual reality device.
The content of the invention
The present invention provides a kind of virtual reality exchange method and system, solves virtually to show interactive device in the prior art Optical positioning method is related to image procossing, calculates more complicated, it is necessary to the technical problem of bigger amount of calculation.
The purpose of the present invention is achieved through the following technical solutions:
A kind of virtual reality exchange method, including:
Controller collection acceleration, angular speed, magnetic field and key information;
Acceleration, angular speed, magnetic field and the key information for being collected the controller by bluetooth send control master to Machine;
The control main frame calculates controller relative to exhausted by gravitometer, magnetometer and gyro data blending algorithm To the attitude angle of coordinate system;
Attitude angle and key information according to controller relative to absolute coordinate system, by predicting that interpolation algorithm is repaiied Just, to obtain user key-press information, location of controls information, user gesture information, controller directional information;
The user key-press information, location of controls information, user gesture information, controller directional information are supplied to pair The application program answered is read.
A kind of virtual reality interactive system, including controller and control main frame, wherein,
Controller, including:
Acquisition module, for gathering acceleration, angular speed, magnetic field and key information;
Sending module, for acceleration, angular speed, magnetic field and the key information for being collected the controller by bluetooth Send control main frame to;
Control main frame, including:
First computing module, for calculating controller phase by gravitometer, magnetometer and gyro data blending algorithm For the attitude angle of absolute coordinate system;
Second computing module, attitude angle and key information according to controller relative to absolute coordinate system, inserted by predicting Value-based algorithm is modified, to obtain user key-press information, location of controls information, user gesture information, controller directional information;
Application service module, for by the user key-press information, location of controls information, user gesture information, control Device directional information is supplied to corresponding application program to read.
The present invention provides a kind of virtual reality exchange method and system, and acceleration, angular speed, magnetic field are gathered by controller And key information;Acceleration, angular speed, magnetic field and the key information for being collected the controller by bluetooth send control to Main frame;The control main frame calculates controller relative to absolute by gravitometer, magnetometer and gyro data blending algorithm The attitude angle of coordinate system;Attitude angle and key information according to controller relative to absolute coordinate system, by predicting interpolation algorithm It is modified, to obtain user key-press information, location of controls information, user gesture information, controller directional information;By described in User key-press information, location of controls information, user gesture information, controller directional information are supplied to corresponding application program to read Take.The present invention realizes the interactive mode based on controller collection, realizes that simply amount of calculation is small.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of virtual reality exchange method provided in an embodiment of the present invention;
Fig. 2 is a kind of structure chart of virtual reality interactive system provided in an embodiment of the present invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
The embodiments of the invention provide a kind of virtual reality exchange method, as shown in figure 1, including:
Step 101, controller collection acceleration, angular speed, magnetic field and key information;
Step 102, the acceleration for being collected the controller by bluetooth, angular speed, magnetic field and key information transmission To control main frame;
Step 103, the control main frame calculate controller by gravitometer, magnetometer and gyro data blending algorithm Relative to the attitude angle of absolute coordinate system;
Step 104, attitude angle and key information according to controller relative to absolute coordinate system, by predicting interpolation algorithm It is modified, to obtain user key-press information, location of controls information, user gesture information, controller directional information;
Wherein, by attitude algorithm, the movement locus of storage control, and then the gesture of user can be predicted out.
Step 105, by the user key-press information, location of controls information, user gesture information, controller directional information Application program is read corresponding to being supplied to.
Wherein, step 105 can specifically include:
Step 105-1, letter is pointed to the user key-press information, location of controls information, user gesture information, controller The mark of application program corresponding to breath addition;
Step 105-2, the user key-press information, location of controls information, user gesture information, controller are pointed into letter Breath is preserved into shared drive or message queue, is read out by multiple application programs in a manner of poll.
It can also include before step 101:
The wireless connection of the controller and the control main frame is established, is specifically as follows:
(1) controller information that last time connects is recorded, can be gone when operation again according to the information of record Connection, the handle for ensureing to connect with last time is consistent.
(2) go to judge by user's operating process, such as:When controller is connected, some button for specifying of long-press, Feedback display, user can go to judge whether to be connected to correct control by the feedback have in the application simultaneously corresponding to Device.
(3) by the limitation to controller bluetooth power, only ensure that the controller data in the range of restriction can receive, It is to go to ensure that multiple bluetooth controllers can use simultaneously by spatial frequency multiplex mode, other control to overruning Device will not form interference, ensure the traffic rate of each controller, improve amount controller used at the same time.
After step 105, it can also include:
Step 105-3, the historical data in preset time period is recorded;
Step 105-4, when the control main frame does not receive data, according to historical data and forecast model, generation The location of controls information of prediction, user gesture information, controller directional information.
Before step 101, in addition to:
Step 101-1, application program is registered, and distributes application program identification;
Step 101-2, application program and controller are bound.
During controller use, accumulated error can be produced, and hence it is also possible to including calibration the step of:By by some Button, reset position so that during image that user sees, position of controller etc. are returned again;Or controller can be according to earth magnetism Azimuth information of the field acquisition controller under absolute coordinate system, error is compensated by azimuth information.
The present invention provides a kind of virtual reality exchange method, and acceleration, angular speed, magnetic field and button are gathered by controller Information;Acceleration, angular speed, magnetic field and the key information for being collected the controller by bluetooth send control main frame to; The control main frame calculates controller relative to absolute coordinate system by gravitometer, magnetometer and gyro data blending algorithm Attitude angle;Attitude angle and key information according to controller relative to absolute coordinate system, by predicting that interpolation algorithm is repaiied Just, to obtain user key-press information, location of controls information, user gesture information, controller directional information;The user is pressed Key information, location of controls information, user gesture information, controller directional information are supplied to corresponding application program to read.This Invention realizes the interactive mode based on controller collection, realizes that simply amount of calculation is small.
The technique effect of the present invention is as follows:
Solve multiple controller matchings and communication issue in space;When speed is inadequate, solve location of controls and posture Accuracy problem, and improve the usage experience of user;Solve when multiple applications need to use controller in systems, controller Sharing problem;Solves the process problem of controller transient event;The gesture of the data-speculative user gathered by controller;Control Device and application scenarios binding processing.
Inventive embodiments additionally provide a kind of virtual reality interactive system, as shown in Fig. 2 including controller 100 and control Main frame 200, wherein,
Controller 100, including:
Acquisition module 110, for gathering acceleration, angular speed, magnetic field and key information;
Sending module 120, for acceleration, angular speed, magnetic field and the button for being collected the controller by bluetooth Information transmission is to control main frame;
Control main frame 200, including:
First computing module 210, for calculating controller by gravitometer, magnetometer and gyro data blending algorithm Relative to the attitude angle of absolute coordinate system;
Second computing module 220, attitude angle and key information according to controller relative to absolute coordinate system, passes through prediction Interpolation algorithm is modified, and letter is pointed to obtain user key-press information, location of controls information, user gesture information, controller Breath;
Application service module 230, for by the user key-press information, location of controls information, user gesture information, control Device directional information processed is supplied to corresponding application program to read.
Wherein, the application service module 230, including:
Unit 231 is identified, for the user key-press information, location of controls information, user gesture information, controller The mark of application program corresponding to directional information addition;
Queue unit 232, for by the user key-press information, location of controls information, user gesture information, controller Directional information is preserved into shared drive or message queue, is read out by multiple application programs in a manner of poll.
The acquisition module 110 is additionally operable to establish the wireless connection of the controller and the control main frame.
Control main frame 200 also includes prediction module 240, for recording the historical data in preset time period;When the control When main frame processed does not receive data, according to historical data and forecast model, location of controls information, the user's hand of prediction are generated Gesture information, controller directional information.
The application service module 230 is additionally operable to gather acceleration, angular speed, magnetic field and key information in the controller The step of before, application program is registered, and distribute application program identification;Application program and controller are bound.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before Person is more preferably embodiment.Based on such understanding, whole that technical scheme contributes to background technology or Person part can be embodied in the form of software product, and the computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions to cause a computer equipment (can be personal computer, service Device, either network equipment etc.) perform method described in some parts of each embodiment of the present invention or embodiment.
The present invention is described in detail above, principle and embodiment party of the specific case used herein to the present invention Formula is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention;It is meanwhile right In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications Part, in summary, this specification content should not be construed as limiting the invention.

Claims (10)

  1. A kind of 1. virtual reality exchange method, it is characterised in that including:
    Controller collection acceleration, angular speed, magnetic field and key information;
    Acceleration, angular speed, magnetic field and the key information for being collected the controller by bluetooth send control main frame to;
    The control main frame calculates controller by gravitometer, magnetometer and gyro data blending algorithm and sat relative to absolute Mark the attitude angle of system;
    Attitude angle and key information according to controller relative to absolute coordinate system, by predicting that interpolation algorithm is modified, with Obtain user key-press information, location of controls information, user gesture information, controller directional information;
    The user key-press information, location of controls information, user gesture information, controller directional information are supplied to corresponding Application program is read.
  2. 2. virtual reality exchange method according to claim 1, it is characterised in that it is described by the user key-press information, The step of location of controls information, user gesture information, controller directional information are supplied to corresponding application program to read, bag Include:
    Answered to corresponding to the user key-press information, location of controls information, user gesture information, the addition of controller directional information With the mark of program;
    The user key-press information, location of controls information, user gesture information, controller directional information are preserved to shared interior Deposit or message queue in, be read out by multiple application programs in a manner of poll.
  3. 3. virtual reality exchange method according to claim 1, it is characterised in that the controller collection acceleration, angle Before the step of speed, magnetic field and key information, in addition to:
    Establish the wireless connection of the controller and the control main frame.
  4. 4. virtual reality exchange method according to claim 1, it is characterised in that it is described by the user key-press information, After the step of location of controls information, user gesture information, controller directional information are supplied to corresponding application program to read, Also include:
    Record the historical data in preset time period;
    When the control main frame does not receive data, according to historical data and forecast model, the controller position of prediction is generated Confidence breath, user gesture information, controller directional information.
  5. 5. virtual reality exchange method according to claim 1, it is characterised in that the controller collection acceleration, angle Before the step of speed, magnetic field and key information, in addition to:
    Application program is registered, and distributes application program identification;
    Application program and controller are bound.
  6. A kind of 6. virtual reality interactive system, it is characterised in that including controller and control main frame, wherein,
    Controller, including:
    Acquisition module, for gathering acceleration, angular speed, magnetic field and key information;
    Sending module, for acceleration, angular speed, magnetic field and the key information transmission for being collected the controller by bluetooth To control main frame;
    Control main frame, including:
    First computing module, for by gravitometer, magnetometer and gyro data blending algorithm calculate controller relative to The attitude angle of absolute coordinate system;
    Second computing module, attitude angle and key information according to controller relative to absolute coordinate system, by predicting that interpolation is calculated Method is modified, to obtain user key-press information, location of controls information, user gesture information, controller directional information;
    Application service module, for the user key-press information, location of controls information, user gesture information, controller to be referred to Provide information to read to corresponding application program.
  7. 7. virtual reality interactive system according to claim 6, it is characterised in that the application service module, including:
    Unit is identified, for pointing to letter to the user key-press information, location of controls information, user gesture information, controller The mark of application program corresponding to breath addition;
    Queue unit, for the user key-press information, location of controls information, user gesture information, controller to be pointed into letter Breath is preserved into shared drive or message queue, is read out by multiple application programs in a manner of poll.
  8. 8. virtual reality interactive system according to claim 6, it is characterised in that the acquisition module is additionally operable to establish institute State the wireless connection of controller and the control main frame.
  9. 9. virtual reality interactive system according to claim 6, it is characterised in that also including prediction module, for recording Historical data in preset time period;When the control main frame does not receive data, according to historical data and forecast model, Generate the location of controls information, user gesture information, controller directional information of prediction.
  10. 10. virtual reality exchange method according to claim 6, it is characterised in that the application service module is additionally operable to Before the step of controller gathers acceleration, angular speed, magnetic field and key information, application program is registered, and Distribute application program identification;Application program and controller are bound.
CN201711075233.8A 2017-11-06 2017-11-06 A kind of virtual reality exchange method and system Pending CN107783653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711075233.8A CN107783653A (en) 2017-11-06 2017-11-06 A kind of virtual reality exchange method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711075233.8A CN107783653A (en) 2017-11-06 2017-11-06 A kind of virtual reality exchange method and system

Publications (1)

Publication Number Publication Date
CN107783653A true CN107783653A (en) 2018-03-09

Family

ID=61432830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711075233.8A Pending CN107783653A (en) 2017-11-06 2017-11-06 A kind of virtual reality exchange method and system

Country Status (1)

Country Link
CN (1) CN107783653A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814707A (en) * 2018-12-19 2019-05-28 东北大学秦皇岛分校 A kind of virtual input method and system based on intelligent finger ring
CN111580663A (en) * 2020-05-11 2020-08-25 清华大学 Information input method, system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023700A (en) * 2009-09-23 2011-04-20 吴健康 Three-dimensional man-machine interactive system
CN103808322A (en) * 2014-03-04 2014-05-21 韩涛 Compound type six degrees of freedom input method and system in inertia measurement LED (light-emitting diode) detection
CN104267815A (en) * 2014-09-25 2015-01-07 黑龙江节点动画有限公司 Motion capturing system and method based on inertia sensor technology
CN105229719A (en) * 2013-03-15 2016-01-06 奇跃公司 Display system and method
CN105929940A (en) * 2016-04-13 2016-09-07 哈尔滨工业大学深圳研究生院 Rapid three-dimensional dynamic gesture recognition method and system based on character value subdivision method
CN106598253A (en) * 2016-12-23 2017-04-26 北京搜狐新媒体信息技术有限公司 Data prediction method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023700A (en) * 2009-09-23 2011-04-20 吴健康 Three-dimensional man-machine interactive system
CN105229719A (en) * 2013-03-15 2016-01-06 奇跃公司 Display system and method
CN103808322A (en) * 2014-03-04 2014-05-21 韩涛 Compound type six degrees of freedom input method and system in inertia measurement LED (light-emitting diode) detection
CN104267815A (en) * 2014-09-25 2015-01-07 黑龙江节点动画有限公司 Motion capturing system and method based on inertia sensor technology
CN105929940A (en) * 2016-04-13 2016-09-07 哈尔滨工业大学深圳研究生院 Rapid three-dimensional dynamic gesture recognition method and system based on character value subdivision method
CN106598253A (en) * 2016-12-23 2017-04-26 北京搜狐新媒体信息技术有限公司 Data prediction method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814707A (en) * 2018-12-19 2019-05-28 东北大学秦皇岛分校 A kind of virtual input method and system based on intelligent finger ring
CN111580663A (en) * 2020-05-11 2020-08-25 清华大学 Information input method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9639988B2 (en) Information processing apparatus and computer program product for processing a virtual object
CN103238135B (en) Gesture support for shared sessions
CN102664988B (en) Three-dimensional interaction method based on intelligent mobile phone and system thereof
CN102810008B (en) A kind of air input, method and input collecting device in the air
CN105808071B (en) A kind of display control method, device and electronic equipment
CN102945088B (en) Realize the method for terminal simulation mouse action equipment, device and mobile terminal
CN106454322A (en) VR Image processing system and method thereof
CN103455136A (en) Inputting method, inputting device and inputting system based on gesture control
US20120062602A1 (en) Method and apparatus for rendering a content display
CN104299271A (en) A computer-implemented method for determining at least one exploded path of an exploded view of an assembly of three-dimensional modeled objects
CN104350495A (en) Managing objects in panorama display to navigate spreadsheet
US9041621B2 (en) Apparatus and method for implementing haptic-based networked virtual environment which supports high-resolution tiled display
CN105242780B (en) A kind of interaction control method and device
CN106066688A (en) A kind of virtual reality exchange method based on Wearable glove and device
JP2014044655A (en) Augmented reality system, video composition device, video composition method, and program
CN106406350A (en) Method and system for controlling unmanned aerial vehicle
CN107783653A (en) A kind of virtual reality exchange method and system
CN108776544A (en) Exchange method and device, storage medium, electronic equipment in augmented reality
CN106681506B (en) Interaction method for non-VR application in terminal equipment and terminal equipment
CN110524531A (en) A kind of robot control system and its workflow based on Internet of Things cloud service
CN108509024B (en) Data processing method and device based on virtual reality equipment
CN106814851A (en) A kind of augmented reality exchange method and system
CN107376351B (en) The control method and device of object
CN103760983A (en) Virtual gesture input method and gesture collecting device
CN112987924A (en) Method, apparatus, device and storage medium for device interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180309