CN107817906A - A kind of method and apparatus of input - Google Patents
A kind of method and apparatus of input Download PDFInfo
- Publication number
- CN107817906A CN107817906A CN201711259429.2A CN201711259429A CN107817906A CN 107817906 A CN107817906 A CN 107817906A CN 201711259429 A CN201711259429 A CN 201711259429A CN 107817906 A CN107817906 A CN 107817906A
- Authority
- CN
- China
- Prior art keywords
- input
- message
- fill substance
- content
- page
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
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)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开是关于一种输入的方法和装置,属于电子技术领域。所述方法包括:智能终端操作系统判断是否接收到包含预填写内容的消息;当所述智能终端操作系统判断接收到包含预填写内容的消息时,获取所述消息中的所述预填写内容;将获取得到的所述预填写内容作为待输入内容在输入页面进行提示;当接收到对输入页面中提示的所述预填写内容的确认输入时,将提示在输入页面的所述预填写内容填入输入框中。采用本公开,可以提高输入验证信息的效率。
The present disclosure relates to an input method and device, and belongs to the field of electronic technology. The method includes: the smart terminal operating system judges whether a message containing pre-filled content is received; when the smart terminal operating system judges that a message containing pre-filled content is received, acquires the pre-filled content in the message; Prompting the obtained pre-filled content as the content to be input on the input page; when receiving the confirmation input of the pre-filled content prompted on the input page, it will be prompted to fill in the pre-filled content on the input page. into the input box. With the present disclosure, the efficiency of inputting verification information can be improved.
Description
技术领域technical field
本公开是关于电子技术领域,尤其是关于一种输入的方法和装置。The present disclosure relates to the field of electronic technology, in particular to an input method and device.
背景技术Background technique
随着电子技术和互联网技术的发展,手机、计算机等终端得到了广泛的应用,相应的终端可实现的功能越来越丰富。例如,为了安全性,终端在执行某功能时,往往需要输入验证信息(比如验证码或动态码)。With the development of electronic technology and Internet technology, terminals such as mobile phones and computers have been widely used, and the functions that can be realized by corresponding terminals are becoming more and more abundant. For example, for security reasons, when a terminal performs a certain function, it often needs to input verification information (such as a verification code or a dynamic code).
目前,用户输入验证信息的方法一般是:用户可以通过操作,触发终端接收到包含验证信息的短信,用户可以读取该短信,获知其中的验证信息,进而,用户可以手动将获取的验证信息输入到验证信息输入框。At present, the method for users to input verification information is generally as follows: the user can trigger the terminal to receive a text message containing verification information through an operation, the user can read the text message to obtain the verification information in it, and then the user can manually input the obtained verification information Go to the verification information input box.
在实现本公开的过程中,发明人发现至少存在以下问题:In the process of realizing the present disclosure, the inventors found at least the following problems:
基于上述处理方式,每当终端执行需要输入验证信息的功能时,均需要用户读取包含验证信息的短信,手动将短信中的验证信息输入到验证信息输入框,从而,导致输入验证信息的效率较低。Based on the above processing method, whenever the terminal executes a function that requires input of verification information, the user is required to read the text message containing the verification information, and manually input the verification information in the text message into the verification information input box, thereby reducing the efficiency of inputting verification information. lower.
发明内容Contents of the invention
为了克服相关技术中存在的输入验证信息的效率较低的问题,本公开提供了一种输入的方法和装置。所述技术方案如下:In order to overcome the problem of low efficiency of inputting verification information existing in the related art, the present disclosure provides an inputting method and device. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供一种输入的方法,应用于智能终端,所述方法包括:According to the first aspect of the embodiments of the present disclosure, an input method is provided, which is applied to a smart terminal, and the method includes:
智能终端操作系统判断是否接收到包含预填写内容的消息;The smart terminal operating system judges whether a message containing pre-filled content is received;
当所述智能终端操作系统判断接收到包含预填写内容的消息时,获取所述消息中的所述预填写内容;When the smart terminal operating system determines that a message containing pre-filled content is received, acquire the pre-filled content in the message;
将获取得到的所述预填写内容作为待输入内容在输入页面进行提示;Prompting the obtained pre-filled content as the content to be input on the input page;
当接收到对输入页面中提示的所述预填写内容的确认输入时,将提示在输入页面的所述预填写内容填入输入框中。When the confirmation input of the pre-filled content prompted on the input page is received, the pre-filled content prompted on the input page is filled into the input box.
可选的,所述当智能终端操作系统判断接收到包含预填写内容的消息时,获取所述消息中的所述预填写内容,包括:Optionally, when the smart terminal operating system determines that a message containing pre-filled content is received, acquiring the pre-filled content in the message includes:
当智能终端操作系统判断接收到包含预填写内容的消息时,判断是否接收到对所述消息的悬浮通知提供的获取按钮的触发操作;When the smart terminal operating system judges that a message containing pre-filled content is received, it is judged whether the trigger operation of the acquisition button provided by the suspension notification of the message is received;
当判断接收到对所述消息的悬浮通知提供的获取按钮的触发操作时,获取所述消息中的所述预填写内容。When it is judged that the trigger operation of the acquisition button provided by the suspension notification of the message is received, the pre-filled content in the message is acquired.
可选的,所述将获取得到的所述预填写内容作为待输入内容在输入页面进行提示,包括:Optionally, the obtained pre-filled content is used as the content to be input to be prompted on the input page, including:
将获取得到的所述预填写内容作为待输入内容在输入页面以浮层形式进行提示。The obtained pre-filled content is used as the content to be input to be prompted in the form of a floating layer on the input page.
可选的,所述将获取得到的所述预填写内容作为待输入内容在输入页面进行提示,包括:Optionally, the obtained pre-filled content is used as the content to be input to be prompted on the input page, including:
将获取得到的所述预填写内容作为当前使用输入法的候选项显示在输入法工具栏或候选栏中。The obtained pre-filled content is displayed in the input method toolbar or candidate bar as the candidates of the currently used input method.
可选的,所述方法还包括:Optionally, the method also includes:
当所述智能终端操作系统判断接收到包含预填写内容的消息时,判断所述预填写内容对应的应用程序读取短信的权限是否为禁止状态;When the intelligent terminal operating system judges that the message containing the pre-filled content is received, it is judged whether the application program corresponding to the pre-filled content reads the text message in a prohibited state;
若所述预填写内容对应的应用程序读取短信的权限为禁止状态,则执行所述智能终端操作系统获取所述消息中的所述预填写内容的步骤。If the permission of the application program corresponding to the pre-filled content to read the short message is prohibited, execute the step of obtaining the pre-filled content in the message by the operating system of the smart terminal.
可选的,所述输入页面包括操作光标当前所在的任一页面或者待输入所述预填写内容的页面。Optionally, the input page includes any page where the operating cursor is currently located or a page where the pre-filled content is to be input.
根据本公开实施例的第二方面,提供一种输入的装置,应用于智能终端,所述装置包括:According to the second aspect of the embodiments of the present disclosure, an input device is provided, which is applied to a smart terminal, and the device includes:
判断模块,用于智能终端操作系统判断是否接收到包含预填写内容的消息;A judging module, used for the smart terminal operating system to judge whether a message containing pre-filled content is received;
获取模块,用于当所述智能终端操作系统判断接收到包含预填写内容的消息时,获取所述消息中的所述预填写内容;An acquisition module, configured to acquire the pre-filled content in the message when the operating system of the smart terminal judges that a message containing the pre-filled content is received;
提示模块,用于将获取得到的所述预填写内容作为待输入内容在输入页面进行提示;A prompting module, configured to prompt the obtained pre-filled content as the content to be input on the input page;
输入模块,用于当接收到对输入页面中提示的所述预填写内容的确认输入时,将提示在输入页面的所述预填写内容填入输入框中。The input module is configured to fill in the input box with the pre-filled content prompted on the input page when a confirmation input is received on the pre-filled content prompted on the input page.
可选的,所述获取模块,用于:Optionally, the acquiring module is used for:
当智能终端操作系统判断接收到包含预填写内容的消息时,判断是否接收到对所述消息的悬浮通知提供的获取按钮的触发操作;When the smart terminal operating system judges that a message containing pre-filled content is received, it is judged whether the trigger operation of the acquisition button provided by the suspension notification of the message is received;
当判断接收到对所述消息的悬浮通知提供的获取按钮的触发操作时,获取所述消息中的所述预填写内容。When it is judged that the trigger operation of the acquisition button provided by the suspension notification of the message is received, the pre-filled content in the message is acquired.
可选的,所述提示模块,用于:Optionally, the prompt module is used for:
将获取得到的所述预填写内容作为待输入内容在输入页面以浮层形式进行提示。The obtained pre-filled content is used as the content to be input to be prompted in the form of a floating layer on the input page.
可选的,所述提示模块,用于:Optionally, the prompt module is used for:
将获取得到的所述预填写内容作为当前使用输入法的候选项显示在输入法工具栏或候选栏中。The obtained pre-filled content is displayed in the input method toolbar or candidate bar as the candidates of the currently used input method.
可选的,所述获取模块,还用于:Optionally, the acquisition module is also used for:
当所述智能终端操作系统判断接收到包含预填写内容的消息时,判断所述预填写内容对应的应用程序读取短信的权限是否为禁止状态;When the intelligent terminal operating system judges that the message containing the pre-filled content is received, it is judged whether the application program corresponding to the pre-filled content reads the text message in a prohibited state;
若所述预填写内容对应的应用程序读取短信的权限为禁止状态,则执行所述智能终端操作系统获取所述消息中的所述预填写内容的步骤。If the permission of the application program corresponding to the pre-filled content to read the short message is prohibited, execute the step of obtaining the pre-filled content in the message by the operating system of the smart terminal.
可选的,所述输入页面包括操作光标当前所在的任一页面或者待输入所述预填写内容的页面。Optionally, the input page includes any page where the operating cursor is currently located or a page where the pre-filled content is to be input.
根据本公开实施例的第三方面,提供一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如第一方面所述的输入的方法。According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, the terminal includes a processor and a memory, the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, The at least one program, the code set or the instruction set is loaded and executed by the processor to implement the input method as described in the first aspect.
根据本公开实施例的第一方面,提供一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如第一方面所述的输入的方法。According to the first aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, the storage medium stores at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one The program, the code set or instruction set is loaded and executed by the processor to implement the input method as described in the first aspect.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开实施例中,智能终端操作系统判断是否接收到包含预填写内容的消息;当智能终端操作系统判断接收到包含预填写内容的消息时,获取消息中的预填写内容;将获取得到的预填写内容作为待输入内容在输入页面进行提示;当接收到对输入页面中提示的预填写内容的确认输入时,将提示在输入页面的预填写内容填入输入框中,其中,预填写内容可以是验证信息。这样,每当终端接收到包含验证信息的短信时,用户只需要点击输入页面提示的验证信息,就可触发终端自动将验证信息输入到验证信息输入框中,无需用户在验证信息输入框中手动输入接收到的验证信息,从而,可以提高输入验证信息的效率。In the embodiment of the present disclosure, the smart terminal operating system judges whether a message containing pre-filled content is received; when the smart terminal operating system judges that a message containing pre-filled content is received, it acquires the pre-filled content in the message; Fill in the content as the content to be entered to be prompted on the input page; when receiving the confirmation input of the pre-filled content prompted on the input page, fill in the pre-filled content prompted on the input page into the input box, where the pre-filled content can be is the verification information. In this way, whenever the terminal receives a text message containing verification information, the user only needs to click on the verification information prompted on the input page to trigger the terminal to automatically input the verification information into the verification information input box, without the need for the user to enter the verification information manually in the verification information input box. The received verification information is input, thereby improving the efficiency of inputting verification information.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. In the attached picture:
图1是根据一示例性实施例示出的一种输入的方法的流程图;Fig. 1 is a flowchart of an input method shown according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种显示示意图;Fig. 2 is a schematic display diagram according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种显示示意图;Fig. 3 is a schematic display diagram according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种显示示意图;Fig. 4 is a schematic display diagram according to an exemplary embodiment;
图5(a)是根据一示例性实施例示出的一种输入验证信息的示意图;Fig. 5(a) is a schematic diagram showing input verification information according to an exemplary embodiment;
图5(b)是根据一示例性实施例示出的一种输入验证信息的示意图;Fig. 5(b) is a schematic diagram showing input verification information according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种输入的装置的示意图;Fig. 6 is a schematic diagram of an input device according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种终端的结构示意图。Fig. 7 is a schematic structural diagram of a terminal according to an exemplary embodiment.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
本公开一示例性实施例提供了一种输入的方法,该方法可以用于智能终端中,其中,智能终端可以是具有智能输入预填写内容功能的终端,该智能终端可以是手机、平板电脑等移动终端。其中,智能输入预填写内容功能可以是系统功能,即本方案中,是由操作系统执行智能输入预填写内容功能,即当第三方应用读消息的权限被禁止时,操作系统还是可以读取消息中的预填写内容,进而,在输入页面进行提示,极大提高用户操作体验。An exemplary embodiment of the present disclosure provides an input method, which can be used in a smart terminal, where the smart terminal can be a terminal with the function of intelligently inputting pre-filled content, and the smart terminal can be a mobile phone, a tablet computer, etc. mobile terminal. Among them, the function of intelligently inputting pre-filled content can be a system function, that is, in this solution, the function of intelligently inputting pre-filled content is performed by the operating system, that is, when the third-party application’s permission to read messages is prohibited, the operating system can still read messages The pre-filled content in , and then, prompts on the input page, greatly improving the user experience.
智能终端可以包括处理器、存储器、屏幕等部件。处理器可以为CPU(CentralProcessing Unit,中央处理单元)等,可以用于将接收到的预填写内容输入到输入框的相关处理。存储器可以为RAM(Random Access Memory,随机存取存储器)、Flash(闪存)等,可以用于存储接收到的数据、处理过程所需的数据、处理过程中生成的数据等,如预设的与验证信息相关的关键字、预设位数范围等。屏幕可以是触控屏,可以用于显示输入页面等信息,还可以用于检测触碰信号等。智能终端还可以包括收发器等。收发器可以用于与其它设备进行数据传输,例如,接收消息,可以包括天线、匹配电路、调制解调器等。A smart terminal may include components such as a processor, a memory, and a screen. The processor may be a CPU (Central Processing Unit, central processing unit), etc., and may be used for related processing of inputting the received pre-filled content into the input box. The memory can be RAM (Random Access Memory, random access memory), Flash (flash memory), etc., which can be used to store received data, data required for processing, data generated during processing, etc., such as preset and Keywords related to verification information, preset digit range, etc. The screen may be a touch screen, which may be used to display information such as input pages, and may also be used to detect touch signals and the like. The smart terminal may also include a transceiver and the like. The transceiver can be used for data transmission with other devices, for example, to receive messages, and can include antennas, matching circuits, modems, and the like.
下面将结合实施方式,对图1所示的处理流程进行详细的说明,内容可以如下:The processing flow shown in FIG. 1 will be described in detail below in conjunction with the implementation manner, and the content may be as follows:
在步骤101中,智能终端操作系统判断是否接收到包含预填写内容的消息。In step 101, the smart terminal operating system judges whether a message containing pre-filled content is received.
其中,预填写内容可以是消息中的待输入输入框的内容,比如可以是验证信息,验证信息可以是用于验证用户真实性、正确性、合法性的信息,比如可以是验证码、动态码等信息,验证信息可以是预设位数的数字、字符、或者两者的任意组合等信息。Among them, the pre-filled content may be the content of the input box in the message, such as verification information, and the verification information may be information used to verify the authenticity, correctness, and legitimacy of the user, such as a verification code or a dynamic code. and other information, and the verification information can be information such as numbers, characters, or any combination of the two with a preset number of digits.
在实施中,智能终端可以具有智能输入预填写内容的系统功能。具体的,在工作过程中,智能终端操作系统可以判断是否接收到包含预填写内容的消息。In implementation, the smart terminal may have a system function of intelligently inputting pre-filled content. Specifically, during the working process, the smart terminal operating system can determine whether a message containing pre-filled content is received.
针对预填写内容是验证信息的情况,上述步骤101的处理过程可以如下:智能终端中可以预先存储有与验证信息相关的关键字(比如,与验证信息相关的关键字可以为“验证码”、“动态码”等),在智能终端的工作过程中,每当智能终端接收到消息时(比如,每当智能终端通过短信应用程序接收到的短消息(或称为短信)时),智能终端操作系统可以对该消息进行解析,判断接收到的消息中是否包含预设的与验证信息相关的关键字。For the case where the pre-filled content is verification information, the processing process of the above step 101 can be as follows: keywords related to the verification information can be pre-stored in the smart terminal (for example, the keywords related to the verification information can be "verification code", "Dynamic code", etc.), during the working process of the smart terminal, whenever the smart terminal receives a message (for example, whenever the smart terminal receives a short message (or called a short message) through the SMS application program), the smart terminal The operating system can analyze the message to determine whether the received message contains a preset keyword related to the verification information.
在步骤102中,当智能终端操作系统判断接收到包含预填写内容的消息时,获取消息中的预填写内容。In step 102, when the operating system of the smart terminal determines that a message containing pre-filled content is received, the pre-filled content in the message is acquired.
在实施中,当智能终端操作系统判断接收到包含预填写内容的消息时,可以获取消息中的预填写内容。In implementation, when the operating system of the smart terminal determines that a message containing pre-filled content is received, the pre-filled content in the message may be acquired.
针对预填写内容为验证信息的情况,步骤102的处理过程可以如下:如果接收到的消息中包含预设的与验证信息相关的关键字,则智能终端操作系统可以判断接收到包含验证信息的消息,进而,可以获取消息中的验证信息。如果消息中不包含预设的与验证信息相关的关键字,则智能终端操作系统可以判断未接收到包含验证信息的消息,不再进一步确定验证信息,即可以不再进行与验证信息相关的处理。其中,预设的与验证信息相关的关键字可以是一个,也可以是多个,针对关键字是多个的情况,如果接收到的消息中包含预设的与验证信息相关的关键字中的至少一个关键字,则智能终端操作系统可以判断接收到包含验证信息的消息。For the case where the pre-filled content is verification information, the processing of step 102 can be as follows: if the received message contains a preset keyword related to the verification information, the smart terminal operating system can determine that the message containing the verification information has been received , and further, the verification information in the message can be obtained. If the message does not contain the preset keywords related to the verification information, the smart terminal operating system can judge that the message containing the verification information has not been received, and no further confirmation of the verification information is required, that is, no processing related to the verification information can be performed. . Wherein, the preset keywords related to the verification information may be one or multiple. For the case of multiple keywords, if the received message contains the preset keywords related to the verification information At least one keyword, the smart terminal operating system can determine that a message containing verification information has been received.
例如,当智能终端接收到短消息时,智能终端操作系统即可判断接收到的短消息中是否包含预设的与验证信息相关的关键字,如果短消息中包含预设的与验证信息相关的关键字中的至少一个关键字,则智能终端操作系统可以判断接收到包含验证信息的消息,进而,可以获取短消息中的验证信息。For example, when a smart terminal receives a short message, the smart terminal operating system can judge whether the received short message contains preset keywords related to verification information, if the short message contains preset keywords related to verification information If at least one of the keywords is selected, the operating system of the smart terminal can determine that a message containing verification information has been received, and then can obtain the verification information in the short message.
可选的,智能终端操作系统判断接收到包含预填写内容的消息时,还可以显示该消息的悬浮通知,相应的,步骤102的处理过程可以如下:当智能终端操作系统判断接收到包含预填写内容的消息时,判断是否接收到对消息的悬浮通知提供的获取按钮的触发操作;当判断接收到对消息的悬浮通知提供的获取按钮的触发操作时,获取消息中的预填写内容。Optionally, when the smart terminal operating system determines that a message containing pre-filled content is received, it may also display a floating notification of the message. Correspondingly, the processing process of step 102 may be as follows: When it is determined whether the trigger operation of the get button provided by the floating notification of the message is received; when it is judged that the trigger operation of the get button provided by the floating notification of the message is received, the pre-filled content in the message is obtained.
在实施中,智能终端接收到消息时,可以显示该消息的悬浮通知。针对此种情况,当智能终端操作系统判断接收到包含预填写内容的消息时,可以判断是否接收到对该消息的悬浮通知提供的获取按钮的触发操作,当智能终端操作系统判断接收到对该消息的悬浮通知提供的获取按钮的触发操作时,可以获取消息中的预填写内容。例如,如图2所示,预填写内容为动态码,消息的悬浮通知中可以显示有复制按钮,当智能终端操作系统判断接收到包含预填写内容的消息时,可以判断是否接收到对消息的悬浮通知提供的复制按钮的触发操作,当智能终端操作系统判断接收到对消息的悬浮通知提供的获取按钮的触发操作时,可以获取消息中的预填写内容。In implementation, when the smart terminal receives a message, it can display a floating notification of the message. In view of this situation, when the smart terminal operating system judges that it has received a message containing pre-filled content, it can judge whether it has received the trigger operation of the acquisition button provided by the floating notification of the message. The pre-filled content in the message can be obtained when the trigger operation of the Get button provided by the floating notification of the message. For example, as shown in Figure 2, the pre-filled content is a dynamic code, and a copy button may be displayed in the floating notification of the message. The trigger operation of the copy button provided by the floating notification can obtain the pre-filled content in the message when the operating system of the smart terminal determines that it has received the trigger operation of the get button provided by the floating notification of the message.
可选的,当智能终端操作系统判断接收到包含预填写内容的消息时,还可以判断预填写内容对应的应用程序读取短信的权限是否为禁止状态,相应的,智能终端还可以进行如下处理:当智能终端操作系统判断接收到包含预填写内容的消息时,判断预填写内容对应的应用程序读取短信的权限是否为禁止状态;若预填写内容对应的应用程序读取短信的权限为禁止状态,则执行智能终端操作系统获取消息中的预填写内容的步骤。Optionally, when the smart terminal operating system judges that a message containing pre-filled content is received, it can also judge whether the application program corresponding to the pre-filled content has permission to read short messages. Correspondingly, the smart terminal can also perform the following processing : When the operating system of the smart terminal judges that a message containing pre-filled content is received, it is judged whether the application program corresponding to the pre-filled content has the right to read the text message. status, execute the step of the smart terminal operating system obtaining the pre-filled content in the message.
在实施中,智能终端中安装的某些应用程序读取短信的权限为禁止状态,某些应用程序读取短信的权限为允许状态。针对此种情况,当智能终端操作系统判断接收到包含预填写内容的消息时,可以判断预填写内容对应的应用程序读取短信的权限是否为禁止状态,如果预填写内容对应的应用程序读取短信的权限为禁止状态,则可以执行智能终端操作系统获取消息中的预填写内容的步骤。如果预填写内容对应的应用程序读取短信的权限不为禁止状态(即为允许状态),则可以不再执行智能终端操作系统获取消息中的预填写内容的步骤。这样,当预填写内容对应的应用程序短信读取权限为允许状态时,智能终端操作系统可以不再获取消息中的预填写内容,从而,可以防止避免重复对预填写内容进行提示的现象出现,从而,可以提高用户体验。In the implementation, some application programs installed in the smart terminal have permission to read text messages in a forbidden state, and some application programs have permission to read text messages in a permitted state. In view of this situation, when the smart terminal operating system judges that it has received a message containing pre-filled content, it can determine whether the application corresponding to the pre-filled content has permission to read text messages. If the application corresponding to the pre-filled content reads If the permission of the short message is prohibited, the step of obtaining the pre-filled content in the message by the operating system of the smart terminal can be performed. If the permission of the application program corresponding to the pre-filled content to read the short message is not prohibited (that is, allowed), the step of obtaining the pre-filled content in the message by the smart terminal operating system can no longer be performed. In this way, when the application text message reading permission corresponding to the pre-filled content is allowed, the smart terminal operating system can no longer obtain the pre-filled content in the message, thereby preventing the occurrence of repeated prompts for the pre-filled content. Thus, user experience can be improved.
另外,针对预填写内容是验证信息的情况,智能终端操作系统获取消息中的验证信息的处理过程可以如下:将距离消息中包含的关键字最近的位数位于预设位数范围的字符串,确定为消息中的验证信息。In addition, for the case where the pre-filled content is verification information, the process of obtaining the verification information in the message by the operating system of the smart terminal may be as follows: the character string whose digits closest to the keyword contained in the message is in the preset digit range, Determined as authentication information in the message.
在实施中,智能终端中可以预先存储有预设位数范围,其中,预设位数范围可以是技术人员根据当前存在的验证信息的位数确定出的,比如预设位数范围可以是大于3小于9的位数范围。当智能终端操作系统判断接收到包含验证信息的消息时,可以获取消息中包含的各个字符串,进而,可以在各字符串中确定距离消息中包含的关键字最近的、且位数在预设位数范围内的字符串。确定出字符串后,智能终端操作系统可以将确定出的字符串确定为消息中的验证信息。例如,验证信息是由数字组成的字符串,则终端可以将消息中包含的关键字之前或之后的位数位于预设位数范围的连续数字,确定为消息中包含的验证信息。In implementation, the smart terminal may pre-store a preset range of digits, wherein the preset range of digits may be determined by a technician based on the digits of the currently existing verification information, for example, the preset range of digits may be greater than 3 The range of digits less than 9. When the operating system of the smart terminal judges that a message containing verification information has been received, it can obtain each character string contained in the message, and then, among each character string, it can determine the closest to the keyword contained in the message, and the number of digits is within a preset value. A character string in the number of digits. After the character string is determined, the smart terminal operating system may determine the determined character string as verification information in the message. For example, if the verification information is a character string composed of numbers, the terminal may determine a continuous number whose number of digits before or after the keyword included in the message is in a preset range of digits as the verification information included in the message.
在步骤103中,将获取得到的预填写内容作为待输入内容在输入页面进行提示。In step 103, the obtained pre-filled content is used as the content to be input to be prompted on the input page.
在实施中,获取到预填写内容后,智能终端操作系统可以将其作为待输入内容在输入页面进行提示,其中,输入页面可以包括操作光标当前所在的任一页面或者待输入预填写内容的页面。具体的,智能终端操作系统获取到预填写内容后,可以确定操作光标当前所在的输入页面,进而,可以将获取得到的预填写内容作为待输入内容在输入页面进行提示。智能终端操作系统确定出操作光标当前所在的输入页面后,还可以根据操作光标当前在输入页面中的位置,确定用于对预填写内容进行提示的位置。例如,可以将操作光标当前在输入页面中的位置的下方或上方,确定为用于显示预填写信息的位置,如图3所示。In implementation, after obtaining the pre-filled content, the smart terminal operating system can prompt it as the content to be input on the input page, wherein the input page can include any page where the operating cursor is currently located or the page where the pre-filled content is to be input . Specifically, after the smart terminal operating system obtains the pre-filled content, it can determine the input page where the operating cursor is currently located, and then, can use the obtained pre-filled content as the content to be input to prompt on the input page. After the smart terminal operating system determines the input page where the operating cursor is currently located, it can also determine the position for prompting the pre-filled content according to the current position of the operating cursor in the input page. For example, the position below or above the current position of the operation cursor on the input page may be determined as the position for displaying the pre-filled information, as shown in FIG. 3 .
可选的,在显示预填写内容时,可以在输入页面以浮层形式显示,相应的,步骤103的处理过程可以如下:将获取得到的预填写内容作为待输入内容在输入页面以浮层形式进行提示。Optionally, when displaying the pre-filled content, it may be displayed in the form of a floating layer on the input page. Correspondingly, the processing process of step 103 may be as follows: use the obtained pre-filled content as the content to be input in the form of a floating layer on the input page Prompt.
在实施中,在显示预填写内容时,可以以浮层形式在输入页面进行提示。这样,将获取得到的预填写内容作为待输入内容在输入页面以浮层形式进行提示后,用户还可以在原有的输入页面中进行操作,也可以切换智能终端显示的输入页面,可以避免由于预填写内容的显示,导致用户不能在原有的输入页面中进行操作的现象出现,从而,可以提高用户体验。In implementation, when displaying the pre-filled content, a prompt may be provided on the input page in the form of a floating layer. In this way, after the obtained pre-filled content is used as the content to be input and the input page is prompted in the form of a floating layer, the user can also operate on the original input page, and can also switch the input page displayed by the smart terminal, which can avoid due to pre-installation. The display of the filled-in content causes the phenomenon that the user cannot perform operations on the original input page, thereby improving the user experience.
可选的,智能终端操作系统还可以将预填写内容作为当前使用输入法的候选项,相应的,步骤103的处理过程可以如下:将获取得到的预填写内容作为当前使用输入法的候选项显示在输入法工具栏或候选栏中。Optionally, the smart terminal operating system may also use the pre-filled content as a candidate for the currently used input method. Correspondingly, the process of step 103 may be as follows: display the obtained pre-filled content as a candidate for the currently used input method In the input method toolbar or candidate bar.
在实施中,获取到消息中的预填写内容后,智能终端操作系统可以确定当前使用的输入法(其中,当前使用的输入法可以是用户设置的默认使用的输入法,输入法可以是应用程序),进而,可以通过接口的形式,将获取到的预填写内容传递给当前使用输入法,并可以将预填写内容作为当前使用输入法的候选项。智能终端接收到包含预填写内容的消息后,用户可以根据自己的需要,点击待输入预填写内容的输入框,从而,将操作光标定位到输入框,此时,智能终端将会接收到输入键盘的显示指令,进而,可以显示输入键盘,并可以在输入键盘中的工具栏显示预填写内容。例如,验证信息为动态码,动态码为117751,终端接收到输入键盘的显示指令时,可以显示如图4所示的输入页面。或者,还可以将获取得到的预填写内容作为当前使用输入法的候选项显示在候选栏中,其中,候选栏可以是输入键盘显示候选输入信息的位置。In implementation, after obtaining the pre-filled content in the message, the smart terminal operating system can determine the currently used input method (wherein, the currently used input method can be the default input method set by the user, and the input method can be an application ), and further, the obtained pre-filled content can be passed to the currently used input method in the form of an interface, and the pre-filled content can be used as a candidate for the currently used input method. After the smart terminal receives the message containing the pre-filled content, the user can click the input box to enter the pre-filled content according to his own needs, so as to position the operation cursor to the input box, and at this time, the smart terminal will receive the input keyboard The display command can further display the input keyboard, and can display the pre-filled content in the toolbar of the input keyboard. For example, the verification information is a dynamic code, and the dynamic code is 117751. When the terminal receives a display instruction for inputting a keyboard, it may display an input page as shown in FIG. 4 . Alternatively, the acquired pre-filled content may also be displayed in a candidate column as a candidate of the currently used input method, where the candidate column may be a position where the input keyboard displays candidate input information.
在步骤104中,当接收到对输入页面中提示的预填写内容的确认输入时,将提示在输入页面的预填写内容填入输入框中。In step 104, when the confirmation input of the pre-filled content prompted on the input page is received, the pre-filled content prompted on the input page is filled into the input box.
在实施中,将预填写内容进行提示后,用户可以对提示的预填写内容进行选择,此时,智能终端操作系统将会接收到对输入页面中提示的预填写内容的确认输入,进而,可以将提示在输入页面的预填写内容填入输入框中,其中,输入框可以是操作光标当前所在的输入框,输入框所在的输入页面可以是步骤103所述的输入页面,也可以不是步骤103所述的输入页面。另外,用户可以根据自己的需要,调整操作光标所在的输入框,即用户可以通过操作,触发智能终端将操作光标定位到待输入预填写内容的输入框,进而,用户可以对提示的预填写内容进行选择,此时,智能终端操作系统将会接收到对输入页面中提示的预填写内容的确认输入,进而,可以将提示在输入页面的预填写内容填入输入框中。In the implementation, after the pre-filled content is prompted, the user can select the prompted pre-filled content. At this time, the smart terminal operating system will receive the confirmation input of the pre-filled content prompted on the input page, and then can Fill in the input box with the pre-filled content of the prompt on the input page, wherein the input box may be the input box where the operating cursor is currently located, and the input page where the input box is located may be the input page described in step 103, or may not be the input page in step 103 The input page described. In addition, the user can adjust the input box where the operation cursor is located according to their own needs, that is, the user can trigger the smart terminal to position the operation cursor to the input box where the pre-filled content is to be input through an operation, and then the user can edit the prompted pre-filled content Make a selection, at this time, the smart terminal operating system will receive a confirmation input for the pre-filled content prompted on the input page, and then, the pre-filled content prompted on the input page can be filled into the input box.
针对预填写内容是验证信息的情况,步骤104的处理过程可以如下:将获取得到的验证信息作为待输入内容在输入页面进行提示后,当在操作光标位于验证信息输入框的状态下时(即当操作光标位于验证信息输入框上时),用户可以点击上述验证信息,此时,终端将会接收到验证信息的选择指令,进而,可以自动将验证信息输入到验证信息输入框中,并可以取消对上述验证信息的显示,如图5(a)、图5(b)所示。当操作光标没在验证信息输入框上时,用户可以点击验证信息输入框,从而,将操作光标定位到验证信息输入框,此时,智能终端即在操作光标位于验证信息输入框的状态下,进而,用户可以点击上述提示的验证信息,此时,智能终端操作系统将会接收到上述验证信息的选择指令,可以自动将验证信息输入到验证信息输入框中,并可以取消对上述验证信息的显示。For the situation that the pre-filled content is verification information, the processing process of step 104 can be as follows: after the obtained verification information is used as the content to be input and prompted on the input page, when the operation cursor is located in the state of the verification information input box (i.e. When the operation cursor is located on the verification information input box), the user can click on the above verification information, at this time, the terminal will receive the selection instruction of the verification information, and then, the verification information can be automatically input into the verification information input box, and can Cancel the display of the above verification information, as shown in Figure 5(a) and Figure 5(b). When the operation cursor is not on the verification information input box, the user can click on the verification information input box, thereby positioning the operation cursor on the verification information input box. At this time, the smart terminal is in the state where the operation cursor is located on the verification information input box. Furthermore, the user can click on the above-mentioned verification information prompted, at this time, the smart terminal operating system will receive the selection instruction of the above-mentioned verification information, and can automatically input the verification information into the verification information input box, and can cancel the verification of the above-mentioned verification information. show.
另外,当将预填写内容在输入页面进行提示后的预设时长内,没有接收到对输入页面中提示的预填写内容的确认输入,可以取消对预填写内容的显示。或者,当智能终端操作系统检测到对提示的预填写内容的拖移指令,且拖移距离达到预设距离阈值时,可以取消对预填写内容的显示。In addition, if no confirmation input is received for the pre-filled content prompted on the input page within a preset time period after the pre-filled content is prompted on the input page, the display of the pre-filled content may be cancelled. Alternatively, when the operating system of the smart terminal detects a drag instruction for the prompted pre-filled content, and the dragging distance reaches a preset distance threshold, the display of the pre-filled content may be canceled.
本公开实施例中,智能终端操作系统判断是否接收到包含预填写内容的消息;当智能终端操作系统判断接收到包含预填写内容的消息时,获取消息中的预填写内容;将获取得到的预填写内容作为待输入内容在输入页面进行提示;当接收到对输入页面中提示的预填写内容的确认输入时,将提示在输入页面的预填写内容填入输入框中,其中,预填写内容可以是验证信息。这样,每当终端接收到包含验证信息的短信时,用户只需要点击输入页面提示的验证信息,就可触发终端自动将验证信息输入到验证信息输入框中,无需用户在验证信息输入框中手动输入接收到的验证信息,从而,可以提高输入验证信息的效率。In the embodiment of the present disclosure, the smart terminal operating system judges whether a message containing pre-filled content is received; when the smart terminal operating system judges that a message containing pre-filled content is received, it acquires the pre-filled content in the message; Fill in the content as the content to be entered to be prompted on the input page; when receiving the confirmation input of the pre-filled content prompted on the input page, fill in the pre-filled content prompted on the input page into the input box, where the pre-filled content can be is the verification information. In this way, whenever the terminal receives a text message containing verification information, the user only needs to click on the verification information prompted on the input page to trigger the terminal to automatically input the verification information into the verification information input box, without the need for the user to enter the verification information manually in the verification information input box. The received verification information is input, thereby improving the efficiency of inputting verification information.
本公开又一示例性实施例提供了一种输入的装置,应用于智能终端,如图6所示,该装置包括:Yet another exemplary embodiment of the present disclosure provides an input device, which is applied to a smart terminal. As shown in FIG. 6 , the device includes:
判断模块610,用于智能终端操作系统判断是否接收到包含预填写内容的消息;Judging module 610, used for the smart terminal operating system to judge whether a message containing pre-filled content is received;
获取模块620,用于当所述智能终端操作系统判断接收到包含预填写内容的消息时,获取所述消息中的所述预填写内容;An acquisition module 620, configured to acquire the pre-filled content in the message when the smart terminal operating system determines that a message containing the pre-filled content is received;
提示模块630,用于将获取得到的所述预填写内容作为待输入内容在输入页面进行提示;Prompt module 630, configured to prompt the obtained pre-filled content as content to be input on the input page;
输入模块640,用于当接收到对输入页面中提示的所述预填写内容的确认输入时,将提示在输入页面的所述预填写内容填入输入框中。The input module 640 is configured to fill in the pre-filled content prompted on the input page into the input box when a confirmation input is received on the pre-filled content prompted on the input page.
可选的,所述获取模块620,用于:Optionally, the acquiring module 620 is configured to:
当智能终端操作系统判断接收到包含预填写内容的消息时,判断是否接收到对所述消息的悬浮通知提供的获取按钮的触发操作;When the smart terminal operating system judges that a message containing pre-filled content is received, it is judged whether the trigger operation of the acquisition button provided by the suspension notification of the message is received;
当判断接收到对所述消息的悬浮通知提供的获取按钮的触发操作时,获取所述消息中的所述预填写内容。When it is judged that the trigger operation of the acquisition button provided by the suspension notification of the message is received, the pre-filled content in the message is acquired.
可选的,所述提示模块630,用于:Optionally, the prompt module 630 is configured to:
将获取得到的所述预填写内容作为待输入内容在输入页面以浮层形式进行提示。The obtained pre-filled content is used as the content to be input to be prompted in the form of a floating layer on the input page.
可选的,所述提示模块630,用于:Optionally, the prompt module 630 is configured to:
将获取得到的所述预填写内容作为当前使用输入法的候选项显示在输入法工具栏或候选栏中。The obtained pre-filled content is displayed in the input method toolbar or candidate bar as the candidates of the currently used input method.
可选的,所述获取模块620,还用于:Optionally, the acquiring module 620 is also used for:
当所述智能终端操作系统判断接收到包含预填写内容的消息时,判断所述预填写内容对应的应用程序读取短信的权限是否为禁止状态;When the intelligent terminal operating system judges that the message containing the pre-filled content is received, it is judged whether the application program corresponding to the pre-filled content reads the text message in a forbidden state;
若所述预填写内容对应的应用程序读取短信的权限为禁止状态,则执行所述智能终端操作系统获取所述消息中的所述预填写内容的步骤。If the permission of the application program corresponding to the pre-filled content to read the short message is prohibited, execute the step of obtaining the pre-filled content in the message by the operating system of the smart terminal.
可选的,所述输入页面包括操作光标当前所在的任一页面或者待输入所述预填写内容的页面。Optionally, the input page includes any page where the operating cursor is currently located or a page where the pre-filled content is to be input.
智能终端操作系统判断是否接收到包含预填写内容的消息;当智能终端操作系统判断接收到包含预填写内容的消息时,获取消息中的预填写内容;将获取得到的预填写内容作为待输入内容在输入页面进行提示;当接收到对输入页面中提示的预填写内容的确认输入时,将提示在输入页面的预填写内容填入输入框中,其中,预填写内容可以是验证信息。这样,每当终端接收到包含验证信息的短信时,用户只需要点击输入页面提示的验证信息,就可触发终端自动将验证信息输入到验证信息输入框中,无需用户在验证信息输入框中手动输入接收到的验证信息,从而,可以提高输入验证信息的效率。The smart terminal operating system judges whether a message containing pre-filled content is received; when the smart terminal operating system judges that a message containing pre-filled content is received, obtains the pre-filled content in the message; takes the obtained pre-filled content as the content to be input Prompting on the input page; when receiving the confirmation input of the pre-filled content prompted on the input page, filling the pre-filled content prompted on the input page into the input box, wherein the pre-filled content may be verification information. In this way, whenever the terminal receives a text message containing verification information, the user only needs to click on the verification information prompted on the input page to trigger the terminal to automatically input the verification information into the verification information input box, without the need for the user to enter the verification information manually in the verification information input box. The received verification information is input, thereby improving the efficiency of inputting verification information.
需要说明的是:上述实施例提供的输的装置在输入时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将智能终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的输入的装置与输入的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when inputting the input device provided by the above-mentioned embodiment, only the division of the above-mentioned functional modules is used as an example for illustration. The internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the input device and the input method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
本公开再一示例性实施例示出了一种终端的结构示意图。该终端可以是手机等智能终端。Still another exemplary embodiment of the present disclosure shows a schematic structural diagram of a terminal. The terminal may be an intelligent terminal such as a mobile phone.
参照图7,终端700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。Referring to FIG. 7, a terminal 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and communication component 716 .
处理组件702通常控制终端700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理部件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The processing component 702 generally controls the overall operations of the terminal 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702 .
存储器704被配置为存储各种类型的数据以支持在终端700的操作。这些数据的示例包括用于在终端700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 704 is configured to store various types of data to support operations at the terminal 700 . Examples of such data include instructions for any application or method operating on the terminal 700, contact data, phonebook data, messages, pictures, videos, etc. The memory 704 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件706为终端700的各种组件提供电力。电力组件706可以包括电源管理系统,一个或多个电源,及其他与为音频输出设备700生成、管理和分配电力相关联的组件。The power component 706 provides power to various components of the terminal 700 . Power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for audio output device 700 .
多媒体组件708包括在所述终端700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当终端700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 708 includes a screen providing an output interface between the terminal 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 708 includes a front camera and/or a rear camera. When the terminal 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当音频输出设备700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the audio output device 700 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 704 or sent via communication component 716 .
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件714包括一个或多个传感器,用于为终端700提供各个方面的状态评估。例如,传感器组件714可以检测到终端700的打开/关闭状态,组件的相对定位,例如所述组件为终端700的显示器和小键盘,传感器组件714还可以检测终端700或终端700一个组件的位置改变,用户与终端700接触的存在或不存在,终端700方位或加速/减速和终端700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 714 includes one or more sensors for providing various aspects of a status assessment of the terminal 700 . For example, the sensor component 714 can detect the open/closed state of the terminal 700, the relative positioning of components, such as the display and keypad of the terminal 700, and the sensor component 714 can also detect the position change of the terminal 700 or a component of the terminal 700 , the presence or absence of the user's contact with the terminal 700 , the orientation or acceleration/deceleration of the terminal 700 and the temperature change of the terminal 700 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件716被配置为便于终端700和其他设备之间有线或无线方式的通信。终端700可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 716 is configured to facilitate wired or wireless communication between the terminal 700 and other devices. The terminal 700 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,终端700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, terminal 700 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由终端700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, which can be executed by the processor 720 of the terminal 700 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行输入的方法,该方法包括:A non-transitory computer-readable storage medium, when an instruction in the storage medium is executed by a processor of the terminal, the terminal can perform an input method, the method comprising:
智能终端操作系统判断是否接收到包含预填写内容的消息;The smart terminal operating system judges whether a message containing pre-filled content is received;
当所述智能终端操作系统判断接收到包含预填写内容的消息时,获取所述消息中的所述预填写内容;When the smart terminal operating system determines that a message containing pre-filled content is received, acquire the pre-filled content in the message;
将获取得到的所述预填写内容作为待输入内容在输入页面进行提示;Prompting the obtained pre-filled content as the content to be input on the input page;
当接收到对输入页面中提示的所述预填写内容的确认输入时,将提示在输入页面的所述预填写内容填入输入框中。When the confirmation input of the pre-filled content prompted on the input page is received, the pre-filled content prompted on the input page is filled into the input box.
可选的,所述当智能终端操作系统判断接收到包含预填写内容的消息时,获取所述消息中的所述预填写内容,包括:Optionally, when the smart terminal operating system determines that a message containing pre-filled content is received, acquiring the pre-filled content in the message includes:
当智能终端操作系统判断接收到包含预填写内容的消息时,判断是否接收到对所述消息的悬浮通知提供的获取按钮的触发操作;When the smart terminal operating system judges that a message containing pre-filled content is received, it is judged whether the trigger operation of the acquisition button provided by the suspension notification of the message is received;
当判断接收到对所述消息的悬浮通知提供的获取按钮的触发操作时,获取所述消息中的所述预填写内容。When it is judged that the trigger operation of the acquisition button provided by the suspension notification of the message is received, the pre-filled content in the message is acquired.
可选的,所述将获取得到的所述预填写内容作为待输入内容在输入页面进行提示,包括:Optionally, the obtained pre-filled content is used as the content to be input to be prompted on the input page, including:
将获取得到的所述预填写内容作为待输入内容在输入页面以浮层形式进行提示。The obtained pre-filled content is used as the content to be input to be prompted in the form of a floating layer on the input page.
可选的,所述将获取得到的所述预填写内容作为待输入内容在输入页面进行提示,包括:Optionally, the obtained pre-filled content is used as the content to be input to be prompted on the input page, including:
将获取得到的所述预填写内容作为当前使用输入法的候选项显示在输入法工具栏或候选栏中。The obtained pre-filled content is displayed in the input method toolbar or candidate bar as the candidates of the currently used input method.
可选的,所述方法还包括:Optionally, the method also includes:
当所述智能终端操作系统判断接收到包含预填写内容的消息时,判断所述预填写内容对应的应用程序读取短信的权限是否为禁止状态;When the intelligent terminal operating system judges that the message containing the pre-filled content is received, it is judged whether the application program corresponding to the pre-filled content reads the text message in a forbidden state;
若所述预填写内容对应的应用程序读取短信的权限为禁止状态,则执行所述智能终端操作系统获取所述消息中的所述预填写内容的步骤。If the permission of the application program corresponding to the pre-filled content to read the short message is prohibited, execute the step of obtaining the pre-filled content in the message by the operating system of the smart terminal.
可选的,所述输入页面包括操作光标当前所在的任一页面或者待输入所述预填写内容的页面。Optionally, the input page includes any page where the operating cursor is currently located or a page where the pre-filled content is to be input.
本公开实施例中,智能终端操作系统判断是否接收到包含预填写内容的消息;当智能终端操作系统判断接收到包含预填写内容的消息时,获取消息中的预填写内容;将获取得到的预填写内容作为待输入内容在输入页面进行提示;当接收到对输入页面中提示的预填写内容的确认输入时,将提示在输入页面的预填写内容填入输入框中,其中,预填写内容可以是验证信息。这样,每当终端接收到包含验证信息的短信时,用户只需要点击输入页面提示的验证信息,就可触发终端自动将验证信息输入到验证信息输入框中,无需用户在验证信息输入框中手动输入接收到的验证信息,从而,可以提高输入验证信息的效率。In the embodiment of the present disclosure, the smart terminal operating system judges whether a message containing pre-filled content is received; when the smart terminal operating system judges that a message containing pre-filled content is received, it acquires the pre-filled content in the message; Fill in the content as the content to be entered to be prompted on the input page; when receiving the confirmation input of the pre-filled content prompted on the input page, fill in the pre-filled content prompted on the input page into the input box, where the pre-filled content can be is the verification information. In this way, whenever the terminal receives a text message containing verification information, the user only needs to click on the verification information prompted on the input page to trigger the terminal to automatically input the verification information into the verification information input box, without the need for the user to enter the verification information manually in the verification information input box. The received verification information is input, thereby improving the efficiency of inputting verification information.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (14)
- A kind of 1. method of input, it is characterised in that applied to intelligent terminal, methods described includes:Intelligent terminal operation system judges whether to receive the message for including pre- fill substance;When the intelligent terminal operation system judges to receive the message comprising pre- fill substance, the institute in the message is obtained State pre- fill substance;The pre- fill substance acquired is prompted as content to be entered in input page;The pre- fill substance prompted in receiving to input page is given up fashionable really, will be prompted to the institute in input page Pre- fill substance is stated to insert in input frame.
- 2. according to the method for claim 1, it is characterised in that described when intelligent terminal operation system judges to receive to include During the message of pre- fill substance, the pre- fill substance in the message is obtained, including:When intelligent terminal operation system judges to receive the message comprising pre- fill substance, judge whether to receive and disappear to described The trigger action for the acquisition button that the suspension notice of breath provides;When the trigger action for the acquisition button that the suspension notice for judging to receive to the message provides, obtain in the message The pre- fill substance.
- 3. according to the method for claim 1, it is characterised in that described using the pre- fill substance acquired as treating Input content is prompted in input page, including:Prompted using the pre- fill substance acquired as content to be entered in input page in the form of floating layer.
- 4. according to the method for claim 1, it is characterised in that described using the pre- fill substance acquired as treating Input content is prompted in input page, including:The pre- fill substance acquired is included in input method toolbar as the candidate item of currently used input method or In candidate bar.
- 5. according to the method described in claim 1-4 any one, it is characterised in that methods described also includes:When the intelligent terminal operation system judges to receive the message comprising pre- fill substance, the pre- fill substance is judged Whether the authority of corresponding application program short message reading is illegal state;If the authority of application program short message reading is illegal state corresponding to the pre- fill substance, the intelligent terminal is performed Operating system obtains the step of pre- fill substance in the message.
- 6. according to the method described in claim 1-4 any one, it is characterised in that the input page includes operation cursor and worked as The page of any page at preceding place or the pre- fill substance to be entered.
- 7. a kind of device of input, it is characterised in that applied to intelligent terminal, described device includes:Judge module, judge whether to receive the message for including pre- fill substance for intelligent terminal operation system;Acquisition module, for when the intelligent terminal operation system judges to receive the message comprising pre- fill substance, obtaining The pre- fill substance in the message;Reminding module, for the pre- fill substance acquired to be prompted as content to be entered in input page;Input module, for giving up really the pre- fill substance prompted in input page fashionable when receiving, it will be prompted to Inserted in the pre- fill substance of input page in input frame.
- 8. device according to claim 7, it is characterised in that the acquisition module, be used for:When intelligent terminal operation system judges to receive the message comprising pre- fill substance, judge whether to receive and disappear to described The trigger action for the acquisition button that the suspension notice of breath provides;When the trigger action for the acquisition button that the suspension notice for judging to receive to the message provides, obtain in the message The pre- fill substance.
- 9. device according to claim 7, it is characterised in that the reminding module, be used for:Prompted using the pre- fill substance acquired as content to be entered in input page in the form of floating layer.
- 10. device according to claim 7, it is characterised in that the reminding module, be used for:The pre- fill substance acquired is included in input method toolbar as the candidate item of currently used input method or In candidate bar.
- 11. according to the device described in claim 7-10 any one, it is characterised in that the acquisition module, be additionally operable to:When the intelligent terminal operation system judges to receive the message comprising pre- fill substance, the pre- fill substance is judged Whether the authority of corresponding application program short message reading is illegal state;If the authority of application program short message reading is illegal state corresponding to the pre- fill substance, the intelligent terminal is performed Operating system obtains the step of pre- fill substance in the message.
- 12. according to the device described in claim 7-10 any one, it is characterised in that the input page includes operation cursor Any page or the page of the pre- fill substance to be entered being currently located.
- 13. a kind of terminal, it is characterised in that the terminal includes processor and memory, is stored with least in the memory One instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the generation Code collection or instruction set are loaded by the processor and performed to realize the method for the input as described in claim 1 to 6 is any.
- 14. a kind of computer-readable recording medium, it is characterised in that at least one instruction, extremely is stored with the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction Collection is loaded by processor and performed to realize the method for the input as described in claim 1 to 6 is any.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711259429.2A CN107817906A (en) | 2017-12-04 | 2017-12-04 | A kind of method and apparatus of input |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711259429.2A CN107817906A (en) | 2017-12-04 | 2017-12-04 | A kind of method and apparatus of input |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107817906A true CN107817906A (en) | 2018-03-20 |
Family
ID=61606733
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711259429.2A Pending CN107817906A (en) | 2017-12-04 | 2017-12-04 | A kind of method and apparatus of input |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107817906A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110287655A (en) * | 2019-06-24 | 2019-09-27 | 维沃移动通信有限公司 | A verification code input method, device and mobile terminal |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103546877A (en) * | 2013-10-30 | 2014-01-29 | 上海斐讯数据通信技术有限公司 | Method and system for obtaining and inputting content code and mobile terminal |
| CN104935744A (en) * | 2015-06-10 | 2015-09-23 | 腾讯科技(深圳)有限公司 | Verification code display method, verification code display device and mobile terminal |
| CN105511949A (en) * | 2015-12-03 | 2016-04-20 | 小米科技有限责任公司 | Verification code filling method and device and mobile terminal |
| US20160164882A1 (en) * | 2014-12-05 | 2016-06-09 | Inventec (Pudong) Technology Corporation | Verification Code Generating System And Method |
| CN106791088A (en) * | 2016-12-20 | 2017-05-31 | 北京小米移动软件有限公司 | The method and device of application verification code input |
| CN106856474A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of processing method and processing device of checking information |
| WO2017113350A1 (en) * | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Method and apparatus for acquiring verification code, and terminal |
-
2017
- 2017-12-04 CN CN201711259429.2A patent/CN107817906A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103546877A (en) * | 2013-10-30 | 2014-01-29 | 上海斐讯数据通信技术有限公司 | Method and system for obtaining and inputting content code and mobile terminal |
| US20160164882A1 (en) * | 2014-12-05 | 2016-06-09 | Inventec (Pudong) Technology Corporation | Verification Code Generating System And Method |
| CN104935744A (en) * | 2015-06-10 | 2015-09-23 | 腾讯科技(深圳)有限公司 | Verification code display method, verification code display device and mobile terminal |
| CN105511949A (en) * | 2015-12-03 | 2016-04-20 | 小米科技有限责任公司 | Verification code filling method and device and mobile terminal |
| CN106856474A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of processing method and processing device of checking information |
| WO2017113350A1 (en) * | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Method and apparatus for acquiring verification code, and terminal |
| CN106791088A (en) * | 2016-12-20 | 2017-05-31 | 北京小米移动软件有限公司 | The method and device of application verification code input |
Non-Patent Citations (2)
| Title |
|---|
| 冯贺等: "《Android程序设计实用教程——Android Studio版》", 31 August 2017, 中国铁道出版社 * |
| 徐静等: "《社区电脑知识普及读本》", 31 January 2005, 中国社会出版社 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110287655A (en) * | 2019-06-24 | 2019-09-27 | 维沃移动通信有限公司 | A verification code input method, device and mobile terminal |
| CN110287655B (en) * | 2019-06-24 | 2021-06-18 | 维沃移动通信有限公司 | A verification code input method, device and mobile terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105824633A (en) | Multi-language resource switching method and device of application program | |
| CN107241495A (en) | The split screen treating method and apparatus of terminal device | |
| EP3012750A1 (en) | Method and device for identifying encoding of web page | |
| CN107483594A (en) | Method and device for displaying updated items | |
| US20150116368A1 (en) | Method and device for adjusting characters of application | |
| CN106471513B (en) | Authority control method and device | |
| CN106775248A (en) | Push the methods of exhibiting and device of content | |
| CN106529277A (en) | Message preview method and device | |
| CN107239351B (en) | Paste method and device | |
| CN107402767B (en) | Method and apparatus for displaying push messages | |
| CN106503131A (en) | Obtain the method and device of interest information | |
| CN106293961A (en) | Text message processing method and device | |
| CN106250018A (en) | The method and device of lock notification message | |
| CN105353938A (en) | Method and device for displaying floating short message | |
| CN108491282A (en) | The method and apparatus that webpage and operating system are communicated | |
| CN105117115B (en) | A kind of method and apparatus for showing electronic document | |
| CN106569937A (en) | Page processing method and apparatus | |
| CN106372943A (en) | Message processing method and device | |
| CN106385470A (en) | Information push method and device | |
| CN106648392B (en) | The method and device of pasting data | |
| CN104951522A (en) | Searching method and device | |
| CN107580142A (en) | A method and apparatus for performing processing | |
| CN107145361A (en) | Wallpaper displaying method and device | |
| CN107817906A (en) | A kind of method and apparatus of input | |
| CN112083841A (en) | Information input method, device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180320 |
|
| RJ01 | Rejection of invention patent application after publication |