CN108536354A - The method and apparatus of location character position in virtual reality scenario - Google Patents

The method and apparatus of location character position in virtual reality scenario Download PDF

Info

Publication number
CN108536354A
CN108536354A CN201810301493.0A CN201810301493A CN108536354A CN 108536354 A CN108536354 A CN 108536354A CN 201810301493 A CN201810301493 A CN 201810301493A CN 108536354 A CN108536354 A CN 108536354A
Authority
CN
China
Prior art keywords
character
control
input
virtual reality
string
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
CN201810301493.0A
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 CN201810301493.0A priority Critical patent/CN108536354A/en
Publication of CN108536354A publication Critical patent/CN108536354A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars

Abstract

The invention discloses a kind of method and apparatus of location character position in virtual reality scenario.Wherein, this method includes:In the case where detecting string editing state, graphical control is shown in interface;Receive the positioning operation executed to graphical control by virtual reality input equipment;Corresponding character position is positioned in character string according to positioning operation.The present invention solves in the prior art, and during inputting word, the technical problem that positioning causes operating experience poor is carried out to the position for having inputted a certain word in character string using the directionkeys of keyboard.

Description

The method and apparatus of location character position in virtual reality scenario
Technical field
The present invention relates to software technology fields, in particular to location character position in a kind of virtual reality scenario Method and apparatus.
Background technology
With popularizing for various the Internet, applications, word input is an essential function.By taking VR plays as an example, by In subject to conditions, players difficult progress written communication, when inputting word, since similar cell phone system can not be called Input the functions such as magnifying glass, it is difficult to precisely select long word, to after input word editor and duplicate copy and editor's word Cause larger difficulty.
Fig. 1 be according to prior art it is a kind of optionally VR game in input word interface schematic diagram, such as Fig. 1 institutes Show, character input boxes 102 are provided within interface 101 and are mainly clicked using peripheral hardwares such as handles in existing VR game Word is selected, after inputting long word, the precise positioning that can only be carried out by using the right and left key in keyboard in word paragraph is switched. This text location mode, there are following two disadvantages:(1) it if word paragraph is longer, needs to click left and right for a long time Key switches over regioselective;(2) in general single-line entry box, it simply intuitively can not check to finish having been enter into All words and carry out positional editing.
In for the above-mentioned prior art, during inputting word, using the directionkeys of keyboard come to having inputted character The position of a certain word carries out the problem that positioning causes operating experience poor in string, and currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of method and apparatus of location character position in virtual reality scenario, at least to solve Certainly in the prior art, during inputting word, using the directionkeys of keyboard come to having inputted a certain word in character string Position carries out the technical problem that positioning causes operating experience poor.
One side according to the ... of the embodiment of the present invention provides a kind of side of location character position in virtual reality scenario Method, including:In the case where detecting string editing state, graphical control is shown in interface;Reception passes through virtual reality The positioning operation that input equipment executes graphical control;Corresponding character position is positioned in character string according to positioning operation.
Optionally, graphical control includes at least target interval, and positioning operation is used to position target location in target interval, The step of corresponding character position is positioned in character string according to positioning operation, including:According to target location in target interval Relative position corresponding character position is positioned in character string.
Optionally, graphical control further includes slider control, receives and is executed to graphical control by virtual reality input equipment Positioning operation the step of, including:It receives and preset condition is met to what slider control executed by virtual reality input equipment Slide, wherein slider control according to the control of slide in target interval for sliding;Determine working as slider control Anteposition is set to target location.
Optionally, in the case where detecting string editing state the step of, including:It provides to have in interface and preset The character input boxes of length, wherein character input boxes are used to receive the character of input;The state of character input boxes is detected with determination There are character strings in character input boxes.
Optionally, the step of graphical control is shown in interface, including:The length of current string is obtained, is established current The mapping relations of each character position corresponding position in target interval in character string;The display target section in interface.
Optionally, the relative position according to target location in target interval positions corresponding character position in character string The step of, including:Corresponding character position is determined according to relative position of the target location in target interval and mapping relations Position in current string;The input cursor for inputting characters into frame is placed in corresponding character position.
Optionally, it inputs characters into the step of the input cursor of frame is placed in corresponding character position and includes:According to corresponding Character position and preset length determine the character paragraph content shown in character input boxes, wherein are wrapped in character paragraph content The corresponding character of the cursor containing input;Character paragraph content is shown in character input boxes.
Optionally, positioning operation includes:The clicking operation that any position executes on graphical control, wherein clicking operation Corresponding position has mapping relations with corresponding character position.
Optionally, positioning operation includes:The drag operation that preset control on graphical control is executed, wherein pull behaviour Act on any position preset control being dragged on graphical control, the location of preset control and corresponding character position With mapping relations.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of dress of location character position in virtual reality scenario It sets, including:Display unit, in the case where detecting string editing state, graphical control to be shown in interface;It receives Unit, for receiving the positioning operation executed to graphical control by virtual reality input equipment;Positioning unit, for according to fixed Bit manipulation positions corresponding character position in character string.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of storage medium, and storage medium includes the journey of storage Sequence, wherein equipment where controlling storage medium when program is run execute any one of above method embodiment it is optional or The method of location character position in preferred virtual reality scenario.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of processor, and processor is used to run program, In, location character in the optional or preferred virtual reality scenario of any one of above method embodiment is executed when program is run The method of position.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of terminal, including:One or more processors are deposited Reservoir, display device and one or more program, wherein one or more programs are stored in memory, and by with It is set to and is executed by one or more processors, one or more programs include for executing any one of above method embodiment The method of location character position in optional or preferred virtual reality scenario.
In embodiments of the present invention, by the way that in the case where detecting string editing state, figure is shown in interface Control;Receive the positioning operation executed to graphical control by virtual reality input equipment;According to positioning operation in character string Corresponding character position is positioned, the mesh for quickly locating the word of any position in character string by graphical control has been reached , the technique effect of the word of any position in character string quickly is viewed or edited to realize, and then solve existing skill In art, during inputting word, the position for having inputted a certain word in character string is carried out using the directionkeys of keyboard Position the technical problem for causing operating experience poor.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 be according to prior art it is a kind of optionally VR game in input word interface schematic diagram;
Fig. 2 is the method flow diagram of location character position in a kind of virtual reality scenario according to the ... of the embodiment of the present invention;
Fig. 3 is a kind of optional character input interface schematic diagram according to the ... of the embodiment of the present invention;
Fig. 4 is according to the ... of the embodiment of the present invention a kind of optionally by clicking character position in progress bar position input frame Interface schematic diagram;
Fig. 5 is according to the ... of the embodiment of the present invention a kind of optionally by pulling character position in progress bar position input frame Interface schematic diagram;And
Fig. 6 is the schematic device of location character position in a kind of virtual reality scenario according to the ... of the embodiment of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product Or the other steps or unit that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the method for location character position in virtual reality scenario is provided, is needed It is noted that step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions Middle execution, although also, logical order is shown in flow charts, and it in some cases, can be with different from herein Sequence executes shown or described step.
Fig. 2 is the method flow diagram of location character position in a kind of virtual reality scenario according to the ... of the embodiment of the present invention, such as Shown in Fig. 2, this method comprises the following steps:
Step S202 shows graphical control in the case where detecting string editing state in interface.
Step S204 receives the positioning operation executed to graphical control by virtual reality input equipment.
Step S206 positions corresponding character position according to positioning operation in character string.
Specifically, above-mentioned string editing state can be the one or more characters of real-time input, can also be from other Place, which is replicated, pastes character string.Above-mentioned interface is the virtual scene interface that provides of VR equipment, for show above-mentioned character string and Its editing mode and graphical control.
Graphical control can be shown in the case where detecting string editing state, can also be to detect character Graphical control is shown before string, and at least part control content in graphical control after detecting character string variation It is updated.
Graphical control can receive positioning operation, and the positioning operation is for operating with location character string graphical control In corresponding character position optionally can be clicked in the display space of graphical control to position, can also It is that moveable control is moved to position in operation graphical control, it, can be in character after receiving positioning operation The corresponding character position of the positioning operation is positioned in string.
The positioning operation that graphical control receives is received by virtual reality input equipment, can be logical optionally Cross the operation that the direction controller worn receives;Alternatively, can also be by providing picture source to the display equipment of virtual reality The operation that receives of the terminal devices such as mobile terminal, for example, being determined graphical control by what the volume key of mobile terminal received Bit manipulation etc..
Optionally, which can be the clicking operation that any position executes on graphical control, clicking operation pair The position answered has mapping relations with corresponding character position.Alternatively, positioning operation can also be to default on graphical control The drag operation that control executes, any position which is used to be dragged to preset control on graphical control, wherein pre- If the location of control has mapping relations with corresponding character position.
As an alternative embodiment, graphical control includes target interval, which can have to appoint The section for size or the shape of anticipating, positioning operation can determine a position in target interval, that is, navigating to target position It sets, in turn, can determine the corresponding character in character string according to relative position of the target location in target interval, and position To corresponding character position.
For example, target interval can be the form of progress bar, and the dimensional parameters of target interval refer to the length of progress bar Degree, the length of progress bar and the length of character string have mapping relations, in turn, each character position in character string correspond into One section of section in item is spent, is navigated in progress bar after a target location, it can be according to target location in progress bar Relative position in character string corresponding character position.It is longer in character string since character input boxes have preset length In the case of, possibly it can not show therefore the content of whole character strings passes through the positional operand to target interval in character input boxes Work can be checked rapidly and then can be with the character of editing character string different location.Optionally, the length of progress bar is fixed, In the case of the variation of the length of character string, the mapping relations variation between the length of progress bar and the length of character string.Alternatively, In order to more easily accurately be positioned in progress bar, the length of the length and character string that can also preset progress bar has Certain proportionate relationship.
Optionally, target interval can also be circular frame or rectangle frame etc. with certain area, each of character string Character position corresponds to the different location in circular frame or rectangle frame, and the specific implementation mode of target interval can be according to specific feelings Depending on condition, which no longer enumerates one by one.
Further, graphical control can also include slider control in addition to target interval, and slider control can receive positioning Operation, e.g., slide, slide can control slide block control slided in target interval, the current location of slider control As target location.Wherein, the slide that slider control receives is the operation obtained by virtual reality input equipment, and is needed Meet preset condition, for example, accidentally touched to virtual reality input equipment causes to carry out maloperation to slider control in order to prevent, Some false-touch prevention conditions can be set, for example, only character input boxes be in be activated in the state of can to slider control into Row operation, alternatively, after preset duration just slide can be executed to slider control.
In a kind of optional embodiment, character string is the character input boxes with preset length provided by interface It receives, character input boxes are used to receive the character of input, and the state by detecting character input boxes can determine character input It whether there is character string in frame, specifically, when the state of character input boxes is state of activation, it may be determined that in character input boxes There are character strings, wherein the state of activation of character input boxes can detect that input light target is flashed, or detected key What the case where disk inputs determined.There are in the case of character string in detecting character input boxes, it is determined that detect character string Editing mode, and then the length of current string can be obtained, each character position in current string is established in target area Between in corresponding position mapping relations, and the display target section in interface.It should be noted that the size ginseng of target interval Number and the length of character string not necessarily have incidence relation, and mapping relations are each character positions in current string in target Incidence relation in section between corresponding position.
It further, can be according to target after receiving the target location that the positioning operation to target interval determines Relative position and above-mentioned mapping relations of the position in target interval determine corresponding character position in current string Position, and the input cursor for inputting characters into frame is placed in corresponding character position.Since character input boxes have preset length, It checks and edits for convenience, the corresponding character of input cursor can be at least shown in character input boxes, specifically, according to right The preset length of the character position and character input boxes answered determines the character paragraph content for needing to be shown in character input boxes, and It is shown in character input boxes, wherein character paragraph content includes the corresponding character of input cursor.
For example, as shown in figure 3, character input boxes 11 are used to receive the character of input, when user is in character input boxes 11 In the case of inputting character, for example, in real time during input character or when having inputted one section of character, Yong Huke Quickly to check the character of any position in the character content inputted in character input boxes 11 by operation progress item 12, compiling It collects after finishing, can click and submit control 13 finally determine and submit the character string in current character input boxes 11 Content.
Since the character length inputted in input frame can exceed that the length of input frame, it is also possible to be less than the length of input frame Degree, as an alternative embodiment, the initial position of above-mentioned progress bar corresponds to the position of the bebinning character of character string, progress The end position of item corresponds to the position of the termination character of character string.In this way, the progress msg on progress bar, Ke Yiyong Position of the character shown in specified current input frame in input frame character string.
By above-described embodiment, solves and the content in interface directly touch due to user in virtual reality scenario It controls and brings inconvenient, realize by operating corresponding with character string in input frame progress bar, quickly check input The character of character string any position, is effectively improved in virtual reality scenario in frame, user and the word content in interface The convenience interacted.
Optionally, if necessary to which in editor's input character frame when the character of any position, character can be being navigated to After needing the position edited in string, the cursor in input frame is navigated into corresponding character position, so as to the word at the position It accords with into edlin.Be based on above-described embodiment as a result, as a kind of optional embodiment, in location character string with progress bar into The corresponding character position of information is spent, may include steps of:
Step 1, the progress msg for acting on the progress bar for including in the positioning operation on progress bar is obtained;
Step 2, relative position corresponding character position in character string in progress bar is positioned according to progress msg;
Specifically, in the above-described embodiments, according to the progress msg of progress bar navigate in corresponding character string with into When spending information corresponding character position, positioning operation can be executed (for example, clicking or pulling to execute according to progress bar The operation of the progress msg of progress bar) in include progress msg, navigate to character bit corresponding with progress msg in character string It sets, and the input cursor input characters into frame is placed in the character position, in the present embodiment, input cursor is placed in the word The right side of position is accorded with, in other embodiments, input cursor is placed in the left side of the character position, or to preset display mode It is shown on the corresponding character of the character position, for example, default display mode can be flashing mode, can also be Yi Qu It is not controlled in other color values of current character color value and shows current character, to indicate cursor being placed in the character position, led to It crosses and cursor is placed in the mode of character position facilitates user that can be operated to the character executive editor at the position.
Optionally, the input cursor for inputting characters into frame be placed in character string character position corresponding with progress msg it Afterwards, the above method can also include the following steps:
Step 3, the text shown in character input boxes is determined according to the corresponding character position of progress msg and preset length Paragraph content;
Step 4, display and text fragment content in character input boxes, wherein include input light in text fragment content Mark corresponding character.
Specifically, since the length of character input boxes is usually fixed, it is only able to display limited character, thus, according to The progress msg of progress bar input characters into frame input cursor be placed in character string character position corresponding with progress msg it Afterwards, it can determine that character is defeated according to the length (i.e. above-mentioned preset length) and the corresponding character position of progress msg of character input boxes Enter the text fragment content shown in frame, text paragraph content includes the corresponding character of input cursor.
According to any one of the above optional embodiment, as an alternative embodiment, aforesaid operations instruction can be with Including:The click commands that any position executes on a progress bar, wherein the corresponding location information of click commands is for characterizing progress The progress msg of item.
For example, as shown in figure 4, user can click any position on progress bar 12, to check the character of corresponding position.
Optionally, fixed in the length of progress bar 12, if the length of character is more than in character input boxes 11 When the length of character input boxes 11, the length of character can proportionally carry out mapping contracting on progress bar 12 in character input boxes 11 It puts, for example, the slider control of character input boxes 11, when triggering state is in 50% position, input cursor 14 is in all characters The centre position of length, and input cursor 14 and changed with the variation of slider control.
According to any one of the above optional embodiment, as an alternative embodiment, aforesaid operations instruction can be with Including:The dragging instruction that preset control on progress bar is executed, wherein pull instruction for preset control to be dragged to progress Any position on item, the location information of preset control present position are used to characterize the progress msg of progress bar.
For example, as shown in figure 5, user can be by pulling the slider control on progress bar 12, to specify progress bar 12 Progress msg.Wherein, icon 601 show the dragged preceding position of slider control, and it is dragged that icon 603 show slider control Position afterwards.
By above-described embodiment, input cursor 14 can be moved by clicking or dragging any position on progress bar 12 Position.
By taking VR plays as an example, in the case that above-mentioned input frame is the input frame shown in virtual scene interface, if After detecting that input frame has input character, occur a progress bar on interface as shown in figure 3, the length of progress bar 12 is fixed, it is sliding Block control position and character portion binding mapping only need the slider control by dragging progress bar 12, so that it may with fast Some region in character input boxes 11 is accurately checked and rested on to speed, and in real time to the character of this part into edlin.
As shown in figure 4, input 14 corresponding character position of cursor can be with slider control shift in position, i.e., at slider control Cursor 14 is inputted when the leftmost side to be inputted in right end in the beginning of the character string in character input boxes 11, slider control Cursor 14 must be in the ending of the character string in character input boxes 11.Slider control most starts residing centre position and is easy for playing Family is pulled, and does not represent the centre that original cursor is in character.As shown in figure 5, when player starts to drag slider control, sliding block Control center is mapped as the present position of input cursor 14, and when player drags to the left and right, input cursor 14 continues toward corresponding Direction is moved, and is inputted when slider control reaches most left/right edge cursor 14 and be moved to the most beginning of character string/most end up Place, player stop dragging slider control in arbitrary region, and input cursor 14 rests on region residing when stopping dragging.
As seen from the above, in the method for the location character position that the above-mentioned each embodiment of the application provides, it is applied to VR Character input in game can quickly check in single input frame and input alphabet, and can solve VR pattern lower words Precise positioning in symbol input and edit-modify problem.
According to embodiments of the present invention, it additionally provides a kind of for realizing location character position in above-mentioned virtual reality scenario The device embodiment of method, Fig. 6 are the devices of location character position in a kind of virtual reality scenario according to the ... of the embodiment of the present invention Schematic diagram, as shown in fig. 6, the device includes:
Display unit 701, in the case where detecting string editing state, graphical control to be shown in interface; Receiving unit 703, for receiving the positioning operation executed to graphical control by virtual reality input equipment;Positioning unit 705, For corresponding character position to be positioned in character string according to positioning operation.
As an alternative embodiment, graphical control includes at least target interval, positioning operation is used in target area Between middle positioning target location, it is fixed in character string that positioning unit is additionally operable to the relative position according to target location in target interval The corresponding character position in position.
As an alternative embodiment, graphical control further includes slider control, receiving unit, which is additionally operable to receive, to be passed through The slide for meeting preset condition that virtual reality input equipment executes slider control, wherein slider control is used for basis The control of slide is slided in target interval;Determine that the current location of slider control is target location.
Have the character of preset length defeated as an alternative embodiment, display unit is additionally operable to provide in interface Enter frame, wherein character input boxes are used to receive the character of input;The state of character input boxes is detected to determine in character input boxes There are character strings.
As an alternative embodiment, display unit is additionally operable to obtain the length of current string, current word is established The mapping relations of each character position corresponding position in target interval in symbol string;The display target section in interface.
As an alternative embodiment, positioning unit is additionally operable to the opposite position in target interval according to target location It sets and mapping relations determines position of the corresponding character position in current string;The input cursor for inputting characters into frame is set In corresponding character position.
As an alternative embodiment, positioning unit is additionally operable to be determined according to corresponding character position and preset length The character paragraph content shown in character input boxes, wherein include the corresponding character of input cursor in character paragraph content; Character paragraph content is shown in character input boxes.
As an alternative embodiment, positioning operation includes:The click behaviour that any position executes on graphical control Make, wherein the corresponding position of clicking operation has mapping relations with corresponding character position.
As an alternative embodiment, positioning operation includes:The dragging that preset control on graphical control is executed Operation, wherein drag operation is used to preset control being dragged to any position on graphical control, the location of preset control There are mapping relations with corresponding character position.
According to embodiments of the present invention, a kind of storage medium is additionally provided, storage medium includes the program of storage, wherein It is optional or preferred virtual to execute any one of above method embodiment for equipment where control storage medium when program is run The method of location character position in reality scene.
According to embodiments of the present invention, a kind of processor is additionally provided, processor is for running program, wherein program is run The method of location character position during any one of Shi Zhihang above method embodiments are optional or preferred virtual reality scenario.
According to embodiments of the present invention, a kind of terminal is additionally provided, including:One or more processors, memory, display dress Set and one or more program, wherein one or more programs are stored in memory, and be configured as by one or Multiple processors execute, and one or more programs include optional or preferred for executing any one of above method embodiment Virtual reality scenario in location character position method.
Above-mentioned device may include processor and memory, and said units can be stored in storage as program unit In device, above procedure unit stored in memory is executed by processor to realize corresponding function.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include at least one deposit Store up chip.
The sequence of above-mentioned the embodiment of the present application can not represent the quality of embodiment.
In above-described embodiment of the application, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.In several embodiments provided herein, it should be appreciated that It arrives, disclosed technology contents can be realized by another way.
Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, can be one Kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the application whole or Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection domain of the application.

Claims (13)

1. a kind of method of location character position in virtual reality scenario, which is characterized in that including:
In the case where detecting string editing state, graphical control is shown in interface;
Receive the positioning operation executed to the graphical control by virtual reality input equipment;
Corresponding character position is positioned in the character string according to the positioning operation.
2. the method as described in claim 1, which is characterized in that the graphical control includes at least target interval, the positioning Operation positions for positioning target location in the target interval, according to the positioning operation in the character string corresponding The step of character position, including:
Corresponding character bit is positioned in the character string according to relative position of the target location in the target interval It sets.
3. method as claimed in claim 2, which is characterized in that the graphical control further includes slider control, and reception passes through void The step of positioning operation that quasi- reality input equipment executes the graphical control, including:
The slide for meeting preset condition executed to the slider control by the virtual reality input equipment is received, In, the slider control according to the control of the slide in the target interval for sliding;
Determine that the current location of the slider control is the target location.
4. according to the method in claim 2 or 3, which is characterized in that described the case where detecting string editing state Under step, including:
The character input boxes with preset length are provided in interface, wherein the character input boxes are used to receive the word of input Symbol;
The state of the character input boxes is detected so that there are character strings in the determination character input boxes.
5. according to the method described in claim 4, it is characterized in that, described the step of showing graphical control in interface, including:
The length of current string is obtained, each character position established in the current string is right in the target interval The mapping relations for the position answered;
The target interval is shown in the interface.
6. according to the method described in claim 5, it is characterized in that, it is described according to the target location in the target interval Relative position the step of positioning corresponding character position in the character string, including:
Corresponding character is determined according to relative position of the target location in the target interval and the mapping relations Position of the position in the current string;
The input cursor of the character input boxes is placed in the corresponding character position.
7. according to the method described in claim 6, it is characterized in that, described be placed in institute by the input cursor of the character input boxes The step of stating corresponding character position include:
The character paragraph shown in the character input boxes is determined according to the corresponding character position and the preset length Content, wherein include the corresponding character of the input cursor in the character paragraph content;
The character paragraph content is shown in the character input boxes.
8. according to the method described in claim 1, it is characterized in that, the positioning operation includes:Take up an official post in the graphical control It anticipates the clicking operation that position executes, wherein the corresponding position of the clicking operation has with the corresponding character position to be mapped Relationship.
9. according to the method described in claim 1, it is characterized in that, the positioning operation includes:To on the graphical control The drag operation that preset control executes, wherein the drag operation is used to the preset control being dragged to the graphical control On any position, the location of described preset control and the corresponding character position have mapping relations.
10. the device of location character position in a kind of virtual reality scenario, which is characterized in that including:
Display unit, in the case where detecting string editing state, graphical control to be shown in interface;
Receiving unit, for receiving the positioning operation executed to the graphical control by virtual reality input equipment;
Positioning unit, for positioning corresponding character position in the character string according to the positioning operation.
11. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require to position word in virtual reality scenario described in 1 to 9 any one The method for according with position.
12. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run The method that profit requires location character position in the virtual reality scenario described in any one of 1 to 9.
13. a kind of terminal, which is characterized in that including:
One or more processors, memory, display device and one or more programs, wherein one or more of journeys Sequence is stored in the memory, and is configured as being executed by one or more of processors, one or more of Program includes the method for location character position in the virtual reality scenario described in any one of perform claim requirement 1 to 9.
CN201810301493.0A 2018-04-04 2018-04-04 The method and apparatus of location character position in virtual reality scenario Pending CN108536354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810301493.0A CN108536354A (en) 2018-04-04 2018-04-04 The method and apparatus of location character position in virtual reality scenario

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810301493.0A CN108536354A (en) 2018-04-04 2018-04-04 The method and apparatus of location character position in virtual reality scenario

