Embodiment
The embodiment of the present application provides a kind of interaction processing method of virtual reality device, device, system and virtual reality and set
It is standby.
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection
Scope.
Hereinafter implementing for the embodiment of the present application is described in detail with several specific examples.
Introduce a kind of embodiment of the interaction processing method of virtual reality device of the application first below.Fig. 1 is the application
A kind of schematic flow sheet of embodiment of the interaction processing method of the virtual reality device of offer, this application provides such as embodiment
Or the method operating procedure described in flow chart, but based on conventional or can include without performing creative labour more or less
Operating procedure.The step of being enumerated in embodiment order is only a kind of mode in numerous step execution sequences, is not represented unique
Execution sequence., can be according to embodiment or method shown in the drawings when system or client production in practice is performed
Order is performed or parallel execution (environment of such as parallel processor or multiple threads).Specifically as shown in figure 1, described
Method can include:
S1:It is determined that the default material object for simulating dummy object to be operated in Virtual Reality scene, the default material object
Matching degree including default thingness information and the thingness information of dummy object to be operated in VR scenes is more than or equal to
The material object of preset matching degree.
Material object is preset described in the embodiment of the present application and can be used for one or more virtual objects to be operated in simulation VR scenes
Body.Accordingly, the default material object is corresponding with one or more dummy objects to be operated in VR scenes.The default material object can
Be more than with the matching degree including the thingness information of dummy object to be operated in default thingness information and VR scenes etc.
In the material object of preset matching degree.Specifically, the dummy object to be operated can be any dummy object in VR scenes.
Specifically, the thingness information can include the information such as shape, material, state, the color of object.Specifically
, the preset matching degree can be previously according to the information included in the thingness information of two objects according to default rule
It is quantified as a particular value.For example, the preset matching degree can be 60%.Specifically, the information included in thingness information
Influence to two object matches degree may be different, therefore, it can combine actual conditions, to the matching degree knot of different information
Closing default weight coefficient accordingly, (the default weight coefficient can be according to shadow of the corresponding information to two object matches degree
Size is rung to be pre-set) after, calculate the matching degree of two objects.
In a specific embodiment, thingness information in kind and the thingness of dummy object to be operated are preset
The matching degree of information is that the characterization of a kind of degree or trend is characterized, rather than specific numerical value, accordingly, in this case,
The content that the characterization is characterized can be caused to be quantified as a particular value by default rule.And then, it can subsequently utilize the amount
The value of change determines the material object that can be used for simulating dummy object to be operated with the preset matching degree.In a common example
Central, the matching degree of the default thingness information in kind and the thingness information of dummy object to be operated may some
The value of dimension for " in ", then can quantify the character " in " be its ASCII character binary value or hexadecimal value.
It is described to determine for simulating dummy object to be operated in Virtual Reality scene in a specific embodiment
Default material object can include:
Shoot the photo for including being used to simulate dummy object to be operated in VR scenes;
The default material object is identified from the photo.
Specifically, the default material object identified from the photo of shooting can be set to some in current VR scenes or
The analogies of multiple dummy objects (dummy object to be operated).Specifically, the object that the default material object can specify for user
The matching degree of attribute information and the thingness information of dummy object to be operated reaches the material object of preset matching degree.
In a specific embodiment, by taking VR chess as an example, a real chess chess can be used
Submodule intends the international chess piece in VR scenes, a shape in real scene can also be used similar with international chess piece
Wood particle simulates international chess piece in VR scenes.
S2:Obtain and preset motion track information in kind.
In the embodiment of the present application, the motion track information for presetting material object can be obtained.Specifically, the motion track information
It can be constituted including one or more mobile messages such as displacement, direction, the speed during the default object of which movement
Trace information, the motion track information can reflect user to the default true operation in kind, and for example user is to object
Movement, the operation such as rotate, extrude, stretching, tossing.
In a specific embodiment, Fig. 2 is that the acquisition that the application is provided presets the one of motion track information in kind
Embodiment schematic flow sheet is planted, as shown in Fig. 2 can include:
S210:Shoot video of the user to the default object operation process.
In a specific embodiment, it is described can be by shooting video of the user to the default object operation process
To record user to presetting motion track information in kind during default object operation.
Specifically, by taking above-mentioned VR chess as an example, it is assumed that simulate VR with a real international chess piece
International chess piece in scene, it is assumed that current operation is chess piece " soldier ", can shoot user to chess piece " soldier " operating process
In video, user is have recorded in the video and presets motion track information in kind during object operation to presetting.
S220:The default material object is identified from the video, and determines the default motion track in kind
Information.
Specifically, so that the state in VR scenes is simulated in above-mentioned VR chess with a real international chess piece
Exemplified by the pieces of chess of border, after user is obtained to the video in chess piece " soldier " operating process, image recognition software can be passed through
The default material object is identified from the video, it is then determined that going out the default motion track information in kind.Specifically, can
To determine the moving rails such as default direction, displacement, speed in kind by extracting the information such as frame of video combination video duration
Mark information.
In another specific embodiment, Fig. 3 is that motion track information in kind is preset in the acquisition that the application is provided
Another embodiment schematic flow sheet, as shown in figure 3, can include:
S310:Mobile message awareness apparatus is set on the default material object.
Specifically, setting mobile message awareness apparatus to include perceiving the mobile message on the default material object
Equipment is arranged on the default material object.Sense of reality when in actual applications, in order to ensure that user's operation is default in kind, can be with
It is installed to after being packaged with reference to the default thingness information in kind to the mobile message awareness apparatus described default
On material object.
The mobile message awareness apparatus can include range sensor, position sensor and velocity sensor etc. can be with
Record the awareness apparatus of the motion track information of an object.Specifically, with reference to the motion track for needing to obtain in practical application
Information, the mobile message awareness apparatus can include one or more motion track information that can be used for detecting that needs are obtained
Mobile message awareness apparatus.
Furthermore, it is necessary to which explanation, mobile message awareness apparatus described in the embodiment of the present application is not limited in above-mentioned row
The sensor of act, in actual applications, can also include other equipment that can perceive mobile message, such as radar sensor
Deng the embodiment of the present application is not limited with above-mentioned.
S320:Detect user to the movement in the default operating process in kind using the mobile message awareness apparatus
Information;
In actual applications, when user's operation is described default in kind, the mobile message awareness apparatus is preset with described
Material object is set together, and user can detect to mobile message awareness apparatus described in the default progress operating process in kind
The default mobile message in kind that user's operation is caused
S330:The default motion track information in kind is determined using the mobile message.
Specifically, detecting user to the mobile message in the default operating process in kind in mobile message awareness apparatus
Afterwards, it is possible to use the mobile message can determine the default motion track information in kind.
S3:The dummy object to be operated in the VR scenes is moved according to the motion track information.
In a specific embodiment, the dummy object to be operated by the VR scenes is moved according to described
Dynamic trace information, which is moved, to be included:
The to be operated dummy object corresponding with the default material object is determined from the VR scenes;
The corresponding dummy object to be operated is controlled in the VR scenes with the default motion track in kind
Information is moved.
As can be seen here, a kind of embodiment of the interaction processing method of virtual reality device of the application can be used for by obtaining
The default motion track information in kind of dummy object to be operated in Virtual Reality scene is simulated, allows user can be by operation
True material object controls the dummy object in VR scenes, can greatly improve the operation sense of reality of user, improves user mutual body
Test.Compared with prior art, the technical scheme provided using the application can greatly improve the operation sense of reality of user, improve and use
Family interactive experience;Meanwhile, when solving in the prior art using VR handles simulation dummy object, because dummy object is deposited with VR handles
The mode of operation caused in larger difference is differed, and causes user to pass through the operation to VR handles because mode of operation is differed
The problem of to control relatively large deviation occur during dummy object in virtual scene.
On the other hand the application also provides a kind of interaction process device of virtual reality device, and Fig. 4 is that the application is provided
The structural representation of a kind of embodiment of the interaction process device of virtual reality device, as shown in figure 4, described device 400 can be with
Including:
Default material object determining module 410, is determined for being used to simulate virtual object to be operated in Virtual Reality scene
The default material object of body, the default object in kind including default thingness information with dummy object to be operated in VR scenes
The matching degree of attribute information is more than or equal to the material object of preset matching degree;
Motion track data obtaining module 420, can be used for obtaining the motion track information for presetting material object;
Control module 430, can be used for the dummy object to be operated in the VR scenes according to the moving rail
Mark information is moved.
On the other hand the application also provides a kind of interaction process system of virtual reality device, specifically, the system bag
Processor and memory are included, the memory storage is by the computer program instructions of the computing device, the computer journey
Sequence instruction includes:
It is determined that the default material object for simulating dummy object to be operated in Virtual Reality scene, the default material object includes
The matching degree of default thingness information and the thingness information of dummy object to be operated in VR scenes is more than or equal to default
The material object of matching degree;
Obtain the default motion track information in kind;
The dummy object to be operated in the VR scenes is moved according to the motion track information.
Specifically, in the embodiment of the present application, described processor can include central processing unit (CPU), naturally it is also possible to
Including other single-chip microcomputer, logic gates, integrated circuits with logic processing capability etc., or its is appropriately combined.It is described to deposit
Reservoir can be including nonvolatile memory etc..
In another embodiment, wherein, determined in the computer program instructions be used for simulate Virtual Reality scene
In the default material object of dummy object to be operated can specifically include:
Shoot the photo for including being used to simulate dummy object to be operated in VR scenes;
The default material object is identified from the photo.
Accordingly, the system also includes:
First picture pick-up device, first picture pick-up device is coupled in the processor, includes being used to simulate VR for shooting
The photo of dummy object to be operated in scene.
In another embodiment, wherein, obtained described in the computer program instructions and preset motion track in kind
Information can specifically include:
Shoot video of the user to the default object operation process;
The default material object is identified from the video, and determines the default motion track information in kind;
Accordingly, the system can also include:
Second picture pick-up device, second picture pick-up device is coupled in the processor, for shooting user to described default
The video of object operation process.
Furthermore, it is necessary to explanation, the 3rd picture pick-up device described in the embodiment of the present application and the 4th picture pick-up device can be with
For same equipment, or different equipment.
In another embodiment, wherein, obtained described in the computer program instructions and preset motion track in kind
Information can specifically include:
Mobile message awareness apparatus is set on the default material object;
Detect user to the mobile message in the default operating process in kind using the mobile message awareness apparatus;
The default motion track information in kind is determined using the mobile message;
Accordingly, the system also includes:Mobile message awareness apparatus, the mobile message awareness apparatus is coupled in described
Processor, for detecting user to the mobile message in the default operating process in kind.
In another embodiment, wherein, will be described to be operated in the VR scenes in the computer program instructions
Dummy object is moved according to the motion track information and specifically included:
The to be operated dummy object corresponding with the default material object is determined from the VR scenes;
The corresponding dummy object to be operated is controlled in the VR scenes with the default motion track in kind
Information is moved.
The application also provides a kind of virtual reality device embodiment.Specifically, the virtual reality device, including processor
And memory, the memory storage is by the computer program instructions of the computing device, and the computer program instructions can
With including:
It is determined that the default material object for simulating dummy object to be operated in Virtual Reality scene, the default material object includes
The matching degree of default thingness information and the thingness information of dummy object to be operated in VR scenes is more than or equal to default
The material object of matching degree;
Obtain the default motion track information in kind;
The dummy object to be operated in the VR scenes is moved according to the motion track information.
Specifically, in the embodiment of the present application, described processor can include central processing unit (CPU), naturally it is also possible to
Including other single-chip microcomputer, logic gates, integrated circuits with logic processing capability etc., or its is appropriately combined.It is described to deposit
Reservoir can be including nonvolatile memory etc..
In another embodiment, wherein, determined in the computer program instructions be used for simulate Virtual Reality scene
In the default material object of dummy object to be operated specifically include:
Shoot the photo for including being used to simulate dummy object to be operated in VR scenes;
The default material object is identified from the photo.
Accordingly, the equipment can also include:
3rd picture pick-up device, the 3rd picture pick-up device is coupled in the processor, includes being used to simulate VR for shooting
The photo of dummy object to be operated in scene.
In another embodiment, wherein, obtained described in the computer program instructions and preset motion track in kind
Information is specifically included:
Shoot video of the user to the default object operation process;
The default material object is identified from the video, and determines the default motion track information in kind;
Accordingly, the equipment can also include:
4th picture pick-up device, the 4th picture pick-up device is coupled in the processor, for shooting user to described default
The video of object operation process.
Furthermore, it is necessary to explanation, the 3rd picture pick-up device described in the embodiment of the present application and the 4th picture pick-up device can be with
For same equipment, or different equipment.
In another embodiment, wherein, obtained described in the computer program instructions and preset motion track in kind
Information is specifically included:
Mobile message awareness apparatus is set on the default material object;
Detect user to the mobile message in the default operating process in kind using the mobile message awareness apparatus;
The default motion track information in kind is determined using the mobile message;
Accordingly, the equipment can also include:Mobile message awareness apparatus, the mobile message awareness apparatus is coupled in
The processor, for detecting user to the mobile message in the default operating process in kind.
Specifically, mobile message awareness apparatus here can record the movement of an object including one or more
The awareness apparatus of trace information.
In another embodiment, wherein, will be described to be operated in the VR scenes in the computer program instructions
Dummy object is moved according to the motion track information and specifically included:
The to be operated dummy object corresponding with the default material object is determined from the VR scenes;
The corresponding dummy object to be operated is controlled in the VR scenes with the default motion track in kind
Information is moved.
As shown in figure 5, a kind of a kind of structure of the embodiment for the explicit virtual reality device of head that Fig. 5, which is the application, to be provided
Schematic diagram.Assume that the 3rd picture pick-up device and the 4th picture pick-up device are different picture pick-up devices in figure, and be directly connected in described
On explicit virtual reality device, in hardware view, the virtual reality device includes processor, memory, is also possible to certainly
Including the hardware required for other business, internal bus, network interface and internal memory etc..Processor reads correspondence from memory
Computer program into internal memory then run, page skip device is formed on logic level.Furthermore, it is necessary to explanation,
Herein described virtual reality device is not limited in shown in above-mentioned Fig. 5, and other structures can also be included in actual applications
Form, such as described picture pick-up device can be communicated with the virtual reality device, but not be integral structure type, but this
Application embodiment is not limited with above-mentioned.
On the other hand the application also provides a kind of computer-readable storage medium, is stored thereon with computer program, the program quilt
Following steps are realized during computing device:
It is determined that the default material object for simulating dummy object to be operated in Virtual Reality scene, the default material object includes
The matching degree of default thingness information and the thingness information of dummy object to be operated in VR scenes is more than or equal to default
The material object of matching degree;
Obtain the default motion track information in kind;
The dummy object to be operated in the VR scenes is moved according to the motion track information.
As can be seen here, a kind of interaction processing method of virtual reality device of the application, device, system or virtual reality device
Embodiment by obtain can be used for simulate Virtual Reality scene in dummy object to be operated default moving rail in kind
Mark information, allows user to control the dummy object in VR scenes by operating true material object, can greatly improve user's
The sense of reality is operated, improves user-interaction experience.Compared with prior art, the technical scheme provided using the application can be carried significantly
The operation sense of reality of high user, improves user-interaction experience;Meanwhile, solve and utilize VR handles simulation virtual object in the prior art
During body, the mode of operation caused by dummy object has larger difference with VR handles is differed, and because mode of operation is differed
The problem of causing user by the operation to VR handles to control relatively large deviation occur during dummy object in virtual scene.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So
And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic
Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded
For that not only can be the software module of implementation method but also can be the structure in hardware component.
Device, module or unit that above-described embodiment is illustrated, can specifically be realized, Huo Zheyou by computer chip or entity
Product with certain function is realized.It is a kind of typically to realize that equipment is computer.Specifically, computer for example can be individual
People's computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media player, navigation
Any equipment in equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
Combination.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, device or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (device) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, device or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device and
For computer-readable storage medium embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, correlation
Place illustrates referring to the part of embodiment of the method.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.