CN105574118A - Input information determining method and client end - Google Patents

Input information determining method and client end Download PDF

Info

Publication number
CN105574118A
CN105574118A CN201510930448.8A CN201510930448A CN105574118A CN 105574118 A CN105574118 A CN 105574118A CN 201510930448 A CN201510930448 A CN 201510930448A CN 105574118 A CN105574118 A CN 105574118A
Authority
CN
China
Prior art keywords
management information
information
module
input
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510930448.8A
Other languages
Chinese (zh)
Inventor
李泽扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201510930448.8A priority Critical patent/CN105574118A/en
Publication of CN105574118A publication Critical patent/CN105574118A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques

Abstract

Embodiments of the invention disclose an input information determining method and a client end. The input information determining method comprises the steps of calling a JavaScript file to output a text input box; obtaining a target character string input by a user in the text input box; judging whether at least a piece of management information matched with the target character string exists in a matching relation between the character strings stored in the JavaScript file and management information or not; and if so, obtaining target management information selected by the user from the at least one piece of management information, and determining the target management information as the input information. By adoption of the embodiments of the invention, the text input box can be initialized by calling the JavaScript file, and multiple pieces of management information can be determined according to the input character strings to supply to the user for selection, so that manual information input by the user can be avoided; and meanwhile, the accuracy of the input information, the input efficiency of the user and the user experience are improved.

Description

A kind of defining method and client inputting information
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of defining method and the client that input information.
Background technology
In enterprise internal management system, due to business demand, usually user is needed manually to input some information in enterprise internal management system, as the information for submitting to or the information etc. for inquiring about, to send mail, usually user is needed first in the address of the addressee input frame input recipient mailbox address that system exports and at text input frame input message body, click the transmission button of system output user after, the message body of the mailbox transmission correspondence that system is corresponding to recipient mailbox address.Visible, current enterprise internal management system needs user manually to input relevant information, it reduces the accuracy of input information.
Summary of the invention
The embodiment of the invention discloses a kind of defining method and the client that input information, the accuracy of input information can be improved.
Embodiment of the present invention first aspect discloses a kind of defining method inputting information, and described method comprises:
Call JavaScript file output Text Entry, and obtain the target string that user inputs at described Text Entry;
Judge whether there is at least one management information matched with described target string in the matching relationship of character string and the management information stored in described JavaScript file;
When there is at least one management information described, export at least one management information described;
Obtain the management by objective information that user selects from least one management information described, and described management by objective information is defined as the input information of described Text Entry.
In the first possible implementation of embodiment of the present invention first aspect, described in call JavaScript file output Text Entry, and before obtaining the target string that user inputs at described Text Entry, described method also comprises:
Management information acquisition request is sent to server, wherein, described management information obtains request and comprises management information mark and described management information obtains request identifies corresponding multiple management information for what store in server described in acquisition request with described management information;
Receive described server to respond described management information and obtain and ask described multiple management information of returning;
Extract the character string of each management information in described multiple management information, and according to the text string generation character string of each management information in the described multiple management information extracted and the matching relationship of management information;
Described matching relationship is stored in JavaScript file.
In conjunction with the first possible implementation of embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, in described multiple management information, the character string of each management information comprises the first letter of pinyin of at least one character in this management information.
In conjunction with the first possible implementation of embodiment of the present invention first aspect, in the third possible implementation of embodiment of the present invention first aspect, in described multiple management information, the character string of each management information comprises the spelling letter of any one character in this management information.
The implementation possible in conjunction with the second of the first possible implementation of embodiment of the present invention first aspect, embodiment of the present invention first aspect, embodiment of the present invention first aspect or the third possible implementation of embodiment of the present invention first aspect, in the 4th kind of possible implementation of embodiment of the present invention first aspect, described method also comprises:
When there is not at least one management information described, export information, and delete described target string, wherein, described information is error character string for the described target string of pointing out user to input.
Embodiment of the present invention second aspect discloses a kind of client, described client acquisition module, judge module, output module and determination module, wherein:
Described output module, for calling JavaScript file output Text Entry;
Described acquisition module, for obtaining the target string that user inputs at described Text Entry;
Described judge module, for judge character string and the management information stored in described JavaScript file matching relationship in whether there is at least one management information matched with described target string;
Described output module, during for judging to there is at least one management information described when described judge module, exports at least one management information described;
Described acquisition module, also for obtaining the management by objective information that user selects from least one management information described;
Described determination module, also for described management by objective information being defined as the input information of described Text Entry.
In the first possible implementation of embodiment of the present invention second aspect, described client also comprises communication module, extraction module, generation module and memory module, wherein:
Described communication module, for sending management information acquisition request to server, wherein, described management information obtains request and comprises management information mark and described management information obtains request identifies corresponding multiple management information for what store in server described in acquisition request with described management information;
Described communication module, also responds described management information and obtains for receiving described server and ask described multiple management information of returning;
Described extraction module, for extracting the character string of each management information in described multiple management information;
Described generation module, for the text string generation character string of each management information and the described matching relationship of management information in described multiple management information of extracting according to described extraction module;
Described memory module, for being stored in described matching relationship in JavaScript file.
In conjunction with the first possible implementation of embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, in described multiple management information, the character string of each management information comprises the first letter of pinyin of at least one character in this management information.
In conjunction with the first possible implementation of embodiment of the present invention second aspect, in the third possible implementation of embodiment of the present invention second aspect, in described multiple management information, the character string of each management information comprises the spelling letter of any one character in this management information.
The implementation possible in conjunction with the second of the first possible implementation of embodiment of the present invention second aspect, embodiment of the present invention second aspect, embodiment of the present invention second aspect or the third possible implementation of embodiment of the present invention second aspect, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described output module, time also for judging to there is not at least one management information described when described judge module, export information, described information is error character string for the described target string of pointing out user to input;
Described client also comprises removing module, wherein:
Described removing module, after exporting described information at described output module, deletes described target string.
In the embodiment of the present invention, call JavaScript file output Text Entry, and obtain the target string that user inputs at text input frame, judge whether there is at least one management information matched with this target string in the matching relationship of character string and the management information stored in this JavaScript file, when there is this at least one management information, export this at least one management information, and obtain the management by objective information that user selects from this at least one management information, and this management by objective information is defined as the input information of this target text box.Implementing the embodiment of the present invention can by calling the mode initialization Text Entry of JavaScript file and determining that the multiple management information matched with this character string are selected for user according to the character string of user's input, the management information that user selects is defined as the input information of user, avoid user and manually input this input information, improve the experience of the accuracy of input information, the input efficiency of user and user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet inputting the defining method of information disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the defining method of another kind of input information disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the defining method of the embodiment of the present invention another input information disclosed;
Fig. 4 is the structural representation of a kind of client disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of client disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of the embodiment of the present invention another client disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of defining method and the client that input information, the experience of the accuracy of input information, the input efficiency of user and user can be improved.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is a kind of schematic flow sheet inputting the defining method of information disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied in the client of the mobile terminal installations such as smart mobile phone (as Android phone, iOS mobile phone etc.), palm PC, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA).As shown in Figure 1, the defining method of this input information can comprise the following steps:
S101, call JavaScript file output Text Entry, and obtain the target string that user inputs at text input frame.
In the embodiment of the present invention, when client needs output packet to contain the operation interface of input frame (as search input frame or recipient mailbox's address input box etc.), client can call the JavaScript file output Text Entry or initialization Text Entry that generate in advance, and obtain the target string that user inputted at text input frame by physical button or virtual key, and the target string that client gets can be at least one letter inputted according to self-demand by user, wherein, letter can case-insensitive, as the first letter of pinyin etc. of name, also can be at least one numeral, as the part numeral etc. in phone number, it can also be at least one Chinese character, as the surname etc. of name, the embodiment of the present invention is not construed as limiting.
S102, judge character string and the management information stored in above-mentioned Javascript file matching relationship in whether there is at least one management information matched with above-mentioned target string.
In the embodiment of the present invention, when the judged result of step S102 is for being, triggers and performing step S103; When the judged result of step S102 is no, can directly terminate this flow process, also the target string that can first export for pointing out user to input is the information of error character string, delete the above-mentioned target string of user's input again and trigger execution step S101, user can be made like this to know the target string of input in time wrong and re-enter new target string, improve the experience of user.
In the embodiment of the present invention, the matching relationship of character string and management information is previously stored with in above-mentioned Javascript file, and a management information and at least one character string match, management information can include but not limited to name, contact method, family home address or email address etc.In above-mentioned Javascript file, the matching relationship of storing character string and management information can mate without the need to the management information in querying server again when getting the target string that user inputs, and decreases the pressure of server.For example, take management information as address name be example, the matching relationship of character string and management information can be as shown in table 1 below:
The matching relationship table of table 1 character string and address name
Address name Character string
Deng Qian Deng dq/dx//madder/deng/xi/qian/d/q
Zhang San Zs/ opens/tri-/zhang/san/z/s
Li Si Lee ls//tetra-/li/si/l/s
King five Ww/ king/five/wang/wu/w
Deng Li Deng dl//beautiful/deng/li/d/l
Grouping 1 (Zhang San, Li Si) Zs/ opens/tri-/zhang/san/z/ls/ Lee/tetra-/li/si/l/s
Wherein, the letter in table 1 in character string is without the need to case sensitive.
S103, when exist at least one management information time, export this at least one management information.
In the embodiment of the present invention, when there is at least one management information matched with above-mentioned target string in the matching relationship judging above-mentioned character string and management information, this at least one management information exports and selects for user by client in a predefined way, as with list mode export or with pop-up box mode output etc., the embodiment of the present invention does not limit.
For example, suppose the matching relationship of character string and management information as shown in Table 1, and when the target string got in step S101 is d, at least one management information above-mentioned is Deng Qian and Deng Li; When the target string got in step S101 is l, at least one management information above-mentioned is Li Si, Deng Li and grouping 1 (Zhang San, Li Si).
The management by objective information that S104, acquisition user select from least one management information above-mentioned, and this management by objective information is defined as the input information of above-mentioned Text Entry.
In the embodiment of the present invention, after output at least one management information above-mentioned, client can by detecting the clicking operation of user, the mode of operation of touch operation or pressing function physical button obtains the management by objective information that user selects from least one management information above-mentioned exported, and this management by objective information is defined as the input information at Text Entry, to carry out follow-up associative operation, wherein, the quantity of this management by objective information can be one, also can be multiple, the embodiment of the present invention limit.
In the embodiment of the present invention, call JavaScript file output Text Entry, and obtain the target string that user inputs at Text Entry, judge in the matching relationship of character string and the management information stored in Javascript file, whether to there is at least one management information matched with this target string, when there is this at least one management information, export this at least one management information, and obtain the management by objective information that user selects from this at least one management information, and this management by objective information is defined as the input information of Text Entry.Implementing the embodiment of the present invention can by calling the mode initialization Text Entry of JavaScript file and determining that the multiple management information matched with this character string are selected for user according to the character string of user's input, the management information that user selects is defined as the input information of user, avoid user and manually input this input information, improve the experience of the accuracy of input information, the input efficiency of user and user.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the defining method of another kind of input information disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 2 can be applied in the client of the mobile terminal installations such as smart mobile phone (as Android phone, iOS mobile phone etc.), palm PC, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA).As shown in Figure 2, the defining method of this input information can comprise the following steps:
S201, to server send management information acquisition request.
In the embodiment of the present invention, server is for storing dissimilar management information, as name, contact method, home address or email address etc., and this management information obtain request can comprise management information mark and for store in acquisition request server, identify corresponding multiple management information with this management information, during as being designated " name " when management information, this management information obtains the name that request is used for storing in acquisition request server.
As the optional embodiment of one, user end to server sends management information acquisition request and can comprise:
Detect current time and whether arrive Preset Time;
When the test results is yes, management information acquisition request is sent to server.
As the optional embodiment of another kind, user end to server sends management information acquisition request and also can comprise:
Detect the management information whether receiving user's input and obtain instruction;
When the test results is yes, obtain instruction according to this management information generate management information acquisition request and send this management information acquisition request to server.
S202, reception server respond above-mentioned management information and obtain the multiple management information asking to return.
S203, extract the character string of each management information in above-mentioned multiple management information.
The text string generation character string of each management information and the matching relationship of management information in above-mentioned multiple management information that S204, basis are extracted.
In the embodiment of the present invention, in the above-mentioned multiple management information extracted, the number of the character string of each management information can be one also can be multiple, and the embodiment of the present invention does not limit.And the character string of each management information extracted can comprise the first letter of pinyin of at least one character in this management information, also the spelling letter of any one character in this management information can be comprised, can also comprise any one character in this management information, the embodiment of the present invention does not limit.And when the character string of the management information extracted is the spelling letter of any one character in this management information and there is multitone character (" madder " as above in table 1) in this management information, the spelling letter of this multitone character can comprise the spelling letter of each pronunciation of multitone character, and the matching relationship of character string and management information can be made so more flexible.
In the embodiment of the present invention, optionally, client can generate management information group according to the demand of user self, this management information group is made up of multiple management information, client directly can generate the character string matched with this management information group, and the character string of each management information in this management information group that client extracts can be comprised with the character string that this management information group matches, as above shown in the grouping 1 in table 1, also can comprise by user is the character string etc. that this management information group is arranged, and the embodiment of the present invention does not limit.
S205, the matching relationship of above-mentioned character string and management information to be stored in Javascript file.
In the embodiment of the present invention, in this Javascript file, both stored the above-mentioned matching relationship of generation, and can be used in again generating Text Entry.
S206, call above-mentioned JavaScript file output Text Entry, and obtain the target string that user inputs at text input frame.
In the embodiment of the present invention, when client needs output packet to contain the operation interface of input frame (as search input frame or recipient mailbox's address input box etc.), client can call above-mentioned JavaScript file output Text Entry or initialization Text Entry, and obtain the target string that user inputted at text input frame wind by physical button or virtual key, and the target string that client gets can be at least one letter inputted according to self-demand by user, wherein, letter can case-insensitive, as the first letter of pinyin etc. of name, also can be at least one numeral, as the part numeral etc. in phone number, it can also be at least one Chinese character, as the surname etc. of name, the embodiment of the present invention is not construed as limiting.
S207, judge character string and the management information stored in above-mentioned Javascript file matching relationship in whether there is at least one management information matched with above-mentioned target string.
In the embodiment of the present invention, when the judged result of step S207 is for being, triggers and performing step S208; When step S207 judged result is no, triggers and perform step S210.
S208, export this at least one management information.
In the embodiment of the present invention, when there is at least one management information matched with above-mentioned target string in the matching relationship judging above-mentioned character string and management information, this at least one management information exports and selects for user by client in a predefined way, as with list mode export or with pop-up box mode output etc., the embodiment of the present invention does not limit.
The management by objective information that S209, acquisition user select from least one management information above-mentioned, and this management by objective information is defined as the input information of above-mentioned Text Entry.
In the embodiment of the present invention, after output at least one management information above-mentioned, client can by detecting the clicking operation of user, the mode of operation of touch operation or pressing function physical button obtains the select target management information that user selects from least one management information above-mentioned exported, and this management by objective information is defined as the input information at above-mentioned Text Entry, to carry out follow-up associative operation, wherein, the quantity of this management by objective information can be one, also can be multiple, the embodiment of the present invention limit.
S210, output information, and delete above-mentioned target string.
In the embodiment of the present invention, this information is error character string for the above-mentioned target string of pointing out user to input, and export information and delete above-mentioned target string that user can be made to know the target string of input is in time wrong and re-enter new target string, improve the experience of user.
Visible, implement matching relationship that the embodiment of the present invention can provide one not only to store character string and management information but also can the Javascript file of initialization Text Entry, decrease because of querying server the pressure that server causes by calling this Javascript file, only need determine that the multiple management information matched with this character string are selected for user and the management information that user selects are defined as the input information of user according to the character string of user's input, avoid user and manually input this input information, improve the accuracy of input information, the input efficiency of user and the experience of user.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the defining method of the embodiment of the present invention another input information disclosed.Wherein, Fig. 3 inputs information for recipient mailbox address for example is described.As shown in Figure 3,3a in Fig. 3 represents that the current operation interface that client exports is e-mail writing interface, wherein, this e-mail writing interface comprises recipient mailbox's address input box, people's addresses of items of mail input frame of making a copy for, mailbox theme input frame, message body input frame, adds accessory operation icon and send mail action icon etc.; 3b in Fig. 3 represents that client obtains user and is " drj " in the character string that addressee's addresses of items of mail input frame inputs and exports the email address " Dong Rongjie (dw_dongrongjie) " matched with " drj "; 3c in Fig. 3 represents the recipient mailbox address that " Dong Rongjie (dw_dongrongjie) " that user selects by client inputs as user, and acquisition user is " dq " in the character string of people's addresses of items of mail input frame input of making a copy for, and with multiple email addresses-" Deng Qian (dw_dengqian) " that tabular form exports and " dq " matches, " Deng Qibin (dw_dengqibin) ", " Deng Qihuang (dw_dengqihuang) " and " Deng Qin Li (dw_dengqinli) "; 3d in Fig. 3 represents people's email address of making a copy for that " Deng Qian (dw_dengqian) " that user selects by client inputs as user.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of client disclosed in the embodiment of the present invention.As shown in Figure 4, this client can be installed on the mobile terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), palm PC, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA).As shown in Figure 4, this client can comprise acquisition module 401, judge module 402, output module 403 and determination module 404, wherein:
Output module 403 is for calling Javascript file output Text Entry.
The target string that acquisition module 401 inputs at the Text Entry that output module 403 exports for obtaining user.
In the embodiment of the present invention, after acquisition module 401 gets the target string of user's input, this target string is sent to judge module 402, perform corresponding operation to trigger judge module 402.
Judge module 402 for judge character string and the management information stored in above-mentioned Javascript file matching relationship in whether there is at least one management information matched with above-mentioned target string.
In the embodiment of the present invention, when judge module 402 judges to there is at least one management information, this at least one management information is sent to output module 403, perform corresponding operation to trigger output module 403.
When output module 403 is also for judging to there is at least one management information when judge module 402, export at least one management information.
Acquisition module 401 is also for obtaining the management by objective information that user selects from least one management information that output module 403 exports.
In the embodiment of the present invention, this management by objective information, after getting management by objective information, is sent to determination module 404 by acquisition module 401, performs corresponding operation to trigger determination module 404.
Determination module 404 is for being defined as the input information of above-mentioned Text Entry by above-mentioned management by objective information.
In an optional embodiment, this client can also comprise communication module 405, extraction module 406, generation module 407 and memory module 408, now, the structure of this client can as shown in Figure 5, and Fig. 5 is the structural representation of another kind of client disclosed in the embodiment of the present invention.Wherein:
Communication module 405 is for sending management information acquisition request to server, wherein, this management information obtain request comprise management information mark and this management information obtain request identify corresponding multiple management information for what store in acquisition request server with this management information.
Communication module 405 also responds above-mentioned management information for reception server and obtains the multiple management information asking to return.
In the embodiment of the present invention, the plurality of management information, after receiving multiple management information that server returns, is sent to extraction module 406, performs corresponding operation to trigger extraction module 406 by communication module 405.
Extraction module 406 is for extracting the character string of each management information in above-mentioned multiple management information.
In the embodiment of the present invention, after extraction module 406 extracts the character string of each management information, the character string of each management information is sent to generation module 407, perform corresponding operation to trigger generation module 407.
Generation module 407 is for the text string generation character string of each management information and the matching relationship of management information in multiple management information of extracting according to extraction module 406.
The matching relationship that memory module 408 generates for storing generation module 407, calls for output module 403 and judge module 402.
Optionally, in above-mentioned multiple management information, the character string of each management information can comprise the first letter of pinyin of at least one character in this management information, and also can comprise the spelling letter of any one character in this management information, the embodiment of the present invention does not limit.
In another optional embodiment, output module 403 can also be used for when judge module 402 judges to there is not at least one management information above-mentioned, export information, wherein, this information is error character string for the target string of pointing out user to input.And on the architecture basics of client shown in Fig. 5, this client can also comprise removing module 409, now, the structure of this client can as shown in Figure 6, and Fig. 6 is the structural representation of the embodiment of the present invention another client disclosed.Wherein:
Removing module 409 is for deleting above-mentioned target string.
Concrete, output module 403 sends removal request at output the rear of above-mentioned information to removing module 409, removing module 409 deletes above-mentioned target string according to this removal request, user can be made like this to know the wrong and target string that is deletion error automatically of the target string of input in time, decrease the manual operation of user, improve the experience of user.
Implementing the embodiment of the present invention can by calling the mode initialization Text Entry of JavaScript file and determining that the multiple management information matched with this character string are selected for user according to the character string of user's input, the management information that user selects is defined as the input information of user, avoid user and manually input this input information, improve the experience of the accuracy of input information, the input efficiency of user and user.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention client can carry out merging, divide and deleting according to actual needs.
Module described in the embodiment of the present invention can pass through universal integrated circuit, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, special IC).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above to the embodiment of the present invention provide a kind of input information defining method and client be described in detail, apply instantiation herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. input a defining method for information, it is characterized in that, described method comprises:
Call JavaScript file output Text Entry, and obtain the target string that user inputs at described Text Entry;
Judge whether there is at least one management information matched with described target string in the matching relationship of character string and the management information stored in described JavaScript file;
When there is at least one management information described, export at least one management information described;
Obtain the management by objective information that user selects from least one management information described, and described management by objective information is defined as the input information of described Text Entry.
2. method according to claim 1, is characterized in that, described in call JavaScript file output Text Entry, and before obtaining the target string that user inputs at described Text Entry, described method also comprises:
Management information acquisition request is sent to server, wherein, described management information obtains request and comprises management information mark and described management information obtains request identifies corresponding multiple management information for what store in server described in acquisition request with described management information;
Receive described server to respond described management information and obtain and ask described multiple management information of returning;
Extract the character string of each management information in described multiple management information, and according to the text string generation character string of each management information in the described multiple management information extracted and the matching relationship of management information;
Described matching relationship is stored in JavaScript file.
3. method according to claim 2, is characterized in that, in described multiple management information, the character string of each management information comprises the first letter of pinyin of at least one character in this management information.
4. method according to claim 2, is characterized in that, in described multiple management information, the character string of each management information comprises the spelling letter of any one character in this management information.
5. the method according to any one of claim 1-4, is characterized in that, described method also comprises:
When there is not at least one management information described, export information, and delete described target string, wherein, described information is error character string for the described target string of pointing out user to input.
6. a client, is characterized in that, described client comprises acquisition module, judge module, output module and determination module, wherein:
Described output module, for calling JavaScript file output Text Entry;
Described acquisition module, for obtaining the target string that user inputs at described Text Entry;
Described judge module, for judge character string and the management information stored in described JavaScript file matching relationship in whether there is at least one management information matched with described target string;
Described output module, time also for judging to there is at least one management information described when described judge module, exports at least one management information described;
Described acquisition module, also for obtaining the management by objective information that user selects from least one management information described;
Described determination module, for being defined as the input information of described Text Entry by described management by objective information.
7. client according to claim 6, is characterized in that, described client also comprises communication module, extraction module, generation module and memory module, wherein:
Described communication module, for sending management information acquisition request to server, wherein, described management information obtains request and comprises management information mark and described management information obtains request identifies corresponding multiple management information for what store in server described in acquisition request with described management information;
Described communication module, also responds described management information and obtains for receiving described server and ask described multiple management information of returning;
Described extraction module, for extracting the character string of each management information in described multiple management information;
Described generation module, for the text string generation character string of each management information and the described matching relationship of management information in described multiple management information of extracting according to described extraction module;
Described memory module, for being stored in described matching relationship in JavaScript file.
8. client according to claim 7, is characterized in that, in described multiple management information, the character string of each management information comprises the first letter of pinyin of at least one character in this management information.
9. client according to claim 7, is characterized in that, in described multiple management information, the character string of each management information comprises the spelling letter of any one character in this management information.
10. the client according to any one of claim 6-9, it is characterized in that, described output module, time also for judging to there is not at least one management information described when described judge module, export information, described information is error character string for the described target string of pointing out user to input;
Described client also comprises removing module, wherein:
Described removing module, after exporting described information at described output module, deletes described target string.
CN201510930448.8A 2015-12-14 2015-12-14 Input information determining method and client end Pending CN105574118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510930448.8A CN105574118A (en) 2015-12-14 2015-12-14 Input information determining method and client end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510930448.8A CN105574118A (en) 2015-12-14 2015-12-14 Input information determining method and client end

Publications (1)

Publication Number Publication Date
CN105574118A true CN105574118A (en) 2016-05-11

Family

ID=55884249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510930448.8A Pending CN105574118A (en) 2015-12-14 2015-12-14 Input information determining method and client end

Country Status (1)

Country Link
CN (1) CN105574118A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108803894A (en) * 2018-06-08 2018-11-13 珠海广缘医药有限公司 A method of it realizing that the phonetic of trade name is write a Chinese character in simplified form based on pinying.js and automatically generates
CN109903484A (en) * 2018-12-25 2019-06-18 中国银联股份有限公司 A kind of self-checkout equipment and self-service accounts settling method
CN111026459A (en) * 2019-12-05 2020-04-17 杭州有赞科技有限公司 Character string to pinyin method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686264A (en) * 2008-09-26 2010-03-31 国际商业机器公司 Method and device for matching e-mail box address
CN101764883A (en) * 2009-11-25 2010-06-30 青岛海信移动通信技术股份有限公司 Recipient information input method of mobile terminal and system thereof
CN101887446A (en) * 2010-04-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for inputting E-mail address
CN102970412A (en) * 2012-10-29 2013-03-13 东莞宇龙通信科技有限公司 Mobile terminal and application method of input contact names

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686264A (en) * 2008-09-26 2010-03-31 国际商业机器公司 Method and device for matching e-mail box address
CN101764883A (en) * 2009-11-25 2010-06-30 青岛海信移动通信技术股份有限公司 Recipient information input method of mobile terminal and system thereof
CN101887446A (en) * 2010-04-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for inputting E-mail address
CN102970412A (en) * 2012-10-29 2013-03-13 东莞宇龙通信科技有限公司 Mobile terminal and application method of input contact names

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108803894A (en) * 2018-06-08 2018-11-13 珠海广缘医药有限公司 A method of it realizing that the phonetic of trade name is write a Chinese character in simplified form based on pinying.js and automatically generates
CN109903484A (en) * 2018-12-25 2019-06-18 中国银联股份有限公司 A kind of self-checkout equipment and self-service accounts settling method
CN111026459A (en) * 2019-12-05 2020-04-17 杭州有赞科技有限公司 Character string to pinyin method

Similar Documents

Publication Publication Date Title
CN105068726B (en) Information processing method and terminal
CN104809174A (en) Opening method of terminal application
CN107861932B (en) Text editing method, device and system and terminal equipment
CN105574118A (en) Input information determining method and client end
CN101287026A (en) System and method for executing quick dialing by hand-write recognition function
CN111666940A (en) Chat screenshot content processing method and device, electronic equipment and readable storage medium
WO2015043227A1 (en) Systems and methods for contacts management
CN107247722A (en) File scanning method and device and intelligent terminal
CN106060220B (en) A kind of contact information creation method and mobile terminal
CN104133815A (en) Input and search method and system
CN104102704A (en) System control displaying method and system control displaying device
CN106886364A (en) A kind of text handling method and terminal based on speech recognition
CN105912534A (en) Translation method and device
CN104182479A (en) Method and device for processing information
CN104504051A (en) Input prompt method, input prompt device and terminal
CN105913215A (en) Email processing method and equipment
WO2018219141A1 (en) Method for marking unread information and mobile terminal
CN102346559A (en) Method and device for deleting lexical items in input method as well as character input tool
CN104796519A (en) Terminal
CN104767880A (en) Communication number management method
CN109120512B (en) Method for establishing contact person group and instant communication client
CN104639427A (en) Method and device for outputting E-mail information
CN114706610A (en) Business flow chart generation method, device, equipment and storage medium
CN105120045A (en) Method and device for creating address book according to note information of new contact name
CN111782674A (en) Task query method and device

Legal Events

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

Application publication date: 20160511