HK1237458B - Method and device for processing information - Google Patents

Method and device for processing information Download PDF

Info

Publication number
HK1237458B
HK1237458B HK17111213.9A HK17111213A HK1237458B HK 1237458 B HK1237458 B HK 1237458B HK 17111213 A HK17111213 A HK 17111213A HK 1237458 B HK1237458 B HK 1237458B
Authority
HK
Hong Kong
Prior art keywords
application
target
information
identifier
processing method
Prior art date
Application number
HK17111213.9A
Other languages
Chinese (zh)
Other versions
HK1237458A (en
HK1237458A1 (en
Inventor
方腾飞
Original Assignee
创新先进技术有限公司
Filing date
Publication date
Application filed by 创新先进技术有限公司 filed Critical 创新先进技术有限公司
Publication of HK1237458A publication Critical patent/HK1237458A/en
Publication of HK1237458A1 publication Critical patent/HK1237458A1/en
Publication of HK1237458B publication Critical patent/HK1237458B/en

Links

Description

信息处理方法及装置Information processing method and device

技术领域Technical Field

发明涉及计算机技术领域,尤其涉及一种信息处理方法及装置。The invention relates to the field of computer technology, and in particular to an information processing method and device.

背景技术Background Art

当前,人们的手机中几乎都安装有浏览器等应用程序,当人们需要上网查询信息时,可以启动安装在手机中的浏览器,浏览器界面一般都设置有搜索框,用户可以在浏览器的搜索框中输入需要查询的信息的关键词,并将输入的关键词提交给浏览器,以使浏览器搜索与关键词相关的信息。Currently, almost all people's mobile phones are installed with applications such as browsers. When people need to search for information online, they can start the browser installed in the mobile phone. The browser interface is generally provided with a search box. Users can enter keywords of the information to be searched in the search box of the browser and submit the entered keywords to the browser so that the browser can search for information related to the keywords.

当浏览器搜索到与关键词相关的信息之后,有时候用户可能需要记录浏览器搜索到的信息,例如在手机上记录浏览器此次搜索到的信息。After the browser searches for information related to a keyword, the user may sometimes need to record the information searched by the browser, for example, recording the information searched by the browser on a mobile phone.

其中,用户需要手动退出浏览器,然后在手机中查找用于记录信息的目标应用程序,例如印象笔记或记事本等等,然后手动启动目标应用程序,在目标应用程序中编辑浏览器此次搜索到的信息,然后点击存储按钮以将编辑的信息提交给目标应用程序,以使目标应用程序存储用户编辑的信息。Among them, the user needs to manually exit the browser, then find the target application for recording information on the mobile phone, such as Evernote or Notepad, etc., then manually start the target application, edit the information searched by the browser in the target application, and then click the Save button to submit the edited information to the target application, so that the target application can store the information edited by the user.

然而,发明人发现,用户在浏览器上查询到信息后在手机上记录查询到的信息的步骤较繁琐且需要耗费较长时间,导致用户体验较低且记录效率较低。However, the inventors have found that the steps for users to record the queried information on their mobile phones after searching for information on the browser are cumbersome and time-consuming, resulting in a low user experience and low recording efficiency.

发明内容Summary of the Invention

为克服相关技术中存在的问题,本发明提供一种信息处理方法及装置。In order to overcome the problems existing in the related art, the present invention provides an information processing method and device.

根据本发明实施例的第一方面,提供一种信息处理方法,应用于终端,所述方法包括:According to a first aspect of an embodiment of the present invention, there is provided an information processing method, applied to a terminal, the method comprising:

获取用户在预设应用程序的信息输入框中输入的关键词和待处理信息;Obtain the keywords and pending information entered by the user in the information input box of the preset application;

获取与关键词相绑定的目标处理方式;Get the target processing method bound to the keyword;

调用与关键词相关联的目标应用程序;Invoking a target application associated with the keyword;

在目标应用程序中按照所述目标处理方式处理所述待处理信息。The information to be processed is processed in the target application according to the target processing manner.

其中,所述获取与关键词相对应的处理方式,包括:The method of obtaining the processing method corresponding to the keyword includes:

获取本地存储的关键词与处理方式之间的第一对应关系;Obtaining a first correspondence between a locally stored keyword and a processing method;

在所述第一对应关系中查找与所述关键词相对应的处理方式并作为目标处理方式。The processing method corresponding to the keyword is searched in the first corresponding relationship and used as the target processing method.

其中,所述调用与关键词相关联的目标应用程序,包括:The calling of the target application associated with the keyword includes:

获取本地存储的关键词与应用程序标识之间的第二对应关系;Obtaining a second correspondence between the locally stored keyword and the application identifier;

在所述第二对应关系中查找与所述关键词相对应的应用程序标识;searching for an application identifier corresponding to the keyword in the second corresponding relationship;

将所述应用程序标识对应的应用程序确定为所述目标应用程序;Determining the application corresponding to the application identifier as the target application;

启动所述目标应用程序。Launch the target application.

其中,所述将所述应用程序标识对应的应用程序确定为所述目标应用程序,包括:The step of determining the application corresponding to the application identifier as the target application includes:

判断在所述第二对应关系中查找到的应用程序标识为一个或多个;determining whether the application identifiers found in the second correspondence are one or more;

当在所述第二对应关系中查找到一个应用程序标识时,将所述应用程序标识对应的应用程序确定为所述目标应用程序;When an application identifier is found in the second corresponding relationship, determining the application corresponding to the application identifier as the target application;

当在所述第二对应关系中查找到多个应用程序标识时,从所述查找到的多个应用程序标识中获取一个应用程序标识,将所述获取的应用程序标识对应的应用程序确定为所述目标应用程序。When multiple application identifiers are found in the second corresponding relationship, one application identifier is obtained from the multiple found application identifiers, and the application corresponding to the obtained application identifier is determined as the target application.

其中,所述从所述查找到的多个应用程序标识中获取一个应用程序标识,包括:The acquiring of an application identifier from the multiple application identifiers found includes:

从所述查找到的多个应用程序标识中随机选择一个应用程序标识,并将所述随机选择的一个应用程序标识对应的应用程序确定为所述目标应用程序;randomly selecting an application identifier from the multiple application identifiers found, and determining the application corresponding to the randomly selected application identifier as the target application;

或,or,

将所述查找到的多个应用程序标识展示给用户;接收所述用户在所述多个应用程序标识中选择的一个应用程序标识;将所述用户选择的应用程序标识对应的应用程序确定为所述目标应用程序;Displaying the multiple application identifiers found to the user; receiving an application identifier selected by the user from the multiple application identifiers; and determining the application corresponding to the application identifier selected by the user as the target application;

或,or,

从所述查找到的多个应用程序标识分别对应的应用程序中,选择在历史过程中被调用的次数最多的一个应用程序并作为目标应用程序。From the applications corresponding to the multiple application identifiers found, an application that has been called the most times in the history is selected as the target application.

根据本发明实施例的第二方面,提供一种信息处理装置,应用于终端,所述装置包括:According to a second aspect of an embodiment of the present invention, there is provided an information processing apparatus, applied to a terminal, the apparatus comprising:

第一获取模块,用于获取用户在预设应用程序的信息输入框中输入的关键词和待处理信息;A first acquisition module is used to acquire keywords and information to be processed input by a user in an information input box of a preset application;

第二获取模块,用于获取与关键词相绑定的目标处理方式;The second acquisition module is used to acquire the target processing method bound to the keyword;

调用模块,用于调用与关键词相关联的目标应用程序;A calling module, used to call a target application associated with the keyword;

处理模块,用于在目标应用程序中按照所述目标处理方式处理所述待处理信息。A processing module is used to process the information to be processed in a target application according to the target processing method.

其中,所述第二获取模块包括:The second acquisition module includes:

第一获取单元,用于获取本地存储的关键词与处理方式之间的第一对应关系;A first acquiring unit, configured to acquire a first corresponding relationship between a locally stored keyword and a processing method;

第一查找单元,用于在所述第一对应关系中查找与所述关键词相对应的处理方式并作为目标处理方式。The first searching unit is configured to search for a processing method corresponding to the keyword in the first corresponding relationship and use the processing method as a target processing method.

其中,所述调用模块包括:Wherein, the calling module includes:

第二获取单元,用于获取本地存储的关键词与应用程序标识之间的第二对应关系;A second acquiring unit, configured to acquire a second corresponding relationship between the locally stored keyword and the application identifier;

第二查找单元,用于在所述第二对应关系中查找与所述关键词相对应的应用程序标识;a second searching unit, configured to search the second corresponding relationship for an application identifier corresponding to the keyword;

确定单元,用于将所述应用程序标识对应的应用程序确定为所述目标应用程序;a determining unit, configured to determine the application corresponding to the application identifier as the target application;

启动单元,用于启动所述目标应用程序。A starting unit is used to start the target application.

其中,所述确定单元包括:Wherein, the determining unit includes:

判断子单元,用于判断在所述第二对应关系中查找到的应用程序标识为一个或多个;a determining subunit, configured to determine whether the application identifier found in the second corresponding relationship is one or more;

第一确定子单元,用于当在所述第二对应关系中查找到一个应用程序标识时,将所述应用程序标识对应的应用程序确定为所述目标应用程序;a first determining subunit, configured to, when an application identifier is found in the second corresponding relationship, determine the application corresponding to the application identifier as the target application;

获取子单元,用于当在所述第二对应关系中查找到多个应用程序标识时,从所述查找到的多个应用程序标识中获取一个应用程序标识;第二确定子单元,用于将所述获取的应用程序标识对应的应用程序确定为所述目标应用程序。The acquisition subunit is used to obtain an application identifier from the multiple application identifiers found when multiple application identifiers are found in the second corresponding relationship; the second determination subunit is used to determine the application corresponding to the obtained application identifier as the target application.

其中,所述获取子单元具体用于:The acquisition subunit is specifically used for:

从所述查找到的多个应用程序标识中随机选择一个应用程序标识,并将所述随机选择的一个应用程序标识对应的应用程序确定为所述目标应用程序;randomly selecting an application identifier from the multiple application identifiers found, and determining the application corresponding to the randomly selected application identifier as the target application;

或,or,

将所述查找到的多个应用程序标识展示给用户;接收所述用户在所述多个应用程序标识中选择的一个应用程序标识;将所述用户选择的应用程序标识对应的应用程序确定为所述目标应用程序;Displaying the multiple application identifiers found to the user; receiving an application identifier selected by the user from the multiple application identifiers; and determining the application corresponding to the application identifier selected by the user as the target application;

或,or,

从所述查找到的多个应用程序标识分别对应的应用程序中,选择在历史过程中被调用的次数最多的一个应用程序并作为目标应用程序。From the applications corresponding to the multiple application identifiers found, an application that has been called the most times in the history is selected as the target application.

本发明的实施例提供的技术方案可以包括以下有益效果:在本发明中,当终端的界面显示的是预设应用程序时,如果用户此时需要在目标应用程序中按照目标处理方式处理待处理信息,用户无需手动退出预设应用程序,以及无需手动在终端中查找并启动目标应用程序,只需在预设应用程序的信息输入框中输入目标处理方式对应的关键词以及待处理信息即可,这样,当终端获取到用户在预设应用程序的信息输入框中输入的关键词和待处理信息时就会获取与关键词相绑定的目标处理方式,以及调用与关键词相关联的目标应用程序;然后在目标应用程序中按照目标处理方式处理待处理信息。相比于现有技术,本发明实施例需要用户操作的步骤较少,且也可以节省时间,从而可以提高用户体验以及提高处理效率。The technical solution provided by the embodiment of the present invention may include the following beneficial effects: In the present invention, when the terminal interface displays a preset application, if the user needs to process the information to be processed according to the target processing method in the target application at this time, the user does not need to manually exit the preset application, and does not need to manually search for and start the target application in the terminal. The user only needs to enter the keyword corresponding to the target processing method and the information to be processed in the information input box of the preset application. In this way, when the terminal obtains the keyword and the information to be processed entered by the user in the information input box of the preset application, it will obtain the target processing method bound to the keyword and call the target application associated with the keyword; then, the information to be processed will be processed according to the target processing method in the target application. Compared with the existing technology, the embodiment of the present invention requires fewer steps for the user to operate and can also save time, thereby improving user experience and improving processing efficiency.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

图1是根据一示例性实施例示出的一种信息处理方法的流程图;FIG1 is a flow chart showing an information processing method according to an exemplary embodiment;

图2是根据一示例性实施例示出的一种信息处理装置的框图。Fig. 2 is a block diagram showing an information processing device according to an exemplary embodiment.

具体实施方式DETAILED DESCRIPTION

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.

图1是根据一示例性实施例示出的一种信息处理方法的流程图,如图1所示,该方法用于终端中,包括以下步骤。FIG1 is a flow chart showing an information processing method according to an exemplary embodiment. As shown in FIG1 , the method is used in a terminal and includes the following steps.

在步骤S101中,获取用户在预设应用程序的信息输入框中输入的关键词和待处理信息;In step S101, the keywords and information to be processed entered by the user in the information input box of the preset application are obtained;

当终端的屏幕上显示预设应用程序的界面时,如果用户此时需要在目标应用程序中按照目标处理方式处理待处理信息,用户可以在预设应用程序的信息输入框中输入目标处理方式对应的关键词以及待处理信息。其中,预设应用程序与目标应用程序为不同的两个应用程序。When the interface of the preset application is displayed on the terminal screen, if the user needs to process the information to be processed in the target application according to the target processing method, the user can enter the keyword corresponding to the target processing method and the information to be processed in the information input box of the preset application. The preset application and the target application are two different applications.

信息输入框可以为浏览器中的搜索框,或者为通讯应用程序中的用于编辑待发送信息的编辑框等。The information input box may be a search box in a browser, or an edit box in a communication application for editing information to be sent, and the like.

其中,由于预设应用程序的信息输入框具有固有的作用,即,对于用户在预设应用程序的信息输入框中输入的信息,终端通常会按照固有的处理方式对输入的信息进行处理。例如浏览器的搜索框通常的作用是获取用户输入的待查询信息,进而在互联网上搜索待查询信息;以及编辑待发送信息的编辑框通常的作用是获取用户输入的待发送信息进而发送待发送信息等等。Because the information input box of a pre-set application has an inherent function, that is, the terminal generally processes the information input by the user in the pre-set application's information input box according to the inherent processing method. For example, the search box of a browser generally functions to obtain the information to be searched entered by the user and then search the Internet for the information to be searched; and the edit box for editing information to be sent generally functions to obtain the information to be sent entered by the user and then send the information to be sent, etc.

其中,有时候用户需要终端对在预设应用程序的信息输入框中输入的信息进行处理的目标处理方式可能与终端对在预设应用程序的信息输入框中输入的信息的进行处理的固有处理方式不一致。Sometimes, the target processing method that the user requires the terminal to process the information input in the information input box of the preset application may be inconsistent with the inherent processing method of the terminal for processing the information input in the information input box of the preset application.

因此,当用户在信息输入框中输入关键词和待处理信息时,为了使终端能够精准地识别出用户是需要终端在目标应用程序中按照目标处理方式处理待处理信息,用户可以按照预设格式在信息输入框中输入关键词和待处理信息。这样,当终端接收到用户在预设应用程序的信息输入框中按照预设格式输入的信息时,就会根据预设格式从用户输入的信息中提取出关键词和待处理信息,并确定用户需要终端在与关键词相关联的目标应用程序中按照目标处理方式处理待处理信息。Therefore, when a user enters keywords and information to be processed in an information input box, in order for the terminal to accurately identify whether the user requires the terminal to process the information to be processed in a target application according to a target processing method, the user can enter the keywords and information to be processed in the information input box according to a preset format. In this way, when the terminal receives the information entered by the user in the information input box of the preset application according to the preset format, it will extract the keywords and information to be processed from the information entered by the user according to the preset format, and determine that the user requires the terminal to process the information to be processed in the target application associated with the keywords according to the target processing method.

例如,预设格式可以为:“关键词分隔符待处理信息”,分隔符可以为“--”、“%”或“空格”等,本发明对此不加以限定。当然,预设格式也可以为其他形式,在此不做详述。For example, the preset format can be: "keyword separator to be processed information", the separator can be "-", "%" or "space", etc., and the present invention is not limited to this. Of course, the preset format can also be other forms, which will not be described in detail here.

这样,在本发明实施例中,当用户在预设应用程序的信息输入框中输入完信息时,终端可以在用户输入的信息中查找分隔符,将位于分隔符之前的信息作为关键词,将位于分隔符之后的信息作为待处理信息。Thus, in an embodiment of the present invention, when the user completes entering information in the information input box of the preset application, the terminal can search for a separator in the information entered by the user, use the information before the separator as a keyword, and use the information after the separator as information to be processed.

在步骤S102中,获取与关键词相绑定的目标处理方式;In step S102, a target processing method bound to the keyword is obtained;

其中,技术人员事先会在终端中设置每个的关键词对应的处理方式,并对于任意一个关键词,技术人员将该关键词和与该关键词相对应的处理方式存储在终端中存储的关键词与处理方式之间的第一对应关系中。对于其他每一个关键词,同样执行上述操作。The technician will set the processing method corresponding to each keyword in the terminal in advance, and for any keyword, the technician will store the keyword and the processing method corresponding to the keyword in the first correspondence between the keyword and the processing method stored in the terminal. The above operation is performed for each other keyword in the same way.

例如,关键词save对应的处理方式为存储,关键词call对应的处理方式为呼叫,关键词send对应的处理方式为发送,关键词delete对应的处理方式为删除,以及关键词search对应的处理方式为搜索等等。For example, the processing method corresponding to the keyword save is storage, the processing method corresponding to the keyword call is call, the processing method corresponding to the keyword send is send, the processing method corresponding to the keyword delete is delete, and the processing method corresponding to the keyword search is search, and so on.

这样,在本步骤,可以获取本地存储的关键词与处理方式之间的第一对应关系;然后在第一对应关系中查找与关键词相对应的处理方式并作为目标处理方式。Thus, in this step, the first corresponding relationship between the locally stored keywords and the processing methods can be obtained; then the processing method corresponding to the keyword is searched in the first corresponding relationship and used as the target processing method.

在步骤S103中,调用与关键词相关联的目标应用程序;In step S103, the target application associated with the keyword is called;

其中,技术人员事先会在终端设置与每个关键词相关联的应用程序,对于任意一个关键词,技术人员将该关键词和与该关键词相关联的应用程序的应用程序标识存储在终端中存储的关键词与应用程序标识之间的第二对应关系中。对于其他每一个关键词,同样执行上述操作。The technician will set up an application associated with each keyword in the terminal in advance. For any keyword, the technician will store the keyword and the application identifier of the application associated with the keyword in a second correspondence between the keyword and the application identifier stored in the terminal. The above operation is performed for each other keyword in the same manner.

在本发明实施例中,由于一个关键词与一个处理方式对应,且每个应用程序可以支持一个处理方式或多个处理方式,以及多个不同的应用程序可能都支持同一个处理方式,因此,对于任一个关键词,与该关键词相关联的应用程序可以为一个或多个。In an embodiment of the present invention, since one keyword corresponds to one processing method, and each application can support one processing method or multiple processing methods, and multiple different applications may support the same processing method, for any keyword, there can be one or more applications associated with the keyword.

例如,终端中安装的应用程序包括:电话本、QQ、微信、阿里邮箱、印象笔记和word等。由于QQ、微信和阿里邮箱都可以用来发送信息,因此,与关键词send相关联的应用程序可以为QQ、微信和阿里邮箱。以及,电话本、印象笔记和word都可以用来存储信息,因此,与关键词save相关联的应用程序可以为电话本、印象笔记和word。For example, the applications installed on the terminal include: Phonebook, QQ, WeChat, Alimail, Evernote, and Word. Since QQ, WeChat, and Alimail can all be used to send messages, the applications associated with the keyword "send" may be QQ, WeChat, and Alimail. Furthermore, Phonebook, Evernote, and Word can all be used to store messages, so the applications associated with the keyword "save" may be Phonebook, Evernote, and Word.

这样,在本步骤中,可以获取本地存储的关键词与应用程序标识之间的第二对应关系;然后在第二对应关系中查找与关键词相对应的应用程序标识;并将查找到的应用程序标识对应的应用程序确定为目标应用程序;再启动目标应用程序。In this way, in this step, the second correspondence between the locally stored keywords and application identifiers can be obtained; then the application identifier corresponding to the keyword is searched in the second correspondence; and the application corresponding to the found application identifier is determined as the target application; and then the target application is started.

其中,将查找到的应用程序标识对应的应用程序确定为目标应用程序,可以通过如下流程实现,包括:The application corresponding to the found application identifier is determined as the target application, which can be achieved through the following process, including:

11)、判断在第二对应关系中查找到的应用程序标识为一个或多个;11) determining whether the application identifiers found in the second correspondence are one or more;

12)、当在第二对应关系中查找到一个应用程序标识时,将该一个应用程序标识对应的应用程序确定为目标应用程序;12) When an application identifier is found in the second corresponding relationship, the application corresponding to the application identifier is determined as the target application;

13)、当在第二对应关系中查找到多个应用程序标识时,从查找到的多个应用程序标识中获取一个应用程序标识,将获取的该一个应用程序标识对应的应用程序确定为目标应用程序。13) When multiple application identifiers are found in the second corresponding relationship, one application identifier is obtained from the multiple application identifiers found, and the application corresponding to the obtained one application identifier is determined as the target application.

其中,从从查找到的多个应用程序标识中获取一个应用程序标识,可以通过如下三种方式实现,包括:Obtaining an application identifier from the multiple application identifiers found can be achieved in the following three ways:

一种方式、当在第二对应关系中查找到多个应用程序标识时,可以从查找到的多个应用程序标识中随机选择一个应用程序标识,并将随机选择的一个应用程序标识对应的应用程序确定为目标应用程序。In one embodiment, when multiple application identifiers are found in the second corresponding relationship, one application identifier may be randomly selected from the multiple found application identifiers, and the application corresponding to the randomly selected application identifier may be determined as the target application.

另一种方式、为了更好地服务用户,提高用户体验,当在第二对应关系中查找到多个应用程序标识时,可以将查找到的多个应用程序标识展示给用户。例如建立一个应用程序标识列表,将查找到的多个应用程序标识添加至该应用程序列表中,然后将该应用程序标识列表显示在终端的显示屏上,以实现将查找到的多个应用程序标识展示给用户。In another approach, to better serve users and enhance user experience, when multiple application identifiers are found in the second correspondence, the multiple found application identifiers can be displayed to the user. For example, an application identifier list can be created, the multiple found application identifiers can be added to the application list, and the application identifier list can be displayed on the terminal display to display the multiple found application identifiers to the user.

当用户在终端的显示屏上查看到多个应用程序标识之后,可以从这些应用程序标识中选择一个应用程序标识,并将选择的应用程序标识提交给终端,终端接收用户选择的应用程序标识,并将用户选择的应用程序标识对应的应用程序的确定为目标应用程序。After the user views multiple application identifiers on the terminal display screen, he can select an application identifier from these application identifiers and submit the selected application identifier to the terminal. The terminal receives the application identifier selected by the user and determines the application corresponding to the application identifier selected by the user as the target application.

又一种方式、每当需要调用某一应用程序处理用户在预设应用程序的信息输入框中输入信息时,终端就会获取本地存储的应用程序标识与调用次数之间的第三对应关系;在第三对应关系中查找是否存在该某一应用程序的应用程序标识;当第三对应关系中存在该应用程序标识时,则增加包括该应用程序标识的记录中的调用次数;当第三对应关系中不存在该应用程序标识时,则说明在历史过程中终端未曾调用过该应用程序处理用户在预设应用程序的信息输入框中输入的信息,此时可以设置调用次数初值,将该应用程序标识与该次数初值作为一条记录存储在第三对应关系中。Another way is that whenever a certain application needs to be called to process the information entered by the user in the information input box of the preset application, the terminal will obtain the third correspondence between the locally stored application identifier and the number of calls; search in the third correspondence whether the application identifier of the certain application exists; when the application identifier exists in the third correspondence, the number of calls in the record including the application identifier is increased; when the application identifier does not exist in the third correspondence, it means that the terminal has never called the application to process the information entered by the user in the information input box of the preset application in the historical process. At this time, the initial value of the number of calls can be set, and the application identifier and the initial value of the number can be stored as a record in the third correspondence.

因此,在本步骤中,当在第二对应关系中查找到多个应用程序标识时,对于查找到的多个应用程序标识中的任意一个应用程序标识,在本地存储的应用程序标识与调用次数之间的第三对应关系中查找是否存在该应用程序标识,当存在该应用程序标识时,则获取与该应用程序标识相对应的调用次数;当不存在该应用程序标识时,则说明在历史过程中终端未曾调用过该应用程序处理用户在预设应用程序的信息输入框中输入的信息,此时可以确定该应用程序标识对应的调用次数为0。对于查找到的多个应用程序标识中的其他每一应用程序标识,均执行操作。Therefore, in this step, when multiple application identifiers are found in the second correspondence, for any one of the multiple application identifiers found, a query is performed in the locally stored third correspondence between application identifiers and call counts to determine whether the application identifier exists. If the application identifier exists, the call count corresponding to the application identifier is obtained. If the application identifier does not exist, it indicates that the terminal has never historically called this application to process information entered by the user in the information input box of the preset application. In this case, the call count corresponding to the application identifier can be determined to be 0. The operation is performed for each of the other multiple application identifiers found.

如此可以得到查找到的多个应用程序标识中的每个应用程序标识对应的调用次数,然后从查找到的多个应用程序标识中获取调用次数最高的应用程序标识,将调用次数最高的应用程序标识对应的应用程序确定为目标应用程序。In this way, the number of calls corresponding to each of the multiple application identifiers found can be obtained, and then the application identifier with the highest number of calls can be obtained from the multiple application identifiers found, and the application corresponding to the application identifier with the highest number of calls can be determined as the target application.

进一步地,增加包括调用次数最高的应用程序标识的记录中的调用次数。Furthermore, the number of calls in the record including the application identification with the highest number of calls is increased.

在本发明另一实施例中,如果调用次数最高的应用程序标识为多个,则从调用次数最高的应用程序标识中选择一个应用程序标识,并将选择的一个应用程序标识对应的应用程序确定为目标应用程序。In another embodiment of the present invention, if there are multiple application identifiers with the highest number of calls, one application identifier is selected from the application identifiers with the highest number of calls, and the application corresponding to the selected application identifier is determined as the target application.

在步骤S104中,在目标应用程序中按照目标处理方式处理待处理信息。In step S104, the information to be processed is processed in the target application according to the target processing method.

例如,当目标处理方式为存储时,将待处理信息存储在目标应用程序中。当目标处理方式为搜索时,利用目标应用程序搜索待处理信息。当目标处理方式为删除时,在目标应用程序中删除待处理信息。当目标处理方式为呼叫时,利用目标应用程序呼叫代理处信息。For example, when the target processing mode is store, the information to be processed is stored in the target application. When the target processing mode is search, the information to be processed is searched using the target application. When the target processing mode is delete, the information to be processed is deleted in the target application. When the target processing mode is call, the target application is used to call the agent to process the information.

在本发明图1所示的实施例中,当终端的界面显示的是预设应用程序时,如果用户此时需要在目标应用程序中按照目标处理方式处理待处理信息,用户无需手动退出预设应用程序,以及无需手动在终端中查找并启动目标应用程序,只需在预设应用程序的信息输入框中输入目标处理方式对应的关键词以及待处理信息即可,这样,当终端获取到用户在预设应用程序的信息输入框中输入的关键词和待处理信息时就会获取与关键词相绑定的目标处理方式,以及调用与关键词相关联的目标应用程序;然后在目标应用程序中按照目标处理方式处理待处理信息。相比于现有技术,本发明实施例需要用户操作的步骤较少,且也可以节省时间,从而可以提高用户体验以及提高处理效率。In the embodiment shown in FIG1 of the present invention, when the terminal interface displays a preset application, if the user needs to process the information to be processed according to the target processing method in the target application at this time, the user does not need to manually exit the preset application, nor does the user need to manually search for and start the target application in the terminal. The user only needs to enter the keyword corresponding to the target processing method and the information to be processed in the information input box of the preset application. In this way, when the terminal obtains the keyword and the information to be processed entered by the user in the information input box of the preset application, it will obtain the target processing method bound to the keyword and call the target application associated with the keyword; then, the information to be processed will be processed according to the target processing method in the target application. Compared with the existing technology, the embodiment of the present invention requires fewer steps for the user to operate and can also save time, thereby improving user experience and improving processing efficiency.

图2是根据一示例性实施例示出的一种信息处理装置的框图。参照图2,该装置包括:FIG2 is a block diagram of an information processing device according to an exemplary embodiment. Referring to FIG2 , the device includes:

第一获取模块11,用于获取用户在预设应用程序的信息输入框中输入的关键词和待处理信息;A first acquisition module 11 is used to acquire keywords and information to be processed input by a user in an information input box of a preset application;

第二获取模块12,用于获取与关键词相绑定的目标处理方式;The second acquisition module 12 is used to acquire the target processing method bound to the keyword;

调用模块13,用于调用与关键词相关联的目标应用程序;A calling module 13 is used to call a target application associated with the keyword;

处理模块14,用于在目标应用程序中按照所述目标处理方式处理所述待处理信息。The processing module 14 is configured to process the information to be processed in a target application according to the target processing method.

其中,所述第二获取模块12包括:The second acquisition module 12 includes:

第一获取单元,用于获取本地存储的关键词与处理方式之间的第一对应关系;A first acquiring unit, configured to acquire a first corresponding relationship between a locally stored keyword and a processing method;

第一查找单元,用于在所述第一对应关系中查找与所述关键词相对应的处理方式并作为目标处理方式。The first searching unit is configured to search for a processing method corresponding to the keyword in the first corresponding relationship and use the processing method as a target processing method.

其中,所述调用模块13包括:Wherein, the calling module 13 includes:

第二获取单元,用于获取本地存储的关键词与应用程序标识之间的第二对应关系;A second acquiring unit, configured to acquire a second corresponding relationship between the locally stored keyword and the application identifier;

第二查找单元,用于在所述第二对应关系中查找与所述关键词相对应的应用程序标识;a second searching unit, configured to search the second corresponding relationship for an application identifier corresponding to the keyword;

确定单元,用于将所述应用程序标识对应的应用程序确定为所述目标应用程序;a determining unit, configured to determine the application corresponding to the application identifier as the target application;

启动单元,用于启动所述目标应用程序。A starting unit is used to start the target application.

其中,所述确定单元包括:Wherein, the determining unit includes:

判断子单元,用于判断在所述第二对应关系中查找到的应用程序标识为一个或多个;a determining subunit, configured to determine whether the application identifier found in the second corresponding relationship is one or more;

第一确定子单元,用于当在所述第二对应关系中查找到一个应用程序标识时,将所述应用程序标识对应的应用程序确定为所述目标应用程序;a first determining subunit, configured to, when an application identifier is found in the second corresponding relationship, determine the application corresponding to the application identifier as the target application;

获取子单元,用于当在所述第二对应关系中查找到多个应用程序标识时,从所述查找到的多个应用程序标识中获取一个应用程序标识;第二确定子单元,用于将所述获取的应用程序标识对应的应用程序确定为所述目标应用程序。The acquisition subunit is used to obtain an application identifier from the multiple application identifiers found when multiple application identifiers are found in the second corresponding relationship; the second determination subunit is used to determine the application corresponding to the obtained application identifier as the target application.

其中,所述获取子单元具体用于:The acquisition subunit is specifically used for:

从所述查找到的多个应用程序标识中随机选择一个应用程序标识,并将所述随机选择的一个应用程序标识对应的应用程序确定为所述目标应用程序;randomly selecting an application identifier from the multiple application identifiers found, and determining the application corresponding to the randomly selected application identifier as the target application;

或,or,

将所述查找到的多个应用程序标识展示给用户;接收所述用户在所述多个应用程序标识中选择的一个应用程序标识;将所述用户选择的应用程序标识对应的应用程序确定为所述目标应用程序;Displaying the multiple application identifiers found to the user; receiving an application identifier selected by the user from the multiple application identifiers; and determining the application corresponding to the application identifier selected by the user as the target application;

或,or,

从所述查找到的多个应用程序标识分别对应的应用程序中,选择在历史过程中被调用的次数最多的一个应用程序并作为目标应用程序。From the applications corresponding to the multiple application identifiers found, an application that has been called the most times in the history is selected as the target application.

本在本发明图2所示的实施例中,当终端的界面显示的是预设应用程序时,如果用户此时需要在目标应用程序中按照目标处理方式处理待处理信息,用户无需手动退出预设应用程序,以及无需手动在终端中查找并启动目标应用程序,只需在预设应用程序的信息输入框中输入目标处理方式对应的关键词以及待处理信息即可,这样,当终端获取到用户在预设应用程序的信息输入框中输入的关键词和待处理信息时就会获取与关键词相绑定的目标处理方式,以及调用与关键词相关联的目标应用程序;然后在目标应用程序中按照目标处理方式处理待处理信息。相比于现有技术,本发明实施例需要用户操作的步骤较少,且也可以节省时间,从而可以提高用户体验以及提高处理效率。In the embodiment shown in FIG2 of the present invention, when the interface of the terminal displays a preset application, if the user needs to process the information to be processed according to the target processing method in the target application at this time, the user does not need to manually exit the preset application, and does not need to manually search and start the target application in the terminal. The user only needs to enter the keyword corresponding to the target processing method and the information to be processed in the information input box of the preset application. In this way, when the terminal obtains the keyword and the information to be processed entered by the user in the information input box of the preset application, it will obtain the target processing method bound to the keyword and call the target application associated with the keyword; then, the information to be processed will be processed according to the target processing method in the target application. Compared with the existing technology, the embodiment of the present invention requires fewer steps for the user to operate and can also save time, thereby improving user experience and improving processing efficiency.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由所附的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the appended claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims (10)

1.一种信息处理方法,应用于终端,其特征在于,所述方法包括:1. An information processing method applied to a terminal, characterized in that the method comprises: 当终端的屏幕上显示预设应用程序的界面时,用户可以在预设应用程序的信息输入框中输入目标处理方式对应的关键词以及待处理信息;其中,预设应用程序与目标应用程序为不同的两个应用程序;When the interface of the preset application is displayed on the terminal screen, the user can enter the keywords corresponding to the target processing method and the information to be processed in the information input box of the preset application; the preset application and the target application are two different applications. 用户按照预设格式在信息输入框中输入关键词和待处理信息,预设格式为:“关键词分隔符待处理信息”:Users enter keywords and information to be processed in the information input box according to the preset format: "keywords separated by information to be processed". 获取用户在预设应用程序的信息输入框中输入的关键词和待处理信息;获取与关键词相绑定的目标处理方式;Get the keywords and information to be processed entered by the user in the information input box of the preset application; get the target processing method bound to the keywords; 调用与关键词相关联的目标应用程序;Invoke the target application associated with the keyword; 在目标应用程序中按照所述目标处理方式处理所述待处理信息。The information to be processed is processed in the target application according to the target processing method. 2.根据权利要求1所述的方法,其特征在于,所述获取与关键词相对应的处理方式,包括:2. The method according to claim 1, wherein the processing method for obtaining the corresponding keyword includes: 获取本地存储的关键词与处理方式之间的第一对应关系;Obtain the first correspondence between keywords and processing methods stored locally; 在所述第一对应关系中查找与所述关键词相对应的处理方式并作为目标处理方式。Find the processing method corresponding to the keyword in the first correspondence and use it as the target processing method. 3.根据权利要求1所述的方法,其特征在于,所述调用与关键词相关联的目标应用程序,包括:3. The method according to claim 1, wherein the invocation of the target application associated with the keyword comprises: 获取本地存储的关键词与应用程序标识之间的第二对应关系;Obtain the second correspondence between keywords stored locally and application identifiers; 在所述第二对应关系中查找与所述关键词相对应的应用程序标识;Search for the application identifier corresponding to the keyword in the second correspondence relationship; 将所述应用程序标识对应的应用程序确定为所述目标应用程序;The application corresponding to the application identifier is identified as the target application; 启动所述目标应用程序。Launch the target application. 4.根据权利要求3所述的方法,其特征在于,所述将所述应用程序标识对应的应用程序确定为所述目标应用程序,包括:4. The method according to claim 3, wherein determining the application corresponding to the application identifier as the target application includes: 判断在所述第二对应关系中查找到的应用程序标识为一个或多个;Determine whether the application identifier found in the second correspondence is one or more; 当在所述第二对应关系中查找到一个应用程序标识时,将所述应用程序标识对应的应用程序确定为所述目标应用程序;When an application identifier is found in the second correspondence, the application corresponding to the application identifier is identified as the target application; 当在所述第二对应关系中查找到多个应用程序标识时,从所述查找到的多个应用程序标识中获取一个应用程序标识,将所述获取的应用程序标识对应的应用程序确定为所述目标应用程序。When multiple application identifiers are found in the second correspondence, one application identifier is obtained from the multiple found application identifiers, and the application corresponding to the obtained application identifier is determined as the target application. 5.根据权利要求4所述的方法,其特征在于,所述从所述查找到的多个应用程序标识中获取一个应用程序标识,包括:5. The method according to claim 4, wherein obtaining an application identifier from the plurality of found application identifiers comprises: 从所述查找到的多个应用程序标识中随机选择一个应用程序标识,并将所述随机选择的一个应用程序标识对应的应用程序确定为所述目标应用程序;Randomly select one application identifier from the multiple application identifiers found, and determine the application corresponding to the randomly selected application identifier as the target application; 或,or, 将所述查找到的多个应用程序标识展示给用户;接收所述用户在所述多个应用程序标识中选择的一个应用程序标识;将所述用户选择的应用程序标识对应的应用程序确定为所述目标应用程序;The system displays the multiple application identifiers found to the user; receives the application identifier selected by the user from the multiple application identifiers; and identifies the application corresponding to the application identifier selected by the user as the target application. 或,or, 从所述查找到的多个应用程序标识分别对应的应用程序中,选择在历史过程中被调用的次数最多的一个应用程序并作为目标应用程序。From the multiple application identifiers found, select the application that was called the most times in the historical process and use it as the target application. 6.一种信息处理装置,应用于终端,其特征在于,所述装置包括:6. An information processing device applied to a terminal, characterized in that the device comprises: 第一获取模块,用于获取用户在预设应用程序的信息输入框中输入的关键词和待处理信息;The first acquisition module is used to acquire keywords and information to be processed entered by the user in the information input box of the preset application; 当终端的屏幕上显示预设应用程序的界面时,用户可以在预设应用程序的信息输入框中输入目标处理方式对应的关键词以及待处理信息;其中,预设应用程序与目标应用程序为不同的两个应用程序;When the interface of the preset application is displayed on the terminal screen, the user can enter the keywords corresponding to the target processing method and the information to be processed in the information input box of the preset application; the preset application and the target application are two different applications. 用户按照预设格式在信息输入框中输入关键词和待处理信息,预设格式为:“关键词分隔符待处理信息”:Users enter keywords and information to be processed in the information input box according to the preset format: "keywords separated by information to be processed". 第二获取模块,用于获取与关键词相绑定的目标处理方式;The second acquisition module is used to acquire the target processing method bound to the keywords; 调用模块,用于调用与关键词相关联的目标应用程序;The calling module is used to invoke the target application associated with the keyword; 处理模块,用于在目标应用程序中按照所述目标处理方式处理所述待处理信息。The processing module is used to process the information to be processed in the target application according to the target processing method. 7.根据权利要求6所述的装置,其特征在于,所述第二获取模块包括:7. The apparatus according to claim 6, wherein the second acquisition module comprises: 第一获取单元,用于获取本地存储的关键词与处理方式之间的第一对应关系;The first acquisition unit is used to acquire the first correspondence between keywords and processing methods stored locally; 第一查找单元,用于在所述第一对应关系中查找与所述关键词相对应的处理方式并作为目标处理方式。The first search unit is used to search for the processing method corresponding to the keyword in the first correspondence relationship and use it as the target processing method. 8.根据权利要求6所述的装置,其特征在于,所述调用模块包括:8. The apparatus according to claim 6, wherein the calling module comprises: 第二获取单元,用于获取本地存储的关键词与应用程序标识之间的第二对应关系;The second acquisition unit is used to acquire the second correspondence between keywords stored locally and application identifiers; 第二查找单元,用于在所述第二对应关系中查找与所述关键词相对应的应用程序标识;The second search unit is used to search for the application identifier corresponding to the keyword in the second correspondence relationship; 确定单元,用于将所述应用程序标识对应的应用程序确定为所述目标应用程序;A determining unit is configured to determine the application corresponding to the application identifier as the target application; 启动单元,用于启动所述目标应用程序。A startup unit is used to launch the target application. 9.根据权利要求8所述的装置,其特征在于,所述确定单元包括:9. The apparatus according to claim 8, wherein the determining unit comprises: 判断子单元,用于判断在所述第二对应关系中查找到的应用程序标识为一个或多个;The judgment subunit is used to determine whether the application identifier found in the second correspondence is one or more; 第一确定子单元,用于当在所述第二对应关系中查找到一个应用程序标识时,将所述应用程序标识对应的应用程序确定为所述目标应用程序;The first determining subunit is used to determine the application corresponding to the application identifier as the target application when an application identifier is found in the second correspondence; 获取子单元,用于当在所述第二对应关系中查找到多个应用程序标识时,从所述查找到的多个应用程序标识中获取一个应用程序标识;第二确定子单元,用于将所述获取的应用程序标识对应的应用程序确定为所述目标应用程序。The first subunit is configured to obtain an application identifier from the multiple application identifiers found in the second correspondence relationship; the second subunit is configured to determine the application corresponding to the obtained application identifier as the target application. 10.根据权利要求9所述的装置,其特征在于,所述获取子单元具体用于:10. The apparatus according to claim 9, wherein the acquisition subunit is specifically used for: 从所述查找到的多个应用程序标识中随机选择一个应用程序标识,并将所述随机选择的一个应用程序标识对应的应用程序确定为所述目标应用程序;Randomly select one application identifier from the multiple application identifiers found, and determine the application corresponding to the randomly selected application identifier as the target application; 或,or, 将所述查找到的多个应用程序标识展示给用户;接收所述用户在所述多个应用程序标识中选择的一个应用程序标识;将所述用户选择的应用程序标识对应的应用程序确定为所述目标应用程序;The system displays the multiple application identifiers found to the user; receives the application identifier selected by the user from the multiple application identifiers; and identifies the application corresponding to the application identifier selected by the user as the target application. 或,or, 从所述查找到的多个应用程序标识分别对应的应用程序中,选择在历史过程中被调用的次数最多的一个应用程序并作为目标应用程序。From the multiple application identifiers found, select the application that was called the most times in the historical process and use it as the target application.
HK17111213.9A 2017-11-02 Method and device for processing information HK1237458B (en)

Publications (3)

Publication Number Publication Date
HK1237458A HK1237458A (en) 2018-04-13
HK1237458A1 HK1237458A1 (en) 2018-04-13
HK1237458B true HK1237458B (en) 2021-04-01

Family

ID=

Similar Documents

Publication Publication Date Title
US20210149976A1 (en) Method, system, and device for obtaining contact information
KR101366882B1 (en) Automatic contact information entry via location sensing
US11048736B2 (en) Filtering search results using smart tags
CN105546724B (en) Sound control method and system, client, control device
WO2015172359A1 (en) Object search method and apparatus
CN104142991A (en) A search method, search client, and electronic device
KR101926736B1 (en) Program and recording medium, method and apparatus for searching device
CN106598395A (en) Method and device for executing task
CN106375535A (en) Contact information synchronization method and apparatus
US20180018389A1 (en) Method and apparatus for keyword-based text retrieval
CN106095248A (en) A kind of application program based on mobile terminal is searched and is started method and system
WO2019161620A1 (en) Application dependency update method, terminal and device, and storage medium
CN104679900A (en) Application program searching method and device
CN110162347B (en) Application program starting method, device, equipment and storage medium
CN105930477A (en) Information search method and device
CN105100448B (en) Method and device based on terminal dialing recommendation service interface
CN104951522B (en) Method and device for searching
CN105912586A (en) Information search method and electronic device
WO2020233093A1 (en) Association graph generation method and apparatus, computer device, and storage medium
CN105739988A (en) Message prompt box processing method and device
CN106776631B (en) Information processing method and device
CN106844406B (en) Search method and search device
JP2017520877A5 (en)
CN109388558A (en) A kind of method, apparatus, equipment and storage medium managing electronic equipment
CN112905871A (en) Hot keyword recommendation method and device, terminal and storage medium