CN107562201A - Orient exchange method, device, electronic equipment and storage medium - Google Patents

Orient exchange method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN107562201A
CN107562201A CN201710804588.XA CN201710804588A CN107562201A CN 107562201 A CN107562201 A CN 107562201A CN 201710804588 A CN201710804588 A CN 201710804588A CN 107562201 A CN107562201 A CN 107562201A
Authority
CN
China
Prior art keywords
speech message
input equipment
interactive object
recorded
exchange method
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.)
Granted
Application number
CN201710804588.XA
Other languages
Chinese (zh)
Other versions
CN107562201B (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201710804588.XA priority Critical patent/CN107562201B/en
Publication of CN107562201A publication Critical patent/CN107562201A/en
Application granted granted Critical
Publication of CN107562201B publication Critical patent/CN107562201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Present disclose provides one kind orientation exchange method, orientation interactive device, electronic equipment and computer-readable recording medium, it is related to field of human-computer interaction, this method includes:Detect whether to receive and act on an input equipment, make what the relative position between the input equipment and user preset position met preparatory condition to interact trigger action;After the interactive trigger action is detected, if receiving recording trigger action, trigger user's recorded speech message and judge whether the speech message is recorded and terminate;After judging that the speech message recording terminates, determine a target interactive object and send the speech message to the target interactive object.The disclosure can realize quick triggering interaction mode, improve operating efficiency.

Description

Orient exchange method, device, electronic equipment and storage medium
Technical field
This disclosure relates to field of human-computer interaction, in particular to one kind orientation exchange method, orientation interactive device, electricity Sub- equipment and computer-readable recording medium.
Background technology
With the fast development of the technology of mobile communication, there is substantial amounts of VR (Virtual Reality) game application. In various types of games application scenarios, multiple players are exchanged in hall by way of voice or mail.
In the prior art, speech exchange is carried out by following two modes mostly:Mode one, in simulation as shown in Figure 1 In the game application A of speech exchange mode in reality, voice is screened by relative position of the game player in VR, i.e., from The player's sound of player position corresponding to family relatively far away from is small, from player's sound of player position relative close corresponding to user Greatly, so as to the speech message of the nearer player's transmission of receiving position.In this approach, the number of players in the range of certain distance When more, then it can not judge that player corresponding to user wishes that what is received sends the player of voice.
Mode two, exchange is oriented between adjacent player by specific posture.In game application as shown in Figure 2 In B, when the relative skew of two adjacent player helmets exceedes certain angle, secret words can be carried out between adjacent player, now Other people voices are can't hear, other people also can't hear the content between two adjacent players.In this approach, can only be in adjacent bit Orientation exchange is realized between the player put, and keeps head bias to cause player's physical fatigue, Consumer's Experience for a long time It is bad.
It should be noted that information is only used for strengthening the reason to the background of the disclosure disclosed in above-mentioned background section Solution, therefore can include not forming the information to prior art known to persons of ordinary skill in the art.
The content of the invention
The purpose of the disclosure is to provide a kind of orientation exchange method, orientation interactive device, electronic equipment and computer can Storage medium is read, and then at least overcomes caused by the limitation of correlation technique and defect one or more to a certain extent Individual problem.
Other characteristics and advantage of the disclosure will be apparent from by following detailed description, or partially by the disclosure Practice and acquistion.
According to the first aspect of the disclosure, there is provided one kind orientation exchange method, applied to virtual reality scenario can be presented, and And including at least virtual objects and the terminal of the operation interface of interactive object, including:
Detect whether to receive and act on an input equipment, make relative between input equipment and the user preset position Position meets the interaction trigger action of preparatory condition;
After the interactive trigger action is detected, if receiving recording trigger action, trigger the user and record language Sound message simultaneously judges whether the speech message is recorded and terminated;
After judging that the speech message recording terminates, determine a target interactive object and sent out to the target interactive object Send the speech message.
In a kind of exemplary embodiment of the disclosure, the interactive trigger action includes:
When the input equipment is Three Degree Of Freedom handle, the angle of pitch of the input equipment is upwards and pre- with the user If the angle between position meets the first preset range.
In a kind of exemplary embodiment of the disclosure, the interactive trigger action also includes:
When the input equipment is six degree of freedom handle, between the input equipment and the user preset position away from From meeting the second preset range.
In a kind of exemplary embodiment of the disclosure, the recording trigger action includes:
The position stopped by the optic centre point of virtual objects, the multiple interaction gestures shown in the operation interface Target interaction gesture model is determined in model.
In a kind of exemplary embodiment of the disclosure, when the input equipment is Three Degree Of Freedom handle, described in judgement Whether speech message, which records end, includes:
When angle between the detection input equipment and the user preset position exceeds first preset range, Judge that the speech message is recorded to terminate.
In a kind of exemplary embodiment of the disclosure, when the input equipment is six degree of freedom handle, described in judgement Whether speech message, which records end, includes:
When distance between the detection input equipment and the user preset position exceeds second preset range, Judge that the speech message is recorded to terminate.
In a kind of exemplary embodiment of the disclosure, judge whether the speech message is recorded end and also included:
Detect whether the pre-set button on the input equipment receives predetermined registration operation, and do not received in the pre-set button During to the predetermined registration operation, judge that the speech message is recorded and terminate.
In a kind of exemplary embodiment of the disclosure, determine a target interactive object and sent out to the target interactive object The speech message is sent to include:
Judge whether the current angle towards between the current location of the interactive object of the virtual objects is more than 3rd preset value;
When the angle is less than three preset value, the interactive object is defined as target interactive object and to institute State target interactive object and send the speech message.
In a kind of exemplary embodiment of the disclosure, methods described also includes:
The speech message that the virtual objects are sent to the target interactive object is stored, and will be with the virtual objects pair The mark answered is added in the interaction list of the target interactive object.
In a kind of exemplary embodiment of the disclosure, methods described also includes:
The target interactive object that speech message is sent for the virtual objects sets a prompting mark.
According to an aspect of this disclosure, there is provided one kind orientation interactive device, applied to virtual reality scenario can be presented, and And including at least virtual objects and the terminal of the operation interface of interactive object, including:
Interaction trigger module, acts on an input equipment for detecting whether receiving, makes the input equipment and user Relative position between predetermined patterns meets the interaction trigger action of preparatory condition;
Recording module, for after the interactive trigger action is detected, if receiving recording trigger action, triggering institute State user's recorded speech message and judge whether the speech message is recorded and terminate;
Interactive module, for after judging that the speech message is recorded and terminated, determining a target interactive object and to described Target interactive object sends the speech message.
According to an aspect of this disclosure, there is provided a kind of computer-readable recording medium, computer program is stored thereon with, The computer program realizes the orientation exchange method described in above-mentioned any one when being executed by processor.
According to an aspect of this disclosure, there is provided a kind of electronic equipment, including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to perform described in above-mentioned any one determine via the execution executable instruction To exchange method.
Orientation exchange method, orientation interactive device, electronic equipment and the calculating that a kind of exemplary embodiment of the disclosure provides In machine readable storage medium storing program for executing, on the one hand, can quickly trigger user by input equipment and enter interactive mode, improve activation and hand over Mutual speed;On the other hand, it is not necessary to increase extra operation, user can be made naturally to trigger interactive mode, improve Convenience.Further, can also when multiple interactive objects be present, it is accurate lock interactive object so that improve it is virtual right As the privacy interacted between interactive object.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, the above and other feature and advantage of the disclosure will become It is more obvious.It should be evident that drawings in the following description are only some embodiments of the present disclosure, for the common skill in this area For art personnel, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.In accompanying drawing In:
Fig. 1 is a kind of schematic diagram of game application A operation interfaces in disclosure exemplary embodiment;
Fig. 2 is a kind of schematic diagram of game application B operation interfaces in disclosure exemplary embodiment;
Fig. 3 schematically shows a kind of orientation exchange method schematic diagram in disclosure exemplary embodiment;
Fig. 4 schematically shows interactive operation interface schematic diagram in disclosure exemplary embodiment;
Fig. 5 schematically shows target interaction gesture model schematic in disclosure exemplary embodiment;
Fig. 6 schematically shows game rotatable handle angle schematic diagram in disclosure exemplary embodiment;
Fig. 7 schematically shows the recording of Three Degree Of Freedom handle and state during End of Tape in disclosure exemplary embodiment and shown It is intended to;
Fig. 8 schematically shows the recording of six degree of freedom handle and state during End of Tape in disclosure exemplary embodiment and shown It is intended to;
Fig. 9 schematically shows a kind of overall flow schematic diagram for orienting exchange method in disclosure exemplary embodiment;
Figure 10 schematically shows a kind of block diagram for orienting interactive device in disclosure exemplary embodiment;
Figure 11 schematically shows the block diagram of a kind of electronic equipment in disclosure exemplary embodiment;
Figure 12 schematically shows a kind of program product in disclosure exemplary embodiment.
Embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be real in a variety of forms Apply, and be not understood as limited to embodiment set forth herein;On the contrary, these embodiments are provided so that the disclosure will be comprehensively and complete It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical reference represents in figure Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, there is provided many details fully understand so as to provide to embodiment of the disclosure.However, It will be appreciated by persons skilled in the art that the technical scheme of the disclosure can be put into practice without one in the specific detail or more It is more, or other methods, constituent element, material, device, step etc. can be used.In other cases, it is not shown in detail or describes Known features, method, apparatus, realization, material are operated to avoid each side of the fuzzy disclosure.
Block diagram shown in accompanying drawing is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or these are realized in the module of one or more softwares hardening A part for functional entity or functional entity, or realized in heterogeneous networks and/or processor device and/or microcontroller device These functional entitys.
A kind of orientation exchange method is disclosed in the present exemplary embodiment first, can apply to that virtual reality class can be presented The scene of game of game, and including at least virtual objects and the terminal of the operation interface of one or more interactive objects, can With by performing software application on the processor of terminal and rendering to obtain operation interface on the display of the terminal.Herein The game of virtual reality class can be to include the various types of games of social interaction, such as shoot, game application of riddling.In addition, Education, training etc., which can also be applied to, to be included in social interactive application.
In the present exemplary embodiment, virtual objects can be located at the optional position of operation interface, and the virtual objects can be with It is configured as being moved according to the control of an input equipment.The terminal can be such as smart mobile phone, tablet personal computer, notebook The various electronic equipments with Touch Screen such as computer, desktop computer, intelligent television.Input equipment can wirelessly with Terminal connects.With reference to shown in figure 3, the orientation exchange method may comprise steps of:
Step S310., which detects whether to receive, acts on an input equipment, makes the input equipment and user preset position Between relative position meet the interaction trigger action of preparatory condition;
Step S320. is after the interactive trigger action is detected, if receiving recording trigger action, triggers the use Family recorded speech message simultaneously judges whether the speech message is recorded and terminated;
Step S330. determines a target interactive object and to the target after judging that the speech message is recorded and terminated Interactive object sends the speech message.
According to the orientation exchange method in this example embodiment, on the one hand, can quickly trigger user by input equipment Into interactive mode, the speed for activating interactive mode is improved;On the other hand, it is not necessary to increase extra operation, can use Interactive mode is naturally triggered at family, improves convenience.Further, can also be accurate when multiple interactive objects be present Really lock interactive object and then improve the privacy interacted between virtual objects and interactive object.
Next, explanation is further expalined to each step in the orientation exchange method with reference to figure 3 to Fig. 9.
In step S310, detect whether to receive and act on an input equipment, make the input equipment and user preset Relative position between position meets the interaction trigger action of preparatory condition.
In this example embodiment, user can be by such as head mounted display, VR glasses, or installed in away from user The auxiliary equipments such as one or more displays on one or more surfaces of certain distance are immersed in reality environment. In virtual environment, the usually first person of user, the concrete operations of all users can be all mapped on a virtual objects. For example, with reference to shown in figure 4, it is interactive object that user, which corresponds to virtual objects 401,402 and 403,.The interaction triggering behaviour Work can make system enter orientation voice status, and the relative position between input equipment and the user preset position herein expires Sufficient preparatory condition can be angle between the predetermined patterns of the user of input equipment and the currently used input equipment or away from From meeting preparatory condition.Input equipment in this example can be game paddle, when handle meets angle or required distance, Think to receive interactive trigger action.After interactive trigger action is detected, it can detect whether to receive recording trigger action.
Specifically, in this example embodiment, the interactive trigger action can include:
When the input equipment is Three Degree Of Freedom handle, the angle of pitch of the input equipment is upwards and pre- with the user If the angle between position meets the first preset range.
In the present example embodiment, it is Three Degree Of Freedom handle 3Dof (Degress of in the input equipment When freedom), the direction of the angle of pitch of input equipment can be detected and whether the angle between judgement and user preset position expires The first preset range of foot.With reference to shown in figure 6, Eulerian angles can include angle of pitch pitch, yaw angle yaw, roll angle roll, will Three Eulerian angles combine to calculate the rotation of any object in space.The angle of pitch could be arranged to rotate around X-axis, yaw angle Can be to be rotated around Y-axis, roll angle can be to rotate about the z axis.For 3Dof handles, angle of pitch description is inclined up and down The angle turned, yaw angle represent the angle deflected to the left and to the right, illustrated in this example by taking the angle of pitch as an example.
Whether can be changed by the angle of pitch of Programmable detection 3Dof handles in this example, or detection 3Dof hands Whether handle rotates around the direction of the angle of pitch.Automatically begin to record when detecting that 3Dof handles rotate around the direction of the angle of pitch The change of angle.And handle the angle of pitch upwards and angle between the user preset position of currently used handle meets the During one preset range, it is believed that receive interactive trigger action.Where it is assumed that the initial position of handle is horizontal positioned, then The angle of pitch of handle can be understood as in horizontal level rotating handle vertically upward upwards.The predetermined patterns of user can be to use The mouth at family, the first preset range can be defined by game developer by program according to the actual requirements, such as can be with For 15 °, handle the angle of pitch upwards and user's mouth immediately ahead of angle between vertical direction the first preset range it It is interior, it is, for example, less than or during equal to 15 °, can be determined that and receive interactive trigger action.
Specifically, in this example, the coordinate of user's mouth can be obtained by coordinate system, can be using user's mouth as original Point establishes coordinate system, and using vertical direction immediately ahead of mouth as longitudinal axis positive direction, using mouth direction as transverse axis positive direction.Specifically Ground, it is assumed that the coordinate of user's mouth is (Xmp,Ymp,Zmp), the unit vector of the front vertical direction of mouth is (Xmf,Ymf, Zmf), handle coordinate is (Xp,Yp,Zp), the unit vector of handle angle is (Xr,Yr,Zr), hand can be determined according to above-mentioned coordinate Angle immediately ahead of handle and mouth between vertical direction.With reference to shown in the figure A in figure 7, the initial position of handle could be arranged to It is vertical with direction immediately ahead of mouth, you can so that handle to be placed vertically.(it should be understood that the initial position of handle can also be set Be set to skilled artisan understands that other directions, such as be arranged to parallel with direction immediately ahead of mouth, you can with by handle It is horizontal positioned).The angle of pitch of handle can be understood as rotating handle along transverse axis negative direction of hanging down upwards, and the handle after rotation With the angle immediately ahead of mouth between vertical direction, i.e., when the angle between handle and longitudinal axis positive direction is less than or equal to 15 °, It is considered that input equipment meets the interaction trigger action for making system enter orientation interaction mode, as schemed shown in B, to work as hand in Fig. 7 When angle between handle and longitudinal axis positive direction is equal to 15 °, it is believed that input equipment receives interactive trigger action.Wherein handle Angle between longitudinal axis positive direction judges that formula can be:Angle Judgement and detection can be performed by program, while user's rotational handle, program can detect in real time rotate after hand Angle between handle and front vertical direction, and when angle meets the first preset range, control operation interface is automatically switched To orient interaction mode.When angle is unsatisfactory for the first preset range, angle, while user can be detected always by circulation Rotational handle, untill angle meets the first preset range.
Further, in this example embodiment, the interactive trigger action can also include:
When the input equipment is six degree of freedom handle, between the input equipment and the user preset position away from From meeting the second preset range.
In the present example embodiment, it is six degree of freedom handle 6Dof (Degress of in the input equipment When freedom), it can detect whether the distance between input equipment and the user preset position meet the second preset range. The six degree of freedom handle can be used for while detection angles information and positional information.In this example, Programmable detection can be passed through The position of 6Dof handles whether change and judge handle position whether close to user predetermined patterns.Detecting handle Automatically begin to record the change of handle position when mobile, and the distance between the current location of handle and user preset position expires During the second preset range of foot, it is believed that receive interactive trigger action.Wherein, the predetermined patterns of user can be still its mouth Portion.
Specifically, it is assumed that the initial position of handle is horizontal positioned, then handle position is appreciated that close to the mouth of user Handle is lifted for user.Handle herein can be for example lain in a horizontal plane on desk or other objects, or with In its level is held in the hand by family.Second preset range can be determined by game developer by program according to the actual requirements Justice, for example, can be 0 or for close to 0 less numerical value.
In this example, the coordinate for still assuming user's mouth is (Xmp,Ymp,Zmp), the front vertical direction of mouth (unit vector) is (Xmf,Ymf,Zmf), handle coordinate is (Xp,Yp,Zp), handle angle (unit vector) is (Xr,Yr,Zr), The distance between handle current location and user's mouth can be calculated according to above-mentioned coordinate.In handle current location and user The distance between mouth is 0 or during close to 0, it is believed that receives the interaction triggering for making system enter orientation interaction mode Operation, so that the system enters orientation interaction mode.Range estimation formula in the present exemplary embodiment can be:The detection of position and distance, calculating and judged Cheng Jun can be performed by program, and while user picks up or puts down handle, program can detect the current of handle in real time Position, and calculate the current location of handle and the distance of user's mouth.When distance meets the second preset range, control operation circle Face automatically switches to orientation interaction mode;When distance is unsatisfactory for the second preset range, can by circulating detecting distance always, User adjusts the position of handle simultaneously, meets that the second preset range is with the distance of user's mouth until the current location of handle Only.
Above two interaction triggering mode need not pass through the physical button on input equipment or the void in operation interface Intend control to complete, therefore effectively simplify operation, improve convenience.It should be noted that triggered by any of the above-described mode Into after orientation interaction mode, operation interface can automatically switch to the operation interface of orientation interaction mode, and operation interface In virtual objects it is corresponding with the user of operation handle.
In step s 320, after the interactive trigger action is detected, if receiving recording trigger action, institute is triggered State user's recorded speech message and judge whether the speech message is recorded and terminate.
In this illustrative embodiments, when detecting any interactive trigger action described in above-mentioned steps S310, It can also further detect whether to receive recording trigger action.The recording trigger action can make user start recorded speech Message, recording trigger action herein can be that input equipment meets preparatory condition, or the trigger action of setting recording in advance is simultaneously Detected by auxiliary equipment, recording trigger action can be completed by virtual objects, can be combined with input equipment Physical button or button are completed, such as the function key on click or long-press handle, and it is special that this is not done in the present exemplary embodiment Limit.Wherein, the recording trigger action can be detected by program.After user starts recorded speech message, may be used also Terminated with detecting and judging whether speech message is recorded.
Specifically, in this example embodiment, the recording trigger action can include:
The position stopped by the optic centre point of virtual objects, the multiple interaction gestures shown in the operation interface Target interaction gesture model is determined in model.
In the present example embodiment, user can change visual angle, and field range by rotating the actions such as head Interior scene.Therefore virtual objects corresponding to user can be entered using the cursor or light beam of the corresponding display in optic centre point place Row target selection, realize that virtual objects interact with multiple interactive objects in reality environment.
In this example, when entering orientation interaction mode, multiple interaction gesture models for user's selection can also be loaded into, When determining target interaction gesture model in the position that the optic centre point by the virtual objects stops, it can be understood as receive To recording trigger action.The interaction gesture model be can be understood as orienting speech gestures model, such as hand is propagandaed directed to communicate in mouth Gesture model or other action models.Specifically, in the coordinate system of virtual reality scenario, when the vision for judging virtual objects Central point overlaps with the coordinate of one of multiple interaction gesture models in operation interface, or optic centre point falls a certain During the within a certain error range of the coordinate of interaction gesture model, you can be determined according to the position of the optic centre of virtual objects point Target interaction gesture model.In other exemplary embodiments of the disclosure, in vision that can also be by judging virtual objects Stay time of the heart point at a certain interaction gesture modal position is judged that this also belongs to the protection domain of the disclosure.
Can be by the optic centre point position of ray detection virtual objects in this example, and the target that will be chosen Interaction gesture model is highlighted.For example, with reference to shown in figure 5, the target interaction gesture model in this example can be behaviour Make in interface that virtual objects hand does the posture propagandaed directed to communicate in mouth corresponding to user, so that user substantially distinguishes and identification recording shape State, so as to avoid causing maloperation.Target interaction gesture model is defined as virtually it is possible to further the difference according to handle The left hand or the right hand of object, which lift, is placed on mouth in posture of propagandaing directed to communicate.It should be noted that user's for example nods, shakes the head, blinking Interaction gesture model will not be impacted Deng action.While recording trigger action is received, microphone can be opened Function, user is set to start to record, while the mouth of virtual objects is also corresponding carries out recording action, in the process, user's All contents of speaking will be recorded.
In this example embodiment, when the input equipment is Three Degree Of Freedom handle, whether the speech message is judged Recording terminates to include:
When angle between the detection input equipment and the user preset position exceeds first preset range, Judge that the speech message is recorded to terminate.
In the present example embodiment, can be according to the different triggering mode of different input equipments, respectively with corresponding side Formula terminates to record.When the input equipment is Three Degree Of Freedom handle, can be by detecting input equipment and user's mouth just before Whether whether the angular range between square vertical direction terminate beyond the first preset range to judge to record.Specifically, defeated When entering the angular range immediately ahead of equipment and user's mouth between vertical direction and exceed the first preset range, it can be determined that recording is tied Beam.It can determine to work as anterior angle between vertical direction and input equipment immediately ahead of user's mouth when front direction according to input equipment Degree.Current angular can be identical with the first preset range direction, can also differ.Such as first preset range be arranged to 15 Degree, when current angular is identical with the first preset range set, immediately ahead of input equipment and user's mouth between vertical direction Angular range exceed 15 degree, for example, 16 degree or Fig. 7 in figure C shown in 35 degree when, can terminate to record.Now It can be understood as user to put down handle, such as user is placed the handle on desk.When being differed in direction, such as input set It is standby to be rotated to any direction, and input equipment deviates the angular range of the first preset range of recording state, can also terminate to record Sound.
In addition, when the input equipment is six degree of freedom handle, judge whether the speech message is recorded and terminate It can include:
The distance between the input equipment and the user preset position is being detected beyond the described second default model When enclosing, judge that the speech message is recorded and terminate.
In the present example embodiment, can be described defeated by detecting when the input equipment is six degree of freedom handle Enter whether the distance between equipment and the user preset position exceeds second preset range, judge that the voice disappears Breath recording terminates.Distance between handle current location and user's mouth exceeds the second preset range, such as is far longer than 0 When, it is believed that End of Tape.Likewise it is possible to input equipment is moved to any direction, as long as handle current location is with using The distance between family mouth exceeds the second preset range.With reference to shown in figure 8, handle current location and user's mouth in A are schemed The distance between close to zero, scheme the distance between handle current location and user's mouth in B and be more than zero, thus for scheming B and Speech, it is believed that End of Tape.
In addition, in this example embodiment, judge that the speech message is recorded and terminate to include:
Detect whether the pre-set button on the input equipment receives predetermined registration operation, and do not received in the pre-set button During to the predetermined registration operation, judge that the speech message is recorded and terminate.
In the present example embodiment, when the physical button on combining input equipment is recorded, detection can be passed through On handle pre-set button whether receive predetermined registration operation judge speech message record terminate.Pre-set button herein can be function Key, predetermined registration operation can be understood as acting on the pressing operation in function key.It is being not detected by the pressing that acts in function key Operation, it is understood that for the function key in user's release handle.Be not detected by the pressing operation that acts in function key or During person's release handle function key, it can be determined that speech message, which is recorded, to be terminated.In this example, hand can be acted on by Programmable detection Pressing dynamics in handle function key, when pressing dynamics are zero or are preset value, it can be determined that user's release handle Function key, so as to judge to terminate voice message recording, subsequent operation can be carried out.
It should be noted that after judging that speech message recording terminates by above-mentioned any-mode, corresponding operation circle Virtual objects hand does the posture propagandaed directed to communicate and can corresponded in mouth in the virtual reality scenario that face is presented, under recording state be adjusted to it Its posture, contrast in the present exemplary embodiment and be not particularly limited.
In step S330, after judging that the speech message is recorded and terminated, a target interactive object is determined and to described Target interactive object sends the speech message.
In the present example embodiment, after judging that speech message recording terminates, it may be determined that a target interactive object, And the speech message recorded is sent to the target interactive object of determination, hence into the orientation interaction stage, completes virtual objects With the interaction of one of multiple interactive objects.An interactive object can only be once selected herein, and only loading is virtual The speech message sent between object and the target interactive object, and reduce other incoherent message, and then improve message Efficiency of transmission.
Specifically, in this example embodiment, determine a target interactive object and send institute to the target interactive object Stating speech message can include:
Judge whether the current angle towards between the current location of the interactive object of the virtual objects is more than 3rd preset value;
When the angle is less than three preset value, the interactive object is defined as target interactive object and to institute State target interactive object and send the speech message.
, can be by judging whether the distance between virtual objects and interactive object or angle are full in the present exemplary embodiment Sufficient preparatory condition carries out target selection.Such as it may determine that the virtual objects currently direction and the interactive object position Between angle whether be more than the 3rd preset value.The 3rd preset value herein can be entered by game developer according to the actual requirements Row is set, and for example can be 15 ° in this example.
In the present example embodiment, in the virtual objects currently towards between the interactive object position When angle is less than three preset values, virtual objects selected target object, simultaneity factor can record user in the angular range The speech message of system is sent to the target interactive object.Herein, virtual objects can determine the target oneself to be propagandaed directed to communicate in advance Interactive object, and the current direction of itself is adjusted always, make the current towards in place with selected target interactive object institute of oneself Angle between putting is less than the 3rd preset value;The previous dynasty directly can also be worked as by oneself when being unknown to interactive object It is less than the 3rd preset value to the angle between each interactive object position, determines the interaction pair of the target oneself to be propagandaed directed to communicate As.
Specifically, in this example, the coordinate that hypothesis user's mouth can be obtained according to coordinate system is (Xmp,Ymp,Zmp), The unit vector of vertical direction is (X immediately ahead of mouthmf,Ymf,Zmf), it is determined that the interactive object coordinate to be propagandaed directed to communicate is (Xp,Yp, Zp), then the distance between virtual objects and interactive object vector (X corresponding to user are calculated firstt,Yt,Zt)=(Xp-Xmp, Yp-Ymp,Zp-Zmp), then virtual objects currently judge that formula can be towards with the angle between interactive object position:In virtual objects currently towards between interactive object position Angle be less than 15 ° when, interactive object corresponding to current direction can be defined as target interactive object, and make virtual objects to this Target interactive object sends speech message.
In the process, can be only after determining the speech message that target interactive object can receive virtual objects transmission The speech message of loading therebetween, avoid and load the voice that all players send in the prior art, and avoid and pass through Physical button or virtual control are completed to operate, and effectively simplify and operate and realize the Effective selection of speech message, make exchange More rapidly, therefore interactive performance is improved, and this mode improves what is exchanged between target interactive object and virtual objects Privacy.In addition, by judge virtual objects currently towards and the angle between the interactive object position, can be with The orientation interaction being accurately finished between multiple objects.
In addition, in this example embodiment, after the target interactive object receives the speech message, methods described is also It can include:
The speech message that the virtual objects are sent to the target interactive object is stored, and will be with the virtual objects pair The mark answered is added in the interaction list of the target interactive object.
In the present example embodiment, can be by the void after the target interactive object receives the speech message Intend storage of voice messages that object is sent to the target interactive object into system, and will be corresponding with the virtual objects Mark is added in the interaction list of the target interactive object.Mark for example can be virtual corresponding to virtual objects herein Head portrait or the pet name etc. corresponding to object.Target interactive object can be selected corresponding to its transmission voice in interaction list Virtual objects, with the history message before hard of hearing at any time, without requiring that virtual objects are resend, therefore make to interact Cheng Gengjia is facilitated.
Determine to send the interactive object of speech message, this example embodiment to the virtual role in order to facilitate user In, can also be that the target interactive object for receiving the speech message that the virtual objects are sent sets a prompting mark Know.Prompting mark can show the content such as having been read whether speech message duration, speech message.When virtual objects are to target When interactive object sends speech message, prompting mark can also be provided with.
In an exemplary embodiment of the disclosure, a kind of orientation interactive device, with reference to shown in figure 10, the dress are additionally provided Putting 1000 can include:
Interaction trigger module 1001, can be used for detecting whether to receive acting on an input equipment, set the input Relative position between the standby position with user preset meets the interaction trigger action of preparatory condition;
Recording module 1002, it can be used for after the interactive trigger action is detected, if receiving recording triggering behaviour Make, trigger user's recorded speech message and judge whether the speech message is recorded and terminate;
Interactive module 1003, it can be used for after judging that the speech message recording terminates, determine a target interactive object And send the speech message to the target interactive object.
The detail of each module has been carried out in detail in corresponding orientation exchange method in above-mentioned orientation interactive device Describe in detail bright, therefore here is omitted.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can realize the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be implemented as following form, i.e.,:It is complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.), or hardware and software, can unite here Referred to as " circuit ", " module " or " system ".
The electronic equipment 1100 according to the embodiment of the invention is described referring to Figure 11.The electricity that Figure 11 is shown Sub- equipment 1100 is only an example, should not bring any restrictions to the function and use range of the embodiment of the present invention.
As shown in figure 11, electronic equipment 1100 is showed in the form of universal computing device.The component of electronic equipment 1100 can To include but is not limited to:Above-mentioned at least one processing unit 1110, above-mentioned at least one memory cell 1120, connection different system The bus 1130 of component (including memory cell 1120 and processing unit 1110), display unit 1140.
Wherein, the memory cell is had program stored therein code, and described program code can be held by the processing unit 1110 OK so that the processing unit 1110 performs various according to the present invention described in above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, the step of processing unit 1110 can perform as shown in Figure 3.
Memory cell 1120 can include the computer-readable recording medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 11201 and/or cache memory unit 11202, it can further include read-only memory unit (ROM) 11203.
Memory cell 1120 can also include program/utility with one group of (at least one) program module 11205 11204, such program module 11205 includes but is not limited to:Operating system, one or more application program, other programs Module and routine data, the realization of network environment may be included in each or certain combination in these examples.
Bus 1130 can be to represent the one or more in a few class bus structures, including memory cell bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 1100 can also be with one or more external equipments 1170 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, the equipment communication interacted with the electronic equipment 1100 can be also enabled a user to one or more, and/or with making Obtain any equipment that the electronic equipment 1100 can be communicated with one or more of the other computing device (such as router, modulation Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 1150.Also, electronic equipment 1100 Network adapter 1160 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As illustrated, network adapter 1160 passes through its of bus 1130 and electronic equipment 1100 Its module communicates.It should be understood that although not shown in the drawings, can combine electronic equipment 1100 uses other hardware and/or software Module, include but is not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic Tape drive and data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can be realized by software, can also be realized by way of software combines necessary hardware.Therefore, according to the disclosure The technical scheme of embodiment can be embodied in the form of software product, the software product can be stored in one it is non-volatile Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are to cause a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is performed according to disclosure embodiment Method.
In an exemplary embodiment of the disclosure, a kind of computer-readable recording medium is additionally provided, is stored thereon with energy Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product, it includes program code, when described program product is run on the terminal device, institute State program code be used for make the terminal device perform described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
With reference to shown in figure 12, the program product for being used to realize the above method according to the embodiment of the present invention is described 1200, it can use portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as run on PC.However, the program product not limited to this of the present invention, in this document, readable storage medium storing program for executing can be with Be it is any include or the tangible medium of storage program, the program can be commanded execution system, device either device use or It is in connection.
Described program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any combination above.The more specifically example of readable storage medium storing program for executing is (non exhaustive List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more wires, read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media can be including the data-signal in a base band or as carrier wave part propagation, its In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie beyond readable storage medium storing program for executing Matter, the computer-readable recording medium can send, propagate either transmit for used by instruction execution system, device or device or and its The program of combined use.
The program code included on computer-readable recording medium can be transmitted with any appropriate medium, including but not limited to wirelessly, be had Line, optical cable, RF etc., or above-mentioned any appropriate combination.
Can being combined to write the program operated for performing the present invention with one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., include routine Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user Perform on computing device, partly perform on a user device, the software kit independent as one performs, is partly calculated in user Its upper side point is performed or performed completely in remote computing device or server on a remote computing.It is remote being related to In the situation of journey computing device, remote computing device can pass through the network of any kind, including LAN (LAN) or wide area network (WAN) user calculating equipment, is connected to, or, it may be connected to external computing device (such as utilize ISP To pass through Internet connection).
In addition, above-mentioned accompanying drawing is only the schematic theory of the processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limitation purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings was not intended that or limited these processing is suitable Sequence.In addition, being also easy to understand, these processing for example can be performed either synchronously or asynchronously in multiple modules.
It should be noted that although some modules or list of the equipment for action executing are referred in above-detailed Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Either the feature of unit and function can embody module in a module or unit.A conversely, above-described mould Either the feature of unit and function can be further divided into being embodied by multiple modules or unit block.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein His embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by claim Point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. one kind orientation exchange method, applied to virtual reality scenario can be presented, and comprises at least virtual objects and interaction The terminal of the operation interface of object, it is characterised in that including:
Detect whether to receive and act on an input equipment, make the relative position between input equipment and the user preset position Meet the interaction trigger action of preparatory condition;
After the interactive trigger action is detected, if receiving recording trigger action, trigger user's recorded speech and disappear Cease and judge whether the speech message is recorded and terminate;
After judging that the speech message recording terminates, determine a target interactive object and send institute to the target interactive object State speech message.
2. orientation exchange method according to claim 1, it is characterised in that the interactive trigger action includes:
When the input equipment is Three Degree Of Freedom handle, the angle of pitch of the input equipment upwards and with the user preset portion Angle between position meets the first preset range.
3. orientation exchange method according to claim 1, it is characterised in that the interactive trigger action also includes:
When the input equipment is six degree of freedom handle, the distance between the input equipment and the user preset position are full The second preset range of foot.
4. orientation exchange method according to claim 1, it is characterised in that the recording trigger action includes:
The position stopped by the optic centre point of virtual objects, the multiple interaction gesture models shown in the operation interface Middle determination target interaction gesture model.
5. orientation exchange method according to claim 2, it is characterised in that in the input equipment be Three Degree Of Freedom handle When, judge whether the speech message is recorded end and included:
When angle between the detection input equipment and the user preset position exceeds first preset range, judge The speech message, which is recorded, to be terminated.
6. orientation exchange method according to claim 3, it is characterised in that in the input equipment be six degree of freedom handle When, judge whether the speech message is recorded end and included:
When distance between the detection input equipment and the user preset position exceeds second preset range, judge The speech message, which is recorded, to be terminated.
7. orientation exchange method according to claim 1, it is characterised in that judge whether the speech message is recorded and terminate Also include:
Detect whether the pre-set button on the input equipment receives predetermined registration operation, and institute is not received in the pre-set button When stating predetermined registration operation, judge that the speech message is recorded and terminate.
8. orientation exchange method according to claim 1, it is characterised in that determine a target interactive object and to the mesh Mark interactive object, which sends the speech message, to be included:
Judge whether the current angle towards between the current location of the interactive object of the virtual objects is more than the 3rd Preset value;
When the angle is less than three preset value, the interactive object is defined as target interactive object and to the mesh Mark interactive object and send the speech message.
9. orientation exchange method according to claim 1, it is characterised in that methods described also includes:
The speech message that the virtual objects are sent to the target interactive object is stored, and will be corresponding with the virtual objects Mark is added in the interaction list of the target interactive object.
10. according to the orientation exchange method described in claim 1-9 any one, it is characterised in that methods described also includes:
The target interactive object that speech message is sent for the virtual objects sets a prompting mark.
11. one kind orientation interactive device, applied to virtual reality scenario can be presented, and comprises at least virtual objects and interaction The terminal of the operation interface of object, it is characterised in that including:
Interaction trigger module, an input equipment is acted on for detecting whether receiving, and the input equipment and user preset Relative position between position meets the interaction trigger action of preparatory condition;
Recording module, for after the interactive trigger action is detected, if receiving recording trigger action, triggering the use Family recorded speech message simultaneously judges whether the speech message is recorded and terminated;
Interactive module, for after judging that the speech message is recorded and terminated, determining a target interactive object and to the target Interactive object sends the speech message.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The orientation exchange method described in any one in claim 1-10 is realized when being executed by processor.
13. a kind of electronic equipment, it is characterised in that including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to come any one institute in perform claim requirement 1-10 via the execution executable instruction The orientation exchange method stated.
CN201710804588.XA 2017-09-08 2017-09-08 Directional interaction method and device, electronic equipment and storage medium Active CN107562201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710804588.XA CN107562201B (en) 2017-09-08 2017-09-08 Directional interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710804588.XA CN107562201B (en) 2017-09-08 2017-09-08 Directional interaction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107562201A true CN107562201A (en) 2018-01-09
CN107562201B CN107562201B (en) 2020-07-07

Family

ID=60980186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710804588.XA Active CN107562201B (en) 2017-09-08 2017-09-08 Directional interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107562201B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108671539A (en) * 2018-05-04 2018-10-19 网易(杭州)网络有限公司 Target object exchange method and device, electronic equipment, storage medium
CN108724203A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 A kind of exchange method and device
CN108744529A (en) * 2018-05-24 2018-11-06 网易(杭州)网络有限公司 Point-to-point Communication Method in game and equipment
CN108833367A (en) * 2018-05-25 2018-11-16 链家网(北京)科技有限公司 Transmission of speech information method and device in virtual reality scenario
CN109460148A (en) * 2018-10-24 2019-03-12 北京实境智慧科技有限公司 A kind of VR voice interactive system and its exchange method
WO2019144330A1 (en) * 2018-01-25 2019-08-01 腾讯科技(深圳)有限公司 Media content sending method and device, and storage medium
CN111736689A (en) * 2020-05-25 2020-10-02 苏州端云创新科技有限公司 Virtual reality device, data processing method, and computer-readable storage medium
WO2021196337A1 (en) * 2020-04-03 2021-10-07 上海唯二网络科技有限公司 Method for processing interactive voice data in multi-person vr scene

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150012581A1 (en) * 2013-07-02 2015-01-08 Samsung Electronics Co., Ltd. Method for function control and electronic device thereof
CN105975057A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Multi-interface interaction method and device
CN105975061A (en) * 2016-04-26 2016-09-28 乐视控股(北京)有限公司 Control method and apparatus for virtual reality scene as well as handle
CN106686255A (en) * 2017-03-01 2017-05-17 广东小天才科技有限公司 Mobile terminal and method for sending voice message
CN106774830A (en) * 2016-11-16 2017-05-31 网易(杭州)网络有限公司 Virtual reality system, voice interactive method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150012581A1 (en) * 2013-07-02 2015-01-08 Samsung Electronics Co., Ltd. Method for function control and electronic device thereof
CN105975057A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Multi-interface interaction method and device
CN105975061A (en) * 2016-04-26 2016-09-28 乐视控股(北京)有限公司 Control method and apparatus for virtual reality scene as well as handle
CN106774830A (en) * 2016-11-16 2017-05-31 网易(杭州)网络有限公司 Virtual reality system, voice interactive method and device
CN106686255A (en) * 2017-03-01 2017-05-17 广东小天才科技有限公司 Mobile terminal and method for sending voice message

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019144330A1 (en) * 2018-01-25 2019-08-01 腾讯科技(深圳)有限公司 Media content sending method and device, and storage medium
CN110431513A (en) * 2018-01-25 2019-11-08 腾讯科技(深圳)有限公司 Media content sending method, device and storage medium
CN108724203A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 A kind of exchange method and device
CN108671539A (en) * 2018-05-04 2018-10-19 网易(杭州)网络有限公司 Target object exchange method and device, electronic equipment, storage medium
CN108744529A (en) * 2018-05-24 2018-11-06 网易(杭州)网络有限公司 Point-to-point Communication Method in game and equipment
CN108833367A (en) * 2018-05-25 2018-11-16 链家网(北京)科技有限公司 Transmission of speech information method and device in virtual reality scenario
CN109460148A (en) * 2018-10-24 2019-03-12 北京实境智慧科技有限公司 A kind of VR voice interactive system and its exchange method
WO2021196337A1 (en) * 2020-04-03 2021-10-07 上海唯二网络科技有限公司 Method for processing interactive voice data in multi-person vr scene
CN111736689A (en) * 2020-05-25 2020-10-02 苏州端云创新科技有限公司 Virtual reality device, data processing method, and computer-readable storage medium
CN111736689B (en) * 2020-05-25 2024-05-28 苏州端云创新科技有限公司 Virtual reality device, data processing method, and computer-readable storage medium

Also Published As

Publication number Publication date
CN107562201B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN107562201A (en) Orient exchange method, device, electronic equipment and storage medium
CN107469354B (en) Visible sensation method and device, storage medium, the electronic equipment of compensating sound information
US10242236B2 (en) Contemporaneous gesture and keyboard entry authentication
WO2017054452A1 (en) Information processing method and terminal, and computer storage medium
CN108920225A (en) Remote assistant control method and device, terminal, storage medium
CN107132988A (en) Virtual objects condition control method, device, electronic equipment and storage medium
CN107992252A (en) Information cuing method, device, electronic equipment and storage medium
CN107823884A (en) Destination object determines method, apparatus, electronic equipment and storage medium
EP3528173A1 (en) Implementation of biometric authentication with detection and display of an error indication
CN105431813A (en) Attributing user action based on biometric identity
CN106462713B (en) The interface display method and terminal of terminal
CN104067204A (en) Stylus computing environment
CN107818258A (en) Indirect certification
KR20150128862A (en) Systems and methods for providing security via interactive media
US10868810B2 (en) Virtual reality (VR) scene-based authentication method, VR device, and storage medium
CN106650490B (en) The login method and device of cloud account
CN105721510A (en) Account login method and terminal device
Chen et al. A case study of security and privacy threats from augmented reality (ar)
CN108355352A (en) Dummy object control method and device, electronic equipment, storage medium
CN108170295A (en) Virtual camera condition control method, device, electronic equipment and storage medium
CN108229139A (en) A kind of cipher-code input method and mobile terminal
WO2016131181A1 (en) Fingerprint event processing method, apparatus, and terminal
US20220108000A1 (en) Permitting device use based on location recognized from camera input
TW202138971A (en) Interaction method and apparatus, interaction system, electronic device, and storage medium
CN111079119A (en) Verification method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant