[go: up one dir, main page]

CN109753161A - interaction control method and device, storage medium and electronic equipment - Google Patents

interaction control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109753161A
CN109753161A CN201910004256.2A CN201910004256A CN109753161A CN 109753161 A CN109753161 A CN 109753161A CN 201910004256 A CN201910004256 A CN 201910004256A CN 109753161 A CN109753161 A CN 109753161A
Authority
CN
China
Prior art keywords
terminal device
angle
axis
equipment
state
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
CN201910004256.2A
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.)
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 CN201910004256.2A priority Critical patent/CN109753161A/en
Publication of CN109753161A publication Critical patent/CN109753161A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

This disclosure relates to human-computer interaction technique field, a kind of interaction control method, device, storage medium and electronic equipment are specifically disclosed.The interaction control method is applied to that the terminal device of interactive interface can be presented, the terminal device includes angle sensing module, this method comprises: obtaining the equipment axis of the terminal device by the angle sensing module, and spatial axes corresponding with the terminal device are determined according to the equipment axis of the terminal device;According to the positional relationship between the equipment axis and the spatial axes, the terminal device state in which is determined;The angle value that the terminal device is rotated using target device axis as rotary shaft under dbjective state is obtained, and is controlled according to state of the angle value to the virtual objects in the interactive interface.The disclosure controls the state of the virtual objects in interactive interface with can be convenient, and improves the quasi- true property and controlling depth of interactive controlling, and then the user experience is improved.

Description

Interaction control method and device, storage medium and electronic equipment
Technical field
This disclosure relates to which human-computer interaction technique field, fills more particularly, to a kind of interaction control method, interactive controlling It sets, storage medium and electronic equipment.
Background technique
With the development of human-computer interaction technology, the interaction control method on all kinds of terminal platforms is more and more diversified, wherein The control of the interface alternation of operating system or application program is daily most frequently used one of the interactive mode of people, and interactive controlling Whether have and intend true property, if feeling of immersion can be brought for user, had a great impact for the usage experience of user.
In a kind of scheme of the prior art, when the state to the virtual objects in interactive interface controls, need to use Family is by clicking interactive button and the state of virtual objects being waited to be triggered, to obtain the objective result after virtual objects triggering. Such as the precious case in game opens the unlatching for needing user to wait precious case after clicking precious case icon, during precious case is opened, User can not establish with the triggering of interactive object and really interact, and user is made to be difficult to bring sense into the process generation of interactive controlling, Keep user experience bad.
Therefore, it is necessary to provide a kind of interaction control method for more intending true property.
It should be noted that the information in the invention of above-mentioned background technology part is only used for reinforcing the reason to the background of the disclosure Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of interaction control method, device, storage medium and electronic equipment, and then at least Overcome to a certain extent and interacts and bring in the user in interactive controlling and can not being established between virtual objects due to having ignored Interactive process feeling of immersion is low, the problems such as user experience is bad.To realize that the above technical effect, the disclosure use following technology Scheme.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to one aspect of the disclosure, a kind of interaction control method is provided, applied to the terminal that interactive interface can be presented Equipment, the terminal device include angle sensing module, which comprises obtain the end by the angle sensing module The equipment axis of end equipment, and spatial axes corresponding with the terminal device are determined according to the equipment axis of the terminal device;According to Positional relationship between the equipment axis and the spatial axes determines the terminal device state in which;Obtain the terminal The angle value that equipment is rotated using target device axis as rotary shaft under dbjective state, and according to the angle value to the friendship The state of virtual objects in mutual interface is controlled.
In a kind of exemplary embodiment of the disclosure, the equipment axis of the terminal device includes spatially orthogonal First equipment axis, the second equipment axis and third equipment axis;Wherein, interaction of the first equipment axis perpendicular to the terminal device Interface, the second equipment axis are vertical with the first equipment axis and the third equipment axis in the interactive interface, and with The parallel equipment axis of the bottom side of the terminal device, the third equipment axis are in the interactive interface with described first Equipment axis and the vertical equipment axis of the second equipment axis.
It is described according to the determination of the equipment axis of the terminal device and the end in a kind of exemplary embodiment of the disclosure The corresponding spatial axes of end equipment, comprising: according to the projection of the first equipment axis in the horizontal direction, determine the first spatial axes; It will be perpendicular to horizontal plane and the axis vertical with first spatial axes be as second space axis;According to first spatial axes and The second space axis determines third spatial axes.
It is described true according to first spatial axes and the second space axis in a kind of exemplary embodiment of the disclosure Determine third spatial axes, comprising: obtain the direction vector of first spatial axes and the direction vector of the second space axis to Amount product, and using the corresponding axis of the vector product as the third spatial axes.
In a kind of exemplary embodiment of the disclosure, the equipment axis according to the terminal device and the spatial axes Between positional relationship, determine the terminal device state in which, comprising: obtain the second equipment axis and the third is empty Between the first angle between axis;Obtain the second angle between the third equipment axis and the second space axis;According to described First angle and second angle determine whether the terminal device is in the dbjective state.
It is described that institute is determined according to first angle and second angle in a kind of exemplary embodiment of the disclosure State whether terminal device is in the dbjective state, comprising: be compared first angle with first angle threshold value, and will Second angle is compared with second angle threshold value, determines whether the terminal device is in the mesh according to comparison result Mark state;If first angle is greater than the first angle threshold value, and second angle is less than or equal to described second jiao Spend threshold value, it is determined that the terminal device is in the dbjective state;If first angle is less than or equal to described first jiao It spends threshold value and/or second angle is greater than the second angle threshold value, then the terminal device is fed back with the first feedback system Current state.
It is described that institute is determined according to first angle and second angle in a kind of exemplary embodiment of the disclosure State whether terminal device is in the dbjective state, comprising: be compared first angle with first angle threshold value, and will Second angle is compared with predetermined angle range, determines whether the terminal device is in the mesh according to comparison result Mark state;If first angle is greater than the first angle threshold value, and second angle is located at the predetermined angle range It is interior, it is determined that the terminal device is in the dbjective state;If first angle is less than or equal to the first angle threshold Value and/or second angle then feed back working as the terminal device outside the predetermined angle range with the first feedback system Preceding state.
In a kind of exemplary embodiment of the disclosure, the target device axis is the second equipment axis;The acquisition The angle value that the terminal device is rotated using target device axis as rotary shaft under dbjective state, and according to the angle value The state of virtual objects in the interactive interface is controlled, comprising: obtain the terminal device in the dbjective state Under the angle value that is rotated using the second equipment axis as rotary shaft;The angle value and third angle threshold value are compared Compared with, and controlled according to state of the comparison result to the virtual objects;If the angle value is greater than or equal to the third Angle threshold then controls the virtual objects and executes corresponding event.
In a kind of exemplary embodiment of the disclosure, interaction circle according to the angle value to the terminal device The state of virtual objects in face is controlled, further includes: if the angle value is less than the third angle threshold value, with second Feedback system feeds back the current state of the terminal device.
In a kind of exemplary embodiment of the disclosure, set described by the angle sensing module acquisition terminal Standby equipment axis, and before determining corresponding with terminal device spatial axes according to the equipment axis of the terminal device, it is described Method further include: in response to predetermined registration operation, the virtual objects are shown in interaction circle of the terminal device with preset state In face.
According to one aspect of the disclosure, a kind of interaction control device is provided, described device includes: acquisition module, is used for Obtain the equipment axis of the terminal device by the angle sensing module, and according to the equipment axis of the terminal device determine with The corresponding spatial axes of the terminal device;Determining module, for being closed according to the position between the equipment axis and the spatial axes System, determines the terminal device state in which;Control module, for obtaining the terminal device under dbjective state with target Equipment axis is the angle value that rotary shaft is rotated, and according to the angle value to the shape of the virtual objects in the interactive interface State is controlled.
According to one aspect of the disclosure, a kind of storage medium is provided, computer program, the computer are stored thereon with Interaction control method described in above-mentioned any one is realized when program is executed by processor.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising: processor;And memory, for storing The executable instruction of the processor;Wherein, the processor is configured to above-mentioned to execute via the executable instruction is executed Interaction control method described in any one.
Interaction control method in the exemplary embodiment of the disclosure, user can by equipment axis to terminal device and The adjustment of the rotation angle of the positional relationship and terminal device of spatial axes, establish with interacting between virtual objects, with realize Control to the state of the virtual objects in interactive interface.On the one hand, based on the spatial axes of terminal device, terminal device is adjusted Position, the positional relationship between location status and equipment axis and spatial axes to obtain the equipment axis of terminal device, and then touch The control to the virtual objects state in interactive interface is sent out, single interactive controlling mode is avoided, improves interactive controlling Operability and intend true property;On the other hand, the shape to virtual objects in interactive interface is realized by adjusting the state of terminal device The control of state is a kind of new interactive controlling mode, can bring more interactive experiences for user.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of disclosure illustrative embodiments , feature and advantage will become prone to understand.In the accompanying drawings, if showing the disclosure by way of example rather than limitation Dry embodiment, in which:
Fig. 1 schematically shows the flow chart of the interaction control method according to disclosure illustrative embodiments;
Fig. 2A -2B schematically shows the terminal device according to disclosure illustrative embodiments under different conditions Equipment axis schematic diagram;
Fig. 3 schematically show according to disclosure illustrative embodiments according to the equipment axis of terminal device determine with The flow chart of the corresponding spatial axes of the terminal device;
Fig. 4 A-4C is schematically shown according to the true according to the equipment axis of terminal device of disclosure illustrative embodiments The schematic diagram of fixed spatial axes corresponding with terminal device;
Fig. 5 A-5B schematically show according to disclosure illustrative embodiments in response to predetermined registration operation by precious case with Preset state is shown in one of interaction circle of terminal device exemplary diagram;
Fig. 6 is schematically shown according to disclosure illustrative embodiments according to the position between equipment axis and spatial axes The relationship of setting determines the flow chart of terminal device state in which;
Fig. 7 A-7B is schematically shown according to the equipment axis of the terminal device of disclosure illustrative embodiments and space The schematic diagram of positional relationship between axis;
Fig. 8 A-8B is schematically shown is with target device axis according to the terminal device of disclosure illustrative embodiments The schematic diagram that rotary shaft is rotated;
Fig. 9 schematically shows the structural schematic diagram of the interaction control device according to disclosure illustrative embodiments;
Figure 10 schematically shows the schematic diagram of the storage medium according to disclosure illustrative embodiments;And
Figure 11 schematically shows the block diagram of the electronic equipment according to disclosure illustrative embodiments.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
Illustrative embodiments are described more fully with reference to the drawings.However, illustrative embodiments can be with more Kind form is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Add fully and completely, and the design of illustrative embodiments is comprehensively communicated to those skilled in the art.It is identical in figure Appended drawing reference indicates same or similar structure, thus the detailed description that will omit them.
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, many details are provided to provide and fully understand to embodiment of the disclosure.However, It will be appreciated by persons skilled in the art that can be with technical solution of the disclosure without one in the specific detail or more It is more, or can be using other methods, constituent element, device, step etc..In other cases, known in being not shown in detail or describing Structure, method, apparatus, realization or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings 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 of functional entity or functional entity, or realized in heterogeneous networks and/or processor device and/or microcontroller device These functional entitys.
This field in the related technology, control to the state of the virtual objects in the interactive interface of terminal device is led to Often and the state of virtual objects to be waited to be triggered by way of more single click virtual objects, with obtain with it is virtual The corresponding objective result of object.Such as the precious case in game is opened, and two ways is mainly passed through: player clicks interactive button, out An interface is now read, precious case can be opened after the item that continues;Alternatively, player clicks interactive button, there is precious case and opens in interactive interface The animation opened, to animation after can open precious case.
Correspondingly, interaction control method in the related technology has following defects that user only by single clicking operation Can be obtained the corresponding objective result of virtual objects the opening of case (in such as game precious), to a certain extent, user with it is virtually right Without establishing interaction as between, user can not participate in the trigger process of virtual objects state, reduce the quasi- true of interactive controlling Property, also reduce feeling of immersion and sense of participation of the user in interactive process.
Based on this, in this exemplary embodiment, a kind of interaction control method is provided firstly.Fig. 1 shows the disclosure and shows The flow chart of the interaction control method of example property embodiment, refering to what is shown in Fig. 1, the interaction control method includes at least following step It is rapid:
Step S110: the equipment axis of the terminal device is obtained by the angle sensing module, and according to the terminal The equipment axis of equipment determines spatial axes corresponding with the terminal device;
Step S120: according to the positional relationship between the equipment axis and the spatial axes, the terminal device institute is determined The state at place;
Step S130: obtaining the angle value that the terminal device is rotated using target device axis as rotary shaft, and according to The angle value controls the state of the virtual objects in the interactive interface.
According to the interaction control method in this example embodiment, on the one hand, the spatial axes based on terminal device adjust terminal The position of equipment, the positional relationship between location status and equipment axis and spatial axes to obtain the equipment axis of terminal device, And then control of the triggering to the virtual objects state in interactive interface, single interactive controlling mode is avoided, interaction is improved The operability of control and intend true property;Meanwhile it realizing by adjusting the state of terminal device to virtual objects in interactive interface The control of state is a kind of new interactive controlling mode, can bring more interactive experiences for user.
The scene that control is interacted in terminal device has very much: to each in mobile terminal (mobile phone, tablet computer etc.) To control of state of virtual objects, etc. in the control of the open and-shut mode of class application program, all kinds of terminal games, for the ease of Understand, the disclosure by by taking the opening process of hand You Zhongbao case as an example, to the interaction control method in this example embodiment carry out into The explanation of one step.
In step s 110, the equipment axis of the terminal device is obtained by the angle sensing module, and according to described The equipment axis of terminal device determines spatial axes corresponding with the terminal device.
In the illustrative embodiments of the disclosure, the equipment axis of terminal device is obtained by angle sensing module, wherein The equipment axis of terminal device includes spatially orthogonal first equipment axis, the second equipment axis and third equipment axis;Specifically , the first equipment axis perpendicular to terminal device interactive interface, the second equipment axis be in interactive interface with the first equipment axis and the Three equipment axis are vertical, and the equipment axis parallel with the bottom side of terminal device, and third equipment axis is in interactive interface with the One equipment axis and the vertical equipment axis of the second equipment axis.Fig. 2A -2B shows equipment axis of the terminal device under different conditions and shows It is intended to, as shown in Figure 2 A, the Z in figure1Axis is the first equipment axis of terminal device 201, Y1Axis sets for the second of terminal device 201 Standby axis, X1Axis is the third equipment axis of terminal device 201, which is spatially mutually perpendicular to.Player in different ways When holding the progress game of terminal device 201, the equipment axis of above-mentioned terminal device 201 will keep the position with the terminal device 201 Relationship is set, as shown in Figure 2 B, if player carries out game in a manner of lying on one's side, each equipment for the terminal device 201 that player holds Each equipment axis of terminal device 201 shown in the positional relationship and Fig. 2A of axis and the terminal device 201 and the terminal device 201 Positional relationship is consistent.The angle sensing module is used to detect the position of the equipment axis of current terminal device, in order to basis The equipment axis of terminal device determines spatial axes corresponding with the terminal device;Meanwhile angle sensing module also passes through detection terminal Angle of the equipment axis of equipment relative to spatial axes, to obtain the positional relationship between the equipment axis of terminal device and spatial axes. Major part mobile phone and tablet computer etc. is equipped with angle sensing module, such as electrolevel, gyroscope etc. at present.
Further, spatial axes corresponding with terminal device are determined according to the equipment axis of the terminal device of acquisition, it is hollow Between axis refer to for axis that measure terminal device three-dimensional space position and orthogonal.Fig. 3 is shown according to terminal device Equipment axis determine the flow chart of corresponding with terminal device spatial axes, as shown in figure 3, determining corresponding with terminal device The processes of spatial axes specifically includes the following steps:
Step S310: according to the projection of the first equipment axis in the horizontal direction, the first spatial axes are determined;
In the illustrative embodiments of the disclosure, when determining the first spatial axes according to the first equipment axis, there are two kinds Situation, Fig. 4 A-4C show the schematic diagram for determining spatial axes corresponding with terminal device according to the equipment axis of terminal device, such as scheme Shown in 4A, if current terminal device 401 is heeling condition, such as terminal device 401 is tilted and is held by player, then obtains the One equipment axis Z1Z in the horizontal directionLOn projection, and will be in horizontal direction ZLOn projection be determined as the first spatial axes Z2;Or Person, if current terminal device 401 is horizontal positioned state, as shown in Figure 4 B it is found that the first equipment axis Z1In the horizontal direction On be projected as a point Q, then in the case, by the third equipment axis X of terminal device 4011It is determined as the first spatial axes Z2。 It should be noted that although the implementation of above-mentioned two kinds of situations for determining the first spatial axes according to the first equipment axis is in the presence of poor It is different, but can determine the first spatial axes always is as the axis where the direction vector of terminal device direction player.
Step S320: will be perpendicular to horizontal plane and the axis vertical with first spatial axes is as second space axis;
In the illustrative embodiments of the disclosure, with continued reference to Fig. 4 A-4B, corresponding with terminal device 401 second is empty Between axis Y2It is unrelated with the current state of terminal device 401, that is to say, that terminal device 401 be heeling condition (Fig. 4 A) or water When placing flat (Fig. 4 B), second space axis Y corresponding with terminal device 4012Be perpendicular to horizontal plane and with the first spatial axes Z2 Vertical axis.
Step S330: third spatial axes are determined according to first spatial axes and the second space axis;
In the illustrative embodiments of the disclosure, direction vector and the second space axis of available first spatial axes The vector product of direction vector, and using the corresponding axis of the vector product as third spatial axes.Specifically, as shown in Figure 4 C, the One spatial axes Z2Corresponding direction vector is a, second space axis Y2Corresponding direction vector is b, it is determined that vector product s (s=a × B) corresponding axis is third spatial axes X corresponding with terminal device2
In addition, in the equipment axis for obtaining terminal device by the angle sensing module, and according to the equipment of terminal device Before axis determines spatial axes corresponding with terminal device, virtual objects can be shown with preset state in response to predetermined registration operation In the interactive interface of terminal device, which is that the triggering of the equipment axis of terminal device is obtained as angle sensing module Operation, Fig. 5 A-5B show one in interaction circle that precious case is shown in terminal device in response to predetermined registration operation with preset state Kind of exemplary diagram, as shown in Figure 5A, player can by clicking the precious case in interactive interface, the status display that precious case is amplified in In interactive interface, that is, obtain the unlatching interface of precious case;Then, as shown in Figure 5 B, prompt player that can lead in interactive interface Cross control of the state realization of adjustment terminal device to the state of the precious case in interactive interface.After in response to the predetermined registration operation, It will realize the above-mentioned equipment axis for obtaining terminal device by angle sensing module, and determined according to the equipment axis of terminal device The processes such as spatial axes corresponding with terminal device, in order to control the open state of precious case.In addition, predetermined registration operation can also be object for appreciation The virtual role that family is controlled walks close to precious case, and after the distance between precious case reaches pre-determined distance, precious case is aobvious with the state amplified It is shown in interactive interface, and then the angle sensing module of triggering following obtains the processes such as the equipment axis of terminal device, the disclosure pair This does not do particular determination.
In the step s 120, according to the positional relationship between the equipment axis and the spatial axes, determine that the terminal is set Standby state in which.
It, can be with after the equipment axis and spatial axes for obtaining terminal device in the illustrative embodiments of the disclosure According to the positional relationship between equipment axis and spatial axes, terminal device state in which is determined.Fig. 6 show according to equipment axis and Positional relationship between spatial axes determines the flow chart of terminal device state in which, as shown in fig. 6, obtaining in step S610 Take the second equipment axis Y1With the third spatial axes X2Between the first angle;In step S620, obtains the third and set Standby axis X1With the second space axis Y2Between the second angle;In step S630, according to first angle and described second Angle determines whether the terminal device is in dbjective state.
Specifically, Fig. 7 A-7B shows the schematic diagram of the positional relationship between the equipment axis of terminal device and spatial axes, such as Shown in Fig. 7 A, the second equipment axis Y of terminal device 7011With third spatial axes X2Between the first angle be A;Third equipment axis X1 With second space axis Y2Between the second angle be B;Terminal device 701 can be determined according to the first included angle A and the second included angle B Current state, and the current state of the terminal device 701 is compared with dbjective state, whether to determine terminal device 701 In dbjective state.Wherein, dbjective state refers to that the first angle is greater than first angle threshold value, and the second angle is located at predetermined angle In range.Certainly, if the first angle is less than or equal to first angle threshold value and/or the second angle is located at outside predetermined angle range, Then with the current state of the first feedback system feedback terminal equipment, that is to say, that when terminal device does not reach dbjective state, Player will be fed back to the first feedback system, player can be based on the feedback, pass through the control of the equipment axis to terminal device Adjustment, wherein the first feedback system can be in interactive interface display reminding information, is also possible to reaching dbjective state Player is reminded by the vibration of terminal device or prompt tone, the disclosure is not specifically limited in this embodiment.Certainly, it should be noted that Since interactive controlling degree of the player groups different in actual operation to terminal device generates difference, first angle threshold Depending on the setting of value, predetermined angle range need to combine concrete condition, the disclosure is also not specifically limited this.
In addition, dbjective state can also refer to that the first angle is greater than first angle threshold value, and the second angle is less than or equal to the Two angle thresholds;For example, if first angle threshold value is 30 degree, when second angle threshold value is zero degree, the second of terminal device Equipment axis Y1With third spatial axes X2Between the first angle need to be greater than 30 degree, and the third equipment axis X of terminal device1With second Spatial axes Y2It needs in parallel, then terminal device is in dbjective state, and at this time, the dbjective state of terminal device is to erect State is in a kind of example of the dbjective state as shown in Figure 7 B for terminal device 701.It should be noted that both the above mesh Mark state be by terminal unit status adjustment with open treasured the movement of case it is associated, can be according to player group and game The difference of itself selects corresponding dbjective state.
In step s 130, the terminal device is obtained to be rotated under dbjective state using target device axis as rotary shaft Angle value, and controlled according to state of the angle value to the virtual objects in the interactive interface.
In the illustrative embodiments of the disclosure, after being determined that terminal device is in dbjective state, obtain first eventually The angle value that end equipment is rotated using target device axis as rotary shaft.Specifically, target rotating axle refers at terminal device Under dbjective state, reference axis when terminal device is rotated, in the illustrative embodiments of the disclosure, the target device Axis is the second equipment axis of terminal device.Fig. 8 A-8B shows what terminal device was rotated using target device axis as rotary shaft Schematic diagram, as shown in Figure 8 A, terminal device 801 is with the second equipment axis Y1Angle value C is rotated clockwise for rotary shaft;Fig. 8 B is shown Terminal device 801 is with the second equipment axis Y1State after rotating clockwise angle value C for rotary shaft.Further, it can incite somebody to action The angle value is compared with third angle threshold value, and is controlled according to state of the comparison result to virtual objects: if the angle Angle value is greater than or equal to third angle threshold value, then controls virtual objects and execute corresponding event, i.e., open precious case;If the angle Value is less than third angle threshold value, then with the current state of the second feedback system feedback terminal equipment, feedback system is the same as above-mentioned the One feedback system is identical, and the disclosure repeats no more this.Wherein, fourth angle threshold value is arranged according to practical situations, It can be 30 degree, 45 degree etc., the disclosure is not specifically limited in this embodiment.
It should be noted that the terminal device 801 in Fig. 8 A-8B is rotated only eventually by rotary shaft of target device axis The simple examples that end equipment is rotated with target rotating axle can also be with target device axis in actual interactive controlling Rotation etc. counterclockwise is carried out for rotary shaft, particular determination is not done to this disclosure.
In conclusion the positional relationship between the equipment axis and spatial axes that pass through terminal device, it is first determined the terminal is set It is standby to be in dbjective state, and it is based on the dbjective state, obtain the angle that terminal device is rotated using target device axis as rotary shaft Angle value participates in so that player passes through the adjustment of the position of terminal device in gaming to the virtual objects in interactive interface In the control of state;Player namely in the illustrative embodiments of the disclosure is simulated by the adjustment to terminal device The mode unlocked in actual life makes player participate in the unlatching of precious case, experiences real unlocking process, improves game friendship The quasi- true property mutually controlled, increases the interest of game, improves the game experiencing of player.
In addition, additionally provide a kind of interaction control device in the illustrative embodiments of the disclosure, applied to can present The terminal device of interactive interface.Refering to what is shown in Fig. 9, the interaction control device 900 may include obtaining module 910, determining module 920 and control module 930.Specifically,
Module 910 is obtained, for obtaining the equipment axis of the terminal device by the angle sensing module, and according to institute The equipment axis for stating terminal device determines the corresponding spatial axes of the terminal device;
Determining module 920, for determining the terminal according to the positional relationship between the equipment axis and the spatial axes Equipment state in which;
Control module 930 carries out under dbjective state by rotary shaft of target device axis for obtaining the terminal device The angle value of rotation, and controlled according to state of the angle value to the virtual objects in the interactive interface.
The detail of each module/unit has been described in detail in the embodiment of method part in above-mentioned apparatus, therefore It repeats no more.
In addition, in disclosure illustrative embodiments, additionally provides a kind of computer that can be realized the above method and deposit Storage media.It is stored thereon with the program product that can be realized this specification above method.In some possible embodiments, this public affairs The various aspects opened are also implemented as a kind of form of program product comprising program code, when described program product is at end When running in end equipment, said program code is for making the terminal device execute above-mentioned " illustrative methods " part of this specification Described in exemplary embodiments various according to the disclosure the step of.
Refering to what is shown in Fig. 10, describing the program for realizing the above method according to an exemplary embodiment of the present disclosure Product 1000, can be using portable compact disc read only memory (CD-ROM) and including program code, and can be in terminal It is run in equipment, such as PC.However, the program product of the disclosure is without being limited thereto, and in this document, readable storage medium storing program for executing It can be any tangible medium for including or store program, which can be commanded execution system, device or device and use Or it is in connection.
Described program product can be using any combination of one or more readable mediums.Readable 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 above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), 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 may include in a base band or as carrier wave a part propagate data-signal, 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 other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, in an exemplary embodiment of the disclosure, additionally providing a kind of electronic equipment that can be realized the above method. Person of ordinary skill in the field is it is understood that various aspects of the disclosure can be implemented as system, method or program product. Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete software are real The embodiment combined in terms of applying example (including firmware, microcode etc.) or hardware and software, may be collectively referred to as " circuit ", " mould here Block " or " system ".
The electronic equipment 1100 of this embodiment according to the disclosure is described referring to Figure 11.The electronics that Figure 11 is shown Equipment 1100 is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
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: at least one above-mentioned processing unit 1110, connects not homologous ray at least one above-mentioned storage unit 1120 The bus 1130 of component (including storage unit 1120 and processing unit 1110), display unit 1140.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 1110 Row, so that various according to the disclosure described in the execution of the processing unit 1110 above-mentioned " illustrative methods " part of this specification The step of exemplary embodiment.
Storage unit 1120 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 1121 and/or cache memory unit 1122, it can further include read-only memory unit (ROM) 1123.
Storage unit 1120 can also include program/utility with one group of (at least one) program module 1125 1124, such program module 1125 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 1130 can be to indicate one of a few class bus structures or a variety of, including storage unit 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 1200 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 1100 communicate, and/or with make The electronic equipment 1100 can with it is one or more of the other calculating equipment be communicated any equipment (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 local area network (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As shown, network adapter 1160 passes through its of bus 1130 and electronic equipment 1100 The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with electronic equipment 1100 Module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic Tape drive and data backup storage system etc..
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can To be personal computer, server, terminal installation or network equipment etc.) it executes according to the method for the embodiment of the present disclosure.
In addition, above-mentioned attached drawing is only the schematic theory of the processing according to included by the method for disclosure exemplary embodiment It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.

Claims (13)

1. a kind of interaction control method, applied to the terminal device that interactive interface can be presented, the terminal device includes angle sense Answer module, which is characterized in that the described method includes:
The equipment axis of the terminal device is obtained by the angle sensing module, and true according to the equipment axis of the terminal device Fixed spatial axes corresponding with the terminal device;
According to the positional relationship between the equipment axis and the spatial axes, the terminal device state in which is determined;
The angle value that the terminal device is rotated using target device axis as rotary shaft under dbjective state is obtained, and according to institute Angle value is stated to control the state of the virtual objects in the interactive interface.
2. interaction control method according to claim 1, which is characterized in that the equipment axis of the terminal device includes space Upper orthogonal first equipment axis, the second equipment axis and third equipment axis;
Wherein, for the first equipment axis perpendicular to the interactive interface of the terminal device, the second equipment axis is the interaction It is vertical with the first equipment axis and the third equipment axis in interface, and parallel with the bottom side of the terminal device set Standby axis, the third equipment axis be in the interactive interface with the first equipment axis and the second equipment axis is vertical sets Standby axis.
3. interaction control method according to claim 2, which is characterized in that the equipment axis according to the terminal device Determine spatial axes corresponding with the terminal device, comprising:
According to the projection of the first equipment axis in the horizontal direction, the first spatial axes are determined;
It will be perpendicular to horizontal plane and the axis vertical with first spatial axes be as second space axis;
Third spatial axes are determined according to first spatial axes and the second space axis.
4. interaction control method according to claim 3, which is characterized in that described according to first spatial axes and described Second space axis determines third spatial axes, comprising:
Obtain the vector product of the direction vector of first spatial axes and the direction vector of the second space axis, and by it is described to The corresponding axis of amount product is as the third spatial axes.
5. interaction control method according to claim 3, which is characterized in that the equipment axis according to the terminal device Positional relationship between the spatial axes determines the terminal device state in which, comprising:
Obtain the first angle between the second equipment axis and the third spatial axes;
Obtain the second angle between the third equipment axis and the second space axis;
Determine whether the terminal device is in the dbjective state according to first angle and second angle.
6. interaction control method according to claim 5, which is characterized in that described according to first angle and described Two angles determine whether the terminal device is in the dbjective state, comprising:
First angle is compared with first angle threshold value, and second angle is compared with second angle threshold value Compared with determining whether the terminal device is in the dbjective state according to comparison result;
If first angle is greater than the first angle threshold value, and second angle is less than or equal to the second angle threshold Value, it is determined that the terminal device is in the dbjective state;
If first angle is less than or equal to the first angle threshold value and/or second angle is greater than the second angle Threshold value feeds back the current state of the terminal device then with the first feedback system.
7. interaction control method according to claim 5, which is characterized in that described according to first angle and described Two angles determine whether the terminal device is in the dbjective state, comprising:
First angle is compared with first angle threshold value, and second angle is compared with predetermined angle range Compared with determining whether the terminal device is in the dbjective state according to comparison result;
If first angle is greater than the first angle threshold value, and second angle is located within the scope of the predetermined angle, Then determine that the terminal device is in the dbjective state;
If first angle is less than or equal to the first angle threshold value and/or second angle in the predetermined angle model Outside enclosing, then the current state of the terminal device is fed back with the first feedback system.
8. interaction control method according to claim 2, which is characterized in that the target device axis is second equipment Axis;The angle value for obtaining the terminal device and being rotated using target device axis as rotary shaft under dbjective state, and root It is controlled according to state of the angle value to the virtual objects in the interactive interface, comprising:
Obtain the angle value that the terminal device is rotated using the second equipment axis as rotary shaft under the dbjective state;
The angle value is compared with third angle threshold value, and is carried out according to state of the comparison result to the virtual objects Control;
If the angle value is greater than or equal to the third angle threshold value, controls the virtual objects and execute corresponding event.
9. interaction control method according to claim 8, which is characterized in that it is described according to the angle value to the terminal The state of virtual objects in the interactive interface of equipment is controlled, further includes:
If the angle value is less than the third angle threshold value, the current shape of the terminal device is fed back with the second feedback system State.
10. interaction control method according to claim 1, which is characterized in that pass through the angle sensing module described The equipment axis of the terminal device is obtained, and sky corresponding with the terminal device is determined according to the equipment axis of the terminal device Between before axis, the method also includes:
In response to predetermined registration operation, the virtual objects are shown in the interactive interface of the terminal device with preset state.
11. a kind of interaction control device, applied to the terminal device that interactive interface is presented, which is characterized in that described device includes:
Module is obtained, for obtaining the equipment axis of the terminal device by the angle sensing module, and according to the terminal The equipment axis of equipment determines spatial axes corresponding with the terminal device;
Determining module, for determining the terminal device institute according to the positional relationship between the equipment axis and the spatial axes The state at place;
Control module, the angle rotated using target device axis as rotary shaft under dbjective state for obtaining the terminal device Angle value, and controlled according to state of the angle value to the virtual objects in the interactive interface.
12. a kind of storage medium, is stored thereon with computer program, the computer program realizes basis when being executed by processor The described in any item interaction control methods of claims 1 to 10.
13. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to come described in perform claim 1 to 10 any one of requirement via the execution executable instruction Interaction control method.
CN201910004256.2A 2019-01-03 2019-01-03 interaction control method and device, storage medium and electronic equipment Pending CN109753161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910004256.2A CN109753161A (en) 2019-01-03 2019-01-03 interaction control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910004256.2A CN109753161A (en) 2019-01-03 2019-01-03 interaction control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN109753161A true CN109753161A (en) 2019-05-14

Family

ID=66405353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910004256.2A Pending CN109753161A (en) 2019-01-03 2019-01-03 interaction control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109753161A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413136A (en) * 2019-07-29 2019-11-05 网易(杭州)网络有限公司 Control method, device, computer storage medium and the electronic equipment of virtual objects

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101644987A (en) * 2008-08-08 2010-02-10 深圳富泰宏精密工业有限公司 Mobile terminal and menu selection method thereof
US20120229513A1 (en) * 2011-03-08 2012-09-13 Nintendo Co., Ltd. Storage medium having stored thereon information processing program, information processing apparatus, information processing system, and information processing method
US20160162169A1 (en) * 2014-06-06 2016-06-09 Huawei Technologies Co., Ltd. Method for Adjusting Window Display Position, and Terminal
CN106293392A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of terminal desktop wallpaper replacing options and device
CN107885352A (en) * 2017-11-28 2018-04-06 珠海市魅族科技有限公司 A kind of terminal screen bright screen control method, device and medium
CN108600528A (en) * 2018-04-09 2018-09-28 网易(杭州)网络有限公司 Interaction control method and device, electronic equipment, storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101644987A (en) * 2008-08-08 2010-02-10 深圳富泰宏精密工业有限公司 Mobile terminal and menu selection method thereof
US20120229513A1 (en) * 2011-03-08 2012-09-13 Nintendo Co., Ltd. Storage medium having stored thereon information processing program, information processing apparatus, information processing system, and information processing method
US20160162169A1 (en) * 2014-06-06 2016-06-09 Huawei Technologies Co., Ltd. Method for Adjusting Window Display Position, and Terminal
CN106293392A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of terminal desktop wallpaper replacing options and device
CN107885352A (en) * 2017-11-28 2018-04-06 珠海市魅族科技有限公司 A kind of terminal screen bright screen control method, device and medium
CN108600528A (en) * 2018-04-09 2018-09-28 网易(杭州)网络有限公司 Interaction control method and device, electronic equipment, storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413136A (en) * 2019-07-29 2019-11-05 网易(杭州)网络有限公司 Control method, device, computer storage medium and the electronic equipment of virtual objects

Similar Documents

Publication Publication Date Title
EP3223116B1 (en) Multiplatform based experience generation
CN102681958B (en) Use physical gesture transmission data
US10960298B2 (en) Boolean/float controller and gesture recognition system
CN107168611B (en) Information processing method, device, electronic equipment and storage medium
WO2019218815A1 (en) Method and device for displaying marker elements in virtual scene, computer device, and computer-readable storage medium
CN108920225A (en) Remote assistant control method and device, terminal, storage medium
CN107469354B (en) Visible sensation method and device, storage medium, the electronic equipment of compensating sound information
CN111228811B (en) Virtual object control method, device, equipment and medium
US20220044138A1 (en) Game service execution method and apparatus based on artificial intelligence, device, and medium
US20150279106A1 (en) Collaborative augmented reality
CN107132988A (en) Virtual objects condition control method, device, electronic equipment and storage medium
CN107562201A (en) Orient exchange method, device, electronic equipment and storage medium
CN107977141A (en) Interaction control method, device, electronic equipment and storage medium
CN109960558A (en) Control method, device, computer storage medium and the electronic equipment of virtual objects
CN106999772A (en) Display is set to carry out the system, program and method of screen operation in linkage with multiple controllers via network connection
WO2018032970A1 (en) Authentication method based on virtual reality scene, virtual reality device, and storage medium
CN110496392B (en) Virtual object control method, device, terminal and storage medium
CN109621415A (en) Display control method and device in 3D game, computer storage medium
US12015759B2 (en) Information processing system, information processing method, and information processing program
CN111971639A (en) Sensing relative orientation of computing device portions
CN108170295A (en) Virtual camera condition control method, device, electronic equipment and storage medium
US11175147B1 (en) Encouraging and implementing user assistance to simultaneous localization and mapping
US20190258523A1 (en) Character-Driven Computing During Unengaged Time
CN110215686A (en) Display control method and device, storage medium and electronic equipment in scene of game
CN119256285A (en) Use hand tracking to extend the functionality of game controllers with virtual buttons

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

Application publication date: 20190514

RJ01 Rejection of invention patent application after publication