Publications (1)

Publication Number Publication Date
CN108536354A true CN108536354A (en) 2018-09-14

Family

ID=63483201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810301493.0A Pending CN108536354A (en) 2018-04-04 2018-04-04 The method and apparatus of location character position in virtual reality scenario

Country Status (1)

Country Link
CN (1) CN108536354A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486377A (en) * 2020-12-07 2021-03-12 网易(杭州)网络有限公司 Text editing method and device and electronic equipment
CN114546240A (en) * 2022-02-25 2022-05-27 网易(杭州)网络有限公司 Interactive implementation method, device, equipment and storage medium of game

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103999095A (en) * 2011-03-25 2014-08-20 埃克森美孚上游研究公司 Immersive Training Environment
CN105122267A (en) * 2013-03-15 2015-12-02 苹果公司 Mobile computing device with multiple access modes
CN105378593A (en) * 2012-07-13 2016-03-02 索夫特克尼特科软件公司 Method and system for human-to-computer gesture based simultaneous interactions using singular points of interest on a hand
CN106484274A (en) * 2015-08-31 2017-03-08 阿里巴巴集团控股有限公司 A kind of touch control device cursor positioning method and device
CN106527916A (en) * 2016-09-22 2017-03-22 乐视控股(北京)有限公司 Operating method and device based on virtual reality equipment, and operating equipment
CN106980438A (en) * 2017-03-20 2017-07-25 联想(北京)有限公司 Cursor control method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103999095A (en) * 2011-03-25 2014-08-20 埃克森美孚上游研究公司 Immersive Training Environment
CN105378593A (en) * 2012-07-13 2016-03-02 索夫特克尼特科软件公司 Method and system for human-to-computer gesture based simultaneous interactions using singular points of interest on a hand
CN105122267A (en) * 2013-03-15 2015-12-02 苹果公司 Mobile computing device with multiple access modes
CN106484274A (en) * 2015-08-31 2017-03-08 阿里巴巴集团控股有限公司 A kind of touch control device cursor positioning method and device
CN106527916A (en) * 2016-09-22 2017-03-22 乐视控股(北京)有限公司 Operating method and device based on virtual reality equipment, and operating equipment
CN106980438A (en) * 2017-03-20 2017-07-25 联想(北京)有限公司 Cursor control method, apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486377A (en) * 2020-12-07 2021-03-12 网易(杭州)网络有限公司 Text editing method and device and electronic equipment
CN114546240A (en) * 2022-02-25 2022-05-27 网易(杭州)网络有限公司 Interactive implementation method, device, equipment and storage medium of game
CN114546240B (en) * 2022-02-25 2023-08-22 网易(杭州)网络有限公司 Interactive implementation method, device and equipment for game and storage medium

Similar Documents

Publication Publication Date Title
CN102289342B (en) User interface and method for Object Management group
DE112008004156T5 (en) Gesture-based editing mode
US10599311B2 (en) Layout constraint manipulation via user gesture recognition
EP3491506B1 (en) Systems and methods for a touchscreen user interface for a collaborative editing tool
CN109375865A (en) Jump, check mark and delete gesture
US20070214136A1 (en) Data mining diagramming
CN107992246A (en) A kind of video editing method and its device and intelligent terminal
CN112506502B (en) Visual programming method, device, equipment and storage medium based on man-machine interaction
US8146021B1 (en) User interface for path distortion and stroke width editing
JP2505104B2 (en) Method and computer system for pointer remapping
US20070292832A1 (en) System for visual creation of music
US10078723B1 (en) Method and apparatus for design rules driven interactive violation display
CN108536354A (en) The method and apparatus of location character position in virtual reality scenario
EP4268913A1 (en) Position adjustment method and apparatus for operation controls, and terminal, and storage medium
US20170364248A1 (en) Segment eraser
WO2022144649A1 (en) Time lapse video generation by re-executing user instructions in a graphics vector application
CN112486377B (en) Text editing method and device and electronic equipment
CN109241564A (en) A kind of Photographing On-line method and apparatus of computer room assets
US8847983B1 (en) Merge tool for generating computer graphics
US10241651B2 (en) Grid-based rendering of nodes and relationships between nodes
JP6131004B2 (en) Object display method, program, and apparatus
JP6970712B2 (en) Information processing program, information processing device, information processing system, and information processing method
WO2023160015A1 (en) Method and apparatus for marking position in virtual scene, and device, storage medium and program product
CN110096200A (en) Text handling method and device, storage medium, electronic equipment
JP5747688B2 (en) Computer apparatus and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180914