CN106527916A - Operating method and device based on virtual reality equipment, and operating equipment - Google Patents
Operating method and device based on virtual reality equipment, and operating equipment Download PDFInfo
- Publication number
- CN106527916A CN106527916A CN201610842247.7A CN201610842247A CN106527916A CN 106527916 A CN106527916 A CN 106527916A CN 201610842247 A CN201610842247 A CN 201610842247A CN 106527916 A CN106527916 A CN 106527916A
- Authority
- CN
- China
- Prior art keywords
- equipment
- determining
- received
- cursor
- character
- 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
Links
- 238000011017 operating method Methods 0.000 title claims abstract description 4
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000004891 communication Methods 0.000 claims description 8
- 238000013507 mapping Methods 0.000 claims description 7
- 238000005457 optimization Methods 0.000 abstract description 9
- 238000011022 operating instruction Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 23
- 238000010586 diagram Methods 0.000 description 6
- 238000010295 mobile communication Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0234—Character input methods using switches operable in different directions
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses an operating method based on virtual reality equipment. The method comprises the steps of when receiving a first operating instruction sent by the VR (Virtual Reality) equipment, calling a preset virtual keyboard; determining target characters from the characters displayed by the virtual keyboard; and when receiving an input instruction sent by the VR equipment, inputting contents corresponding to the target characters to a text module of a current page. Correspondingly, the embodiment of the invention further discloses a device based on the virtual reality equipment, and operating equipment. Compared with the prior art, the technical scheme provided by the embodiment can realize the text input on the basis of only providing a clicking touch operation at the VR equipment; and not only can the operating function be further perfected and the optimization space of related applications be increased, but also the use experience of a user can be improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an operation method and device based on virtual reality equipment and operation equipment.
Background
VR (Virtual Reality) devices are devices that use technical means to create a realistic, Virtual display, thereby guiding users to feel as if they are in a real environment. In the correlation technique, the user can establish communication connection with VR equipment and smart machine, and then carries out operations such as game operation, watch video through VR equipment to obtain better operation experience. For example, the mobile phone is connected to the VR headset, and the user can view multimedia files played by the mobile phone through the VR headset, browse a webpage, or perform a game operation on the mobile phone.
It should be noted that, when the user uses the VR helmet, the user usually seals the external vision and hearing, and therefore, the user cannot directly operate the experienced content through the smart device. Based on this, in the related art, VR devices are generally provided with physical operation keys. Wherein, the physics operation button of VR equipment includes: a return key and a direction key.
During the course of research and practice, the inventors found that the above-mentioned related art has at least the following problems:
the return key can only trigger the function by clicking operation, and the direction key can only trigger the switching function by gestures or clicking operation. Therefore, the operation content which can be provided by the VR equipment is limited, and the function which can be triggered by the physical operation key of the VR equipment is single, so that the operation function is not perfect, and the optimization space of related applications is reduced.
Disclosure of Invention
The embodiment of the invention provides an operation method, an operation device and operation equipment based on virtual reality equipment, and solves the problems that in the related art, the operation function of VR equipment is incomplete, and the optimization space of related applications is small.
In a first aspect, an embodiment of the present invention provides an operation method based on a virtual reality device, where after a connection is established with a virtual reality VR device, the method includes:
when a first operation instruction sent by the VR equipment is received, calling a preset virtual keyboard;
determining a target character from the characters displayed by the virtual keyboard;
and when an input instruction sent by the VR equipment is received, inputting the content corresponding to the target character to a text module of the current page.
Optionally, the method further includes:
and when a second operation instruction sent by the VR equipment is received, switching the current page to a home page of a website corresponding to the current page.
Optionally, the method further includes:
when receiving the designated key value sent by the VR equipment twice continuously within a first preset time, determining that a first operation instruction of the VR equipment is received;
when the duration of receiving the designated key value reaches a second preset duration, determining that a second operation instruction of the VR equipment is received; or,
when receiving the designated key value sent by the VR equipment twice continuously within a first preset time, determining that a second operation instruction of the VR equipment is received;
and when the duration of receiving the designated key value reaches a second preset duration, determining that a first operation instruction of the VR equipment is received.
Optionally, the determining a target character from the characters displayed by the virtual keyboard includes:
acquiring the current position of a cursor;
when the current position of the cursor corresponds to a first character of the virtual keyboard and a cursor movement instruction sent by the VR equipment is not received within a preset time, determining the first character as the target character; or,
when the cursor movement instruction is received, determining the movement direction indicated by the cursor movement instruction;
moving the cursor from the current position according to the moving direction by a preset step length to obtain a target position of the cursor;
and when the target position corresponds to a second character of the virtual keyboard and the cursor movement instruction is not received within the preset time, determining the second character as the target character.
Optionally, the inputting the content corresponding to the target character to the text module of the current page includes:
acquiring the position information of the target character;
reading text content corresponding to the position information according to a preset mapping relation;
and adding the text content into a control corresponding to the text module.
In a second aspect, an embodiment of the present invention provides an operating apparatus based on a virtual reality device, including:
the calling module is used for calling a preset virtual keyboard when receiving a first operation instruction sent by the virtual reality VR equipment;
the first determination module is used for determining a target character from the characters displayed by the virtual keyboard;
and the input module is used for inputting the content corresponding to the target character to the text module of the current page when receiving the input instruction sent by the VR equipment.
Optionally, the apparatus further comprises a switching module, wherein,
the switching module is configured to switch the current page to a home page of a website corresponding to the current page when receiving a second operation instruction sent by the VR device.
Optionally, the apparatus further comprises a second determining module, wherein,
the second determining module is configured to determine that the first operation instruction of the VR device is received when the designated key value sent by the VR device is received twice within a first preset time; when the duration of receiving the designated key value reaches a second preset duration, determining that a second operation instruction of the VR equipment is received;
the VR equipment is further used for determining that a second operation instruction of the VR equipment is received when receiving the designated key value sent by the VR equipment for two times continuously within a first preset time; and when the duration of receiving the designated key value reaches a second preset duration, determining that a first operation instruction of the VR equipment is received.
Optionally, the first determining module includes a first obtaining unit, a first determining unit, a second determining unit and a moving unit, wherein,
the first acquisition unit is used for acquiring the current position of the cursor;
the first determining unit is configured to determine, when the current position of the cursor corresponds to a first character of the virtual keyboard and a cursor movement instruction sent by the VR device is not received within a preset time, the first character as the target character;
the second determining unit is used for determining the moving direction indicated by the cursor moving instruction when the cursor moving instruction is received;
the moving unit is used for moving the cursor from the current position according to the moving direction by a preset step length to obtain a target position of the cursor;
the first determining unit is further configured to determine a second character of the virtual keyboard as the target character when the target position corresponds to the second character and the cursor movement instruction is not received within the preset time.
Optionally, the input module includes a second obtaining unit, a reading unit and an adding unit, wherein,
the second acquiring unit is used for acquiring the position information of the target character;
the reading unit is used for reading the text content corresponding to the position information according to a preset mapping relation;
and the adding unit is used for adding the text content into the control corresponding to the text module.
In a third aspect, an embodiment of the present invention further provides an operating device, including:
at least one communication interface;
at least one bus connected to the at least one communication interface;
at least one processor coupled to the at least one bus;
at least one memory coupled to the at least one bus;
wherein the processor is configured to:
when a first operation instruction sent by virtual reality VR equipment is received, calling a preset virtual keyboard;
determining a target character from the characters displayed by the virtual keyboard;
and when an input instruction sent by the VR equipment is received, inputting the content corresponding to the target character to a text module of the current page.
In a fourth aspect, an embodiment of the present invention further provides a non-volatile computer storage medium, which stores computer-executable instructions, where the computer-executable instructions are used to execute any one of the above operation methods based on a virtual reality device according to the present invention.
Compared with the prior art, the technical scheme provided by the embodiment has the following advantages and characteristics:
in the scheme provided by the embodiment of the invention, in order to solve the problem caused by single operation function of the VR device, the intelligent terminal is provided with a virtual keyboard in advance, after the connection with the VR device is established, when a first operation instruction sent by the VR device is received, the intelligent terminal calls the preset virtual keyboard, determines a target character from characters displayed by the virtual keyboard, and then inputs the content corresponding to the target character to a text module of a current page when an input instruction sent by the VR device is received. Therefore, text input can be realized on the basis that the VR equipment only provides click touch operation, not only can the operation function be further improved, the optimization space of related applications is increased, but also the use experience of a user can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a method for operating a virtual reality-based device according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of an operating area of a VR headset according to an embodiment of the present invention.
Fig. 3 is a schematic interface diagram of an intelligent terminal according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of an operating apparatus based on a virtual reality device according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of another operating apparatus based on a virtual reality device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for operating a virtual reality-based device according to an embodiment of the present invention. The operation method based on the virtual reality device shown in fig. 1 can further improve the operation function, thereby increasing the optimization space of the related application. The method comprises the following steps.
And step S101, calling a preset virtual keyboard.
The designated key value refers to a key value corresponding to a return key of the VR device.
The application scenario of the scheme is that the multimedia files displayed by the intelligent terminal are experienced by means of VR equipment, and therefore the implementation condition of the scheme is that the intelligent terminal is already in communication connection with the VR equipment. Specifically, the intelligent terminal can be in wired connection with the VR equipment through the data transmission port, and can also be in wireless connection through a wireless network, Bluetooth and the like.
According to the description of the related art, after the intelligent terminal is connected with the VR device, a user can send an operation instruction to the intelligent terminal through an operation button of the VR device so as to operate a program run by the intelligent terminal. Specifically, when a user touches an operation button of the VR device, the intelligent terminal can receive a key value sent by the VR device, and then an operation program corresponding to the key value can be called, so that a corresponding operation is performed on a currently running program.
For example, referring to fig. 2, fig. 2 is a schematic view of an operation area of a VR headset according to an embodiment of the present invention, where the operation area shown in fig. 2 may be disposed on a right side wall of the VR headset, the operation area is provided with two types of operation buttons, a button 01 is a return operation button, an area 02 is a touch area, and a user may perform a gesture on the area 02. In this embodiment, it is assumed that the VR headset is connected to the smart phone, and the user is browsing a web page, and when the user clicks the button 01, the smart phone can receive a key value sent by the VR device, and can determine, according to the key value, an operation instruction for returning to the previous layer on the current page, so that an operation for returning to the previous layer can be performed according to the operation instruction. Similarly, assuming that the user is watching a video, after the user performs a gesture operation in the area 02, the smart phone may receive an operation instruction for switching a playing process sent by the VR device, and then may determine a switching direction according to the operation instruction, and further switch the video playing process according to the switching direction.
As can be seen from the above description, the operation buttons of the VR device can provide limited operation functions, and the user needs to input information through the smart terminal when necessary, for example, when watching a video, inputting a bullet screen; in the game, chat content and the like are sent, so that the virtual keyboard can be preset based on the operation function of the VR device in the embodiment of the invention, but the preset virtual keyboard can be called by the intelligent terminal when the user sends the first operation instruction to the intelligent terminal through the VR device.
In this embodiment, the virtual keyboard may be a program file pre-installed in the intelligent terminal, and when the intelligent terminal receives the first operation instruction sent by the VR device, the program is executed, so that the virtual keyboard can be displayed on the interface, and a user can input character content through the virtual keyboard.
In this embodiment, the first operation instruction may be an instruction issued by a user pressing the return button for a long time, or an instruction issued by a user double-clicking the return button. Therefore, when the intelligent terminal receives the designated key value sent by the VR device twice in the first preset time, the virtual keyboard is called, or when the duration of the designated key value received by the intelligent terminal reaches the second preset time, the virtual keyboard is called. In this embodiment, the designated key value may be a key value corresponding to the button 01.
In addition, because a text input box is usually arranged on the interface of the intelligent terminal when inputting character content, in this embodiment, when a cursor on the interface is located in the text input box, and when a determination instruction of the VR device is received, the virtual keyboard may also be called. Wherein, the determination instruction may be an operation instruction sent by the user clicking the button 01 once.
The virtual keyboard may include numbers 0 to 9, all english alphabets, and necessary character keys, for example, character keys such as "+" and "#".
In addition, it should be noted that after the virtual keyboard is called, different character keys on the virtual keyboard may correspond to different operation functions, and the number of operation keys of the VR device is limited. Therefore, in this embodiment, the user may trigger the corresponding operation function of the virtual keyboard by clicking a return key of the VR device. For convenience of description, the corresponding function instruction is used hereinafter to refer to the click operation corresponding to the return key.
Therefore, according to the technical scheme of the embodiment of the invention, the virtual keyboard is preset in the intelligent terminal, so that text input can be realized under the condition that the operation function provided by the VR equipment is limited, and the operation function is improved.
And step S102, determining a target character from the characters displayed by the virtual keyboard.
In this embodiment, the target character refers to a character on the virtual keyboard that is associated with the text content to be input.
It should be noted that application software applied to a VR device is generally provided with a cursor in order to match an operation mode of the VR device. When the intelligent terminal runs the application program, the cursor is displayed on the interface, and when the intelligent terminal receives a gesture operation instruction sent by the VR device, the cursor can be controlled to move on the interface according to a preset step length. When the cursor is moved to a specified position and a determination instruction sent by a user through the VR device is received, a virtual click operation can be executed at the specified position where the cursor is located, so that a corresponding operation is triggered. It can thus be seen that a cursor can be used to indicate the functional area that the user wants to trigger when used in connection with a VR device. In this embodiment, the form of the cursor may be a cross, a circle, or the like, which is not limited in this embodiment of the present invention.
Based on the above description, in this embodiment, when the intelligent terminal invokes the virtual keyboard, the target character may also be determined by the cursor. Specifically, after the virtual keyboard is called, the current position of the cursor may be obtained, and if the current position of the cursor corresponds to a first character on the virtual keyboard and the intelligent terminal does not receive a cursor movement instruction sent by the VR device within a preset time, the first character currently indicated by the cursor may be determined as a target character. Correspondingly, whether the current position of the cursor corresponds to a character on the keyboard or not, when a cursor movement instruction sent by the VR device is received, the movement direction indicated by the cursor movement instruction may be determined, then, the cursor may be moved by a preset step length according to the movement direction, and when the target position after the cursor is moved corresponds to a second character and the cursor movement instruction is not received within a preset time, the second character is determined as the target character.
In this embodiment, the cursor movement instruction sent by the VR device is a gesture operation instruction sent by the user through the VR device. The preset time can be flexibly set according to the requirements of the user, for example, in the embodiment, the preset time can be set to 1 minute.
For example, this step is described with reference to fig. 3, and fig. 3 is an interface schematic diagram of the intelligent terminal according to an embodiment of the present invention, where a current position of the cursor 03 corresponds to the character 6, and if the intelligent terminal does not receive a cursor movement operation instruction sent by the VR device within 1 minute, the character 6 is determined as a target character. And if the intelligent terminal receives an operation instruction of moving the cursor to the right within 1 minute, moving the cursor from the character 6 to the character 7, and continuously controlling the cursor to move when other cursor movement operation instructions are received. If the position of the cursor corresponds to the character L and the cursor movement operation instruction which is not received within 1 minute is assumed, the character L is the target character.
Therefore, a user can flexibly input text content to be input by means of the virtual keyboard based on the existing operation function of the VR device, so that the operation experience of the user can be improved, and the optimization space of related applications can be enlarged.
And S103, when an input instruction sent by the VR equipment is received, inputting the content corresponding to the target character to a text module of the current page.
Based on the description, the intelligent terminal can determine the target character through the position indicated by the cursor, and after the target character is determined, when an input instruction sent by the VR device is received, the text content corresponding to the target character can be written into the control corresponding to the text module in the interface. The input instruction may be an operation instruction sent by the user clicking the button 01 once.
It should be noted that, when the intelligent terminal is used in association with a VR device, the position and the angle of the intelligent terminal are fixed, so the position displayed by the virtual keyboard is also fixed, and each character key in the virtual keyboard corresponds to unique position information, so a mapping relationship between the position information of each character and text content can be preset, and when an assigned key value input by the VR device is received, the position information of a target character is obtained, and the text content corresponding to the position information is read according to the preset mapping relationship, so that the text content can be added to a control corresponding to a text module.
In addition, the text content of the user input text module may be english or chinese, and in order to clarify the language type of the text content, a chinese/english mode switching button may be further provided on the virtual keyboard, and the user may send a switching command through the return button. And when the content input into the text module by the user is English, inputting the text content corresponding to the target character into the text module. When the content input by the user to the text module is Chinese, when the number of English characters input by the user reaches two or more, the characters of which the Pinyin is consistent with the input English characters can be called, and after the user selects the corresponding characters, the corresponding English characters are deleted, and the characters are added to the text module.
Therefore, the technical scheme provided by the embodiment can realize text input on the basis that the VR equipment only provides click touch operation, not only can further perfect the operation function and increase the optimization space of related applications, but also can improve the use experience of a user.
On the basis of the above description, when the user does not need to input text content, the first operation instruction may be sent again through the VR device, and after the intelligent terminal receives the first operation instruction again, the virtual keyboard may be closed.
In addition, when the user performs a game operation or a video selection, the user usually needs to return to the home page of the website corresponding to the current page, and in the related art, the user can return to the upper layer of the page each time when performing a return operation through the return key. In order to solve the problem, in this embodiment, when the intelligent terminal receives the second instruction sent by the VR device, the page may be directly switched to the top page of the website corresponding to the current page.
It should be noted that, in this embodiment, the first operation instruction and the second operation instruction are different, and when the operation instruction corresponding to the long-pressing return key by the user is the first operation instruction, then the operation instruction corresponding to the double-pressing return key by the user is the second operation instruction; when the operation instruction corresponding to the double-click return key of the user is the first operation instruction, the operation instruction corresponding to the long-press return key of the user is the second operation instruction.
Corresponding to the implementation method, the embodiment of the invention also provides an operation device based on the virtual reality equipment. Referring to fig. 4, fig. 4 is a schematic view of an operation apparatus based on a virtual reality device according to an embodiment of the present invention. The device comprises a calling module 11, a first determining module 12 and an input module 13, wherein: the calling module 11 is configured to call a preset virtual keyboard when receiving a first operation instruction sent by the virtual reality VR device; a first determining module 12, configured to determine a target character from characters displayed on the virtual keyboard; and the input module 13 is configured to input the content corresponding to the target character to a text module of a current page when receiving an input instruction sent by the VR device.
On the basis of the above description, the apparatus further includes a switching module, where the switching module is configured to switch the current page to a home page of a website corresponding to the current page when receiving a second operation instruction sent by the VR device.
In addition, in another embodiment, the apparatus further includes a second determining module, where the second determining module is configured to determine that the first operating instruction of the VR device is received when the designated key value sent by the VR device is received twice within a first preset time length; when the duration of receiving the designated key value reaches a second preset duration, determining that a second operation instruction of the VR equipment is received;
the VR equipment is further used for determining that a second operation instruction of the VR equipment is received when receiving the designated key value sent by the VR equipment for two times continuously within a first preset time; and when the duration of receiving the designated key value reaches a second preset duration, determining that a first operation instruction of the VR equipment is received.
It should be noted that the first determining module 12 includes a first obtaining unit, a first determining unit, a second determining unit and a moving unit, wherein,
the first acquisition unit is used for acquiring the current position of the cursor;
the first determining unit is configured to determine, when the current position of the cursor corresponds to a first character of the virtual keyboard and a cursor movement instruction sent by the VR device is not received within a preset time, the first character as the target character;
the second determining unit is used for determining the moving direction indicated by the cursor moving instruction when the cursor moving instruction is received;
the moving unit is used for moving the cursor from the current position according to the moving direction by a preset step length to obtain a target position of the cursor;
in this embodiment, the first determining unit is further configured to determine, when the target position corresponds to a second character of the virtual keyboard and the cursor movement instruction is not received within the preset time, the second character as the target character.
Further, the input module 13 comprises a second retrieving unit, a reading unit and an adding unit, wherein,
the second acquiring unit is used for acquiring the position information of the target character;
the reading unit is used for reading the text content corresponding to the position information according to a preset mapping relation;
and the adding unit is used for adding the text content into the control corresponding to the text module.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Therefore, text input can be realized on the basis that the VR equipment only provides click touch operation, so that the operation function can be further improved, the optimization space of related applications is increased, and the use experience of a user can be improved.
In addition, an embodiment of the present invention further provides a non-volatile computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions may execute an operation method based on a virtual reality device in any of the above method embodiments.
Based on the above description, an embodiment of the present invention further provides an operation device, please refer to fig. 5, where fig. 5 is a schematic diagram of a hardware structure of the operation device based on the operation method of the virtual reality device provided in the embodiment of the present invention, and as shown in fig. 5, the operation device includes:
one or more processors 510 and memory 520, with one processor 510 being an example in fig. 5.
The processor 510 and the memory 520 may be connected by a bus or other means, such as by a bus in FIG. 5.
The memory 520, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the virtual reality device-based operating method in the embodiments of the present invention. The processor 510 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions and modules stored in the memory 520, namely, implementing the operation method of the virtual reality-based device of the above method embodiment.
The memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of an operating device based on a virtual reality apparatus, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 520 optionally includes memory located remotely from processor 510, which may be connected to a virtual reality device-based operating apparatus via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 520 and, when executed by the one or more processors 510, perform a method of virtual reality device-based operation in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The operating device of the embodiments of the present invention exists in various forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
In summary, in the solution provided in the embodiment of the present invention, in order to solve the problem caused by the single operation function of the VR device, the intelligent terminal is preset with a virtual keyboard, after the connection is established with the VR device, when a first operation instruction sent by the VR device is received, the intelligent terminal invokes the preset virtual keyboard, determines a target character from characters displayed by the virtual keyboard, and then, when an input instruction sent by the VR device is received, inputs a content corresponding to the target character to the text module of the current page. Therefore, text input can be realized on the basis that the VR equipment only provides click touch operation, not only can the operation function be further improved, the optimization space of related applications is increased, but also the use experience of a user can be improved.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (11)
1. An operation method based on a virtual reality device, wherein after connection with the virtual reality VR device is established, the method comprises the following steps:
when a first operation instruction sent by the VR equipment is received, calling a preset virtual keyboard;
determining a target character from the characters displayed by the virtual keyboard;
and when an input instruction sent by the VR equipment is received, inputting the content corresponding to the target character to a text module of the current page.
2. The virtual reality device-based method of operation of claim 1, further comprising:
and when a second operation instruction sent by the VR equipment is received, switching the current page to a home page of a website corresponding to the current page.
3. The virtual reality device-based operating method according to claim 1 or 2, wherein the method further comprises:
when receiving the designated key value sent by the VR equipment twice continuously within a first preset time, determining that a first operation instruction of the VR equipment is received;
when the duration of receiving the designated key value reaches a second preset duration, determining that a second operation instruction of the VR equipment is received; or,
when receiving the designated key value sent by the VR equipment twice continuously within a first preset time, determining that a second operation instruction of the VR equipment is received;
and when the duration of receiving the designated key value reaches a second preset duration, determining that a first operation instruction of the VR equipment is received.
4. The virtual reality device-based method of operation of claim 1, wherein the determining a target character from the characters presented by the virtual keyboard comprises:
acquiring the current position of a cursor;
when the current position of the cursor corresponds to a first character of the virtual keyboard and a cursor movement instruction sent by the VR equipment is not received within a preset time, determining the first character as the target character; or,
when the cursor movement instruction is received, determining the movement direction indicated by the cursor movement instruction;
moving the cursor from the current position according to the moving direction by a preset step length to obtain a target position of the cursor;
and when the target position corresponds to a second character of the virtual keyboard and the cursor movement instruction is not received within the preset time, determining the second character as the target character.
5. The virtual reality device-based operation method according to claim 1, wherein the inputting the content corresponding to the target character to the text module of the current page comprises:
acquiring the position information of the target character;
reading text content corresponding to the position information according to a preset mapping relation;
and adding the text content into a control corresponding to the text module.
6. An operating apparatus based on a virtual reality device, the apparatus comprising:
the calling module is used for calling a preset virtual keyboard when receiving a first operation instruction sent by the virtual reality VR equipment;
the first determination module is used for determining a target character from the characters displayed by the virtual keyboard;
and the input module is used for inputting the content corresponding to the target character to the text module of the current page when receiving the input instruction sent by the VR equipment.
7. The virtual reality device-based operating apparatus of claim 6, further comprising a switching module, wherein,
the switching module is configured to switch the current page to a home page of a website corresponding to the current page when receiving a second operation instruction sent by the VR device.
8. The virtual reality device-based operating apparatus of claim 6 or 7, wherein the apparatus further comprises a second determining module, wherein,
the second determining module is configured to determine that the first operation instruction of the VR device is received when the designated key value sent by the VR device is received twice within a first preset time; when the duration of receiving the designated key value reaches a second preset duration, determining that a second operation instruction of the VR equipment is received;
the VR equipment is further used for determining that a second operation instruction of the VR equipment is received when receiving the designated key value sent by the VR equipment for two times continuously within a first preset time; and when the duration of receiving the designated key value reaches a second preset duration, determining that a first operation instruction of the VR equipment is received.
9. The virtual reality device-based operating apparatus of claim 6, wherein the first determining module comprises a first obtaining unit, a first determining unit, a second determining unit, and a moving unit, wherein,
the first acquisition unit is used for acquiring the current position of the cursor;
the first determining unit is configured to determine, when the current position of the cursor corresponds to a first character of the virtual keyboard and a cursor movement instruction sent by the VR device is not received within a preset time, the first character as the target character;
the second determining unit is used for determining the moving direction indicated by the cursor moving instruction when the cursor moving instruction is received;
the moving unit is used for moving the cursor from the current position according to the moving direction by a preset step length to obtain a target position of the cursor;
the first determining unit is further configured to determine a second character of the virtual keyboard as the target character when the target position corresponds to the second character and the cursor movement instruction is not received within the preset time.
10. The virtual reality device-based operating apparatus of claim 6, wherein the input module comprises a second acquisition unit, a reading unit, and an adding unit, wherein,
the second acquiring unit is used for acquiring the position information of the target character;
the reading unit is used for reading the text content corresponding to the position information according to a preset mapping relation;
and the adding unit is used for adding the text content into the control corresponding to the text module.
11. An operating device, comprising:
at least one communication interface;
at least one bus connected to the at least one communication interface;
at least one processor coupled to the at least one bus;
at least one memory coupled to the at least one bus;
wherein the processor is configured to:
when a first operation instruction sent by virtual reality VR equipment is received, calling a preset virtual keyboard;
determining a target character from the characters displayed by the virtual keyboard;
and when an input instruction sent by the VR equipment is received, inputting the content corresponding to the target character to a text module of the current page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610842247.7A CN106527916A (en) | 2016-09-22 | 2016-09-22 | Operating method and device based on virtual reality equipment, and operating equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610842247.7A CN106527916A (en) | 2016-09-22 | 2016-09-22 | Operating method and device based on virtual reality equipment, and operating equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106527916A true CN106527916A (en) | 2017-03-22 |
Family
ID=58343984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610842247.7A Pending CN106527916A (en) | 2016-09-22 | 2016-09-22 | Operating method and device based on virtual reality equipment, and operating equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106527916A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107688388A (en) * | 2017-08-20 | 2018-02-13 | 平安科技(深圳)有限公司 | Control device, method and the computer-readable recording medium of Password Input |
CN107967091A (en) * | 2017-12-14 | 2018-04-27 | 亮风台(上海)信息科技有限公司 | A kind of man-machine interaction method and the computing device for human-computer interaction |
CN108536354A (en) * | 2018-04-04 | 2018-09-14 | 网易(杭州)网络有限公司 | The method and apparatus of location character position in virtual reality scenario |
CN115176224A (en) * | 2020-04-14 | 2022-10-11 | Oppo广东移动通信有限公司 | Text input method, mobile device, head-mounted display device, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968549A (en) * | 2012-10-17 | 2013-03-13 | 北京大学 | Multi-user on-line interaction method and system based on intelligent mobile terminal equipment |
CN103635869A (en) * | 2011-06-21 | 2014-03-12 | 英派尔科技开发有限公司 | Gesture based user interface for augmented reality |
CN103809837A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Method for calling virtual keyboard and electronic equipment |
CN104182163A (en) * | 2013-05-27 | 2014-12-03 | 华为技术有限公司 | Method and device for displaying virtual keyboard |
CN104915979A (en) * | 2014-03-10 | 2015-09-16 | 苏州天魂网络科技有限公司 | System capable of realizing immersive virtual reality across mobile platforms |
CN105955453A (en) * | 2016-04-15 | 2016-09-21 | 北京小鸟看看科技有限公司 | Information input method in 3D immersion environment |
-
2016
- 2016-09-22 CN CN201610842247.7A patent/CN106527916A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103635869A (en) * | 2011-06-21 | 2014-03-12 | 英派尔科技开发有限公司 | Gesture based user interface for augmented reality |
CN102968549A (en) * | 2012-10-17 | 2013-03-13 | 北京大学 | Multi-user on-line interaction method and system based on intelligent mobile terminal equipment |
CN103809837A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Method for calling virtual keyboard and electronic equipment |
CN104182163A (en) * | 2013-05-27 | 2014-12-03 | 华为技术有限公司 | Method and device for displaying virtual keyboard |
CN104915979A (en) * | 2014-03-10 | 2015-09-16 | 苏州天魂网络科技有限公司 | System capable of realizing immersive virtual reality across mobile platforms |
CN105955453A (en) * | 2016-04-15 | 2016-09-21 | 北京小鸟看看科技有限公司 | Information input method in 3D immersion environment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107688388A (en) * | 2017-08-20 | 2018-02-13 | 平安科技(深圳)有限公司 | Control device, method and the computer-readable recording medium of Password Input |
CN107688388B (en) * | 2017-08-20 | 2020-08-28 | 平安科技(深圳)有限公司 | Password input control apparatus, method and computer-readable storage medium |
CN107967091A (en) * | 2017-12-14 | 2018-04-27 | 亮风台(上海)信息科技有限公司 | A kind of man-machine interaction method and the computing device for human-computer interaction |
CN107967091B (en) * | 2017-12-14 | 2022-12-06 | 亮风台(上海)信息科技有限公司 | Human-computer interaction method and computing equipment for human-computer interaction |
CN108536354A (en) * | 2018-04-04 | 2018-09-14 | 网易(杭州)网络有限公司 | The method and apparatus of location character position in virtual reality scenario |
CN115176224A (en) * | 2020-04-14 | 2022-10-11 | Oppo广东移动通信有限公司 | Text input method, mobile device, head-mounted display device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109062479B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN109885245B (en) | Application control method and device, terminal equipment and computer readable storage medium | |
EP3239804B1 (en) | Control of an electronic device including display and keyboard moveable relative to the display | |
CN104571852B (en) | The moving method and device of icon | |
CN107019909B (en) | Information processing method, information processing device, electronic equipment and computer readable storage medium | |
JP2022527502A (en) | Virtual object control methods and devices, mobile terminals and computer programs | |
CN105148517A (en) | Information processing method, terminal and computer storage medium | |
US12115439B2 (en) | System and method for using fingerprints to determine commands in a video game | |
CN109960558B (en) | Virtual object control method and device, computer storage medium and electronic equipment | |
KR20130111453A (en) | Touch-based method and apparatus for sending information | |
CN109939445B (en) | Information processing method and device, electronic equipment and storage medium | |
CN106873869A (en) | Music playing control method and device | |
CN105477854A (en) | Handle control method, device and system applied in intelligent terminal | |
US9437158B2 (en) | Electronic device for controlling multi-display and display control method thereof | |
CN106527916A (en) | Operating method and device based on virtual reality equipment, and operating equipment | |
CN111330275A (en) | Interactive method and device in game, storage medium and electronic equipment | |
CN106843681A (en) | The progress control method of touch-control application, device and electronic equipment | |
CN106873898B (en) | Application program working mode switching method and device and electronic equipment | |
CN108245889B (en) | Free visual angle orientation switching method and device, storage medium and electronic equipment | |
US20210075851A1 (en) | Application partition processing method, device, and computer-readable storage medium | |
CN104750401A (en) | Touch method and related device as well as terminal equipment | |
KR102206486B1 (en) | Method for proving translation service by using input application and terminal device using the same | |
CN106406742B (en) | Mobile terminal screen brightness adjusting method and device and mobile terminal | |
CN115105831A (en) | Virtual object switching method and device, storage medium and electronic device | |
CN109359187A (en) | Sentence entry exchange method and device, electronic equipment, storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170322 |