CN103631387A - Candidate word display time acquiring method and device and input method testing method and device - Google Patents

Candidate word display time acquiring method and device and input method testing method and device Download PDF

Info

Publication number
CN103631387A
CN103631387A CN201210309497.6A CN201210309497A CN103631387A CN 103631387 A CN103631387 A CN 103631387A CN 201210309497 A CN201210309497 A CN 201210309497A CN 103631387 A CN103631387 A CN 103631387A
Authority
CN
China
Prior art keywords
instant message
input method
time
current time
input
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
CN201210309497.6A
Other languages
Chinese (zh)
Other versions
CN103631387B (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.)
Baidu International Technology Shenzhen Co Ltd
Original Assignee
Baidu International Technology Shenzhen 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 Baidu International Technology Shenzhen Co Ltd filed Critical Baidu International Technology Shenzhen Co Ltd
Priority to CN201210309497.6A priority Critical patent/CN103631387B/en
Publication of CN103631387A publication Critical patent/CN103631387A/en
Application granted granted Critical
Publication of CN103631387B publication Critical patent/CN103631387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a candidate word display time acquiring method and device and an input method testing method and device. The candidate word display time acquiring method includes the steps that an instant message which is sent to a system when candidate word display is finished by an input method is intercepted, wherein the instant message comprises candidate words and a timestamp for recording the time when mapped character candidate word display is finished; the timestamp is acquired from the instant message so as to acquire the candidate word display time. In this way, the candidate word display time can be acquired, time precision is high, operation is reliable, and the input method testing method and device can be used for testing the echo time of various input methods.

Description

