CN103455244B - The method and client that cursor is converted between window - Google Patents

The method and client that cursor is converted between window Download PDF

Info

Publication number
CN103455244B
CN103455244B CN201310359996.0A CN201310359996A CN103455244B CN 103455244 B CN103455244 B CN 103455244B CN 201310359996 A CN201310359996 A CN 201310359996A CN 103455244 B CN103455244 B CN 103455244B
Authority
CN
China
Prior art keywords
window
cursor
association
character input
input control
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.)
Active
Application number
CN201310359996.0A
Other languages
Chinese (zh)
Other versions
CN103455244A (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.)
Suzhou Liangyue Information Science & Technology Co Ltd
Original Assignee
Suzhou Liangyue Information Science & 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 Suzhou Liangyue Information Science & Technology Co Ltd filed Critical Suzhou Liangyue Information Science & Technology Co Ltd
Priority to CN201310359996.0A priority Critical patent/CN103455244B/en
Publication of CN103455244A publication Critical patent/CN103455244A/en
Application granted granted Critical
Publication of CN103455244B publication Critical patent/CN103455244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides methods and client that cursor between a kind of window is converted, belong to computing terminal, software technology field.The described method includes: acquiring the press key message that directionkeys inputs in character input control in the window for including character input control;In the case where cursor can not be continued to move to according to current press key message, determine display interface in for current window on the moving direction corresponding to press key message whether relevant window;In the case where having, current cursor is transferred in the character input control of association window.Utilize the present invention, user converts in multiple windows for including character input control by directionkeys, that is, controllable cursor, makes user when inputting using keyboard, reduces the operation for passing through mouse control windows exchange, preferably application experience is brought for user, and improves operating efficiency.

Description

The method and client that cursor is converted between window
Technical field
Belong to computing terminal, software technology field.
Background technique
People daily life and office in use computer when, it will usually appear in opened simultaneously in display interface it is multiple The case where input window.Such as copy editor's window such as word, txt, and boundary is interacted with the instant messaging that other people are contacted Face-port mouth.Especially the latter, user using when often will appear while carrying out contacting the case where ditch passes through with multiple contact persons.When After user and one of contact person are once contacted, need to switch to the instant messaging interactive interface window of another contact person When, the mode through clicking activation respective window frequently with mouse is realized.Similarly, when existing simultaneously aforementioned text in display interface When editor and instant messaging interactive interface window, the handover operation of current window is generally also often clicked by mouse real Existing.
This realization process, user often needs for the hand for being in input state on keyboard to be moved at mouse, to carry out Clicking operation inputs again after the completion of click, needs newly to move back to heavy-handed at keyboard, this affects use to a certain extent The input efficiency at family is made troubles for the input operation of user.
Summary of the invention
The method and client converted the object of the present invention is to provide cursor between a kind of window can using the present invention It is converted in multiple windows for including character input control by direction key control cursor, makes user defeated using keyboard It is fashionable, the operation for passing through mouse control windows exchange is reduced, brings preferably application experience for user, and improve operating efficiency.
The method that cursor is converted between a kind of window of the present invention, comprises the following steps that
Step 1, in the window for including character input control, what acquisition directionkeys inputted in character input control is pressed Key message;
Step 2, in the case where cursor can not be continued to move to according to current press key message, determine to be directed in display interface and work as Front window on the moving direction corresponding to press key message whether relevant window, association window therein equally has character defeated Enter control;
Step 3, with association window, current cursor is transferred to the character input control of association window In.
Preferably, the association window on left side and right side is located in the case where including two or more in corresponding window Mouthful, to the left or when right side carries out displacement trigger action, to be carried out according to the association window position of left or right side in cursor Response;And/or the association window of upside and downside is located, to carry out displacement trigger action to upside or downside in cursor When, the association window position according to upside or downside is responded.
Preferably, the association window refers to and has already turned in display interface, is not in minimum state, has word Accord with the window of input control.
Preferably, the association window comes from the window of the same client.
Preferably, the association window, from instant communication client, the window is that user triggers contact person couple As rear instant messaging interactive interface window generated.
Preferably, the instant messaging interactive interface window, in the case where separation is configured, with left or right side The window's position positioned and responded, and/or positioned and responded with the window's position of upside or downside;It is being merged into one In the case that a window is configured, is positioned or responded with the label position of left or right side.
Preferably, when the instant messaging interactive interface window is incorporated into the same window, by association window and currently Whether the left or right side or upside of window corresponding label or the positional relationship of downside determine the association window in press key message institute On corresponding moving direction.
It preferably, will be corresponding to the message with newly receiving when being not switched on message in instant communication client Window, the association window closest as current window obtain the direction key button triggering message for current window in acquisition Afterwards, start and open window corresponding to the message.
Preferably, in the window that instant communication client has been opened, by the window of recently received instant communication message The association window closest as current window.
Preferably, in the case where having inputted character content in corresponding character input control, only acquisition obtains upside The press key message of key or downside key responds the press key message.
Preferably, when current window and association window are in discrete state, according to upside key or the key of downside key Message is identified, if current window and association window are in merging phase, the key of upside key or downside key is disappeared Breath corresponding conversion is identified for the press key message of Left button or right button.
Preferably, correspond to it is aforementioned include character input control window, be provided with association window setting control, touching The setting operation of window is associated after hair according to following steps:
Step a-1 traverses all windows having turned in current display interface;
Step a-2, the window that these are had turned on are carried out information collection, are exported in the form of window options;
Step a-3 acquires the selection message to aforementioned window option, obtains selected window options data;
Step a-4, by window corresponding to aforementioned window option data, acquisition is used as association window.
Preferably, a documentation window is respectively provided in the window currently with character input control and one instant In the case where communication interaction interfaces windows, the two windows are acquired as association window, one of window is another window The association window of mouth.
Preferably, currently with the window of character input control, respectively documentation window and instant messaging interaction In the case where interfaces windows, takes the window of recently received instant communication message in instant messaging interactive interface window or do not beat Opening window corresponding to message is the closest association window of current window.
Preferably, in the step 3, there are two or with a association window on the moving direction corresponding to press key message When, select the mobile cursor of an association window nearest apart from current window.
Preferably, in the step 3, there are when two or more character input controls in association window, according to aforementioned two Positional relationship between a or above character input control, cursor is moved to closest on moving direction corresponding to press key message Character input control.
Preferably, in the step 3, there are when two or more character input controls in association window, by using power Cursor transfer operation is carried out again, step is,
Step b-1 acquires the frequency of use information of both of the aforesaid or the above character input control, obtains corresponding character input The use weight of control;
Step b-2 moves to cursor using weight height according to both of the aforesaid or the use weight of the above character input control Character input control in.
Preferably, in the step 2 in the case where cursor can not be continued to move to according to current press key message, if working as front window There are two or more character input controls in mouthful, then judge whether there is another character on moving direction corresponding to press key message Cursor is moved to the character input control if having by input control, if nothing, further judges the shifting corresponding to press key message On dynamic direction whether relevant window.
Preferably, in the step 3, when cursor is transferred in the character input control of association window, further comprise as Lower step:
Step 3-1, determining, which whether there is in the character input control, has inputted character;
Step 3-2 obtains the aforementioned most end location information for having inputted character, cursor is moved in the presence of judgement To the position.
Correspondingly, the present invention also provides the client that cursor between a kind of window is converted, which includes:
Press key message acquisition unit, in the window for including character input control, acquisition directionkeys is defeated in character Enter the press key message inputted in control;
Association window judging unit, to determine in the case where cursor can not be continued to move to according to current press key message In display interface for current window on the moving direction corresponding to press key message whether relevant window, association window therein Mouth equally has character input control;
Cursor TCU transfer control unit, with association window, current cursor is transferred to association window Character input control in.
Preferably, corresponding aforementioned association window judging unit, is provided with association window setting control, on triggering time All windows having turned in current interface are gone through, aforementioned window information are exported in the form of window options, according to user to window The selection message of option acquires corresponding window association window each other.
Detailed description of the invention
Fig. 1 is the flow chart of cursor conversion method between window of the present invention.
Fig. 2 is the display schematic diagram in the method for the invention under association window discrete state before cursor conversion.
Fig. 3 is the display schematic diagram in the method for the invention under association window discrete state after cursor conversion.
Fig. 4 is the display schematic diagram in the method for the invention under association window merging phase before cursor conversion.
Fig. 5 is the display schematic diagram in the method for the invention under association window merging phase after cursor conversion.
Fig. 6 is the display schematic diagram (one) when different clients window is set as association window in the method for the invention.
Fig. 7 is the display schematic diagram (two) when different clients window is set as association window in the method for the invention.
Fig. 8 is the client terminal structure block diagram of cursor conversion between window of the present invention.
Specific embodiment
Using the present invention, when cursor can not continue to move in character input control according to current directionkeys press key message When, i.e., the cursor is moved to association window of the current window on the moving direction corresponding to press key message.
With reference to the accompanying drawings, the present invention is described further in conjunction with specific embodiments.
Fig. 1 is cursor conversion method flow chart between window of the present invention.Ginseng is as shown in the figure, side provided by the present invention Method includes the following steps:
Step S101, in the window for including character input control, acquisition directionkeys inputs in character input control Press key message.
In routine use, for example and without limitation, the window for including character input control mainly includes following two class Window: the first kind is using the interfaces windows of the client-side program such as word, txt as the documentation window of representative;Second class be with The instant messaging interactive interface window that user is exchanged with contact person in instant messaging tools is representative.In the present invention i.e. with Both windows are not limited to that in practical application as embodiment is described.
In computer operation, in addition to the operation of touch screen, and except the movement by mouse, clicking operation change computer In display interface outside the display position of cursor, the movement of cursor can also be controlled by the four direction key in keyboard.At this Directionkeys press key message collected in step is when refering in particular to cursor to be in character input control, which is connect The directionkeys press key message received, the window comprising the character input control are current foreground window.The foreground window, What is referred to is exactly the currently used reference positioned at forefront.In addition, in following narrations unless otherwise noted, directionkeys press key message is equal For the press key message for character input control.
The press key message of directionkeys includes upside press key message, downside press key message, Left button message and right button Four kinds of message.In character input control, cursor is moved with collected press key message.Cursor is according to collected The position for having inputted character is successively moved in left and right to left and right side press key message in character input control respectively, i.e. change light Mark the abscissa of display position;It is successively moved up and down in character input control respectively according to collected upper and lower side press key message A line space is moved, that is, changes the ordinate of display position of cursor.
Step S102 determines needle in display interface in the case where cursor can not be continued to move to according to current press key message To current window on the moving direction corresponding to press key message whether relevant window, association window therein equally has word Accord with input control.
If there is no the character information inputted in the character input control where current cursor, acquire in step s101 To after directionkeys press key message, cursor can not be moved according to current press key message;If the character input where current cursor There is the character information inputted in control, when cursor is moved to character information location according to the directionkeys press key message received When the edge in domain, same direction key button message is still persistently received, cursor can not continue to move according to current press key message at this time It is dynamic.
After collecting cursor irremovable message, shifting of the window corresponding to press key message where triggering carries out cursor On dynamic direction, if the decision of relevant window.
Specifically, the association window refers to and has already turned in display interface, is not in minimum state, has word The window for according with input control meets the window of foregoing description association window each other.Even beaten in current computer display interface A txt documentation window A and an instant messaging interactive interface window B are opened, then A is the association window of B, while B is also A Association window.
Window due to meeting foregoing description may belong to different client-side program, thus it includes following that association window, which is, Two kinds of composition forms:
First, each window of association window each other, is opened from the same client-side program, such as in display interface Multiple instant messaging interactive interface windows.
Second, each window of association window each other, from least two client-side program, such as instant messaging interaction Interfaces windows and word document editor.
Window where determining cursor on moving direction corresponding to press key message whether relevant window, it is necessary first to really Which association window is settled front window have, if having already turned in display interface, is not in minimum state, has character input The window of control then defaults these windows association window each other both from the same client-side program;If aforementioned window from At least two client-side program, can also voluntarily selection mode selects composition association window by user in addition to default setting.
Specifically, the operation that composition association window is selected in user's selection is completed by association window setting control. The starting of the association window setting control can be implemented by independent client-side program, which can also be embedded in aforementioned packet Started in window containing character input control by trigger action, which is associated window according to following steps on triggering The setting operation of mouth:
Step a-1 traverses all windows having turned in current display interface;
Step a-2, the window that these are had turned on are carried out information collection, are exported in the form of window options;
Step a-3 acquires the selection message to aforementioned window option, obtains selected window options data;
Step a-4, by window corresponding to aforementioned window option data, acquisition is used as association window.
Below by taking instant messaging interactive interface window and txt documentation window as an example, tell about from multiple program clients The selection determination process of the association window at end.It is compiled as shown in fig. 6, showing the txt document opened in figure in display interface 300 It collects window 500 and the mutual interfaces windows 600 of instant messaging flock-mate, the two windows is respectively from different client-side program.? In the present embodiment, association window setting control 510 is embedded in txt documentation window 500.If user wish in use by This both of the aforesaid window is set as association window, by triggering the association window setting control 510, is arranged by the association window and is controlled Part 510 traverses the window information having been switched in display interface 300, and output is selected for user in the form of corresponding window options. As shown in Figure 7, corresponding association window setting control 510 generates association window selective listing 520, is shown in the form of option in table Show that the window information opened in current display interface 300, each option content include window name 521 and corresponding selection Frame 522.User is by clicking corresponding choice box 522 after the window name 521 for needing to be set as association window, by corresponding window Mouth is set as association window.
It should be noted that association window setting control generate selective listing in include be in display interface it is all Correspondence option through open window, also will appear in practical application have multiple options and user only select a portion as The case where association window, two windows in previous embodiment, selection course by way of example only, and it is non-limiting.
After association window determines, next by taking the instant messaging interactive interface window from same client as an example, in detail Tell about the judgement of the association window of corresponding moving direction.
Specifically, positioned according to the positional relationship of association window and current window, including left side, right side, upside and The association window of downside, to cursor to the left, right side, upside, downside carry out displacement trigger action when, closed according to corresponding Connection the window's position is responded.The upper and lower, left and right four direction for wherein being positioned and being responded, can be according to needing only to set For left and right or up and down.
As shown in Fig. 2, there are three the instant messagings opened to hand over for display altogether in figure in computer current display interface 300 Mutual interfaces windows 100.These three instant messaging interactive interface windows 100 are all from same instant communication client program, thus Association window each other.Three instant messaging interactive interface windows 100 respectively correspond three instant communication contacts in figure " Robin ", " Barney " and " Lily ".In three instant messaging interactive interface windows 100, it is located at the leftmost side and contact person " Robin " corresponding window be foreground window, cursor 200 be in the window character input control --- instant messaging disappears It ceases in input field 110.It further include having " the tomorrow evening one of instant communication message 111 inputted in the instant communication message input field 110 Rise and play ball ", cursor 200 is located at the end of instant communication message 111.
Assuming that user keys in right button message by the directionkeys in keyboard, since cursor 200 has been positioned at Instant Messenger Believe the right end of 111 word content of message, thus cursor 200 can not be moved with the press key message of directionkeys, triggering is sentenced The instant messaging interactive interface window 100 of fixed corresponding relationship people " Robin " whether there is association window on right direction.
The association window each other of three instant messaging interactive interface windows 100 in display interface 300 is known by foregoing teachings, Further according to the relative positional relationship of foreground window and other two window centre coordinate in display interface 300, it is determined Two windows remaining whether on the moving direction corresponding to press key message.It originally is being in example, due to three instant messaging interactions Interfaces windows 100 are in the same size, therefore are that can determine the phase of wherein heart coordinate from the relative positional relationship at the same edge of its window To positional relationship.In figure, the instant messaging interactive interface window 100 of corresponding relationship people " Barney " and " Lily " are respectively positioned on prospect The right side of window, thus the two is all association window of the foreground window on right direction.
Similarly, if foreground window is the instant messaging interactive interface window 100 of corresponding relationship people " Barney ", according to three The relative positional relationship of instant messaging interactive interface window 100 it is found that corresponding relationship people " Robin " instant messaging interactive interface Window 100 is the association window of foreground window left direction, and the instant messaging interactive interface window of corresponding relationship people " Lily " 100 be foreground window right direction association window.
In addition, can also be carried out by the directionkeys of upper and lower two sides in addition to controlling cursor by left side, right direction key Operation.Still by taking Fig. 2 as an example, in the instant communication message input field 110 in figure where cursor 200,111 text of instant communication message Content only has a line, thus after collecting upside or downside press key message of the user by the directionkeys key entry in keyboard, light Mark 200 can not be moved with the press key message of directionkeys, and further triggering determines the instant of corresponding relationship people " Robin " Communication interaction interfaces windows 100 whether there is association window in upside or lower side upwards.As shown in the figure it is found that display interface The instant messaging interactive interface window 100 of corresponding relationship people " Barney " is current foreground window in upper side direction in 300 Association window, correspondingly, the instant messaging interactive interface window 100 of corresponding relationship people " Lily " is that current foreground window exists The upward association window of lower side.
Three association windows that same instant communication client is corresponded to described in previous embodiment are in discrete state, and three The case where window of a association window each other is mutually indepedent, merges into the same window there is also such window in practical application.? Under this case, since each window is shown in same position in display interface, thus it is opposite between window under merging phase Positional relationship is determined according to the relative positional relationship of the label of its corresponding display in merging window.
The relative positional relationship of window corresponding label is mostly left-right relation in practical application, but does not exclude the presence of upper and lower position The case where relationship, therefore when instant messaging interactive interface window is incorporated into the same window, pass through association window and current window pair The left or right side of label or the positional relationship of upside or downside are answered, determines the association window whether corresponding to the press key message On moving direction.
It is that instant messaging interactive interface window is incorporated into while situation when window shown in Fig. 4.Display interface in figure The instant messaging interactive interface window 400 under merging phase is shown in 300, is shown on the upside of the window and is respectively corresponded three connection It is the label 420 of people, the contact name of corresponding relationship people is shown in each label 420.Corresponding relationship under current state The label 420 of people " Barney " is active, that is, is indicated that instant messaging interactive interface corresponding with the contact person is in and swashed State living.As shown in the figure, cursor 200 is in the instant messaging in the instant messaging interactive interface window 400 under merging phase In input field 410, and there is no the character information inputted in the instant messaging input field 410.
Assuming that user keys in right button message by the directionkeys in keyboard, due to the instant messaging where cursor 200 There is no the character information inputted in input field 410, thus cursor can not be moved with the press key message of directionkeys, triggering Determine that the instant messaging interactive interface of corresponding relationship people " Barney " whether there is association window on right direction.
By in figure it is found that the label 420 of corresponding relationship people " Robin " and " Lily " are respectively positioned on corresponding relationship people " Barney " Label 420 right side, thus instant messaging interactive interface corresponding with contact person " Robin " and " Lily " is all corresponding Association window of the instant messaging interactive interface of contact person " Barney " on right direction.
Current cursor is transferred to the character input control of association window with association window by step S103 In part.
Judged that current window there are after association window, that is, triggers cursor being transferred to the pass on the moving direction of cursor Join the operation of window.When there are two on the moving direction corresponding to press key message or with a association window, distance is selected The mobile cursor of a nearest association window of current window.
As shown in Fig. 2, the instant messaging interactive interface window 100 of corresponding relationship people " Robin " is foreground window in figure, it is right The instant messaging interactive interface window 100 of contact person " Barney " and " Lily " is answered to be respectively positioned on the right side of foreground window, the two is all It is association window of the foreground window on right direction.Since cursor 200 has been positioned at instant communication message 111 in foreground window The right end of word content, when the window reception is to directionkeys right button message, cursor 200 can not pressing with directionkeys Key message is moved, then needs to move to cursor 200 in the right side association window of foreground window.In both of the aforesaid corresponding relationship In the instant messaging interactive interface window 100 of people " Barney " and " Lily ", the instant messaging of corresponding relationship people " Barney " is handed over Mutual interfaces windows 100 are closer apart from foreground window, thus cursor 200 is moved in the instant messaging input field 110 of the window, together When the window be changed to foreground window, as shown in Figure 3.
Particularly, when cursor is transferred in the character input control of association window, if existing in the character input control Character is inputted, convenient for inputting for continuing content, to be then moved to cursor at the most end position for having inputted character.Therefore It further comprise following steps when cursor is transferred in the character input control of association window,
Step 3-1, determining, which whether there is in the character input control, has inputted character;
Step 3-2 obtains the aforementioned most end location information for having inputted character, cursor is moved in the presence of judgement To the position.
As shown in figure 4, three association windows are in merging phase in figure, corresponding relationship people " Barney " under current state Label 420 is active.Assuming that user keys in right button message by the directionkeys in keyboard, by 200 institute of cursor Instant messaging input field 410 in there is no the character information inputted, thus cursor can not be with the press key message of directionkeys It is moved, then needs to move to cursor 200 the right side association window of the instant messaging interactive interface of corresponding relationship people " Barney " In mouthful.By in figure it is found that instant messaging interactive interface corresponding with contact person " Robin " and " Lily ", is all corresponding relationship Association window of the instant messaging interactive interface of people " Barney " on right direction.Due to the label 420 of contact person " Robin " Label 420 apart from contact person " Barney " is closer, thus cursor 200 is moved to the instant messaging of corresponding relationship people " Robin " In interactive interface, that is, activate interface corresponding to the label 420 of contact person " Robin ".Further, corresponding relationship people " Robin " Instant messaging input field 410 in included instant communication message 411 " tomorrow evening is played ball together ", thus cursor 200 is moved It moves to the most end position of the instant communication message 411, as shown in Figure 5.
In addition, in practical applications there is also including two or more character input controls in association window, In this case the character input control that cursor is moved into has following two selection mode:
Mode one, according to the positional relationship between both of the aforesaid or the above character input control, by cursor move to closest to by Character input control on moving direction corresponding to key message.
Mode two moves to cursor using weight according to the use weight between both of the aforesaid or the above character input control In high character input control, step is,
Step b-1 acquires the frequency of use information of both of the aforesaid or the above character input control, obtains corresponding character input The use weight of control;
Step b-2 moves to cursor using weight height according to both of the aforesaid or the use weight of the above character input control Character input control in.
As shown in fig. 6, the txt documentation window 500 opened and instant messaging are shown in figure in display interface 300 The mutual interfaces windows 600 of flock-mate, presetting the two windows is association window.Txt documentation window in figure where cursor 200 500 be foreground window, since cursor 200 is located at the right end of word content in foreground window, when the window reception to directionkeys When right button message, cursor 200 can not be moved with the press key message of directionkeys, then before needing to move to cursor 200 In the right side association window of scape window.500 right side association window of txt documentation window is the mutual interfaces windows of instant messaging flock-mate 600, but comprising there are two character input control --- instant messaging group's message is defeated in the mutual interfaces windows 600 of the instant messaging flock-mate Lairage 610 and group members information input column 620, cursor 200 need to select the two character input controls when moving.
According to foregoing manner one, instant messaging group's message input field 610 is located at the left side on group members information input column 620, It compares the latter and is moved to instant messaging group's message input field 610 closer to txt documentation window 500, thus by cursor 200 In.Similarly, if the mutual interfaces windows 600 of instant messaging flock-mate are the left side association window of txt documentation window 500, work as cursor 200 in txt documentation window 500 from when being moved to the left in the mutual interfaces windows 600 of instant messaging flock-mate, and cursor will be moved to Closer in the group members information input column 620 of txt documentation window 500.
According to foregoing manner two, instant messaging group's message input field 610 is carried out for inputting its member in group's message and group Exchange, group members information input column 620 is for inputting the corresponding group members of the information searchings such as pet name, ID number of member in group.Two Person is higher compared to the frequency of use of instant messaging group message input field 610, high using weight accordingly, thus cursor 200 is moved It moves into instant messaging group's message input field 610.Using this selection mode, if the mutual interfaces windows 600 of instant messaging flock-mate are The left side association window of txt documentation window 500, when cursor 200 is moved to the left i.e. from txt documentation window 500 When communication group interactive interface window 600 in when, cursor 200 is still moved in instant messaging group's message input field 610.
It should be noted that cursor can not continue in the character input control in current window according to current press key message When mobile situation, if being first determined whether corresponding to press key message in current window there are two or more character input controls Moving direction on whether have another character input control, cursor is moved into the character input control if having, if nothing, into one Step judge on moving direction corresponding to press key message whether relevant window.
Therefore, if cursor is moved in a certain character input control of window according to aforementioned any selection mode, and the word After symbol input control is not the character input control moved to required for user, the corresponding key letter of direction key input is continued through Breath is that controllable cursor moves into corresponding character input control.
Particularly, it to be easy to use by users and avoiding the maloperation in use process, is directed in the present invention and works as front window The judgement and selection operation of mouth association window on the moving direction of cursor, further include following two special circumstances.
First, including each other instant messaging interactive interface window in the window of association window, and the instant messaging tools connects When receiving new information, the judgement and selection of association window on moving direction.
In this case, to obtain new information received by instant messaging tools in time convenient for user and replying, this is disappeared The corresponding window of breath, the association window closest as current window.
The closest association window refers to that the window sorts first in the association window of current window, works as detection When cursor into current window can not be continued to move to according to directionkeys press key message, the closest association window of the window is made For the mobile target window of cursor.
Specifically, the closest association window includes several situations:
A, window corresponding to recently received instant communication message is the instant messaging interactive interface window opened. In response to this, the association window that the window of recently received instant communication message is closest as current window, is being adopted After collection obtains the direction key button triggering message for current window, cursor is transferred in the window.
B, instant messaging interactive interface window corresponding to recently received instant communication message are not yet opened.For this Kind of situation starts after acquisition is obtained for the direction key button triggering message of current window and to open this recently received Window corresponding to instant communication message, and cursor is transferred in the window.
It should be noted that the positional relationship of closest association window and current window, with directionkeys press key message institute Corresponding direction is unrelated.By taking Fig. 2 as an example, the window in figure where current cursor 200 is the Instant Messenger of corresponding relationship people " Robin " Believe that interactive interface window 100, the window are foreground window.If at this point, user receives the new information from contact person " Lily ", Then the instant messaging interactive interface window 100 of corresponding relationship people " Lily " is the instant of aforementioned corresponding relationship people " Robin " The closest association window of communication interaction interfaces windows 100.Since cursor 200 has been positioned at instant communication message in foreground window The right end of 111 word contents, when the window reception is to directionkeys right button message, cursor 200 can not be with directionkeys Press key message moved, then need to move to cursor 200 in the right side association window of foreground window.Although corresponding relationship people The instant messaging interactive interface window 100 of " Barney " is closer apart from foreground window, but will cursor 200 be moved to receive it is new Message, in the instant messaging interactive interface window 100 of corresponding relationship people " Lily ".
Corresponding previous embodiment, if user is received from the new information of contact person " Lily ", cursor 200 is located at prospect The left end of 111 word content of instant communication message in window, when the window reception to directionkeys right button message, cursor 200 can not be moved with the press key message of directionkeys, then need to move to cursor 200 the left side association window of foreground window In.Although association window is not present in foreground window on left direction, since the instant messaging of corresponding relationship people " Lily " is handed over The mutual association window closest as foreground window of interfaces windows 100, thus will cursor 200 be moved to and receive new information , in the instant messaging interactive interface window 100 of corresponding relationship people " Lily ".
For B situation above-mentioned, the txt documents editing opened is shown in display interface 300 by taking Fig. 6 as an example, in figure Window 500 and the mutual interfaces windows 600 of instant messaging flock-mate, presetting the two windows is association window.Where current cursor 200 Window is txt documentation window 500, which is foreground window.If at this point, user receives from contact person's " Lily " New information, then the instant messaging interactive interface window of corresponding relationship people " Lily " is the closest association window of foreground window Mouthful.Since cursor 200 is located at the right end of word content in foreground window, when the window reception to directionkeys right button message When, cursor 200 can not be moved with the press key message of directionkeys, then need to move to cursor 200 right side of foreground window In association window.Since the instant messaging interactive interface window of corresponding relationship people " Lily " is not yet opened in display interface 300, Thus start and open the instant messaging interactive interface window of corresponding relationship people " Lily ", and cursor is transferred to the window In.
Second, association window sentences on moving direction when having inputted character content in the character input control of current window Fixed and selection.
For avoid user in routine use because input when or so adjustment cursor position caused by windows exchange maloperation, It has inputted in the case of character content in the character input control of current window, only acquisition obtains upside key or downside key is pressed Key message responds the press key message.
When current window and association window are in discrete state, carried out according to the press key message of upside key or downside key Identification, if current window and association window are in merging phase, by corresponding turn of the press key message of upside key or downside key The press key message for being changed to Left button or right button is identified.
By taking Fig. 2 as an example, the window in figure where current cursor 200 is the instant messaging interaction of corresponding relationship people " Robin " Interfaces windows 100, the window are foreground window.Character input control in foreground window --- instant communication message input field There is the instant communication message 111 " tomorrow evening is played ball together " inputted in 110, cursor 200 is located at the end of instant communication message 111 End.At this time in preceding method, for the maloperation for avoiding user, only pass through upside key or the downside of direction key input to user The press key message of key carries out the response of cursor window conversion.If the window reception is to directionkeys right button message, cursor 200 are not moved with the press key message of directionkeys, do not switch to another window.If being pressed on the upside of the window reception to directionkeys When key message, then need to move to cursor 200 in the upside association window of foreground window.By in figure it is found that and contact person " Barney " corresponding instant messaging interactive interface window 100 is located at the top of foreground window, is the pass thereon in side direction Join window, thus cursor is moved in the instant messaging input field 110 of the window, while the window is changed to foreground window, such as Shown in Fig. 3.
Similarly, for the association window under merging phase, three association windows, which are in, by taking Fig. 5 as an example, in figure merges shape State, the label 420 of corresponding relationship people " Robin " is active under current state.Assuming that user passes through the direction in keyboard Key keys in right button message, due to having the character information inputted in the instant messaging input field 410 where cursor 200, because Although and cursor can not be moved with the press key message of directionkeys, not switch to another window.If the window reception On the upside of to directionkeys when press key message, it is that Left button message identifies by upside key corresponding conversion, i.e., moves cursor 200 Into the left side association window of the instant messaging interactive interface of corresponding relationship people " Robin ".By in figure it is found that and contact person " Barney " corresponding label 420 is located at the left side of the label 420 of contact person " Robin ", thus with contact person " Barney " Corresponding instant messaging interactive interface is the left side association window of the instant messaging interactive interface of corresponding relationship people " Robin ". Cursor 200 is moved in the instant messaging interactive interface of corresponding relationship people " Barney ", that is, activates the mark of contact person " Barney " Interface corresponding to label 420, as shown in Figure 4.
Fig. 8 is the client terminal structure block diagram of cursor conversion between window of the present invention, as shown in the figure, the client 700 include following component part:
Press key message acquisition unit 710, in the window for including character input control, to acquire directionkeys in character The press key message inputted in input control;
Association window judging unit 720, to sentence in the case where cursor can not be continued to move to according to current press key message Determine in display interface for current window on the moving direction corresponding to press key message whether relevant window, association therein Window equally has character input control;
Cursor TCU transfer control unit 730, with association window, current cursor is transferred to association window In the character input control of mouth.
Further, corresponding aforementioned association window judging unit 720, is provided with association window setting control 721, to touch All windows having turned in current interface are traversed after hair, aforementioned window information are exported in the form of window options, according to user To the selection message of window options, corresponding window association window each other is acquired.
For the realization process that cursor between window of the present invention is converted, it is described in detail below.
In use, user passes through the setting display of association window setting control 721 first in addition to the association window of default setting Association window in interface, association window setting control 721 traverse all in current interface have turned on after the starting that is triggered Window exports aforementioned window information in the form of window options, according to user to the selection message of window options, acquires corresponding Window association window each other.
Association window is including character input by press key message acquisition unit 710 in using operation after setting completed In the window of control, the press key message that acquisition directionkeys inputs in character input control, cursor is moved with press key message. When cursor can not be continued to move to according to current press key message, by association window judging unit 720, determine to be directed in display interface Current window on the moving direction corresponding to press key message whether relevant window.In the presence of judgement, light is triggered Current cursor is transferred in the character input control of association window by mark TCU transfer control unit 730.
It is the description of this invention above and non-limiting, the other embodiments based on inventive concept, of the invention Among protection scope.

Claims (12)

1. a kind of method that cursor is converted between window, it is characterised in that this method comprises the following steps:
Step 1, in the window for including character input control, the key that acquisition directionkeys inputs in character input control disappears Breath;
Step 2, in the case where cursor can not be continued to move to according to current press key message, determine to be directed in display interface and work as front window On moving direction mouthful corresponding to press key message whether relevant window;The association window be in display interface open and It is not in minimum state and the window with character input control;
Step 3, with association window, current cursor is transferred to the character input control of the association window In.
2. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: corresponding association window Include it is two or more in the case where, be located left side and right side association window, to cursor to the left or right side into When line position moves trigger action, responded according to the association window position of left or right side;And/or on the upside of being located and downside Association window, to when cursor carries out displacement trigger action to upside or downside, according to upside or the association window position of downside It sets and is responded.
3. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: the association window is From the window of the same client.
4. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: the association window is From instant communication client, the window is that user triggers instant messaging interactive interface generated after contact object Window, the instant messaging interactive interface window are carried out in the case where separation is configured with the window's position of left or right side Positioning and response, and/or positioned and responded with the window's position of upside or downside;It is configured being merged into a window In the case where, it is positioned or is responded with the label position of left or right side.
5. the method that cursor is converted between a kind of window according to claim 4, it is characterised in that: the instant messaging is handed over When mutual interfaces windows are incorporated into the same window, by the left or right side or upside of association window and current window corresponding label or Whether the positional relationship of downside determines the association window on the moving direction corresponding to press key message.
6. the method that cursor is converted between a kind of window according to claim 4, it is characterised in that: in instant communication client In have newly receive when being not switched on message, by window corresponding to the message, the association window closest as current window Mouthful, after acquisition is obtained for the direction key button triggering message of current window, starts and open window corresponding to the message.
7. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: correspond to and aforementioned include The window of character input control is provided with association window setting control, is associated window according to following steps on triggering Setting operation,
Step a-1 traverses all windows having turned in current display interface;
Step a-2, the window that these are had turned on are carried out information collection, are exported in the form of window options;
Step a-3 acquires the selection message to aforementioned window option, obtains selected window options data;
Step a-4, by window corresponding to aforementioned window option data, acquisition is used as association window.
8. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: in the step 3, pressing When on moving direction corresponding to key message there are two or with a association window, a pass nearest apart from current window is selected Join the mobile cursor of window.
9. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: in the step 3, association There are when two or more character input controls in window, operated using both one,
Mode 1 moves to cursor closest to press key message according to the positional relationship between both of the aforesaid or the above character input control Character input control on corresponding moving direction;
Mode 2 carries out cursor transfer operation by using weight, and step is,
Step b-1 acquires the frequency of use information of both of the aforesaid or the above character input control, obtains corresponding character input control Use weight;
Cursor is moved to the word high using weight according to both of the aforesaid or the use weight of the above character input control by step b-2 It accords in input control.
10. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: in light in the step 2 In the case that mark can not be continued to move to according to current press key message, if there are two or more character input controls in current window Part then judges whether there is another character input control on moving direction corresponding to press key message, cursor is moved to this if having Character input control, if nothing, further judge on moving direction corresponding to press key message whether relevant window.
11. the method that cursor is converted between a kind of window according to claim 1, it is characterised in that: in the step 3, light It further comprise following steps when mark is transferred in the character input control of association window,
Step 3-1, determining, which whether there is in the character input control, has inputted character;
Step 3-2 obtains the aforementioned most end location information for having inputted character, cursor is moved to this in the presence of judgement Position.
12. the client that cursor is converted between a kind of window, it is characterised in that the client includes:
Press key message acquisition unit, in the window for including character input control, to acquire directionkeys in character input control The press key message inputted in part;
Association window judging unit, to determine display in the case where cursor can not be continued to move to according to current press key message In interface for current window on the moving direction corresponding to press key message whether relevant window;The association window be Minimum state and the window with character input control are opened and are not in display interface;
Cursor TCU transfer control unit, with association window, current cursor to be transferred to the word of association window It accords in input control.
CN201310359996.0A 2013-08-18 2013-08-18 The method and client that cursor is converted between window Active CN103455244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310359996.0A CN103455244B (en) 2013-08-18 2013-08-18 The method and client that cursor is converted between window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310359996.0A CN103455244B (en) 2013-08-18 2013-08-18 The method and client that cursor is converted between window

Publications (2)

Publication Number Publication Date
CN103455244A CN103455244A (en) 2013-12-18
CN103455244B true CN103455244B (en) 2019-04-05

Family

ID=49737678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310359996.0A Active CN103455244B (en) 2013-08-18 2013-08-18 The method and client that cursor is converted between window

Country Status (1)

Country Link
CN (1) CN103455244B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339174B (en) * 2015-07-17 2019-10-11 阿里巴巴集团控股有限公司 The method and device of windows display keyboard cursor
CN106990957A (en) * 2017-03-16 2017-07-28 北京云知声信息技术有限公司 A kind of windows switching method and device
CN110941373B (en) * 2019-10-09 2021-06-25 广州视源电子科技股份有限公司 Interaction method and device for intelligent interaction panel, terminal equipment and storage medium
CN113093961B (en) * 2021-04-16 2022-09-13 广州视源电子科技股份有限公司 Window switching method, storage medium and related equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001271503A1 (en) * 2000-06-26 2002-01-08 America Online Incorporated E-mail integrated instant messaging and presence detection with universally unique screen names via http
CN1963755A (en) * 2006-11-26 2007-05-16 华为技术有限公司 Control apparatus and method of GUI interface of key-control-type apparatus
JP4315197B2 (en) * 2006-12-27 2009-08-19 ソニー株式会社 Information processing apparatus, display control method, and program
CN101315588B (en) * 2007-05-31 2010-06-02 昆盈企业股份有限公司 Computer input equipment and method for controlling stereo window switch by the same
CN101137079B (en) * 2007-09-27 2011-10-05 腾讯科技(深圳)有限公司 Method and apparatus for combining web page browsing and instant communication based on mobile terminal
CN102420782B (en) * 2011-12-18 2018-04-20 上海量明科技发展有限公司 A kind of method, client and system shared by instant messaging progress webpage

Also Published As

Publication number Publication date
CN103455244A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
JP6431120B2 (en) System and method for input assist control by sliding operation in portable terminal equipment
CN102360249B (en) Discrete keyboard layout system and method to set up, corresponding mancarried electronic aid and control method
CN105425941B (en) A kind of method and device preventing application program in error starting mobile terminal
CN103455244B (en) The method and client that cursor is converted between window
KR101448336B1 (en) A method of service extension using message input window included in chatting window providing instant messaging service
CN104090652A (en) Voice input method and device
WO2013123693A1 (en) Remote control method of multi-mode remote controller, remote controller, user terminal and system
CN103294222B (en) A kind of input method and system
EP2529287B1 (en) Method and device for facilitating text editing and related computer program product and computer readable medium
CN102662704A (en) Method, terminal and system for starting instant messaging interaction interface
CN107025053A (en) The method that one service is provided when by dummy keyboard input content to application program
KR102277300B1 (en) Message service providing method for message service linking search service and message server and user device for performing the method
CN104765524A (en) Application switching method and device
CN102855060A (en) Terminal and cross-application cooperation processing method
CN103412712A (en) Function menu selecting method and device
CN104777919B (en) A kind of characters input method and device based on remote controler
KR20150023151A (en) Electronic device and method for executing application thereof
CN103257829A (en) Terminal control system and method for switching latest task in front-back mode under Android
CN102830919A (en) Method for switching candidate pages in input method of mobile terminal as well as mobile terminal
CN104598133B (en) The specification generation method and device of object
CN102778999B (en) Mobile terminal and full screen handwriting processing method thereof
CN104598023B (en) A kind of method and device by gesture identification select file
CN106933488B (en) A kind of method and terminal for opening application
CN104049933B (en) A kind of method and electronic equipment of information processing
CN106775257B (en) Method and system for generating shortcut operation mode and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant