CN110244895A - Control method, apparatus, the mobile terminal, storage medium of input method banner position - Google Patents

Control method, apparatus, the mobile terminal, storage medium of input method banner position Download PDF

Info

Publication number
CN110244895A
CN110244895A CN201910536039.8A CN201910536039A CN110244895A CN 110244895 A CN110244895 A CN 110244895A CN 201910536039 A CN201910536039 A CN 201910536039A CN 110244895 A CN110244895 A CN 110244895A
Authority
CN
China
Prior art keywords
banner
input
input method
current
case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910536039.8A
Other languages
Chinese (zh)
Other versions
CN110244895B (en
Inventor
张帅
方迟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910536039.8A priority Critical patent/CN110244895B/en
Publication of CN110244895A publication Critical patent/CN110244895A/en
Application granted granted Critical
Publication of CN110244895B publication Critical patent/CN110244895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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

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 disclosure provides a kind of method, apparatus of control input method banner position, mobile terminal, storage medium, the method for controlling input method banner position includes: in the case where that cannot obtain cursor position in real time, according to the cursor position of reference input, input content and default input parameter, current input position is estimated;And it is based on the current input position, input method banner position is set.Even if the method for the control input method banner position of the disclosure can not obtain cursor position in real time, the position of input method banner also can be operated and adjusted with input.

Description

Control method, apparatus, the mobile terminal, storage medium of input method banner position
Technical field
This disclosure relates to technical field of electronic equipment more particularly to it is a kind of control input method banner position method, apparatus, Mobile terminal, storage medium.
Background technique
In the prior art, when being inputted in terminal system, no matter use among keyboard, soft keyboard, mouse etc. Any input equipment, it will usually the banner (input method word selection frame) of input method occur.
Due to the difference of the display environment of the input habit or present user interface of user, if input method banner is solid It is constant to be scheduled on a position, it is poor to may result in operability, for example, using dummy keyboard, some touch screen type electricity Input method word selection frame is fixed on the top of dummy keyboard by sub- product, it has not been convenient to be operated.Therefore, it is necessary to for input method banner Display position and content display mode, make adaptive improvement.
Summary of the invention
The Summary is provided so that with brief form introduction design, these designs will be in specific implementation below Mode part is described in detail.The Summary is not intended to identify the key feature of claimed technical solution or must Feature is wanted, is intended to be used to limit the range of the technical solution of required protection.
In view of above-mentioned one of technical problem, the disclosure provides a kind of method, apparatus of control input method banner position, moves Dynamic terminal, storage medium also can adjust input method banner as input operates even if cursor position can not be obtained in real time Position so that input method banner can be set on the position being more convenient to operate.
One of in order to solve the above-mentioned technical problem, the following technical solution is employed for the disclosure.
In some embodiments, a kind of method controlling input method banner position is provided,
The described method includes:
In the case where cannot cursor position be obtained in real time, according to the cursor position of reference input, input content, with And default input parameter, estimate current input position;And
Based on the current input position, input method banner position is set.
Include:
Current input position scavenging valve, is configured as in the case where that cannot obtain cursor position in real time, according to base The cursor position of quasi- input point, input content and default input parameter, to estimate current input position;And
Input method banner position setting unit is configured as that input method banner is arranged based on the current input position Position.
In some embodiments, a kind of mobile terminal is provided, comprising: at least one processor and at least one processor;
Wherein, memory is for storing program code, the program code that processor is used to that the memory to be called to be stored The method for executing the control input method banner position.
In some embodiments, a kind of storage medium is provided, the storage medium is for storing program code, described program The method that code is used to execute the control input method banner position.
According to the method, apparatus of the control input method banner position of the disclosure, even if in some operating systems because using The reasons such as some nonstandard applications and in the case where cursor position can not being obtained in real time, can also push away in time and reliably Settled preceding input position, as input operates and adjust the position of input method banner, so that input method banner can be set more Convenient on the position of operation.
Detailed description of the invention
In conjunction with attached drawing and refer to following specific embodiments, the above and other feature, advantage of each embodiment of the disclosure and Aspect will be apparent.In attached drawing, the same or similar appended drawing reference indicates the same or similar element.It should manage Solution attached drawing is schematically that original part and element are not necessarily drawn to scale.
Fig. 1 is the flow chart for showing the key step of the method for control input method banner position of the disclosure.
Fig. 2 is the flow chart for showing the key step of the method for control input method banner position of the disclosure.
Fig. 3 is shown in the method for the control input method banner position of the disclosure according to current input position and display The distance between boundary of display area relationship is arranged the flow chart of input method banner position.
Fig. 4, which is shown, adjusts input method banner according to different situations in the method for the control input method banner position of the disclosure Display mode setting flow chart.
The schematic diagram of one embodiment when Fig. 5 is the method for showing the control input method banner position for executing the disclosure.
The schematic diagram of one embodiment when Fig. 6 is the method for showing the control input method banner position for executing the disclosure.
Fig. 7, which is shown, to be suitable for being used to realizing that the structure of the electronic equipment (such as mobile terminal) 800 of the embodiment of the present disclosure is shown It is intended to.
Specific embodiment
Embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the certain of the disclosure in attached drawing Embodiment, it should be understood that, the disclosure can be realized by various forms, and should not be construed as being limited to this In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the disclosure.It should be understood that It is that being given for example only property of the accompanying drawings and embodiments effect of the disclosure is not intended to limit the protection scope of the disclosure.
It should be appreciated that each step recorded in disclosed method embodiment can execute in a different order, And/or parallel execution.In addition, method implementation may include additional step and/or omit the step of execution is shown.This public affairs The range opened is not limited in this respect.
Terms used herein " comprising " and its deformation are that opening includes, i.e., " including but not limited to ".Term "based" It is " being based at least partially on ".Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " indicates " at least one other embodiment ";Term " some embodiments " expression " at least some embodiments ".The correlation of other terms is fixed Justice provides in will be described below.
It is noted that the concepts such as " first " that refers in the disclosure, " second " are only used for different devices, module or list Member distinguishes, and is not intended to limit the sequence or relation of interdependence of function performed by these devices, module or unit.
It is noted that referred in the disclosure "one", the modification of " multiple " be schematically and not restrictive this field It will be appreciated by the skilled person that being otherwise construed as " one or more " unless clearly indicate otherwise in context.
The being merely to illustrate property of title of the message or information that are interacted between multiple devices in disclosure embodiment Purpose, and be not used to limit the range of these message or information.
It in the prior art, such as in Android operation system, can in the case where having used some nonstandard applications Cursor position can not be obtained, at this point, operating and presetting aobvious in the input area of input parameters dictate although as input Show that content and the relative position of input method banner are changed, operating system can not also adjust the aobvious of input method banner in real time Show position.The disclosure solves such problems, detailed description below by embodiment below.
Fig. 1 is the flow chart for showing the key step of the method for control input method banner position of the disclosure.In general, making During being inputted with input method, it will appear cursor position and current in the input area of default input parameters dictate Using cursor position can be obtained, however, in certain non-standard applications, although can exist can be inputted using input method Operation, can not but obtain the situation of cursor position.
Disclosed method is as shown in Figure 1:
In a step 101, in the case where can not cursor position be obtained in real time, according to the cursor position of reference input It sets, input content and default input parameter, estimates current input position.
Wherein, reference input can be starting input point, that is, starts the input position for the first time when input method, be also possible to The input position once estimated in input process can also be in input process by clicking the operation such as mouse, touch-control Mode and the input position positioned.Input content can be that middle foreign language, symbol, emoticon, picture etc. are any can be defeated Enter content.Default input parameter is the default input parameter of work at present forms, can include but is not limited to the text of input The dimension of picture of font size size or the picture of input, table size of insertion etc., for example, below in an example and answering With being illustrated in case where starting input frame and being inputted in example, but the present disclosure is not limited to be applied in input frame Input is readily applicable to any the case where being inputted using input method banner.Input frame is also referred to as text box, and input frame is A kind of interactive mode, when cursor is located at input frame, user can input or replicate wherein paste text, number etc. Content, can input text or text information in input frame, and the default input parameter of input frame may include title, vertical Column, horizontal row, background colour, scroll bar color and form, frame color, literal type, font size and color, interval, line-spacing etc. In part or all.
In a step 102, based on the current input position estimated in a step 101, input method banner position is set.
It, can be practical according to the use habit of user or the region that can be used for display input method banner etc. in this step Situation is configured.
Hereinafter, further illustrating the other embodiments of the method for the control input method banner position of the disclosure.
Fig. 2 is the flow chart for showing the key step of the method for control input method banner position of the disclosure.Such as Fig. 2 institute Show, be illustrated in case where being inputted in input frame, in step 201, starts input method.
In step 202, judge whether that cursor position can be obtained from application, in the case where cursor position can be obtained ("Yes" in step 202), enters step 205, and input method banner position is arranged based on cursor position;Cursor position can not obtained In the case where setting ("No" in step 202), 203 are entered step.
In step 203, it firstly, obtaining initial input position, is operated when by touch control operation or mouse clicking operation etc. And when specifying initial input position in input frame, the touch control operation or mouse clicking operation make cursor be shown in this initially Input position, operating system can obtain the position of the cursor as a result,.In the present embodiment, for example, by the display of display The coordinate in the region upper left corner is set as (0,0), the coordinate in the display area lower right corner of display is set as (x, y), for example, Mobile phone screen Curtain may have a variety of resolution ratio such as 1280x720,1440x720,2160x1080,2960x1440, and PAD, laptop, In console display, there is also a variety of resolution ratio, the coordinate in the display area lower right corner is set as the resolution that (x, y) corresponds to display Rate.Then, the parameter information (default input paramete information) of current input frame is obtained.Then, it obtains in current input frame Character quantity, the character types of middle input.It then, is the cursor for originating input point in the present embodiment according to reference input Position, the parameter of input frame, input content has estimated the coordinate of current input position.In the coordinate for having estimated current input position Afterwards, 204 are entered step.
In step 204, the coordinate based on the preceding input position deduced in above-mentioned steps 203, setting input method are horizontal Width position.Herein, input method banner position can be near current input position, for example, being equipped with one apart from current input bit Top, lower section, left, right, upper left, upper right, lower-left, the bottom right of set a distance.Furthermore, it is possible to make some side of input method banner Boundary is aligned with current input position, such as left alignment or right alignment, can also be carried out central alignment or is fixed as having There are certain intervals.After being provided with input method banner position, it can also determine that multiple characters to be selected are inputting according to the actual situation Arrangement mode in method banner, when being arranged using current input position as starting point, most common character to be selected with it is current defeated The distance for entering position is nearest, can be improved input efficiency.
Although cursor position can not be obtained in real time as a result, also it is capable of the coordinate of presumptive current input position, it is real Existing input method banner follows input operation and moves display, can be improved the convenience of input operation, improves user experience.
In addition, can also be set in input method banner outside input frame one fixes according to the use habit of user Position changes without following the variation of current input position, for example, the lower boundary that the display area of display is arranged in is attached Closely, it also can be avoided input method banner as a result, and cover current input position.
It should be noted that being not limited to one character of every input when the coordinate of input position before estimating in step 203 With regard to updating the presumption of the primary coordinate for carrying out primary preceding input position, can also be executed by the period of the input character of predetermined quantity Step 203.Although the precision that input method banner position follows current input position as a result, can slightly be affected, can be big Width reduces operand, saves system operations resource, can be improved user experience in terms of the speed of service.
In addition, in step 204, for different actual conditions, input method banner position can differently be arranged It sets.Hereinafter, being illustrated based on attached drawing.
Fig. 3 is shown in the method for the control input method banner position of the disclosure according to current input position and display The distance between boundary of display area relationship is arranged the flow chart of input method banner position.As shown in figure 3, in step 303 In, estimate current input position.In step 304, judge a certain boundary (the input method cross of current input position and display area Boundary on the length direction (transverse direction) of width, the boundary in the short transverse (longitudinal direction) of input method banner) the distance between whether Greater than preset distance (lateral distance, fore-and-aft distance), which is the foot on the length direction (transverse direction) of input method banner It enough shows the size of the input method banner, show the input method banner enough in the short transverse (longitudinal direction) of input method banner Size.In the case where being determined as "Yes" in step 304,306 are entered step, input method banner is shown in current input position Between the boundary of display area;In the case where being determined as "No" in step 304,305 are entered step, by input method banner It is shown between current input position and another boundary of display area, which is with a certain boundary across current defeated Enter the boundary of the opposed display area in position.It should be noted that described herein " show the ruler of the input method banner enough It is very little " be not limited to size equal to the input method banner, can also by user according to habit be set as the transverse direction than input method banner, The big preset distance of longitudinal size.In addition, in the disclosure, for the length direction of input method banner, no matter by input method cross Width be shown displayed across or carries out longitudinal display, referred to as " left and right directions ", and by the display area side at left and right directions both ends Boundary is known as " both bounded sides ", meanwhile, for the direction (longitudinal direction) vertical with length direction of input method banner, referred to as " on Lower direction ", and the display area boundary of upper and lower ends is known as " upper and lower two boundary ".
It, can be according to the distance on current input position and the boundary of display area come excellent as a result, on horizontal and vertical The display position for changing input method banner, avoids a part of input method banner from being in except display area, can be improved input behaviour The convenience of work improves user experience.
Although illustrating to adjust input method according to the distance between boundary of input method banner and display area based on Fig. 3 The display position of banner, still, in certain circumstances, the display position of input method banner may should not make larger change It is dynamic, for example, may be blocked defeated when input method banner is moved to top below current input position (or cursor position) The content entered causes user carrying out being difficult to the content referring to having inputted when subsequent input.Accordingly it is also possible to according to reality It needs and selects other adjustment modes, be not limited to only change the display position of input method banner, also can change input method banner Display mode or change input method banner display position while change display mode, be illustrated below.
Fig. 4, which is shown, adjusts input method banner according to different situations in the method for the control input method banner position of the disclosure Display mode setting flow chart.
As shown in figure 4, in step 401, whether spatially transverse size of the judgement for display input method banner is enough to show Show the length of input method banner.
In the case where being judged as "Yes" in step 401,404 are entered step, input method banner is shown by default-length.
In the case where being judged as "No" in step 401,402 are entered step, further judgement is horizontal for display input method Whether the space longitudinal size of width is enough to show multirow character to be selected.
In the case where being judged as "Yes" in step 402,405 are entered step, reduces the length dimension of input method banner simultaneously Increase longitudinal size and shows character multirow to be selected.
In the case where being judged as "No" in step 402,403 are entered step, reduces the length dimension of input method banner, but Do not change the longitudinal size of input method banner, and reduces the quantity of shown character to be selected.
The adaptability of input method banner position and display mode is further improved as a result, under different specific situations, It can guarantee the appropriate display of input method banner, it is ensured that its availability.
In the following, illustrating each step in the method for above-mentioned control input method banner position based on concrete application example Suddenly, above-mentioned application example is only that demonstration and does not lie in the restriction disclosure.
Using example 1
One when Fig. 5 is the method for showing the control input method banner position for executing the disclosure is applied exemplary signal Figure.As shown in fig. 5, it is assumed that resolution ratio be 1280x720 screen in, input frame coordinate be (95,195), input frame having a size of The type freely adjusted according to input content, the coordinate of initial input position are (100,200), and font is xx body, font size xx Number, character pitch is standard, and line-spacing is single-spaced, is calculated in pixels, and each character is laterally across 8 pixels, longitudinal direction across 10 Pixel, it is assumed that text " one two three four five six seven eight nine ten " are had input, and have input line feed between " five " and " six ", at this point, Current input position is x=100+5*8=140, y=200+1*10=210.The coordinate for estimating current input position as a result, is (140,210).According to the coordinate (140,210), input method banner is shown in its vicinity.In the present embodiment 1, by input method The left end of banner is aligned with current input position, and is shown generally at the lower section of current input position.
Using example 2
The schematic diagram of one embodiment when Fig. 6 is the method for showing the control input method banner position for executing the disclosure. As shown in Figure 6, it is assumed that resolution ratio be 1280x720 screen in, input frame coordinate be (1215,700), input frame having a size of The type freely adjusted according to input content, the coordinate of initial input position are (1220,705), and font is xx body, font size xx Number, character pitch is standard, and line-spacing is single-spaced, and input method banner shows 5 characters to be selected, calculates in pixels, total length For 80 pixels, 25 pixels of height, at this point, current the distance between input position and screen lower boundary are 5 pixels, it is right with screen Frontier distance is 10 pixels, and current input position lower section and right are not enough to display input method banner, therefore, is shown in this application In example 2, the position of input method banner is arranged in the top of current input position, and by the right end of input method banner and currently The coordinate of input position is aligned.
More than, the method for the control input method banner position of the disclosure is illustrated based on embodiment and application.In addition, The disclosure also provide it is a kind of control input method banner position device, mobile terminal, storage medium, illustrate below these devices, Mobile terminal, storage medium.
The device of the control input method banner position of the disclosure includes: current input position scavenging valve, cannot be real When obtain cursor position in the case where, according to the cursor position of starting input point, input content and default input parameter, To estimate current input position;And input method banner position setting unit, it is based on current input position, setting input method is horizontal Width position.It is a variety of that each unit in above-mentioned apparatus can be software function module or specialized hardware or common hardware combination software etc. Mode it is any.In addition, the being also an option that property of device of the control input method banner position of the disclosure include judging unit, It judges whether that cursor position can be obtained in real time when being inputted using input method.
Originally for device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method The part of embodiment illustrates.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit that part illustrates may or may not be physically separated, and component shown as a unit can be or can also Not to be physical unit.Some or all of the modules therein can be selected to realize this embodiment scheme according to the actual needs Purpose.Those of ordinary skill in the art can understand and implement without creative efforts.
Below with reference to Fig. 7, it illustrates the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure, (such as mobile terminal is set Standby or server) 700 structural schematic diagram.Terminal device in the embodiment of the present disclosure can include but is not limited to such as move electricity Words, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia Player), the mobile terminal and such as number TV, desktop computer etc. of car-mounted terminal (such as vehicle mounted guidance terminal) etc. Fixed terminal.Electronic equipment shown in Fig. 7 is only an example, should not function and use scope to the embodiment of the present disclosure Bring any restrictions.
As shown in fig. 7, electronic equipment 700 may include processing unit (such as central processing unit, graphics processor etc.) 701, random access can be loaded into according to the program being stored in read-only memory (ROM) 702 or from storage device 708 Program in memory (RAM) 703 and execute various movements appropriate and processing.In RAM 703, it is also stored with electronic equipment Various programs and data needed for 700 operations.Processing unit 701, ROM 702 and RAM 703 pass through the phase each other of bus 704 Even.Input/output (I/O) interface 705 is also connected to bus 704.
In general, following device can connect to I/O interface 705: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 706 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 707 of dynamic device etc.;Storage device 708 including such as tape, hard disk etc.;And communication device 709.Communication device 709, which can permit electronic equipment 700, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 7 shows tool There is the electronic equipment 700 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 709, or from storage device 708 It is mounted, or is mounted from ROM 702.When the computer program is executed by processing unit 701, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment executes the control input method banner position method of the above-mentioned disclosure.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
The described method includes:
In the case where cannot cursor position be obtained in real time, according to the cursor position of reference input, input content, with And default input parameter, estimate current input position;And
Based on the current input position, input method banner position is set.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
The method is executed as the period using the input character of predetermined quantity,
The method also includes: judge whether that cursor position can be obtained in real time with the period.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
In the case where can cursor position be obtained in real time, it is horizontal that the input method is arranged based on the cursor position obtained in real time Width position.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
In the case where cannot cursor position be obtained in real time, the input method banner position is set at described default Input the fixed position except the input area of parameters dictate.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
In the case where that cannot obtain cursor position in real time, the setting input method banner position includes: based on presumption The input method banner position is arranged in the preset range around the current input position the current input position.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
The setting input method banner position includes: in the direction vertical with the length direction of input method banner i.e. upper and lower Upwards, in two boundaries up and down of the display area of display device one between the current input position at a distance from be less than it is pre- It is in the case where definite value, input method banner position setting is another in the current input position and upper and lower two boundaries Between person.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
The setting input method banner position includes: to show on the length direction i.e. left and right directions of input method banner The distance between one and the current input position are less than the case where predetermined value in the both bounded sides of the display area of device Under, by input method banner position setting in the current input position and the both bounded sides between another one.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
The method also includes: it, will be multiple to be selected on the length direction of input method banner in the input method banner Character is arranged using the current input position as starting point.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
The method also includes: the size of the input method banner is adjusted, to reduce the length of the input method banner.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
On length direction, that is, left and right directions of input method banner, in the display of the current input position and display device In the case that the distance of the both bounded sides in region is respectively less than predetermined value, reduce described in the length of the input method banner and reduction The character quantity to be selected shown in input method banner.
According to one or more other embodiments of the present disclosure, a kind of method for controlling input method banner position is provided, it is special Sign is,
On length direction, that is, left and right directions of input method banner, in the display of the current input position and display device In the case that the distance of the both bounded sides in region is respectively less than predetermined value, reduces the length of the input method banner and increase width To which the character to be selected shown in the input method banner be shown with multirow.
According to one or more other embodiments of the present disclosure, a kind of device for controlling input method banner position is provided, it is special Sign is,
Include:
Current input position scavenging valve, is configured as in the case where that cannot obtain cursor position in real time, according to base The cursor position of quasi- input point, input content and default input parameter, to estimate current input position;And
Input method banner position setting unit is configured as that input method banner is arranged based on the current input position Position.
According to one or more other embodiments of the present disclosure, a kind of device for controlling input method banner position is provided, it is special Sign is,
The current input position scavenging valve is configured as working as using the input character of predetermined quantity as described in period presumption Preceding input position, the input method banner position setting unit are configured as with the cycle set input method banner position,
Further include judging unit, is configured as judging whether that cursor position can be obtained in real time with the period.
According to one or more other embodiments of the present disclosure, a kind of device for controlling input method banner position is provided, it is special Sign is,
The input method banner position setting unit is configured as being based in the case where that can obtain cursor position in real time The input method banner position is arranged in the cursor position obtained in real time.
According to one or more other embodiments of the present disclosure, a kind of device for controlling input method banner position is provided, it is special Sign is,
The input method banner position setting unit is configured as in the case where that cannot obtain cursor position in real time, by institute State the fixed position that input method banner position is set at except the input area of the default input parameters dictate.
According to one or more other embodiments of the present disclosure, a kind of device for controlling input method banner position is provided, it is special Sign is,
The input method banner position setting unit is configured as in the case where that cannot obtain cursor position in real time, by institute It states in the preset range that input method banner position is arranged in around the current input position.
According to one or more other embodiments of the present disclosure, a kind of device for controlling input method banner position is provided, it is special Sign is,
The input method banner position setting unit is configured as in the direction vertical with the length direction of input method banner I.e. in up and down direction, in two boundaries up and down of the display area of display device between one and the current input position away from In the case where being less than predetermined value, by input method banner position setting in the current input position and the both sides up and down In boundary between another one.
According to one or more other embodiments of the present disclosure, a kind of device for controlling input method banner position is provided, it is special Sign is,
The input method banner position setting unit is configured as on the length direction i.e. left and right directions of input method banner, It is less than predetermined value at a distance from one in the both bounded sides of the display area of display device is between the current input position In the case where, by input method banner position setting in the current input position and the both bounded sides another one it Between.
According to one or more other embodiments of the present disclosure, a kind of mobile terminal is provided characterized by comprising at least One memory and at least one processor;
Wherein, memory is for storing program code, the program code that processor is used to that the memory to be called to be stored The method for executing above-mentioned control input method banner position.
According to one or more other embodiments of the present disclosure, a kind of storage medium is provided, the storage medium is for storing Program code, the method that said program code is used to execute above-mentioned control input method banner position.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.
Although this is not construed as requiring these operations with institute in addition, depicting each operation using certain order The certain order that shows executes in sequential order to execute.Under certain environment, multitask and parallel processing may be advantageous 's.Similarly, although containing several specific implementation details in being discussed above, these are not construed as to this public affairs The limitation for the range opened.Certain features described in the context of individual embodiment can also be realized in combination single real It applies in example.On the contrary, the various features described in the context of single embodiment can also be individually or with any suitable The mode of sub-portfolio is realized in various embodiments.
Although having used specific to this theme of the language description of structure feature and/or method logical action, answer When understanding that theme defined in the appended claims is not necessarily limited to special characteristic described above or movement.On on the contrary, Special characteristic described in face and movement are only to realize the exemplary forms of claims.

Claims (20)

1. a kind of method for controlling input method banner position, which is characterized in that
The described method includes:
In the case where cannot cursor position be obtained in real time, according to the cursor position of reference input, input content and pre- If inputting parameter, current input position is estimated;And
Based on the current input position, input method banner position is set.
2. the method for control input method banner position according to claim 1, which is characterized in that
The method is executed as the period using the input character of predetermined quantity,
The method also includes: judge whether that cursor position can be obtained in real time with the period.
3. the method for control input method banner position according to claim 1, which is characterized in that
In the case where can cursor position be obtained in real time, input method banner position is arranged based on the cursor position obtained in real time It sets.
4. the method for control input method banner position according to claim 1, which is characterized in that
In the case where cannot cursor position be obtained in real time, the input method banner position is set at the default input A fixed position except the input area of parameters dictate.
5. the method for control input method banner position according to claim 1, which is characterized in that
In the case where that cannot obtain cursor position in real time, the setting input method banner position includes: based on described in presumption The input method banner position is arranged in the preset range around the current input position current input position.
6. the method for control input method banner position according to claim 1, which is characterized in that
The setting input method banner position includes: in the direction vertical with the length direction of input method banner i.e. up and down direction On, in two boundaries up and down of the display area of display device one between the current input position at a distance from be less than it is predetermined In the case where value, by input method banner position setting in the current input position and another one in two boundaries up and down Between.
7. the method for control input method banner position according to claim 1, which is characterized in that
The setting input method banner position includes: on the length direction i.e. left and right directions of input method banner, in display device Display area both bounded sides in the distance between one and the current input position be less than predetermined value in the case where, will Input method banner position setting is in the current input position and the both bounded sides between another one.
8. the method for control input method banner position according to claim 1, which is characterized in that
The method also includes: in the input method banner, by multiple characters to be selected on the length direction of input method banner It is arranged using the current input position as starting point.
9. according to claim 1 to 8 described in any item control input method banner positions method, which is characterized in that
The method also includes: the size of the input method banner is adjusted, to reduce the length of the input method banner.
10. the method for the control input method banner position according to claim 9, which is characterized in that
On length direction, that is, left and right directions of input method banner, in the display area of the current input position and display device Both bounded sides distance be respectively less than predetermined value in the case where, reduce the length of the input method banner and reduce the input The character quantity to be selected shown in method banner.
11. the method for control input method banner position according to claim 9, which is characterized in that
On length direction, that is, left and right directions of input method banner, in the display area of the current input position and display device Both bounded sides distance be respectively less than predetermined value in the case where, reduce the length of the input method banner and increase width to The character to be selected shown in the input method banner is shown with multirow.
12. a kind of device for controlling input method banner position, which is characterized in that
Include:
Current input position scavenging valve, is configured as in the case where that cannot obtain cursor position in real time, defeated according to benchmark The cursor position of access point, input content and default input parameter, to estimate current input position;And
Input method banner position setting unit is configured as that input method banner position is arranged based on the current input position.
13. the device of control input method banner position according to claim 12, which is characterized in that
The current input position scavenging valve is configured as described current defeated by period presumption of the input character of predetermined quantity Entering position, the input method banner position setting unit is configured as with the cycle set input method banner position,
Further include judging unit, is configured as judging whether that cursor position can be obtained in real time with the period.
14. the device of control input method banner position according to claim 12, which is characterized in that
The input method banner position setting unit is configured as in the case where that can obtain cursor position in real time, based on real-time The input method banner position is arranged in the cursor position of acquisition.
15. the device of control input method banner position according to claim 12, which is characterized in that
The input method banner position setting unit is configured as in the case where that cannot obtain cursor position in real time, will be described defeated Enter the fixed position that method banner position is set at except the input area of the default input parameters dictate.
16. the device of control input method banner position according to claim 12, which is characterized in that
The input method banner position setting unit is configured as in the case where that cannot obtain cursor position in real time, will be described defeated Enter in the preset range that method banner position is arranged in around the current input position.
17. the device of control input method banner position according to claim 12, which is characterized in that
The input method banner position setting unit be configured as the direction vertical with the length direction of input method banner i.e. on Lower section is upward, in two boundaries up and down of the display area of display device one between the current input position at a distance from it is small In the case where predetermined value, by input method banner position setting in the current input position and two boundaries up and down Between another one.
18. the device of control input method banner position according to claim 12, which is characterized in that
The input method banner position setting unit is configured as on the length direction i.e. left and right directions of input method banner, aobvious The distance between one and the current input position are less than the feelings of predetermined value in the both bounded sides of the display area of showing device Under condition, by input method banner position setting in the current input position and the both bounded sides between another one.
19. a kind of mobile terminal characterized by comprising at least one processor and at least one processor;
Wherein, memory is executed for storing program code, the program code that processor is used to that the memory to be called to be stored The method of described in any item control input method banner positions of claim 1 to 11.
20. a kind of storage medium, the storage medium is for storing program code, and said program code is for perform claim requirement The method of 1 to 11 described in any item control input method banner positions.
CN201910536039.8A 2019-06-20 2019-06-20 Method and device for controlling banner position of input method, mobile terminal and storage medium Active CN110244895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910536039.8A CN110244895B (en) 2019-06-20 2019-06-20 Method and device for controlling banner position of input method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910536039.8A CN110244895B (en) 2019-06-20 2019-06-20 Method and device for controlling banner position of input method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110244895A true CN110244895A (en) 2019-09-17
CN110244895B CN110244895B (en) 2021-03-30

Family

ID=67888439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910536039.8A Active CN110244895B (en) 2019-06-20 2019-06-20 Method and device for controlling banner position of input method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110244895B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795196A (en) * 2019-10-31 2020-02-14 北京字节跳动网络技术有限公司 Window display method, device, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1664769A (en) * 2004-03-05 2005-09-07 乐金电子(中国)研究开发中心有限公司 Display method of the chinese mobile communication terminal simple english pop-up type word compiling window
CN1746820A (en) * 2004-09-08 2006-03-15 乐金电子(中国)研究开发中心有限公司 Method for inputting dynamic display window of mobile telecommunication terminal
CN102830934A (en) * 2012-08-22 2012-12-19 北京壹人壹本信息科技有限公司 Method and device for displaying of hand character input
CN103699530A (en) * 2012-09-27 2014-04-02 百度在线网络技术(北京)有限公司 Method and equipment for inputting texts in target application according to voice input information
US20140115524A1 (en) * 2005-02-05 2014-04-24 Yu-Chih Cheng Universal x, y-axis positioning input method
CN104199607A (en) * 2014-08-11 2014-12-10 北京搜狗科技发展有限公司 Candidate selection method and device based on input method
CN104731361A (en) * 2015-03-04 2015-06-24 百度在线网络技术(北京)有限公司 Method and device for determining selectable zones of candidate entries
CN106201009A (en) * 2016-06-24 2016-12-07 维沃移动通信有限公司 A kind of characters input method and electronic equipment
CN108563486A (en) * 2018-04-26 2018-09-21 广州品唯软件有限公司 A kind of method and device for controlling cursor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1664769A (en) * 2004-03-05 2005-09-07 乐金电子(中国)研究开发中心有限公司 Display method of the chinese mobile communication terminal simple english pop-up type word compiling window
CN1746820A (en) * 2004-09-08 2006-03-15 乐金电子(中国)研究开发中心有限公司 Method for inputting dynamic display window of mobile telecommunication terminal
US20140115524A1 (en) * 2005-02-05 2014-04-24 Yu-Chih Cheng Universal x, y-axis positioning input method
CN102830934A (en) * 2012-08-22 2012-12-19 北京壹人壹本信息科技有限公司 Method and device for displaying of hand character input
CN103699530A (en) * 2012-09-27 2014-04-02 百度在线网络技术(北京)有限公司 Method and equipment for inputting texts in target application according to voice input information
CN104199607A (en) * 2014-08-11 2014-12-10 北京搜狗科技发展有限公司 Candidate selection method and device based on input method
CN104731361A (en) * 2015-03-04 2015-06-24 百度在线网络技术(北京)有限公司 Method and device for determining selectable zones of candidate entries
CN106201009A (en) * 2016-06-24 2016-12-07 维沃移动通信有限公司 A kind of characters input method and electronic equipment
CN108563486A (en) * 2018-04-26 2018-09-21 广州品唯软件有限公司 A kind of method and device for controlling cursor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795196A (en) * 2019-10-31 2020-02-14 北京字节跳动网络技术有限公司 Window display method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN110244895B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN107273083B (en) Interaction method, device, equipment and storage medium between terminal equipment
US20140007123A1 (en) Method and device of task processing of one screen and multi-foreground
CN110286899B (en) Editing method and device for application display interface and storage medium
CN112181342A (en) Display method, display device, electronic apparatus, and storage medium
CN107678658A (en) Data inputting method and device for terminal device
CN111008047A (en) Page element conflict processing method and device and electronic equipment
CN111813308A (en) Interface processing method and device, electronic equipment and storage medium
WO2024061088A1 (en) Display method and apparatus, electronic device, and storage medium
CN109656667A (en) Implementation method, device, equipment and the medium of suspended window in a kind of client
CN113609419B (en) Information display method, information display device, electronic equipment and computer readable medium
EP2605527B1 (en) A method and system for mapping visual display screens to touch screens
CN114168853A (en) Data visualization display method, device, medium and electronic equipment
CN110244895A (en) Control method, apparatus, the mobile terminal, storage medium of input method banner position
CN110262718A (en) Input method window setting method, device, mobile terminal, storage medium
CN110209462B (en) Window arrangement method, device and equipment
CN112995401A (en) Control display method, device, equipment and medium
CN109976857B (en) Display control method and device of terminal interface, storage medium and electronic equipment
CN114327732B (en) Page configuration method, page configuration device, electronic equipment and computer readable medium
CN112672182B (en) Live broadcast interface display method, device, electronic equipment and computer readable medium
CN110389692A (en) A kind of display methods of status bar, device and storage medium
CN109960562B (en) Information display method and device and computer readable storage medium
CN114115673A (en) Control method of vehicle-mounted screen
US20110138321A1 (en) Zone-based functions in a user interface
KR20080067498A (en) Mobile communication terminal and display method for the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.