The acquisition methods of prepare word displaying time, input method method of testing and device
Technical field
The present invention relates to input method technique field, particularly relate to a kind of acquisition methods, input method method of testing and device of prepare word displaying time.
Background technology
At present, industry is for the research of exploitation input method, major part is all paid close attention to the realization of input method function and the design of interface (UI), and to input method echo time of one of its performance pay close attention to less, more do not have reliable method go to weigh and other input method between gap.
Generally obtain time and the input method of input method echo time need to obtain inputting time and complete the time that prepare word shows, two mistimings are the echo time.The scheme of traditional measurement input method echo time mainly contains following two kinds: use third party's instrument auxiliary judgment (such as sectional drawing repeatedly contrasts); Or service routine interface hook (api hook) captures prepare word window.
For the scheme of using third party's instrument auxiliary judgment, because the echo time granularity that third party's instrument gets is bigger than normal, for example by respectively in when input and when completing candidate word and showing sectional drawing contrast, it is often larger that but third party's instrument obtains the time interval of sectional drawing, and the prepare word displaying time of some input method is very short, therefore cause obtaining the time error that prepare word shows larger, finally cause the echo time obtaining inaccurate.
For using api hook to capture the scheme of prepare word window, because the UI realization mechanism of input method is different, use the mode threshold of api hook crawl prepare word window higher, and for the input method without instant candidate frame, the method is helpless.
Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of acquisition methods, input method method of testing and device of prepare word displaying time, do not need to know the UI realization mechanism of each input method, also needn't be concerned about representing of each input method function, just can obtain the displaying time of input method prepare word, thereby realize the test of input method echo time, time precision is high, operation is reliable, and can be for the echo time test of each input method.
In order to solve the problems of the technologies described above, the technical scheme that the present invention adopts is: the acquisition methods that a kind of input method prepare word displaying time is provided, comprise: intercepting input method completes the instant message sending to system when prepare word shows, described instant message comprises that prepare word and record complete the timestamp of mapping character candidates words displaying time; Acquisition time stamp from described instant message, and then obtain prepare word displaying time.
Step to phylogenetic instant message when wherein, described intercepting input method completes prepare word demonstration comprises: in self-defined text editor, intercept input method and complete the instant message sending to system when mapping character candidates words shows.
Wherein, described intercepting input method also comprises: the form with system journal is kept at described instant message in the shared drive mapped file of system after completing the step of the instant message sending to system when prepare word shows; The described step that acquisition time stabs from instant message comprises: from described shared drive mapped file, read out instant message, and acquisition time stabs from described instant message.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of input method method of testing is provided, comprises: receive the character that utilizes described input method input, and obtain the first current time T1 of described input eve; Obtain the second current time T2 that described input method completes the mapping character candidates words demonstration of character, described the second current time T2 completes the instant message sending to system when mapping character candidates words shows and obtains by intercepting input method; In conjunction with the first current time T1 and the second current time T2 and then obtain this echo time T of described input method.
Wherein, the step of obtaining the second current time T2 that mapping character candidates words that input method completes described character shows described in comprises: intercept described input method and complete the instant message sending to system when mapping character candidates words shows; Acquisition time stamp from described instant message, described timestamp has been recorded mapping character candidates words displaying time, and then obtains described the second current time T2.
Wherein, described intercepting input method comprises: the form with system journal is kept at described instant message in the shared drive mapped file of system after completing the step of the instant message sending to system when mapping character candidates words shows; The described step that acquisition time stabs from instant message comprises: from described shared drive mapped file, read out instant message, and acquisition time stabs from described instant message.
Wherein, the step of obtaining the first current time T1 of input eve described in comprises afterwards: the form with system journal is kept at described the first current time T1 in the shared drive mapped file of system.
Wherein, described reception utilizes the step of the character of input method input to comprise: receive and utilize described input method in self-defined text editor, to carry out the character of analogue-key or handwriting input.
Wherein, by intercepting the instant message sending to system when input method completes the demonstration of mapping character candidates words, the step obtaining comprises described the second current time T2: described the second current time T2 intercepts input method complete the instant message sending to system when mapping character candidates words shows and obtain in self-defined text editor.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of device that obtains input method prepare word displaying time is provided, comprise message intercept module and time-obtaining module, wherein: described message intercept module completes for intercepting input method the instant message sending to system when prepare word shows, and described instant message is sent to time-obtaining module, described instant message comprises that prepare word and record complete the timestamp of mapping character candidates words displaying time; Described time-obtaining module, for receiving the described instant message from described message intercept module, and acquisition time stabs from described instant message, and then obtains prepare word displaying time.
Wherein, described message intercept module completes specifically for intercept input method in self-defined text editor the instant message sending to system when mapping character candidates words shows.
Wherein, described device also comprises: preserve module, for preserving described instant message with the form of system journal; Described time-obtaining module is specifically for read out instant message from described preservation module, and acquisition time stabs and then obtain prepare word displaying time from described instant message.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of input method proving installation is provided, comprise the first acquisition module, the second acquisition module and the 3rd acquisition module, wherein: the first acquisition module, for receiving the character that utilizes described input method input, and obtain the first current time T1 of described input eve, and described the first current time T1 obtaining is exported to described the 3rd acquisition module; The second acquisition module, for obtaining described input method, complete the second current time T2 of the mapping character candidates words demonstration of described character, and described the second current time T2 obtaining is exported to described the 3rd acquisition module, described the second current time T2 completes the instant message sending to system when mapping character candidates words shows and obtains by intercepting input method; The 3rd acquisition module, for obtaining this echo time T of input method in conjunction with described the first current time T1 and described the second current time T2.
Wherein, described the second acquisition module is specifically for completing by intercepting described input method the instant message sending to system when mapping character candidates words shows, acquisition time stamp from described instant message, described timestamp has been recorded mapping character candidates words displaying time, and then obtains described the second current time T2.
Wherein, preserve module, for preserve described the first current time T1 and described instant message with the form of system journal, preserve.
Wherein, described the first acquisition module utilizes described input method in self-defined text editor, to carry out the character of analogue-key or handwriting input specifically for receiving, and obtains the first current time T1 of described analogue-key or handwriting input eve.
The invention has the beneficial effects as follows: the situation that is different from prior art, the instant message that the present invention sends by catching input method, just can obtain the displaying time of input method prepare word, because being obtains by catching the instant message of input method transmission, the larger defect of error while having avoided obtaining input method prepare word displaying time in prior art.From instant message, obtain time that prepare word shows in conjunction with the time of the key-press input eve obtaining, and then obtain this echo time of input method.Because the conveying flow of instant message is that working mechanism based on input method realizes, input method method of testing of the present invention realizes the test of input method echo time by catching instant message, therefore do not need to know the UI realization mechanism of each input method, needn't be concerned about that just representing of each input method function can realize yet.Based on this, the inventive method can be for the echo time test of each input method, for each input method Performance Ratio provides certain foundation.And because the method is based on the catching of instant message, so time precision is high.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of acquisition methods one embodiment of input method prepare word displaying time of the present invention;
Fig. 2 is the process flow diagram of input method method of testing one embodiment of the present invention;
Fig. 3 obtains the process flow diagram of the second current time T2 in input method method of testing one embodiment of the present invention;
Fig. 4 is the structural representation that the present invention obtains device one embodiment of input method prepare word displaying time;
Fig. 5 is the structural representation of input method proving installation one embodiment of the present invention.
Embodiment
Refer to Fig. 1, acquisition methods one embodiment of input method prepare word displaying time of the present invention comprises:
S101: intercepting input method completes the instant message sending to system when prepare word shows;
General input method receives after the character of client transmission, can find corresponding mapping character output mapping character candidates words.Input method completes after the mapping character candidates words demonstration of character, can send an instant message to system, and specifically the input method manager to system sends an instant message.Instant message comprises that prepare word and record complete the timestamp of mapping character candidates words displaying time.By intercept input method in self-defined text editor, complete the instant message sending to system when mapping character candidates words shows.In actual applications, the instant message getting can be kept in shared drive mapped file the form with system journal, and can not affect the efficiency of test, also avoid affecting system performance.
S102: acquisition time stamp from instant message, and then obtain prepare word displaying time;
From instant message, obtain the timestamp of having recorded mapping character candidates words displaying time, the moment time consistency that the time of this timestamp has followed mapping character candidates words to show, completes prepare word displaying time as input method.
By the description of above-mentioned embodiment, be appreciated that, the present invention completes by catching input method the instant message sending to system when prepare word shows, just can from instant message, obtain the displaying time that input method completes prepare word, because being obtains by catching the instant message of input method transmission, the displaying time precision of the input method prepare word obtaining is large, the larger defect of error while having avoided obtaining input method prepare word displaying time in prior art.In addition, because the conveying flow of instant message is that working mechanism based on input method realizes, therefore the present invention does not need to know the UI realization mechanism of each input method, needn't be concerned about that just representing of each input method function can realize obtaining of prepare word displaying time yet.
Refer to Fig. 2, input method method of testing one embodiment of the present invention comprises:
Step S201: receive the character that utilizes input method input, and obtain the first current time T1 of input eve;
In embodiment of the present invention, input method refers to the coding method adopting for various symbols are inputted to computing machines or other equipment (as mobile phone).Such as Baidu's input method, search dog input method, Google's input method etc.Input method test refers to by certain input method method of testing or means to be assessed the properties of input method.Input refers to by pressing key on lower keyboard or hand-written mode and sends character to equipment.Such as the letter ' d ' by lower keyboard sends character " d " to equipment, again such as sending character " ノ " by draw " ノ " on touch-screen to equipment.Character refers to letter, numeral, word and the symbol using in computing machine, such as 1,2,3, A, B, C,! ,? etc..
The input method method of testing that embodiment of the present invention provides is for testing one of performance of input method-echo time, first in self-defining text editor, utilize input method analog subscriber button or handwriting input, to system, send the character of input, system receives character, and obtains the first current time T1 of input character eve.The first current time of obtaining is kept in the shared drive mapped file of system with the form of system journal.Adopt the output of this buffer type, can avoid the directly output and affect system performance of wall scroll daily record form.The said system of the present invention can be for the operating system on computing machine, and being such as but not limited to is Windows, Mac, Linux, Unix operating system etc.Also can be the operating system for mobile device, being such as but not limited to be Meego, Android operating system etc.
System journal refers to the information for register system hardware, software and system problem, the file of event in simultaneously all right surveillance.Can check in the following manner system journal: " event viewer " finding in beginning → setting → control panel → management tool, or also can directly enter " event viewer " at [beginning] → [operation] → input eventvwr.msc.For example can utilize eventlog event to carry out the record of logger computer switching on and shutting down: at [event viewer] window, in the middle of the pane in left side, select [system] option, click right button [attribute] menu item, in the middle of ejecting [attribute] dialog box of coming, be switched to [screening] tab afterwards, in [Event origin] drop-down list box, find and " after evenlog, [determine], now just can see the log information of this event.Wherein event id 6006, ID6005, ID6009 just represent the situation (switching on and shutting down) of the machine of different conditions.6005 information EventLog event logs represent that service starts (start); 6006 information EventLog event logs represent that service stops (shutdown); 6009 information EventLog represent to press ctrl, alt, delete key (improper) shutdown.Therefore the first current time T1 that embodiment of the present invention also can be obtained by the form preservation of system journal and the second current time T2 etc.
Due to system cannot Obtaining Accurate input character time moment, and the first current time T1 of said input character eve is here system self registering input character eve time after having learned this event of input character.Although system can not be obtained the instantaneous time of input, it knows front time that time of each input character, and all can automatically record.Before this input character time that time very approaching with the instantaneous time of input character, so the first current time T1 here to can be used as be time moment of input character.Utilize the recording processing mechanism of said system to input time, can obtain the first current time T1 of the instantaneous time that is similar to input.
Step S202: input method completes the second current time T2 of the mapping character candidates words demonstration of character;
Here said mapping character refers to character corresponding with the character of input method input in system.Such as input character " da ", the mapping character in its system is phonetically similar words such as " greatly ".Mapping character candidates words refers to corresponding alternative word, word or the symbol etc. of mapping character with input character.Such as with input character " d ", system finds the mapping character of its correspondence, mapping character candidates words can be " 1. 2. all 3. pairs 4. to 5. ... " etc., and these mapping character candidates words can show through " echo time " after input character " d ".
The second current time T2 here refers to that input method completes the current time that prepare word shows, is mainly to obtain by intercept the instant message sending to system when input method completes the demonstration of mapping character candidates words in self-defined text editor.
Wherein, refer to Fig. 3, obtain the second current time T2 and comprise following sub-step:
Sub-step S301: intercepting input method completes the instant message sending to system when mapping character candidates words shows;
Input method completes after the mapping character candidates words demonstration of character, can send an instant message to system, and specifically the input method manager to system sends an instant message.Described instant message comprises that prepare word and record complete the timestamp of mapping character candidates words displaying time.In actual applications, the instant message getting can be kept in shared drive mapped file the form with system journal, and can not affect the efficiency of test, also avoid affecting system performance.
Sub-step S302: acquisition time stamp from instant message, and then obtain the second current time T2;
From instant message, obtain the timestamp of having recorded mapping character candidates words displaying time, the moment time consistency that the time of this timestamp has followed mapping character candidates words to show, as the second current time T2 that completes the demonstration of mapping character candidates words.
Step S203: obtain this echo time T of input method in conjunction with the first current time T1 and the second current time T2;
The said echo time of embodiment of the present invention refers to that starting to receive button character is input to the time interval that input method completes the demonstration of corresponding candidate words.Such as needs inputs " sea ", one of them echo time refers to that button character input " d " completes the time interval such as demonstrations such as " 1. 2. all 3. pairs 4. to 5. " with prepare word corresponding to " d " to input method.Another echo time has referred to after button character input " d ", and input character " a " completes the time interval such as demonstrations such as " 1. make a call to 2. large 3. answer 4. take 5. and reach " with prepare word corresponding to " da " to input method, by that analogy.Therefore, all can there is corresponding prepare word in character of every input, also just produce the corresponding echo time.Can be used as with this echo time a reference frame of input method Performance Evaluation.In the present embodiment, echo time T=T2-T1.For example the T1 obtaining is 0.12s, and the T2 obtaining is 0.23s, T=0.23s-0.12s=0.11s.
In practical application, in the time of need to testing the input method echo time, can obtain corresponding T1 and T2 that a plurality of different inputs produce, and be kept in Installed System Memory mapped file with the form of system journal.Then from memory-mapped, obtain these data and carry out batch processing, analogy utilizes the processing such as some data processing softwares or statistical software, and obtains the echo time of different inputs.Can carry out statistical study to these different echo times, to exceeding the character echo time of normal range, retest or check whether be the reason of input method itself and improve, thereby further promote input method performance.As following table 1, be wherein one group input kinds of characters echo time test data.If the normal echo time is 0.1-0.2s, can see that so the echo time of character " ノ ", " ㄧ " correspondence obviously exceeds normal range, at this moment can check while whether being test and go wrong, such as touch screen induction is insensitive or other reason.If the problem of test itself can retest etc.Or check whether to be the problem of input method itself, such as cannot normal response to the input of radicals by which characters are arranged in traditional Chinese dictionaries or not corresponding with intrasystem character mapping relations etc., at this moment can modify or other mode is improved etc. to input method.
The echo time test of table 1 input kinds of characters
Figure BDA00002061854400091
Input method test mode embodiment of the present invention is on the basis obtaining based on input method prepare word displaying time of the present invention (i.e. the second current time T2), in conjunction with the first current time T1 of the very approaching input character eve of that obtain and instantaneous time input character, and then obtain echo time of input method.Do not need special equipment just can realize the test of input method echo time, be simply easy to realize.Because the second current time T2 obtains by catching the instant message of input method transmission, the larger defect of error while having avoided obtaining input method prepare word displaying time in prior art.And because the conveying flow of instant message is that working mechanism based on input method realizes, therefore input method method of testing of the present invention does not need to know the UI realization mechanism of each input method, also needn't be concerned about that just representing of each input method function can realize.Based on this, input method method of testing of the present invention can be for the echo time test of each input method, for each input method Performance Ratio provides certain foundation.And because the method is based on the catching of instant message, so time precision is high.
Pass through foregoing description, input method method of testing of the present invention completes the displaying time that obtains prepare word in the instant message sending to system when prepare word shows by intercepting input method, and in conjunction with time of the key-press input that obtains, by the general account form of input method echo time, realize the test of input method echo time.Solve in prior art and cause too greatly the inaccurate difficult problem of input method echo time test owing to obtaining the displaying time error of prepare word, provide a kind of precision high, be easy to realize and can be for the echo time test method of various input methods, for each input method performance comparison provides reference.
Refer to Fig. 4, for the present invention obtains the structural representation of device one embodiment of input method prepare word displaying time, comprise message intercept module 41 and time-obtaining module 42, wherein:
Message intercept module 41 completes for intercepting input method the instant message sending to system when prepare word shows, and instant message is sent to time-obtaining module 42, instant message comprises that prepare word and record complete the timestamp of mapping character candidates words displaying time;
Wherein, message intercept module 41 completes specifically for intercept input method in self-defined text editor the instant message sending to system when mapping character candidates words shows.
Time-obtaining module 41, for receiving the instant message from message intercept module 41, and acquisition time stabs from instant message, and then obtains prepare word displaying time.
Please continue to refer to Fig. 4, the device that obtains input method prepare word displaying time of the present invention also comprises:
Preserve module 43, for preserving described instant message with the form of system journal, time-obtaining module 42 is specifically for read out instant message from preserve module 43, and acquisition time stabs from instant message, and then obtains prepare word displaying time.
Referring to Fig. 5, is the structural representation of input method proving installation one embodiment of the present invention, comprises the first acquisition module 51, the second acquisition module 52 and the 3rd acquisition module 53, wherein:
The first acquisition module 51, for receiving the character that utilizes input method input, and obtains the first current time T1 of input eve, and described the first current time T1 acquiring is exported to the 3rd acquisition module 53;
The first acquisition module 51 receives and utilizes input method in self-defined text editor, to carry out the character of analog subscriber input, and obtain input eve the first current time T1, the T1 getting is kept in shared drive mapped file with the form of system journal, during the time, T1 is exported to the 3rd acquisition module 53 obtaining echo.
The second acquisition module 52, completes the second current time T2 of the mapping character candidates words demonstration of character, and the second current time T2 obtaining is exported to the 3rd acquisition module 53 for obtaining input method;
The second acquisition module 52 completes by intercept input method in self-defining text editor the instant message sending to system when mapping character candidates words shows, instant message comprises that the prepare word of demonstration and record complete the timestamp of the time of corresponding candidate words demonstration, acquisition time stamp from instant message, and then obtain described the second current time T2.
The 3rd acquisition module 53, for obtaining this echo time T of input method in conjunction with the first current time T1 and the second current time T2;
The 3rd acquisition module 53 obtains the first current time T1 and the second current time T2 from shared drive mapped file, and then obtains the echo time T of this input of input method.Character of every input all can produce corresponding prepare word, in actual applications, the first current time T1 that a plurality of different input of obtaining can be produced and the second corresponding current time T2 are kept in Memory Mapping File and its, the 3rd acquisition module 53 carries out batch processing to these data again and obtains echo time corresponding to a plurality of inputs of input method, the performance of comprehensive evaluation input method.
Please continue to refer to Fig. 5, in another embodiment, input method proving installation of the present invention also comprises:
Preserve module 54, for the form with system journal, preserve the current very first time T1 and the intercepting input method that acquire and complete the instant message sending to system when mapping character candidates words shows.
Preserve module 54 and preserve T1 and instant message by the form with system journal, effectively avoid these information to affect system performance with the direct output of wall scroll form.When needs are tested, system can directly be obtained T1 and from instant message, obtain T2 from preserving module 54, and then obtains each echo time of input method input.
By the elaboration of above-mentioned embodiment, with respect to prior art, the invention has the advantages that: by analog subscriber, input, catch the instant message that input method sends, from instant message, obtain the time that prepare word shows, thereby obtain this echo time of input method.The method does not need to know the UI realization mechanism of each input method, also needn't be concerned about that representing of each input method function just can realize the test to the input method echo time, time precision is high, and can be for the echo time test of each input method, thus can for the Performance Ratio of various input methods compared with time certain foundation is provided.Simultaneously because having represented from user, the test result of input method method of testing of the present invention is input to the complete echo time that prepare word shows, so also word is consuming time provides reference frame for front and back end communication, rear end dictionary are looked into.
In several embodiments provided by the present invention, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiments described above is only schematic, for example, the division of described module, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of modules or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described functional module as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the present invention program's object.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of each functional module exists, and also can two or more functional modules be integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
The foregoing is only embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (15)

1. an acquisition methods for input method prepare word displaying time, is characterized in that, comprising:
Intercepting input method completes the instant message sending to system when prepare word shows, described instant message comprises that prepare word and record complete the timestamp of mapping character candidates words displaying time;
Acquisition time stamp from described instant message, and then obtain prepare word displaying time.
2. method according to claim 1, it is characterized in that, the step to phylogenetic instant message when described intercepting input method completes prepare word demonstration comprises: in self-defined text editor, intercept input method and complete the instant message sending to system when mapping character candidates words shows.
3. method according to claim 1, is characterized in that, described intercepting input method also comprises after completing the step of the instant message sending to system when prepare word shows:
Form with system journal is kept at described instant message in the shared drive mapped file of system;
The described step that acquisition time stabs from instant message comprises: from described shared drive mapped file, read out instant message, and acquisition time stabs from described instant message.
4. an input method method of testing, is characterized in that, comprising:
Reception utilizes the character of described input method input, and obtains the first current time T1 of described input eve;
Obtain the second current time T2 that described input method completes the mapping character candidates words demonstration of described character, described the second current time T2 completes the instant message sending to system when mapping character candidates words shows and obtains by intercepting input method;
In conjunction with described the first current time T1 and described the second current time T2, obtain this echo time T of described input method.
5. method according to claim 4, is characterized in that, described in obtain the second current time T2 that mapping character candidates words that input method completes character shows step comprise:
Intercept described input method and complete the instant message sending to system when mapping character candidates words shows;
Acquisition time stamp from described instant message, described timestamp has been recorded mapping character candidates words displaying time, and then obtains described the second current time T2.
6. method according to claim 5, is characterized in that, described intercepting input method comprises after completing the step of the instant message sending to system when mapping character candidates words shows:
Form with system journal is kept at described instant message in the shared drive mapped file of system;
The described step that acquisition time stabs from instant message comprises: from described shared drive mapped file, read out instant message, and acquisition time stabs from described instant message.
7. method according to claim 5, is characterized in that, described in comprise after obtaining the step of the first current time T1 of input eve:
Form with system journal is kept at described the first current time T1 in the shared drive mapped file of system.
8. according to the method described in claim 4 to 7 any one, it is characterized in that, described reception utilizes the step of the character of input method input to comprise:
Reception utilizes described input method in self-defined text editor, to carry out the character of analogue-key or handwriting input.
9. method according to claim 5, is characterized in that, by intercepting the instant message sending to system when input method completes the demonstration of mapping character candidates words, the step obtaining comprises described the second current time T2:
Described the second current time T2 intercepts input method complete the instant message sending to system when mapping character candidates words shows and obtain in self-defined text editor.
10. a device that obtains input method prepare word displaying time, is characterized in that, comprises message intercept module and time-obtaining module, wherein:
Described message intercept module completes for intercepting input method the instant message sending to system when prepare word shows, and described instant message is sent to time-obtaining module, described instant message comprises that prepare word and record complete the timestamp of mapping character candidates words displaying time;
Described time-obtaining module is for receiving the described instant message from described message intercept module, and acquisition time stabs from described instant message, and then obtains prepare word displaying time.
11. devices according to claim 10, is characterized in that, described message intercept module completes specifically for intercept input method in self-defined text editor the instant message sending to system when mapping character candidates words shows.
12. devices according to claim 10, is characterized in that:
Described device also comprises preservation module, for preserving described instant message with the form of system journal;
Wherein, described time-obtaining module is specifically for read out instant message from described preservation module, and acquisition time stabs and then obtain prepare word displaying time from described instant message.
13. 1 kinds of input method proving installations, is characterized in that, comprise the first acquisition module, the second acquisition module and the 3rd acquisition module:
The first acquisition module, for receiving the character that utilizes described input method input, and obtains the first current time T1 of described input eve, and described the first current time T1 obtaining is exported to described the 3rd acquisition module;
The second acquisition module, for obtaining described input method, complete the second current time T2 of the mapping character candidates words demonstration of described character, and described the second current time T2 obtaining is exported to described the 3rd acquisition module, described the second current time T2 completes the instant message sending to system when mapping character candidates words shows and obtains by intercepting input method;
The 3rd acquisition module, for obtaining this echo time T of input method in conjunction with described the first current time T1 and described the second current time T2.
14. devices according to claim 13, it is characterized in that, described the second acquisition module is specifically for completing by intercepting described input method the instant message sending to system when mapping character candidates words shows, acquisition time stamp from described instant message, described timestamp has been recorded mapping character candidates words displaying time, and then obtains described the second current time T2.
15. devices according to claim 13, is characterized in that:
Described device also comprises preservation module, for preserve described the first current time T1 and described instant message with the form of system journal;
Wherein, described the 3rd acquisition module is specifically for obtaining described the first current time T1 from described preservation module and obtain described the second current time T2 from described instant message, in conjunction with T1 and T2, obtains this echo time T of input method.
CN201210309497.6A 2012-08-27 2012-08-27 Acquisition methods, input method test method and the device of candidate word display time Active CN103631387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210309497.6A CN103631387B (en) 2012-08-27 2012-08-27 Acquisition methods, input method test method and the device of candidate word display time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210309497.6A CN103631387B (en) 2012-08-27 2012-08-27 Acquisition methods, input method test method and the device of candidate word display time

Publications (2)

Publication Number Publication Date
CN103631387A true CN103631387A (en) 2014-03-12
CN103631387B CN103631387B (en) 2018-07-13

Family

ID=50212556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210309497.6A Active CN103631387B (en) 2012-08-27 2012-08-27 Acquisition methods, input method test method and the device of candidate word display time

Country Status (1)

Country Link
CN (1) CN103631387B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653056A (en) * 2015-12-17 2016-06-08 北京奇虎科技有限公司 Input method test method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216854A (en) * 2008-01-15 2008-07-09 腾讯科技(深圳)有限公司 Computer words input method and system and its word library maintenance method and device
CN101236523A (en) * 2008-02-29 2008-08-06 深圳华为通信技术有限公司 Input method test method and device
CN101996101A (en) * 2009-08-13 2011-03-30 北京搜狗科技发展有限公司 Method and device for optimizing application program performance
CN102591711A (en) * 2011-12-29 2012-07-18 奇智软件(北京)有限公司 Method and device for preventing apparent death of window

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216854A (en) * 2008-01-15 2008-07-09 腾讯科技(深圳)有限公司 Computer words input method and system and its word library maintenance method and device
CN101236523A (en) * 2008-02-29 2008-08-06 深圳华为通信技术有限公司 Input method test method and device
CN101996101A (en) * 2009-08-13 2011-03-30 北京搜狗科技发展有限公司 Method and device for optimizing application program performance
CN102591711A (en) * 2011-12-29 2012-07-18 奇智软件(北京)有限公司 Method and device for preventing apparent death of window

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653056A (en) * 2015-12-17 2016-06-08 北京奇虎科技有限公司 Input method test method and device
CN105653056B (en) * 2015-12-17 2019-05-28 北京奇虎科技有限公司 The test method and device of input method

Also Published As

Publication number Publication date
CN103631387B (en) 2018-07-13

Similar Documents

Publication Publication Date Title
EP4099170A1 (en) Method and apparatus of auditing log, electronic device, and medium
CN112527748B (en) Method, device, equipment and storage medium for analyzing user operation behavior
CN112486820B (en) Method, apparatus, device and storage medium for testing code
CN110069413B (en) Test data communication, test method, device, equipment and storage medium
US20210382815A1 (en) Method and apparatus for verifying operation state of application
EP3860051A2 (en) Method, apparatus, electronic device, readable storage medium and program for determining robustness
KR102298395B1 (en) System and Method for User Behavior Analysis and Agent for Collection of Event
EP4096226A1 (en) Fault detection method and apparatus for live broadcast service, electronic device, and readable storage medium
CN103488488A (en) Text input check method, device ad mobile terminal
US20230134615A1 (en) Method of processing task, electronic device, and storage medium
CN108111364A (en) The test method and device of a kind of operation system
CN113765873A (en) Method and apparatus for detecting abnormal access traffic
US10015181B2 (en) Using natural language processing for detection of intended or unexpected application behavior
CN103198062B (en) A kind of method and system for monitoring the dead chain of the page and js mistakes
CN103631387A (en) Candidate word display time acquiring method and device and input method testing method and device
CN108845924A (en) Control response region display control method, electronic device and storage medium
CN113127250B (en) Fault reporting method and device, electronic equipment and storage medium
US20210176653A1 (en) Method and apparatus for processing local hot spot, electronic device and storage medium
CN114462030A (en) Privacy policy processing and evidence obtaining method, device, equipment and storage medium
CN110474905B (en) Entity identification method and device, electronic equipment and storage medium
CN110505247A (en) Attack detection method, device, electronic equipment and storage medium
CN110874313B (en) Writing tool testing method and device
US20230087081A1 (en) Method of detecting event, electronic device, and storage medium
CN114461502B (en) Model monitoring method and device
US20230267117A1 (en) Driving data processing method, apparatus, device, automatic driving vehicle, medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant