CN105511637B - A kind of input method and user terminal - Google Patents

A kind of input method and user terminal Download PDF

Info

Publication number
CN105511637B
CN105511637B CN201510881596.5A CN201510881596A CN105511637B CN 105511637 B CN105511637 B CN 105511637B CN 201510881596 A CN201510881596 A CN 201510881596A CN 105511637 B CN105511637 B CN 105511637B
Authority
CN
China
Prior art keywords
information
application program
pasted
mark
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.)
Active
Application number
CN201510881596.5A
Other languages
Chinese (zh)
Other versions
CN105511637A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510881596.5A priority Critical patent/CN105511637B/en
Publication of CN105511637A publication Critical patent/CN105511637A/en
Application granted granted Critical
Publication of CN105511637B publication Critical patent/CN105511637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of input method and user terminals, including:After the stickup instruction inputted on receiving Application Program Interface;Stickup instruction can be responded, the mark of the corresponding application program of Application Program Interface is obtained;And obtaining information to be pasted from the background using the mark of application program, information to be pasted is and the matched particular text information received in message of the mark of application program;Finally by the input frame for inputting information to be pasted in information stickup to Application Program Interface to be pasted.Implement the embodiment of the present invention quickly can carry out paste operation to information, improve simple operation.

Description

A kind of input method and user terminal
Technical field
The present invention relates to electronic technology field more particularly to a kind of input method and user terminals.
Background technology
With the fast development of electronic technology and the rapid proliferation of user terminal, the function of user terminal is increasingly perfect, The application program installed in user terminal is also increasing.For example, mounted application program may include visiting in user terminal Ask external network data resource application, application program of taking pictures and Information application program etc..In practical applications, work as user When registering the login account of some application program, user terminal can usually receive the identifying code of server transmission, and pass through Information application program exports the identifying code received.When user need the identifying code received being input to it is right in the application program When the input frame answered, user can by first starting Information application program, to open the information for including identifying code that receives, and Identifying code and then secondary entrance application program are being replicated, and the input frame in the application program inputs identifying code.Due to working as When user needs to input identifying code, user needs first to start Information application program, to replicate identifying code, restarts login account pair Identifying code is input to identifying code input frame by the application program answered, and the process so as to cause input identifying code is cumbersome.
Invention content
An embodiment of the present invention provides a kind of input method and user terminals, quickly can carry out paste operation to information, Improve simple operation.
In a first aspect, the embodiment of the invention discloses a kind of input methods, including:
Receive the stickup instruction inputted on Application Program Interface;
The stickup instruction is responded, the mark of the corresponding application program of the Application Program Interface is obtained;
Mark using the application program is obtaining information to be pasted from the background, and the information to be pasted is and the application The matched particular text information received in message of mark of program;
By the input for inputting the information to be pasted in the information stickup to be pasted to the Application Program Interface Frame.
Realization method with reference to first aspect, it is described to use institute in the first possible realization method of first aspect The mark for stating application program is obtaining information to be pasted from the background, including:
It is read and matched at least one letter of the mark of the application program on backstage using the mark of the application program Breath;
The time interval that receiving time and current time are obtained from least one information is less than preset time threshold Information, from the time interval be less than the preset time threshold information in obtain particular text information as letter to be pasted Breath.
The possible realization method of with reference to first aspect the first, in second of possible realization method of first aspect In, the input by for inputting the information to be pasted in the information stickup to be pasted to the Application Program Interface Frame, including:
Receive the selection instruction input by user for the information to be pasted;
The selection instruction is responded, selects target corresponding with the selection instruction to be pasted from the information to be pasted Information, and will be used to input the defeated of the information to be pasted in target information stickup to be pasted to the Application Program Interface Enter frame.
Realization method with reference to first aspect, it is described to use institute in the third possible realization method of first aspect The mark for stating application program is obtaining information to be pasted from the background, including:
It is read and matched at least one letter of the mark of the application program on backstage using the mark of the application program Breath;
Obtain the corresponding keyword of input frame for inputting the information to be pasted;
According to the keyword from at least one acquisition of information particular text information as information to be pasted.
The third possible realization method with reference to first aspect, in the 4th kind of possible realization method of first aspect In, the mark using the application program is read and matched at least one letter of the mark of the application program on backstage Breath, including:
It is read and the application program in the Information application program of running background using the mark of the application program Identify matched at least one information.
Second aspect, the embodiment of the invention also discloses a kind of user terminals, including:
Receiving unit, for receiving the stickup inputted on Application Program Interface instruction;
Acquiring unit obtains the mark of the corresponding application program of the Application Program Interface for responding the stickup instruction Know;
The acquiring unit, the mark for being also used for the application program is obtaining information to be pasted from the background, described to wait for Paste information be and the application program mark it is matched receive message in particular text information;
Application unit, for described will wait gluing for inputting in the information stickup to be pasted to the Application Program Interface Paste the input frame of information.
In conjunction with the user terminal of second aspect, in the first possible user terminal of second aspect, the acquisition is single Member includes:
First read module reads the mark with the application program for the mark using the application program on backstage Matched at least one information;
First acquisition module, the time interval for obtaining receiving time and current time from least one information Less than the information of preset time threshold, particular text is obtained from the information that the time interval is less than the preset time threshold Information is as information to be pasted.
In conjunction with the first possible user terminal of second aspect, in second of possible user terminal of second aspect In, the application unit includes:
Receiving module, for receiving the selection instruction input by user for the information to be pasted;
Selecting module, for responding the selection instruction, selection and the selection instruction pair from the information to be pasted The target information to be pasted answered;
Stickup module, it is described for that will be used to input in target information stickup to be pasted to the Application Program Interface The input frame of information to be pasted.
In conjunction with the user terminal of second aspect, in the third possible user terminal of second aspect, the acquisition is single Member includes:
Second read module reads the mark with the application program for the mark using the application program on backstage Matched at least one information;
Second acquisition module, for obtaining the corresponding keyword of input frame for inputting the information to be pasted;
Second acquisition module is additionally operable to be believed from at least one acquisition of information particular text according to the keyword Breath is used as information to be pasted.
In conjunction with the third possible user terminal of second aspect, in the 4th kind of possible user terminal of second aspect In, second read module is read on backstage using the mark of the application program and is matched with the mark of the application program At least one information specific implementation mode be using the application program mark running background Information application program Matched at least one information of mark of middle reading and the application program.
In the embodiment of the present invention, after receiving the stickup inputted on Application Program Interface instruction;This can be responded Instruction is pasted, the mark of the corresponding application program of Application Program Interface is obtained;And it is obtained on backstage using the mark of application program Information to be pasted, information to be pasted are and the matched particular text information received in message of the mark of application program;Finally will Input frame in information stickup to Application Program Interface to be pasted for inputting information to be pasted.In embodiments of the present invention, when It needs in paste information on Application Program Interface, without first exiting the Application Program Interface, enters back into other applications, then Replicate the information in other applications;And stickup instruction need to be only inputted on the Application Program Interface, then user terminal can obtain Take the relevant information to be pasted of application program corresponding with the Application Program Interface, and by information stickup to be pasted to application program Input frame on interface for inputting information to be pasted.Wherein, application program corresponding with the Application Program Interface is relevant waits for Paste information is by user terminal in running background other applications, and the letter that the duplication in other applications obtains Breath.It can be seen that implement the embodiment of the present invention quickly can carry out paste operation to information, simple operation is improved.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow diagram of input method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another input method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of input method and user terminals.In embodiments of the present invention, when needs are being answered With when paste information, without first exiting the Application Program Interface, entering back into other applications, then replicate other on program interface Information in application program;And stickup instruction need to be only inputted on the Application Program Interface, then user terminal can be obtained and be answered with this With the relevant information to be pasted of the corresponding application program of program interface, and will be used in information stickup to Application Program Interface to be pasted In the input frame for inputting information to be pasted.Wherein, the relevant information to be pasted of application program corresponding with the Application Program Interface It is by user terminal in running background other applications, and the information that the duplication in other applications obtains.Thus may be used See, implement the embodiment of the present invention quickly can carry out paste operation to information, improve simple operation;It carries out individually below detailed Description.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of input method disclosed by the embodiments of the present invention.Wherein, Fig. 1 institutes The method shown can be adapted for smart mobile phone (such as Android phone, iOS mobile phones), tablet computer, palm PC and movement In the user terminals such as internet device (Mobile Internet Devices, MID), PAD.As shown in Figure 1, the input method It may comprise steps of:
101, the stickup instruction inputted on Application Program Interface is received.
In the embodiment of the present invention, Application Program Interface is to present in front of the user, the Graphic State on terminal screen.Using May include the interface element at one or more kinds of composition interfaces in program interface, specific interface element includes but not limited to window One or more of mouth, dialog box, message box, status bar, icon, status bar, widget etc..For example, an application Can only include a window in program interface, for showing certain types of electronic information (such as:Picture, text etc.); Can include message box, icon, status bar etc. simultaneously.Application Program Interface may include the interface being shown in terminal screen Be stored in user terminal but be not shown at the interface of terminal screen.The interface being shown on a terminal screen is referred to as Display interface.Various interface elements in interface may be collectively referred to as the content information in interface.
In the embodiment of the present invention, user has diversity in the input mode for the stickup instruction that Application Program Interface inputs, For example, the input mode that the stickup that user inputs in Application Program Interface instructs, which can be user, pass through touch control application program interface In target button (such as virtual key) inputted;The input mode that the stickup that user inputs in Application Program Interface instructs is also Can be any one the place input touch control operation of user in Application Program Interface, it is corresponding that user terminal obtains touch control operation Touch parameter, and the touch parameter got is matched with the preset parameter for pasting instruction for characterizing input;If Match, then paste the operation of instruction using the touch control operation as input, if mismatching, then it is assumed that the touch control operation is invalid operation.
Specifically, in user terminal it is preset for characterize input paste instruct parameter can be user as needed into Row setting;Can also be that user terminal is set according to the history of user setting record;Can also be user terminal according to The corresponding touch parameter of history touch control operation at family is set.
Specifically, when user terminal set according to the corresponding touch parameter of history touch control operation of user it is above-mentioned be used for table When the parameter of instruction is pasted in sign input, following steps are can specifically include:
11) touch parameter of history touch control operation within a preset period of time is obtained, the touch parameter includes touch-control pressure Force value;
12) the average touch-control pressure of the corresponding touch-control pressure value of history touch control operation in above-mentioned preset time period is calculated Value;
13) the regular design of pressure by above-mentioned for characterizing input stickup instruction is set to be put down with above-mentioned according to preset The pressure value that equal touch-control pressure value matches.
In the embodiment of the present invention, the above-mentioned pressure value that instruction is pasted for characterizing input can refer to a specific value, It may also mean that range of pressure values.For example, if the history touch control operation being calculated within a preset period of time is corresponding tactile The average touch-control pressure value of pressure control force value is 0.5N, then the above-mentioned pressure value that instruction is pasted for characterizing input can be 0.5N, May be (0.5-n) N to (0.5+n) N, wherein n is real number.
102, instruction is pasted in response, obtains the mark of the corresponding application program of Application Program Interface.
In the embodiment of the present invention, the mark of application program may include the title of application program or the logo of application program Deng.
In the embodiment of the present invention, after receiving the stickup inputted on Application Program Interface instruction, then user terminal The mark of the corresponding application program of Application Program Interface can be obtained and paste instruction to respond.
103, the use of the mark of application program is the mark with application program obtaining information to be pasted, information to be pasted from the background Know the particular text information in matched reception message.
In the embodiment of the present invention, user terminal can be replicated and be received in message when receiving reception message every time Particular text information, and store it in user terminal.For example, if it is short message application program push to receive message, When the short message sended over by other user terminals with communication function, then user terminal can obtain the specific text in short message This.Such as express delivery odd numbers, identifying code and telephone number.
In the embodiment of the present invention, the particular text information received in message to allow user terminal to be successfully, reproduced, then Some keywords can be prestored in the user terminal, then user terminal can subsequently received according to these keywords De-duplicate particular text information in information.For example, pre-stored keyword includes express delivery odd numbers, identifying code and electricity Number etc. is talked about, then user terminal can obtain corresponding express delivery odd numbers, identifying code and telephone number in the received messages.
It further, can also be according in reception message when user terminal replicates particular text information in the received messages Some keywords determine which application program is the reception message correspond to, then, can after having replicated particular text information To be classified obtained particular text information is replicated according to application program.That is, each application program corresponds to one Storage region.For example, there is XX express delivery odd numbers if receiving in message, user terminal replicates spy in the received messages It, then can be by particular text information storage in the corresponding storage region of XX express deliveries after determining text message.
Specifically, after the mark for getting the corresponding application program of Application Program Interface, then it can use and apply journey The mark of sequence is obtaining information to be pasted from the background.For example, if the name for being identified as some chat application of application program Claim, then user terminal can obtain information to be pasted from the background according to the title of the chat application.
In the embodiment of the present invention, since for different reception information, the particular text information received in information may There is the different terms of validity.For example, in order to ensure some application program login account safety, then log in when send Identifying code generally all within one minute, that is, it is super after one minute after input the identifying code again, be can be considered as one it is invalid Or the identifying code of mistake, and for an express delivery odd numbers, then its corresponding term of validity then can be long, then defeated before the deadline The transit information of the corresponding express delivery of express delivery odd numbers can be found by entering the express delivery odd numbers.
104, by the input frame for inputting information to be pasted in information stickup to Application Program Interface to be pasted.
In the embodiment of the present invention, using the mark of application program, after obtaining information to be pasted from the background, then user is whole It end can be by the input frame for inputting information to be pasted in information stickup to Application Program Interface to be pasted.
In Fig. 1, it is described in detail after receiving the stickup inputted on Application Program Interface instruction;It can then respond The stickup instructs, and obtains the mark of the corresponding application program of Application Program Interface;And it is being obtained from the background using the mark of application program Take information to be pasted, information to be pasted is and the matched particular text information received in message of the mark of application program;Finally By the input frame for inputting information to be pasted in information stickup to Application Program Interface to be pasted.In embodiments of the present invention, When needing the paste information on Application Program Interface, without first exiting the Application Program Interface, other applications are entered back into, The information in other applications is replicated again;And stickup instruction need to be only inputted on the Application Program Interface, then user terminal meeting The relevant information to be pasted of application program corresponding with the Application Program Interface is obtained, and by information stickup to be pasted to using journey Input frame on sequence interface for inputting information to be pasted.Wherein, application program corresponding with the Application Program Interface is relevant Information to be pasted is by user terminal in running background other applications, and the letter that the duplication in other applications obtains Breath.It can be seen that implement the embodiment of the present invention quickly can carry out paste operation to information, simple operation is improved.
Referring to Fig. 2, Fig. 2 is the flow diagram of another input method disclosed by the embodiments of the present invention, such as Fig. 2 institutes Show, which may comprise steps of:
201, the stickup instruction inputted on Application Program Interface is received.
202, instruction is pasted in response, obtains the mark of the corresponding application program of Application Program Interface.
203, using the mark of application program matched at least one information of mark with application program is read on backstage.
It, can be according to preset pass since user terminal when receiving reception message every time in the embodiment of the present invention Keyword de-duplicate receives the particular text information in message, and stores it in user terminal.Therefore, it is stored in user terminal Many particular text information.Therefore, after the mark for obtaining the corresponding application program of Application Program Interface, then user terminal The mark of application program can be used to read matched at least one information of mark with application program on backstage.
204, the time interval that receiving time and current time are obtained from least one information is less than preset time threshold Information, from time interval be less than preset time threshold information in obtain particular text information as information to be pasted.
In the embodiment of the present invention, a preset time threshold can be preset in the user terminal, wherein the preset time threshold Value can be that user sets as needed;It can also be that user terminal is set according to the history of user setting record; It can also be that user terminal is set according to the function of application program;The present invention is not construed as limiting.For example, if application program The function of A essentially consists in transaction (such as transfer accounts, pay), then its corresponding reception message be typically all in order to increase safety and Then above-mentioned preset time threshold can be arranged then in order to further increase the safety of user account for the verification message of transmission It is shorter.Again for example, the function of application program B is mainly that user inquires (such as express transportation information inquiry), due to fortune The defeated time is usually one day or more, then above-mentioned preset time threshold can be arranged longer.
In the embodiment of the present invention, receiving time refers to receiving the time for receiving message.Specifically, application program is being used Mark backstage read with after matched at least one information of mark of application program, then can be from least one information The time interval for obtaining receiving time and current time is less than the information of preset time threshold, and when being less than default from time interval Between threshold value information in obtain particular text information as information to be pasted.For example, if above-mentioned preset time threshold is one It, then user terminal can be to obtain all reception message for being received in one day, and by above-mentioned one at least one information All reception message received in it are as above-mentioned information to be pasted.
205, by the input frame for inputting information to be pasted in information stickup to Application Program Interface to be pasted.
In the embodiment of the present invention, particular text information work is obtained time interval to be less than in the information of preset time threshold After information to be pasted, then user terminal will can be used to input in information stickup to Application Program Interface to be pasted to be pasted The input frame of information.
Specifically, user terminal will be used to input the defeated of information to be pasted in information stickup to Application Program Interface to be pasted Enter frame, may comprise steps of:
21) selection instruction input by user for information to be pasted is received;
22) above-mentioned selection instruction is responded, target information to be pasted corresponding with selection instruction is selected from information to be pasted, And the input frame that will be used to input information to be pasted in target information stickup to Application Program Interface to be pasted.
In the embodiment of the present invention, user has diversity in the input mode for the selection instruction that Application Program Interface inputs, For example, the input mode for the selection instruction that user inputs in Application Program Interface, which can be user, pass through touch control application program interface In target button (such as virtual key) inputted;The input mode for the selection instruction that user inputs in Application Program Interface is also Can be any one the place input touch control operation of user in Application Program Interface, it is corresponding that user terminal obtains touch control operation Touch parameter, and the touch parameter got is matched with preset with the matched parameter of selection operation;It, will if matching The operation that the touch control operation is instructed as input selection, if mismatching, then it is assumed that the touch control operation is invalid operation.
Specifically, preset in user terminal with the matched parameter of selection operation can be that user sets as needed It is fixed;Can also be that user terminal is set according to the history of user setting record;It can also be user terminal according to user's History touch control operation corresponding touch parameter is set.
Specifically, when user terminal sets above-mentioned and selection according to the corresponding touch parameter of history touch control operation of user When operating matched parameter, following steps are can specifically include:
31) touch parameter of history touch control operation within a preset period of time is obtained, touch parameter includes touch-control pressure value;
32) the average touch-control pressure of the corresponding touch-control pressure value of history touch control operation in above-mentioned preset time period is calculated Value;
33) according to it is preset set rule will it is above-mentioned with the matched design of pressure of selection operation as with the above-mentioned touch-control that is averaged The pressure value that pressure value matches.
In the embodiment of the present invention, the above-mentioned and matched pressure value of selection operation can refer to a specific value, can also It refer to range of pressure values.For example, if the corresponding touch-control pressure of history touch control operation within a preset period of time is calculated The average touch-control pressure value of value is 0.5N, then the above-mentioned and matched pressure value of selection operation can be 0.5N, or (0.5- N) N to (0.5+n) N, wherein n is real number.
In the embodiment of the present invention, user terminal can determine selection target information to be pasted according to touch-control pressure value.Its In, family terminal can determine that the specific implementation mode of selection target information to be pasted is user terminal root according to touch-control pressure value Carry out selection target information to be pasted according to the mapping relations of preset pressure value and paste information.For example, when dynamics value is When 0.5N, corresponding target information to be pasted is the paste information of serial number 1;When dynamics value is 1N, corresponding target Information to be pasted is the paste information of serial number 2;When dynamics value is 1.5N, corresponding target information to be pasted is serial number 3 paste information;The present invention is not construed as limiting.
In the embodiment of the present invention, after receiving the selection instruction input by user for information to be pasted;Then user is whole End can respond the selection instruction, select corresponding with selection instruction target information to be pasted from information to be pasted, and by mesh Mark the input frame for inputting information to be pasted in information stickup to Application Program Interface to be pasted.
As an alternative embodiment, pasting instruction executing step 202 response, obtains Application Program Interface and correspond to Application program mark after, following steps can also be performed in user terminal:
41) mark of application program is used to read matched at least one information of mark with application program on backstage;
42) the corresponding keyword of input frame for inputting information to be pasted is obtained;
43) according to keyword from least one acquisition of information particular text information as information to be pasted.
In the embodiment of the present invention, user terminal, can be according to the pass received in message when receiving reception message every time Keyword determines the corresponding application program of reception message, then user terminal can store the reception message to the application program Corresponding storage region.For example, if receiving in message has the words such as XX express delivery odd numbers, user terminal that the reception can disappear Breath stores storage region corresponding to application program corresponding with XX express deliveries.
In the embodiment of the present invention, when user terminal inputs and pastes instruction, then user terminal can obtain stickup instruction The corresponding corresponding keyword of input frame for inputting information to be pasted, and can be obtained from least one information according to keyword Take particular text information as information to be pasted.For example, if user terminal get for inputting information to be pasted The corresponding keyword of input frame is odd numbers, then user terminal can obtain at least one letter according to the corresponding mark of application program Breath, and the information for including odd numbers is obtained from least one information, and obtain odd numbers conduct from the information comprising odd numbers and wait gluing Paste information.
Further, step 41) is read using the mark of application program on backstage matched at least with the mark of application program One information can specially be read in the Information application program of running background using the mark of application program and application program Matched at least one information of mark.
In fig. 2, user terminal is described in detail using the mark of application program in the side for obtaining information to be pasted from the background Formula has diversity.Specifically, user terminal can first use the mark of application program to read the mark with application program on backstage Know matched at least one information;The time interval for obtaining receiving time and current time from least one information again is less than in advance If the information of time threshold, particular text information is obtained from the information that time interval is less than preset time threshold as to be pasted Information.User terminal can also use the mark of application program to read the mark matched at least one with application program on backstage Information;The corresponding keyword of input frame for inputting information to be pasted is obtained again;Finally believed from least one according to keyword Breath obtains particular text information as information to be pasted.By implementing above two mode, user terminal can be with quick obtaining Information to be pasted.It can be seen that implement the embodiment of the present invention still quickly can carry out paste operation to information, simple operation is improved Property.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, for executing State input method.Wherein, user terminal shown in Fig. 3 can include but is not limited to smart mobile phone (such as Android phone, iOS hands Machine etc.), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), PAD etc. User terminal.As shown in Figure 1, the user terminal may include:Receiving unit 301, acquiring unit 302 and application unit 303, Wherein,
Receiving unit 301, for receiving the stickup inputted on Application Program Interface instruction.
In the embodiment of the present invention, Application Program Interface is to present in front of the user, the Graphic State on terminal screen.Using May include the interface element at one or more kinds of composition interfaces in program interface, specific interface element includes but not limited to window One or more of mouth, dialog box, message box, status bar, icon, status bar, widget etc..For example, an application Can only include a window in program interface, for showing certain types of electronic information (such as:Picture, text etc.); Can include message box, icon, status bar etc. simultaneously.Application Program Interface may include the interface being shown in terminal screen Be stored in user terminal but be not shown at the interface of terminal screen.The interface being shown on a terminal screen is referred to as Display interface.Various interface elements in interface may be collectively referred to as the content information in interface.
In the embodiment of the present invention, user has diversity in the input mode for the stickup instruction that Application Program Interface inputs, For example, the input mode that the stickup that user inputs in Application Program Interface instructs, which can be user, pass through touch control application program interface In target button (such as virtual key) inputted;The input mode that the stickup that user inputs in Application Program Interface instructs is also Can be any one the place input touch control operation of user in Application Program Interface, it is corresponding that user terminal obtains touch control operation Touch parameter, and the touch parameter got is matched with the preset parameter for pasting instruction for characterizing input;If Match, then paste the operation of instruction using the touch control operation as input, if mismatching, then it is assumed that the touch control operation is invalid operation.
Specifically, in user terminal it is preset for characterize input paste instruct parameter can be user as needed into Row setting;Can also be that user terminal is set according to the history of user setting record;Can also be user terminal according to The corresponding touch parameter of history touch control operation at family is set.
Specifically, when user terminal set according to the corresponding touch parameter of history touch control operation of user it is above-mentioned be used for table When the parameter of instruction is pasted in sign input, following steps are can specifically include:
11) touch parameter of history touch control operation within a preset period of time is obtained, the touch parameter includes touch-control pressure Force value;
12) the average touch-control pressure of the corresponding touch-control pressure value of history touch control operation in above-mentioned preset time period is calculated Value;
13) the regular design of pressure by above-mentioned for characterizing input stickup instruction is set to be put down with above-mentioned according to preset The pressure value that equal touch-control pressure value matches.
In the embodiment of the present invention, the above-mentioned pressure value that instruction is pasted for characterizing input can refer to a specific value, It may also mean that range of pressure values.For example, if the history touch control operation being calculated within a preset period of time is corresponding tactile The average touch-control pressure value of pressure control force value is 0.5N, then the above-mentioned pressure value that instruction is pasted for characterizing input can be 0.5N, May be (0.5-n) N to (0.5+n) N, wherein n is real number.
Acquiring unit 302 pastes instruction for responding, obtains the mark of the corresponding application program of Application Program Interface.
In the embodiment of the present invention, the mark of application program may include the title of application program or the logo of application program Deng.
In the embodiment of the present invention, after receiving unit 301 receives the stickup instruction inputted on Application Program Interface, Then acquiring unit 302 can obtain the mark of the corresponding application program of Application Program Interface and be instructed with responding to paste.
Above-mentioned acquiring unit 302, the mark for being also used for application program are obtaining information to be pasted, letter to be pasted from the background Breath is the particular text information identified in matched reception message with application program.
In the embodiment of the present invention, receiving unit 301 can be replicated and be received in message when receiving reception message every time Particular text information, and store it in user terminal.For example, it is pushed for short message application program if receiving message , when the short message sended over by other user terminals with communication function, then acquiring unit 302 can obtain in short message Particular text.Such as express delivery odd numbers, identifying code and telephone number.
In the embodiment of the present invention, the particular text information received in message to allow user terminal to be successfully, reproduced, then Some keywords can be prestored in the user terminal, then user terminal can subsequently received according to these keywords De-duplicate particular text information in information.For example, pre-stored keyword includes express delivery odd numbers, identifying code and electricity Number etc. is talked about, then acquiring unit 302 can obtain corresponding express delivery odd numbers, identifying code and telephone number in the received messages.
It further, can also be according in reception message when receiving unit 301 replicates particular text information in the received messages Some keywords determine that the corresponding application program of reception message can basis then after having replicated particular text information Application program is classified obtained particular text information is replicated.That is, each application program corresponds to a memory block Domain.For example, there is XX express delivery odd numbers if receiving in message, particular text information can be replicated in the received messages It later, then can be by particular text information storage in the corresponding storage region of XX express deliveries.
It specifically, can be with after the mark that acquiring unit 302 gets the corresponding application program of Application Program Interface Mark using application program is obtaining information to be pasted from the background.For example, if some chat that is identified as of application program is answered With the title of program, then user terminal can obtain information to be pasted from the background according to the title of the chat application.
In the embodiment of the present invention, since for different reception information, the particular text information received in information may There is the different terms of validity.For example, in order to ensure some application program login account safety, then log in when send Identifying code generally all within one minute, that is, it is super after one minute after input the identifying code again, be can be considered as one it is invalid Or the identifying code of mistake, and for an express delivery odd numbers, then its corresponding term of validity then can be long, then defeated before the deadline The transit information of the corresponding express delivery of express delivery odd numbers can be found by entering the express delivery odd numbers.
Application unit 303, for that will be used to input information to be pasted in information stickup to Application Program Interface to be pasted Input frame.
In the embodiment of the present invention, acquiring unit 302 using application program mark obtain from the background information to be pasted it Afterwards, then application unit 303 can be by the input for inputting information to be pasted in information stickup to Application Program Interface to be pasted Frame.
In figure 3, the stickup inputted on Application Program Interface in the reception of receiving unit 301 is described in detail and instructs it Afterwards;Acquiring unit 302 can then respond stickup instruction, obtain the mark of the corresponding application program of Application Program Interface;And make Information to be pasted is being obtained from the background with the mark of application program, and information to be pasted is to disappear with the matched reception of the mark of application program Particular text information in breath;Last application unit 303 will wait in information stickup to Application Program Interface to be pasted for inputting The input frame of paste information.In embodiments of the present invention, when needing the paste information on Application Program Interface, without first exiting The Application Program Interface enters back into other applications, then replicates the information in other applications;And only it need to apply journey at this Instruction is pasted in input on sequence interface, then it is relevant to obtain application program corresponding with the Application Program Interface for acquiring unit 302 Information to be pasted, application unit 303 simultaneously will be used to input information to be pasted in information stickup to Application Program Interface to be pasted Input frame.Wherein, the relevant information to be pasted of application program corresponding with the Application Program Interface is by user terminal on backstage Run other applications, and the information that the duplication in other applications obtains.It can be seen that implementing the embodiment of the present invention Can paste operation quickly be carried out to information, improve simple operation.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, for executing Above-mentioned input method.Wherein, Fig. 4 is that further refinement obtains on the basis of Fig. 3, in addition to including all units shown in Fig. 3, Unit shown in Fig. 3 can also further be refined.As shown in Figure 4, wherein
As an alternative embodiment, acquiring unit 302 can further refine including:First read module 3020 And first acquisition module 3021, wherein
First read module 3020 is used to be read on backstage using the mark of application program and be matched with the mark of application program At least one information;
First acquisition module 3021, the time interval for obtaining receiving time and current time from least one information Less than the information of preset time threshold, particular text information conduct is obtained from the information that time interval is less than preset time threshold Information to be pasted.
As another optional embodiment, acquiring unit 302 can further refine including:Second read module 3022 and second acquisition module 3023, wherein
Second read module 3022 reads on backstage for the mark using application program and is matched with the mark of application program At least one information;
Second acquisition module 3023, for obtaining the corresponding keyword of input frame for inputting information to be pasted;
Above-mentioned second acquisition module 3023 is additionally operable to be made from least one acquisition of information particular text information according to keyword For information to be pasted.
In the embodiment of the present invention, the second read module 3022 is using the mark of application program in backstage reading and application program The specific implementation mode of matched at least one information of mark be to be answered in the information of running background using the mark of application program With matched at least one information of mark read in program with application program.
As another optional embodiment, application unit 303 can further refine including:Receiving module 3030, Selecting module 3031 and stickup module 3032, wherein
Receiving module 3030, for receiving the selection instruction input by user for information to be pasted;
Selecting module 3031 selects target corresponding with selection instruction for responding selection instruction from information to be pasted Information to be pasted;
Stickup module 3032, for that will be used to input letter to be pasted in target information stickup to Application Program Interface to be pasted The input frame of breath.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, for executing Above-mentioned input method.Wherein, as shown in figure 5, the user terminal 400 may include:At least one processor 401, it is at least one Input unit 402, at least one output device 403, the equal components of memory 404.Wherein, these components are total by one or more Line 405 is communicatively coupled.It will be understood by those skilled in the art that the structure of user terminal shown in Fig. 5 is not constituted pair The restriction of the embodiment of the present invention, it, either busbar network, can also be hub-and-spoke configuration, can also include more than illustrating Or less component, either combine certain components or different components arrangement.Wherein:Processor 401 is the control of user terminal Center processed is stored in storage using the various pieces of various interfaces and the entire user terminal of connection by running or executing Program in device 404 and/or module, and the data being stored in memory 404 are called, to execute the various work(of user terminal It can and handle data.Processor 401 can be made of integrated circuit (Integrated Circuit, abbreviation IC), such as can be with The IC encapsulated by single is formed, and can also be formed by connecting the encapsulation IC of more identical functions or different function.Citing comes It says, processor 401 can only include central processing unit (Central Processing Unit, abbreviation CPU), can also be CPU, digital signal processor (digital signal processor, abbreviation DSP), graphics processor (Graphic Processing Unit, abbreviation GPU) and the various combinations for controlling chip.In embodiments of the present invention, CPU can be Dan Yun Core is calculated, can also include multioperation core.
Input unit 402 may include the touch screen of standard, keyboard etc., can also include wireline interface, wireless interface etc..
Output device 403 may include display screen, loud speaker etc., can also include wireline interface, wireless interface etc..
Memory 404 can be used for storing software program and module, processor 401, input unit 402 and output device 403 by calling the software program and module that are stored in memory 404, to execute the various functions application of user terminal And realize data processing.Memory 404 includes mainly program storage area and data storage area, wherein program storage area can be deposited Store up the application program etc. needed for operating system, at least one function;Data storage area can be stored uses institute according to user terminal The data etc. of establishment.In embodiments of the present invention, operating system can be android system, iOS system or Windows operations System etc..
Specifically, processor 401 calls the application program being stored in memory 404, for performing the following operations:
Processor 401 controls input unit 402 and receives the stickup instruction inputted on Application Program Interface.
Instruction is pasted in the response of processor 401, obtains the mark of the corresponding application program of Application Program Interface.
Processor 401 is obtaining information to be pasted from the background using the mark of application program, information to be pasted be with using journey The matched particular text information received in message of mark of sequence.
Processor 401 controls output device 403 and will wait gluing for inputting in information stickup to Application Program Interface to be pasted Paste the input frame of information.
In the present invention, processor 401 calls the application program being stored in memory 404, executes step and uses using journey The mark of sequence is obtaining information to be pasted from the background, including:
Processor 401 is read and matched at least one letter of the mark of application program using the mark of application program on backstage Breath;
Processor 401 obtains receiving time from least one information and the time interval of current time is less than preset time The information of threshold value obtains particular text information as information to be pasted from the information that time interval is less than preset time threshold.
In the present invention, processor 401 calls the application program being stored in memory 404, executes step by letter to be pasted Breath affixes to the input frame for inputting information to be pasted on Application Program Interface, including:
Processor 401 controls input unit 402 and receives the selection instruction input by user for information to be pasted;
Processor 401 responds selection instruction, and target letter to be pasted corresponding with selection instruction is selected from information to be pasted Breath, and the input frame that will be used to input information to be pasted in target information stickup to Application Program Interface to be pasted.
In the present invention, processor 401 calls the application program being stored in memory 404, executes step and uses using journey The mark of sequence is obtaining information to be pasted from the background, including:
Processor 401 is read and matched at least one letter of the mark of application program using the mark of application program on backstage Breath;
Processor 401 obtains the corresponding keyword of input frame for inputting information to be pasted;
Processor 401 is according to keyword from least one acquisition of information particular text information as information to be pasted.
In the present invention, processor 401 calls the application program being stored in memory 404, executes step and uses using journey The mark of sequence reads matched at least one information of mark with application program on backstage, including:
Processor 401 is read and application program using the mark of application program in the Information application program of running background Identify matched at least one information.
Specifically, the user terminal introduced in the embodiment of the present invention, which can implement the present invention, combines the defeated of Fig. 1, Fig. 2 introduction Some or all of enter in embodiment of the method flow.
Module in all embodiments of the invention or submodule can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, application-specific integrated circuit) it realizes.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in user terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of input method, which is characterized in that including:
Receive the stickup instruction inputted on Application Program Interface, wherein the stickup instruction in Application Program Interface input Input mode be Application Program Interface any one place input touch control operation mode;
The stickup instruction is responded, the mark of the corresponding application program of the Application Program Interface is obtained;
Mark using the application program is obtaining information to be pasted from the background, and the information to be pasted is and the application program Mark it is matched receive message in particular text information;
By the input frame for inputting the information to be pasted in the information stickup to be pasted to the Application Program Interface.
2. according to the method described in claim 1, it is characterized in that, the mark using the application program obtains on backstage Information to be pasted, including:
Using the mark of the application program matched at least one information of mark with the application program is read on backstage;
The time interval of acquisition receiving time and current time is less than the letter of preset time threshold from least one information Breath obtains particular text information as information to be pasted from the information that the time interval is less than the preset time threshold.
3. according to the method described in claim 2, it is characterized in that, described apply journey by the information stickup to be pasted to described Input frame on sequence interface for inputting the information to be pasted, including:
Receive the selection instruction input by user for the information to be pasted;
The selection instruction is responded, target letter to be pasted corresponding with the selection instruction is selected from the information to be pasted Breath, and the input that will be used to input the information to be pasted in target information stickup to be pasted to the Application Program Interface Frame.
4. according to the method described in claim 1, it is characterized in that, the mark using the application program obtains on backstage Information to be pasted, including:
Using the mark of the application program matched at least one information of mark with the application program is read on backstage;
Obtain the corresponding keyword of input frame for inputting the information to be pasted;
According to the keyword from at least one acquisition of information particular text information as information to be pasted.
5. according to the method described in claim 4, it is characterized in that, the mark using the application program is read on backstage With matched at least one information of mark of the application program, including:
It is read and the mark of the application program in the Information application program of running background using the mark of the application program Matched at least one information.
6. a kind of user terminal, which is characterized in that including:
Receiving unit, for receiving the stickup inputted on Application Program Interface instruction, wherein described defeated in Application Program Interface The input mode of the stickup instruction entered is the mode in any one place input touch control operation of Application Program Interface;
Acquiring unit obtains the mark of the corresponding application program of the Application Program Interface for responding the stickup instruction;
The acquiring unit, the mark for being also used for the application program is obtaining information to be pasted from the background, described to be pasted Information be and the application program mark it is matched receive message in particular text information;
Application unit, for that will be used to input the letter to be pasted in the information stickup to be pasted to the Application Program Interface The input frame of breath.
7. user terminal according to claim 6, which is characterized in that the acquiring unit includes:
First read module reads on backstage for the mark using the application program and is matched with the mark of the application program At least one information;
First acquisition module, the time interval for obtaining receiving time and current time from least one information are less than The information of preset time threshold obtains particular text information from the information that the time interval is less than the preset time threshold As information to be pasted.
8. user terminal according to claim 7, which is characterized in that the application unit includes:
Receiving module, for receiving the selection instruction input by user for the information to be pasted;
Selecting module selects corresponding with the selection instruction for responding the selection instruction from the information to be pasted Target information to be pasted;
Stickup module, for described will wait gluing for inputting in target information stickup to be pasted to the Application Program Interface Paste the input frame of information.
9. user terminal according to claim 6, which is characterized in that the acquiring unit includes:
Second read module reads on backstage for the mark using the application program and is matched with the mark of the application program At least one information;
Second acquisition module, for obtaining the corresponding keyword of input frame for inputting the information to be pasted;
Second acquisition module is additionally operable to be made from at least one acquisition of information particular text information according to the keyword For information to be pasted.
10. user terminal according to claim 9, which is characterized in that second read module applies journey using described It is specially to apply journey using described that the mark of sequence, which is read on backstage with matched at least one information of mark of the application program, The mark of sequence is read and matched at least one information of mark of the application program in the Information application program of running background.
CN201510881596.5A 2015-12-03 2015-12-03 A kind of input method and user terminal Active CN105511637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510881596.5A CN105511637B (en) 2015-12-03 2015-12-03 A kind of input method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510881596.5A CN105511637B (en) 2015-12-03 2015-12-03 A kind of input method and user terminal

Publications (2)

Publication Number Publication Date
CN105511637A CN105511637A (en) 2016-04-20
CN105511637B true CN105511637B (en) 2018-09-04

Family

ID=55719686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510881596.5A Active CN105511637B (en) 2015-12-03 2015-12-03 A kind of input method and user terminal

Country Status (1)

Country Link
CN (1) CN105511637B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916478A (en) * 2010-08-03 2010-12-15 上海瀚银信息技术有限公司 Method for automatically acquiring, verifying and inputting dynamic password in normal short message by client
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN104301875A (en) * 2014-09-23 2015-01-21 广东欧珀移动通信有限公司 Short message processing method and device
CN104935744A (en) * 2015-06-10 2015-09-23 腾讯科技(深圳)有限公司 Verification code display method, verification code display device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916478A (en) * 2010-08-03 2010-12-15 上海瀚银信息技术有限公司 Method for automatically acquiring, verifying and inputting dynamic password in normal short message by client
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN104301875A (en) * 2014-09-23 2015-01-21 广东欧珀移动通信有限公司 Short message processing method and device
CN104935744A (en) * 2015-06-10 2015-09-23 腾讯科技(深圳)有限公司 Verification code display method, verification code display device and mobile terminal

Also Published As

Publication number Publication date
CN105511637A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN106062763B (en) Method and device for displaying application and picture and electronic equipment
CN102780653B (en) Quick method, client and the system communicated in instant messaging
US20130050250A1 (en) Method for providing background of locked screen, electronic device and computer program product using the same
CN113438355B (en) Communication method, device, equipment and storage medium based on cloud mobile phone
US20210352059A1 (en) Message Display Method, Apparatus, and Device
CN103118031A (en) Method and electronic device for logging in application account
CN109069923B (en) Computer readable medium, information processing apparatus, information processing method, and information processing system
CN114726947B (en) Message display method, device, user terminal and readable storage medium
AU2019203256B2 (en) Fingerprint event processing method, apparatus, and terminal
CN106888086B (en) System and method for managing account password
CN101562794A (en) Method for transmitting information and communication equipment using same
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN104679239B (en) A kind of terminal input method
CN107613091A (en) A kind of method and terminal for establishing communication
CN108108249A (en) Data inputting method and device
CN112035087B (en) Information prompting method and device, electronic equipment and readable storage medium
US20150235320A1 (en) Securities information display method, apparatus, and system
CN105843495A (en) Method and device for processing pushed message
CN107659611A (en) User's head portrait generation method, device and system based on big data
CN112929254A (en) Message processing method and device and electronic equipment
CN112738774A (en) Application sharing method and device, terminal and computer readable storage medium
CN105511637B (en) A kind of input method and user terminal
CN109034808B (en) Operation method and device of payment application program and terminal equipment
CN104951325B (en) A kind of information display method and electronic equipment
CN106775249A (en) A kind of method and electronic equipment that communication shortcut is set

Legal Events

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

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.