CN109613975A - The operating method and device of virtual reality - Google Patents

The operating method and device of virtual reality Download PDF

Info

Publication number
CN109613975A
CN109613975A CN201811348999.3A CN201811348999A CN109613975A CN 109613975 A CN109613975 A CN 109613975A CN 201811348999 A CN201811348999 A CN 201811348999A CN 109613975 A CN109613975 A CN 109613975A
Authority
CN
China
Prior art keywords
virtual reality
target object
display interface
virtual
effective coverage
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
CN201811348999.3A
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.)
Ningbo Vision Optoelectronics Co Ltd
Original Assignee
Ningbo Vision Optoelectronics 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 Ningbo Vision Optoelectronics Co Ltd filed Critical Ningbo Vision Optoelectronics Co Ltd
Priority to CN201811348999.3A priority Critical patent/CN109613975A/en
Publication of CN109613975A publication Critical patent/CN109613975A/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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Abstract

The embodiment of the invention discloses a kind of operating method of virtual reality and devices, are related to technical field of virtual reality, and main purpose is to improve the positioning accuracy that manipulator operates simulated environment.Main technical schemes include: the spatial positional information of the virtual reality interactive device obtained according at least two groups camera, obtain including level information of the virtual reality interactive device under virtual reality display interface;The including level information is compared with the effective coverage of the target object in the virtual display interface;If it is determined that the including level information is fallen into the effective coverage of the target object, then the target object is activated;Respective operations are carried out according to the remote control commands that the target object is triggered to the target object of the activation.

Description

The operating method and device of virtual reality
Technical field
The present embodiments relate to technical field of virtual reality, more particularly to the operating method and dress of a kind of virtual reality It sets.
Background technique
With the continuous development of social productive forces and science and technology, all trades and professions are to virtual reality (Virtual Reality, VR) technology research pay attention to day by day, VR technology also achieves huge progress, and gradually becomes a new scientific skill Art field.Analogue system of the VR technology as a kind of experiencing virtual world, using interactive Three-Dimensional Dynamic what comes into a driver's and entity The system emulation of behavior, is immersed to manipulator in simulated environment.
Currently, using the derivative all kinds of human-computer interaction products of VR technology, such human-computer interaction product can for manipulator with Carry out control experience on the spot in person, improves operability.The telepresenc of manipulator depends on the operation precision to simulated environment, Therefore, manipulator how is accurately positioned to the problem of position of simulated environment is current urgent need to resolve.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of operating method of virtual reality and device, main purpose is Improve the positioning accuracy that manipulator operates simulated environment.
To solve the above-mentioned problems, the embodiment of the present invention mainly provides the following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of operating methods of virtual reality, this method comprises:
According to the spatial positional information for the virtual reality interactive device that at least two groups camera obtains, obtain described virtual existing Including level information of the real interactive device under virtual reality display interface;
The including level information is compared with the effective coverage of the target object in the virtual display interface;
If it is determined that the including level information is fallen into the effective coverage of the target object, then the target object is swashed It is living;
Respective operations are carried out according to the remote control commands that the target object is triggered to the target object of the activation.
Optionally, the spatial positional information of the virtual reality interactive device obtained according at least two groups camera obtains institute Stating including level information of the virtual reality interactive device under virtual reality display interface includes:
Obtain the spatial positional information for the virtual reality interactive device that at least two groups camera obtains;
It is closed according to the mapping between the space coordinates of the virtual reality interactive device and virtual display interface coordinate system System, is converted to the including level information under virtual display interface for the spatial positional information.
Optionally, by the effective coverage of the target object in the including level information and the virtual display interface into Before row compares, the method also includes:
Traverse the effective coverage of all target objects in the virtual display interface, the effective coverage of the target object Size be greater than and/or equal to the target object actual size.
Optionally, the method also includes:
If it is determined that the including level information is not fallen in the effective coverage of the target object, then by virtual display interface In whole display contents carried out pair according to the remote control commands that the virtual reality interactive device triggers as a whole It should operate.
Optionally, the virtual reality interactive device is interaction pen, and at least head of the interaction pen and tail portion are respectively installed One light-emitting component is provided with operating member on the interaction pen for realizing the space orientation of interaction pen, passes through the operation Component to virtual reality system send remote control commands, the operating member include have keypress function operating member and/ Or the operating member with translation functions, and the interaction pen determines the posture of the interaction pen by gyroscope.
Optionally, the method also includes:
Configure the corresponding relationship between click mode and remote control commands;
Configure the corresponding relationship between translation mode and remote control commands;
Corresponding relationship between the posture and remote control commands of configuration interactive pen.
Optionally, there are preset ranges for the focusing surface between any two groups of cameras in at least two groups camera Overlapping region.
Second aspect, the embodiment of the present invention also provide a kind of operating device of virtual reality, comprising:
First acquisition unit, the space bit confidence of the virtual reality interactive device for being obtained according at least two groups camera Breath, obtains including level information of the virtual reality interactive device under virtual reality display interface;
Comparing unit, the including level information and virtual display circle for obtaining the first acquisition unit The effective coverage of target object in face is compared;
Unit is activated, for determining that the including level information falls into the effective of the target object when the comparing unit When in region, the target object is activated;
Operating unit, it is long-range for being triggered to the target object for activating unit activating according to the target object Control instruction carries out respective operations.
Optionally, the first acquisition unit includes:
Module is obtained, the space bit confidence of the virtual reality interactive device for obtaining the acquisition of at least two groups camera Breath;
Conversion module, for according to the space coordinates of the virtual reality interactive device and virtual display interface coordinate system Between mapping relations, by it is described acquisition module obtain the spatial positional information be converted to it is virtual under virtual display interface Location information.
Optionally, described device further include:
Traversal Unit, in the comparing unit by the mesh in the including level information and the virtual display interface Before the effective coverage of mark object is compared, the effective coverage of all target objects in the virtual display interface is traversed, The size of the effective coverage of the target object be greater than and/or equal to the target object actual size.
Optionally, the operating unit is also used to determine that the including level information does not fall within institute when the comparing unit When stating in the effective coverage of target object, by whole display contents in virtual display interface as a whole according to the void The remote control commands of quasi- reality interactive device triggering carry out respective operations.
Optionally, the virtual reality interactive device is interaction pen, and at least head of the interaction pen and tail portion are respectively installed One light-emitting component is provided with operating member on the interaction pen for realizing the space orientation of interaction pen, passes through the operation Component to virtual reality system send remote control commands, the operating member include have keypress function operating member and/ Or the operating member with translation functions, and the interaction pen determines the posture of the interaction pen by gyroscope.
Optionally, described device further include:
Configuration unit, for configuring the corresponding relationship between click mode and remote control commands;
The configuration unit is also used to configure the corresponding relationship between translation mode and remote control commands;
The configuration unit, the corresponding relationship being also used between the posture and remote control commands of configuration interactive pen.
Optionally, there are preset ranges for the focusing surface between any two groups of cameras in at least two groups camera Overlapping region.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, comprising:
At least one processor;
And at least one processor, the bus being connected to the processor;Wherein,
The processor, memory complete mutual communication by the bus;
The processor is used to call the program instruction in the memory, to execute described in any one of first aspect The operating method of virtual reality.
Fourth aspect, the embodiment of the present invention also provide a kind of non-transient computer readable storage medium, the non-transient meter Calculation machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer execute any one of first aspect The operating method of the virtual reality.
By above-mentioned technical proposal, technical solution provided in an embodiment of the present invention is at least had the advantage that
The operating method and device of virtual reality provided in an embodiment of the present invention, the void obtained according at least two groups camera The spatial positional information of quasi- reality interactive device, obtains virtual bit of the virtual reality interactive device under virtual reality display interface Confidence breath, including level information is compared with the effective coverage of the target object in virtual display interface, however, it is determined that virtual Location information is fallen into the effective coverage of target object, then is activated target object, to the target object of activation according to object Remote control commands that body is triggered carry out respective operations, and compared with traditional approach, the embodiment of the present invention is based on being mutually redundant At least two groups camera realizes space orientation, the detection blind area to spatial positional information is greatly reduced, to improve manipulation The positioning accuracy that person operates simulated environment enhances user experience.
Above description is only the general introduction of technical solution of the embodiment of the present invention, in order to better understand the embodiment of the present invention Technological means, and can be implemented in accordance with the contents of the specification, and in order to allow above and other mesh of the embodiment of the present invention , feature and advantage can be more clearly understood, the special specific embodiment for lifting the embodiment of the present invention below.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention The limitation of embodiment.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the operating method of the first virtual reality provided in an embodiment of the present invention;
Fig. 2 shows a kind of signals of two groups of cameras and virtual display interface relative position provided in an embodiment of the present invention Figure;
Fig. 3 shows the flow chart of the operating method of second of virtual reality provided in an embodiment of the present invention;
Fig. 4 shows a kind of schematic diagram of effective coverage provided in an embodiment of the present invention;
Fig. 5 shows the flow chart of the operating method of the third virtual reality provided in an embodiment of the present invention;
Fig. 6 shows a kind of schematic diagram of interaction pen provided in an embodiment of the present invention;
Fig. 7 shows a kind of composition block diagram of the operating device of virtual reality provided in an embodiment of the present invention;
Fig. 8 shows the composition block diagram of the operating device of another virtual reality provided in an embodiment of the present invention;
Fig. 9 shows the composition block diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
In order to improve the positioning accuracy that manipulator operates simulated environment, enhance user experience, the embodiment of the present invention mentions For a kind of operating method of virtual reality, as shown in Figure 1, which comprises
101, the spatial positional information of the virtual reality interactive device obtained according at least two groups camera, obtains the void Including level information of the quasi- reality interactive device under virtual reality display interface.
At least two groups camera described in the embodiment of the present invention is located at the top cross position at virtual display interface (i.e. display screen) Locate, the relative position between two groups of cameras is fixed, and camera being capable of flexible rotating.In specific implementation process, it can will image Head turns downwards, to virtual display interface lateral deviation, and specific deflection angle, which is subject to, can scan virtual reality interactive device.This The quantity of at least two groups camera described in inventive embodiments can be two, three etc., but be no more than virtual aobvious Show the quantity of apex angle, for the ease of expression, the embodiment of the present invention is illustrated by taking two groups of cameras as an example, but should be specific It is that this kind illustrates that mode is not intended to the particular number for limiting camera.In order to make it easy to understand, as shown in Fig. 2, Fig. 2 shows The schematic diagram of a kind of two groups of cameras and virtual display interface relative position provided in an embodiment of the present invention, the example that Fig. 2 is provided It is that camera can also be monocular cam, three mesh cameras etc., not limit specifically in practical applications for binocular camera It is fixed.
It should be noted that when adjusting the installation site of two groups of cameras, it is ensured that appointing at least two groups camera There are the overlapping regions of preset range for the focusing surface anticipated between two groups of cameras, i.e., the focusing surface of any two groups of cameras is in space Upper intersection, its object is to reduce the scan blind spot of binocular camera spatially, while the setting of multiple groups camera can have Effect, which increases, can operate volume.Continuing with the focusing surface of the two groups of cameras formed between two dotted lines in participation Fig. 2, Fig. 2, two When a focusing surface is intersected, the preset range of intersection is not easy excessive, if overlapping region is too big, will increase scan blind spot, if Overlapping region is arranged too small, then can reduce positioning accuracy.The preset range of specific overlapping region will be according to two groups of cameras Hardware parameter debugged.The embodiment of the present invention is not specifically limited.
Two groups of cameras after the installation is completed, the space bit confidence of virtual reality interactive device are positioned based on two groups of cameras It ceases (i.e. space coordinate), it should be noted that it is space coordinates that two groups of cameras, which position relied on coordinate system, and virtually existing Real interactive system depends on virtual display interface coordinate system, and above-mentioned two coordinate system is independent from each other, in order to take the photograph two groups As head obtain spatial positional information be converted to the including level information under virtual reality display interface, so as to virtual reality system It is operated according to the including level information being converted to.
102, the effective coverage of the including level information and the target object in the virtual display interface is compared It is right.
Either statically or dynamically 3D emulated interface can be shown in virtual display interface, had in part in the 3D emulated interface Hold the target object for not including and triggering activation for user, those contents can be used as display background.In embodiments of the present invention, each Target object includes dimension information, location information and corresponding effective coverage, and the size of effective coverage can be according to target object Size and have differences.During specific implementation, judge whether including level information falls into the effective coverage of target object When, directly judge whether including level information be overlapped with any one including level information in effective coverage.
103, if it is determined that the including level information is fallen into the effective coverage of the target object, then by the object Body activation.
For the ease of allowing manipulator to check, the target object of its operation has been selected, and when target object activation, can be used It is highlighted, in order to which manipulator checks.
104, the target object of the activation is corresponded to according to the remote control commands that the target object is triggered Operation.
Virtual reality interactive device can trigger remote control commands, and remote control commands can be the choosing to target object In, dragging, rotation, amplification, reduce, cancel, picture promotes, picture zooms out etc.
The operating method of virtual reality provided in an embodiment of the present invention, the virtual reality obtained according at least two groups camera The spatial positional information of interactive device obtains virtual bit confidence of the virtual reality interactive device under virtual reality display interface Breath, including level information is compared with the effective coverage of the target object in virtual display interface, however, it is determined that virtual location Information is fallen into the effective coverage of target object, then is activated target object, to the target object of activation according to target object institute The remote control commands of triggering carry out respective operations, and compared with traditional approach, the embodiment of the present invention is based on being mutually redundant at least Two groups of cameras realize space orientation, the detection blind area to spatial positional information are greatly reduced, and then improve manipulator couple The positioning accuracy of simulated environment operation, enhances user experience.
The embodiment of the present invention also provides the operating method of another virtual reality, as shown in Figure 3, which comprises
201, the spatial positional information of the virtual reality interactive device obtained according at least two groups camera, obtains the void Including level information of the quasi- reality interactive device under virtual reality display interface.
Obtaining including level information may be employed without limitation of a under type to realize, comprising: obtain at least two groups camera shooting The spatial positional information for the virtual reality interactive device that head obtains, according to the space coordinate of the virtual reality interactive device Mapping relations between system and virtual display interface coordinate system, the spatial positional information is converted under virtual display interface Including level information.The core of conversion is the foundation of mapping relations, and the embodiment of the present invention can when establishing the mapping relations It to be established using same coordinate system, can also be established using different coordinate systems, for the ease of expression, the present invention Embodiment is illustrated so that space coordinates and virtual display interface coordinate system are same type of coordinate system as an example, it is assumed that space Coordinate system and virtual display interface coordinate system are world coordinate system.
Mapping relations are arranged two coordinate systems can be set is to wait than coordinate system, at the Scale Translate system of presupposition multiple, originally Inventive embodiments are to this without limiting.
202, traverse the effective coverage of all target objects in the virtual display interface, the target object it is effective The size in region is more than or equal to the actual size of the target object.
Virtual reality system successively traverses all target objects for showing and occurring in emulated interface in interface, emulates in production When picture, target object can be marked, so that virtual system confirms it.Traversal finds all target objects Afterwards, the actual size of each target object is obtained respectively.The type embodiment of the present invention of the target object is not specifically limited, can Think the target items such as fruit, personage, vehicle.
For different target object difference that may be present, the corresponding effective coverage of the target object finally confirmed Can have differences, for example, a petal size less than an automobile size, be arranged target object effective coverage when, vapour The corresponding effective coverage of vehicle is greater than the corresponding effective coverage of petal.
In emulated interface, the empty setting for executing an effective coverage before first time shows, subsequent to show emulated interface again Shi Wuxu repeats setting effective coverage.It, can be according to target object when the effective coverage of target object is set during specific implementation Concrete shape be configured, as shown in figure 4, Fig. 4 shows a kind of schematic diagram of effective coverage provided in an embodiment of the present invention, Assuming that the target object is five-pointed star, when its effective coverage be arranged, it is settable it is big out 1 centimetre of five-pointed star actual size and The identical effective coverage of shape (shown in dotted line), alternatively, directly using five-pointed star actual size as the actual size of effective coverage. As another implementation of the embodiment of the present invention, please continue to refer to Fig. 4, it is assumed that target object is petal, is had it is arranged When imitating region, 1 centimetre can be added to draw circle for radius with the length of maximum petal using the midpoint of petal as the center of circle, obtain corresponding having Region is imitated, alternatively, the cuboid of work covering petal is as effective coverage etc., the specific embodiment of the present invention is to effective coverage Set-up mode, shape, size are without limitation.
203, the effective coverage of the including level information and the target object in the virtual display interface is compared It is right, determine whether the including level information falls into the effective coverage of the target object.
If it is determined that the including level information is fallen into the effective coverage of the target object, 204 are thened follow the steps;If really The fixed including level information is not fallen in the effective coverage of the target object, thens follow the steps 205.
The detailed description that implementation method please refers to step 102, the present invention are compared in relation to including level information and effective coverage Embodiment is no longer repeated herein.
204, the target object is activated.
205, whole display contents in virtual display interface are filled according to virtual reality interaction as a whole The remote control commands for setting triggering carry out respective operations.
Following reasons may be had by not falling within effective coverage, and manipulator's operation error or manipulator are intended to in displaying interface Whole, i.e., the full content that virtual display interface is currently shown is operated, as overall picture movement, zoom in or out whole Show content etc..
206, the target object of the activation is corresponded to according to the remote control commands that the target object is triggered Operation.
The above method can be applied in plurality of application scenes, and subsequent implementation regular meeting is using virtual reality interactive device as interaction pen For be illustrated, but must be it is clear that this kind, which illustrates that mode is not intended to, limits its concrete application scene for being directed to, such as Shown in Fig. 5, the embodiment of the invention also provides the operating methods of the third virtual reality, comprising:
301, the spatial positional information of the interaction pen obtained according at least two groups camera, obtains the interaction pen virtual Reality shows the including level information under interface.
As shown in fig. 6, Fig. 6 shows a kind of schematic diagram of interaction pen provided in an embodiment of the present invention, the embodiment of the present invention The interaction pen is wirelessly connected by wireless communication module and virtual reality system, and at least head of interaction pen and tail portion are each One light-emitting component is installed, for realizing the space orientation of interaction pen, operating member is provided on the interaction pen, by described Operating member sends remote control commands to virtual reality system, and the operating member includes the operating member with keypress function And/or the operating member with translation functions, and the interaction pen determines the posture of the interaction pen, this hair by gyroscope In bright embodiment, the light-emitting component includes but is not limited to infrared light-emitting diode.
In order to further increase sterically defined accuracy, settable at least two are distinguished at the head and tail portion of interaction pen A light-emitting component in practical applications, can also be in interaction pen other than light-emitting component is arranged at the head and tail portion in interaction pen Middle position one or more light-emitting components are set, can also be set in any position that light-emitting component can be arranged of interaction pen Set light-emitting component, the embodiment of the present invention to the position of setting light-emitting component and quantity without limitation.
Operating member described in the embodiment of the present invention includes having the operating member of keypress function and/or with translation functions Operating member, the operating member of keypress function and the operating member of translation functions can be independent two operating members, It can be the operating member that the two combines, i.e. an operating member not only has keypress function, but also has translation functions, the translation Including but not limited to slide, roll etc., subsequent embodiment not only has keypress function with an operating member, but also has translation functions For be illustrated, but will be clear that this kind illustrate that mode is not uniquely to limit.
Any one camera can carry out space orientation by light-emitting component, and carrying out positioning by multiple groups camera can be complete Face determines spatial position, and then improves positioning accuracy.The posture of interaction pen described in the embodiment of the present invention includes interaction pen Pitch angle, yaw angle, roll angle module can be sent directly to virtual reality system by wireless communication.
302, traverse the effective coverage of all target objects in the virtual display interface, the target object it is effective The size in region is more than or equal to the actual size of the target object.
303, the effective coverage of the including level information and the target object in the virtual display interface is compared It is right, determine whether the including level information falls into the effective coverage of the target object.
If it is determined that the including level information is fallen into the effective coverage of the target object, 304 are thened follow the steps;If really The fixed including level information is not fallen in the effective coverage of the target object, thens follow the steps 305.
304, the target object is activated.
305, by whole display contents in virtual display interface as a whole according to the remote of interaction pen triggering Process control instruction carries out respective operations.
306, the corresponding relationship between click mode and remote control commands is configured, configuration translation mode refers to long-range control Corresponding relationship between order, the corresponding relationship between the posture and remote control commands of configuration interactive pen.
Yes firstly the need of explanation, the mode of operation of the configuration interactive pen of this step and the corresponding relationship of remote control commands It is configured, can also be configured when producing interaction pen when for the first time using interaction pen, it is specific to configure the opportunity embodiment of the present invention Without limiting.
Illustratively, configuration mode is as shown in table 1, the exemplary only explanation of the configuration mode shown in table 1, rather than is pair The specific restriction of remote control commands and interaction pen operation.
Table 1
Interaction pen Remote control commands
Operating member is clicked Choose target object
Operating member is double-clicked Object has been chosen in cancellation
Operating member long-pressing Object is chosen in pickup
Operating member is slided from tail to written direction Promote picture
Operating member is slided from nib to tail direction Zoom out picture
Interaction pen overturning Drive target object overturning
Discharge long press operation component The target object of pickup is discharged in current location
…… ……
307, the target object of the activation is carried out according to the remote control commands that the operating member of interaction pen is triggered Respective operations.
Explanation in relation to step 301 to step 307, please refers to the detailed description of Fig. 3, the embodiment of the present invention herein no longer into Row repeats.
Further, as the optional way of the embodiment of the present invention, the triggering of remote control commands is in addition to using interaction pen Except, the gesture of manipulator can also be used to trigger, unlike the embodiments above, two groups of cameras are in addition to that will position Outside the spatial positional information of gesture, different gesture instructions is also identified, operated based on the gesture instruction.Related two groups are taken the photograph As the concrete mode of the corresponding spatial positional information of head positioning gesture is filled with the interaction of positioning virtual reality described in above-described embodiment The mode for the space vector set is consistent, and the embodiment of the present invention is no longer repeated one by one herein.
Further, the embodiment of the present invention also provides a kind of operating device of virtual reality, as shown in fig. 7, described device Include:
First acquisition unit 41, the spatial position of the virtual reality interactive device for being obtained according at least two groups camera Information obtains including level information of the virtual reality interactive device under virtual reality display interface;
Comparing unit 42, the including level information and the virtual exhibition for obtaining the first acquisition unit 41 Show that the effective coverage of the target object in interface is compared;
Unit 43 is activated, for determining that the including level information falls into the target object when the comparing unit 42 When in effective coverage, the target object is activated;
Operating unit 44, what the target object for activating to the activation unit 43 was triggered according to the target object Remote control commands carry out respective operations.
The operating device of virtual reality provided in an embodiment of the present invention, the virtual reality obtained according at least two groups camera The spatial positional information of interactive device obtains virtual bit confidence of the virtual reality interactive device under virtual reality display interface Breath, including level information is compared with the effective coverage of the target object in virtual display interface, however, it is determined that virtual location Information is fallen into the effective coverage of target object, then is activated target object, to the target object of activation according to target object institute The remote control commands of triggering carry out respective operations, and compared with traditional approach, the embodiment of the present invention is based on being mutually redundant at least Two groups of cameras realize space orientation, the detection blind area to spatial positional information are greatly reduced, and then improve manipulator couple The positioning accuracy of simulated environment operation, enhances user experience.
Further, as shown in figure 8, the first acquisition unit 41 includes:
Module 411 is obtained, the space bit of the virtual reality interactive device for obtaining the acquisition of at least two groups camera Confidence breath;
Conversion module 412, for being sat according to the space coordinates of the virtual reality interactive device and virtual display interface Mapping relations between mark system are converted to the spatial positional information that the acquisition module obtains under virtual display interface Including level information.
Further, as shown in figure 8, described device further include:
Traversal Unit 45, for will be in the including level information and the virtual display interface in the comparing unit 42 Target object effective coverage be compared before, traverse the effective district of all target objects in the virtual display interface The size in domain, the effective coverage of the target object be greater than and/or equal to the target object actual size.
Further, the operating unit 44 is also used to determine the including level information not when the comparing unit 42 When falling into the effective coverage of the target object, the whole in virtual display interface is shown into contents basis as a whole The remote control commands of the virtual reality interactive device triggering carry out respective operations.
The virtual reality interactive device is interaction pen, and at least head of the interaction pen and tail portion respectively install one and shine Element is provided with operating member on the interaction pen for realizing the space orientation of interaction pen, by the operating member to void Quasi- reality system sends remote control commands, and the operating member includes having the operating member of keypress function and/or having flat The operating member of shifting function, and the interaction pen determines the posture of the interaction pen by gyroscope.
Further, as shown in figure 8, described device further include:
Configuration unit 46, for configuring the corresponding relationship between click mode and remote control commands;
The configuration unit 46, is also used to configure the corresponding relationship between translation mode and remote control commands;
The configuration unit 46, the corresponding relationship being also used between the posture and remote control commands of configuration interactive pen.
There are the coincidence areas of preset range for the focusing surface between any two groups of cameras in at least two groups camera Domain.
The operating device for the virtual reality introduced by the present embodiment be can execute it is virtual in the embodiment of the present invention The device of the operating method of reality, so the operating method based on virtual reality described in the embodiment of the present invention, this field Those of skill in the art can understand the specific embodiment and its various change of the operating device of the virtual reality of the present embodiment Form, so how to realize the operation of more virtual realities in the embodiment of the present invention for the operating device of the virtual reality at this Method is no longer discussed in detail.As long as those skilled in the art implement the operating method institute of virtual reality in the embodiment of the present invention The device of use belongs to the range to be protected of the application.
The embodiment of the invention provides a kind of electronic equipment, as shown in Figure 9, comprising: at least one processor (processor)51;And at least one processor (memory) 52, the bus 53 being connect with the processor 51;Wherein,
The processor 51, memory 52 complete mutual communication by the bus 53;
The processor 51 is used to call the program instruction in the memory 52, to execute in above method embodiment Step.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
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 instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (16)

1. a kind of operating method of virtual reality characterized by comprising
According to the spatial positional information for the virtual reality interactive device that at least two groups camera obtains, obtains the virtual reality and hand over Mutual including level information of the device under virtual reality display interface;
The including level information is compared with the effective coverage of the target object in the virtual display interface;
If it is determined that the including level information is fallen into the effective coverage of the target object, then the target object is activated;
Respective operations are carried out according to the remote control commands that the target object is triggered to the target object of the activation.
2. the method according to claim 1, wherein the virtual reality interaction obtained according at least two groups camera The spatial positional information of device obtains including level information of the virtual reality interactive device under virtual reality display interface Include:
Obtain the spatial positional information for the virtual reality interactive device that at least two groups camera obtains;
It, will according to the mapping relations between the space coordinates of the virtual reality interactive device and virtual display interface coordinate system The spatial positional information is converted to the including level information under virtual display interface.
3. according to the method described in claim 2, it is characterized in that, by the including level information and virtual display circle Before the effective coverage of target object in face is compared, the method also includes:
Traverse the effective coverage of all target objects in the virtual display interface, the ruler of the effective coverage of the target object It is very little be greater than and/or equal to the target object actual size.
4. method according to any one of claim 1-3, which is characterized in that the method also includes:
If it is determined that the including level information is not fallen in the effective coverage of the target object, then it will be in virtual display interface All display content carries out corresponding behaviour according to the remote control commands that the virtual reality interactive device triggers as a whole Make.
5. according to the method described in claim 4, it is characterized in that, the virtual reality interactive device is interaction pen, the friendship A light-emitting component is respectively installed on at least head and tail portion of mutual pen, for realizing the space orientation of interaction pen, on the interaction pen It is provided with operating member, remote control commands, the operating member packet are sent to virtual reality system by the operating member The operating member with keypress function and/or the operating member with translation functions are included, and the interaction pen passes through gyroscope Determine the posture of the interaction pen.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
Configure the corresponding relationship between the click mode and remote control commands of operating member;
Configure the corresponding relationship between operating member translation mode and remote control commands;
Corresponding relationship between the posture and remote control commands of configuration interactive pen.
7. method according to claim 5 or 6, which is characterized in that any two groups in at least two groups camera are taken the photograph As there are the overlapping regions of preset range for the focusing surface between head.
8. a kind of operating device of virtual reality characterized by comprising
First acquisition unit, the spatial positional information of the virtual reality interactive device for being obtained according at least two groups camera, Obtain including level information of the virtual reality interactive device under virtual reality display interface;
In comparing unit, the including level information for obtaining the first acquisition unit and the virtual display interface The effective coverage of target object be compared;
Unit is activated, for determining that the including level information falls into the effective coverage of the target object when the comparing unit When interior, the target object is activated;
Operating unit, the long-range control triggered for the target object to the activation unit activating according to the target object Instruction carries out respective operations.
9. device according to claim 8, which is characterized in that the first acquisition unit includes:
Module is obtained, the spatial positional information of the virtual reality interactive device for obtaining the acquisition of at least two groups camera;
Conversion module, between the space coordinates and virtual display interface coordinate system according to the virtual reality interactive device Mapping relations, by it is described acquisition module obtain the spatial positional information be converted to the virtual location under virtual display interface Information.
10. device according to claim 9, which is characterized in that described device further include:
Traversal Unit, in the comparing unit by the object in the including level information and the virtual display interface Before the effective coverage of body is compared, the effective coverage of all target objects in the virtual display interface is traversed, it is described The size of the effective coverage of target object be greater than and/or equal to the target object actual size.
11. the device according to any one of claim 8-10, which is characterized in that the operating unit is also used to work as institute When stating comparing unit and determining that the including level information is not fallen in the effective coverage of the target object, by virtual display interface In whole display contents carried out pair according to the remote control commands that the virtual reality interactive device triggers as a whole It should operate.
12. device according to claim 11, which is characterized in that the virtual reality interactive device is interaction pen, described A light-emitting component, for realizing the space orientation of interaction pen, the interaction pen are respectively installed in at least head of interaction pen and tail portion On be provided with operating member, by the operating member to virtual reality system send remote control commands, the operating member Including the operating member with keypress function and/or with the operating member of translation functions, and the interaction pen passes through gyro Instrument determines the posture of the interaction pen.
13. device according to claim 11, which is characterized in that described device further include:
Configuration unit, for configuring the corresponding relationship between click mode and remote control commands;
The configuration unit is also used to configure the corresponding relationship between translation mode and remote control commands;
The configuration unit, the corresponding relationship being also used between the posture and remote control commands of configuration interactive pen.
14. device according to claim 12 or 13, which is characterized in that any two groups in at least two groups camera There are the overlapping regions of preset range for focusing surface between camera.
15. a kind of electronic equipment characterized by comprising
At least one processor;
And at least one processor, the bus being connected to the processor;Wherein,
The processor, memory complete mutual communication by the bus;
The processor is used to call the program instruction in the memory, any into claim 7 with perform claim requirement 1 The operating method of virtual reality described in.
16. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Store up computer instruction, the computer instruction requires the computer perform claim 1 to described in any one of claim 7 The operating method of virtual reality.
CN201811348999.3A 2018-11-13 2018-11-13 The operating method and device of virtual reality Pending CN109613975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811348999.3A CN109613975A (en) 2018-11-13 2018-11-13 The operating method and device of virtual reality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811348999.3A CN109613975A (en) 2018-11-13 2018-11-13 The operating method and device of virtual reality

Publications (1)

Publication Number Publication Date
CN109613975A true CN109613975A (en) 2019-04-12

Family

ID=66004234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811348999.3A Pending CN109613975A (en) 2018-11-13 2018-11-13 The operating method and device of virtual reality

Country Status (1)

Country Link
CN (1) CN109613975A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212272A (en) * 2020-01-21 2020-05-29 浙江大华技术股份有限公司 Disaster monitoring method and device, storage medium and electronic device
CN111913564A (en) * 2019-05-07 2020-11-10 广东虚拟现实科技有限公司 Virtual content control method, device and system, terminal equipment and storage medium
CN113763567A (en) * 2020-11-17 2021-12-07 北京沃东天骏信息技术有限公司 Data display method and device based on virtual reality technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6091410A (en) * 1997-11-26 2000-07-18 International Business Machines Corporation Avatar pointing mode
US9690384B1 (en) * 2012-09-26 2017-06-27 Amazon Technologies, Inc. Fingertip location determinations for gesture input
CN107024981A (en) * 2016-10-26 2017-08-08 阿里巴巴集团控股有限公司 Exchange method and device based on virtual reality
CN107783674A (en) * 2016-08-27 2018-03-09 杨博 A kind of augmented reality exchange method and action induction felt pen
CN107820593A (en) * 2017-07-28 2018-03-20 深圳市瑞立视多媒体科技有限公司 A kind of virtual reality exchange method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6091410A (en) * 1997-11-26 2000-07-18 International Business Machines Corporation Avatar pointing mode
US9690384B1 (en) * 2012-09-26 2017-06-27 Amazon Technologies, Inc. Fingertip location determinations for gesture input
CN107783674A (en) * 2016-08-27 2018-03-09 杨博 A kind of augmented reality exchange method and action induction felt pen
CN107024981A (en) * 2016-10-26 2017-08-08 阿里巴巴集团控股有限公司 Exchange method and device based on virtual reality
CN107820593A (en) * 2017-07-28 2018-03-20 深圳市瑞立视多媒体科技有限公司 A kind of virtual reality exchange method, apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913564A (en) * 2019-05-07 2020-11-10 广东虚拟现实科技有限公司 Virtual content control method, device and system, terminal equipment and storage medium
CN111212272A (en) * 2020-01-21 2020-05-29 浙江大华技术股份有限公司 Disaster monitoring method and device, storage medium and electronic device
CN113763567A (en) * 2020-11-17 2021-12-07 北京沃东天骏信息技术有限公司 Data display method and device based on virtual reality technology

Similar Documents

Publication Publication Date Title
CN109710056A (en) The display methods and device of virtual reality interactive device
CN103902061B (en) The cursor display method of air mouse, equipment and system
CN109613975A (en) The operating method and device of virtual reality
CN110019766A (en) Methods of exhibiting, device, mobile terminal and the readable storage medium storing program for executing of knowledge mapping
CN110657799B (en) Space real-time positioning method, computer device and computer readable storage medium
CN104908038A (en) Robot simulation system which simulates takeout process of workpieces
CN104471518A (en) Disambiguation of multitouch gesture recognition for 3d interaction
CN108638062A (en) Robot localization method, apparatus, positioning device and storage medium
CN108225345A (en) The pose of movable equipment determines method, environmental modeling method and device
CN109648568A (en) Robot control method, system and storage medium
CN109186552A (en) A kind of method and system of the specification of layouting of image collecting device
US20200349727A1 (en) Obstacle detection method, mobile platform, and computer readable storage medium
CN109816792A (en) Localization method and device in a kind of three-dimensional scenic
CN106980378A (en) Virtual display methods and system
CN115922728A (en) Robot pointing motion control method, device, electronic device and storage medium
JP2022530145A (en) Virtual paint brush implementation method, device and computer readable storage medium
CN110322539A (en) Threedimensional model cutting process display methods, device and the electronic equipment of three-dimension object
CN104050721B (en) The method and device of smooth control three dimensional object
CN112416115A (en) Method and equipment for man-machine interaction in control interaction interface
CN102902412B (en) Many pointers indirect input device based on accelerate mutual
US9563723B1 (en) Generation of an observer view in a virtual environment
CN109669602A (en) Data interactive method, the apparatus and system of virtual reality
CN107783982A (en) Data processing method and data processing equipment
CN109671117A (en) The space-location method and device of virtual reality interactive device
CN104808792A (en) Information processing method and electronic device

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: 20190412