HK1237458A - Method and device for processing information - Google Patents

Method and device for processing information Download PDF

Info

Publication number
HK1237458A
HK1237458A HK17111213.9A HK17111213A HK1237458A HK 1237458 A HK1237458 A HK 1237458A HK 17111213 A HK17111213 A HK 17111213A HK 1237458 A HK1237458 A HK 1237458A
Authority
HK
Hong Kong
Prior art keywords
application program
target
identifier
application
keyword
Prior art date
Application number
HK17111213.9A
Other languages
Chinese (zh)
Other versions
HK1237458A1 (en
HK1237458B (en
Filing date
Publication date
Application filed 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 present invention relates to the field of computer technologies, and in particular, to an information processing method and apparatus.
Background
At present, application programs such as browsers are almost installed in mobile phones of people, when people need to access to the internet to inquire information, the browsers installed in the mobile phones can be started, search boxes are generally arranged on browser interfaces, users can input keywords of the information needing to be inquired in the search boxes of the browsers and submit the input keywords to the browsers, and therefore the browsers can search the information related to the keywords.
After the browser searches the information related to the keyword, sometimes the user may need to record the information searched by the browser, for example, record the information searched by the browser on a mobile phone.
The user needs to manually log out of the browser, then search a target application program for recording information in the mobile phone, such as an impression note or a notepad, and the like, then manually start the target application program, edit the information searched by the browser this time in the target application program, and then click a storage button to submit the edited information to the target application program, so that the target application program stores the information edited by the user.
However, the inventor finds that the step of recording the queried information on the mobile phone after the user queries the information on the browser is tedious and takes a long time, resulting in a low user experience and a low recording efficiency.
Disclosure of Invention
In order to overcome the problems in the related art, the invention provides an information processing method and device.
According to a first aspect of the embodiments of the present invention, there is provided an information processing method applied to a terminal, the method including:
acquiring keywords and to-be-processed information input by a user in an information input box of a preset application program;
acquiring a target processing mode bound with the keyword;
calling a target application program associated with the keyword;
and processing the information to be processed in a target application program according to the target processing mode.
Wherein, the acquiring the processing mode corresponding to the keyword comprises:
acquiring a first corresponding relation between locally stored keywords and a processing mode;
and searching the processing mode corresponding to the keyword in the first corresponding relation and taking the processing mode as a target processing mode.
Wherein the invoking of the target application associated with the keyword comprises:
acquiring a second corresponding relation between the locally stored key words and the application program identification;
searching for an application program identifier corresponding to the keyword in the second corresponding relation;
determining the application program corresponding to the application program identification as the target application program;
and starting the target application program.
Wherein the determining the application program corresponding to the application program identifier as the target application program includes:
judging one or more application program identifications searched in the second corresponding relation;
when one application program identifier is found in the second corresponding relationship, determining the application program corresponding to the application program identifier as the target application program;
when a plurality of application program identifiers are found in the second corresponding relationship, one application program identifier is obtained from the found plurality of application program identifiers, and the application program corresponding to the obtained application program identifier is determined as the target application program.
Wherein the obtaining an application identifier from the found multiple application identifiers includes:
randomly selecting one application program identifier from the searched multiple application program identifiers, and determining the application program corresponding to the randomly selected application program identifier as the target application program;
or the like, or, alternatively,
displaying the searched multiple application program identifications to a user; receiving an application identifier selected by the user from the plurality of application identifiers; determining the application program corresponding to the application program identifier selected by the user as the target application program;
or the like, or, alternatively,
and selecting the application program with the maximum called times in the history process from the application programs respectively corresponding to the searched application program identifications as a target application program.
According to a second aspect of the embodiments of the present invention, there is provided an information processing apparatus applied to a terminal, the apparatus including:
the first acquisition module is used for acquiring keywords and to-be-processed information input by a user in an information input box of a preset application program;
the second acquisition module is used for acquiring a target processing mode bound with the keyword;
the calling module is used for calling the target application program associated with the keyword;
and the processing module is used for processing the information to be processed in the target application program according to the target processing mode.
Wherein the second obtaining module comprises:
the first acquisition unit is used for acquiring a first corresponding relation between the locally stored key words and the processing modes;
and the first searching unit is used for searching the processing mode corresponding to the keyword in the first corresponding relation and taking the processing mode as a target processing mode.
Wherein, the calling module comprises:
the second acquisition unit is used for acquiring a second corresponding relation between the locally stored key words and the application program identification;
a second searching unit, configured to search for an application identifier corresponding to the keyword in the second correspondence;
a determining unit, configured to determine an application program corresponding to the application program identifier as the target application program;
and the starting unit is used for starting the target application program.
Wherein the determination unit includes:
a determining subunit, configured to determine that one or more application identifiers found in the second corresponding relationship are present;
a first determining subunit, configured to determine, when one application identifier is found in the second correspondence, an application corresponding to the application identifier as the target application;
an obtaining subunit, configured to, when multiple application identifiers are found in the second correspondence, obtain one application identifier from the found multiple application identifiers; and the second determining subunit is configured to determine the application program corresponding to the acquired application program identifier as the target application program.
Wherein the obtaining subunit is specifically configured to:
randomly selecting one application program identifier from the searched multiple application program identifiers, and determining the application program corresponding to the randomly selected application program identifier as the target application program;
or the like, or, alternatively,
displaying the searched multiple application program identifications to a user; receiving an application identifier selected by the user from the plurality of application identifiers; determining the application program corresponding to the application program identifier selected by the user as the target application program;
or the like, or, alternatively,
and selecting the application program with the maximum called times in the history process from the application programs respectively corresponding to the searched application program identifications as a target application program.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: in the invention, when the interface of the terminal is displayed as a preset application program, if a user needs to process information to be processed in a target application program according to a target processing mode at the moment, the user does not need to manually quit the preset application program and manually search and start the target application program in the terminal, and only needs to input a keyword corresponding to the target processing mode and the information to be processed in an information input box of the preset application program, so that when the terminal acquires the keyword and the information to be processed input in the information input box of the preset application program by the user, a target processing mode bound with the keyword is obtained, and the target application program associated with the keyword is called; and then processing the information to be processed in a target processing mode in the target application program. Compared with the prior art, the method and the device have the advantages that the steps required by the user operation are fewer, and the time can be saved, so that the user experience can be improved, and the processing efficiency can be improved.
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 invention, as claimed.
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.
FIG. 1 is a flow diagram illustrating an information processing method according to an exemplary embodiment;
fig. 2 is a block diagram illustrating an information processing apparatus according to an exemplary embodiment.
Detailed Description
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, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an information processing method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S101, a keyword and information to be processed, which are input by a user in an information input box of a preset application, are acquired;
when the screen of the terminal displays the interface of the preset application program, if the user needs to process the information to be processed in the target application program according to the target processing mode at the moment, the user can input the keywords corresponding to the target processing mode and the information to be processed in the information input box of the preset application program. The preset application program and the target application program are two different application programs.
The information input box can be a search box in a browser, or an edit box used for editing information to be sent in a communication application program, and the like.
In this case, since the information input box of the preset application has an inherent role, that is, for the information input by the user in the information input box of the preset application, the terminal generally processes the input information according to an inherent processing manner. For example, a search box of a browser is generally used for acquiring information to be queried input by a user and further searching the information to be queried on the internet; and the editing box for editing the information to be transmitted generally functions to acquire the information to be transmitted input by the user and then transmit the information to be transmitted, and the like.
In some cases, a target processing mode in which a user needs a terminal to process information input in an information input box of a preset application may not be consistent with an inherent processing mode in which the terminal processes information input in the information input box of the preset application.
Therefore, when the user inputs the keyword and the information to be processed in the information input box, in order to enable the terminal to accurately recognize that the user needs the terminal to process the information to be processed in the target application program according to the target processing mode, the user can input the keyword and the information to be processed in the information input box according to the preset format. Therefore, when the terminal receives the information input by the user according to the preset format in the information input box of the preset application program, the keyword and the information to be processed are extracted from the information input by the user according to the preset format, and the fact that the user needs the terminal to process the information to be processed in the target application program associated with the keyword according to the target processing mode is determined.
For example, the preset format may be: the "keyword separator to-be-processed information" may be "- -", "%" or "space", and the like, which is not limited in the present invention. Of course, the predetermined format may be in other forms, which are not described in detail herein.
Thus, in the embodiment of the present invention, when the user has finished inputting information in the information input box of the preset application program, the terminal may search for the separator in the information input by the user, use the information before the separator as the keyword, and use the information after the separator as the information to be processed.
In step S102, a target processing manner bound to the keyword is acquired;
the technical staff can set a processing mode corresponding to each keyword in the terminal in advance, and for any keyword, the technical staff stores the keyword and the processing mode corresponding to the keyword in a first corresponding relation between the keyword and the processing mode stored in the terminal. The above operation is also performed for each of the other keywords.
For example, the processing mode corresponding to the keyword save is storage, the processing mode corresponding to the keyword call is calling, the processing mode corresponding to the keyword send is sending, the processing mode corresponding to the keyword delete is deleting, and the processing mode corresponding to the keyword search is searching.
Thus, in this step, the first corresponding relationship between the locally stored keyword and the processing mode can be obtained; and then searching a processing mode corresponding to the keyword in the first corresponding relation and taking the processing mode as a target processing mode.
In step S103, a target application associated with the keyword is invoked;
the technical staff can set the application program associated with each keyword in the terminal in advance, and for any keyword, the technical staff stores the keyword and the application program identifier of the application program associated with the keyword in a second corresponding relation between the keyword and the application program identifier stored in the terminal. The above operation is also performed for each of the other keywords.
In the embodiment of the present invention, since one keyword corresponds to one processing method, each application may support one processing method or multiple processing methods, and multiple different applications may all support the same processing method, for any keyword, the application associated with the keyword may be one or multiple applications.
For example, the application programs installed in the terminal include: a phonebook, QQ, WeChat, Ali mailbox, impression notes, word, etc. Since QQ, WeChat, and Ali mailboxes may all be used to send information, the application associated with the keyword send may be a QQ, WeChat, and Ali mailbox. And, a phonebook, an impression note, and a word may all be used to store information, and thus, the application program associated with the keyword save may be the phonebook, the impression note, and the word.
Thus, in this step, a second correspondence between the locally stored keyword and the application program identifier may be obtained; then searching an application program identifier corresponding to the keyword in the second corresponding relation; determining the application program corresponding to the searched application program identifier as a target application program; and then the target application program is started.
The determining of the application program corresponding to the found application program identifier as the target application program can be implemented by the following processes, including:
11) judging one or more application program identifications searched in the second corresponding relation;
12) when one application program identifier is found in the second corresponding relation, determining the application program corresponding to the application program identifier as a target application program;
13) and when the plurality of application program identifiers are found in the second corresponding relation, acquiring one application program identifier from the found plurality of application program identifiers, and determining the application program corresponding to the acquired application program identifier as the target application program.
The obtaining of one application identifier from the found multiple application identifiers may be implemented in three ways, including:
in one manner, when multiple application identifiers are found in the second corresponding relationship, one application identifier may be randomly selected from the found multiple application identifiers, and an application corresponding to the randomly selected application identifier is determined as a target application.
In another way, in order to better serve the user and improve the user experience, when the plurality of application identifiers are found in the second corresponding relationship, the found plurality of application identifiers may be displayed to the user. For example, an application identifier list is established, the found multiple application identifiers are added to the application list, and then the application identifier list is displayed on a display screen of the terminal, so that the found multiple application identifiers are displayed to the user.
After a user looks up a plurality of application program identifiers on a display screen of the terminal, one application program identifier can be selected from the application program identifiers, the selected application program identifier is submitted to the terminal, the terminal receives the application program identifier selected by the user, and the application program corresponding to the application program identifier selected by the user is determined to be the target application program.
In another way, when a certain application program is required to be called to process information input by a user in an information input box of a preset application program, the terminal acquires a third corresponding relation between the locally stored application program identifier and the calling times; searching whether an application program identifier of the certain application program exists in the third corresponding relation; when the application program identifier exists in the third corresponding relation, increasing the calling times in the record comprising the application program identifier; when the application program identifier does not exist in the third corresponding relationship, it indicates that the terminal has not called the application program in the history process to process the information input by the user in the information input box of the preset application program, at this time, an initial value of the calling frequency may be set, and the application program identifier and the initial value of the frequency are stored in the third corresponding relationship as a record.
Therefore, in this step, when the plurality of application identifiers are found in the second correspondence, for any one of the found plurality of application identifiers, whether the application identifier exists is found in a third correspondence between the locally stored application identifier and the number of calls, and when the application identifier exists, the number of calls corresponding to the application identifier is obtained; when the application program identifier does not exist, it indicates that the terminal has not called the application program in the history process to process the information input by the user in the information input box of the preset application program, and at this time, it may be determined that the number of calls corresponding to the application program identifier is 0. And executing operation for each other application program identifier in the searched multiple application program identifiers.
The calling times corresponding to each application program identifier in the plurality of searched application program identifiers can be obtained, then the application program identifier with the highest calling times is obtained from the plurality of searched application program identifiers, and the application program corresponding to the application program identifier with the highest calling times is determined as the target application program.
Further, 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 the application identifier with the highest number of calls is multiple, 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.
In step S104, the information to be processed is processed in the target application in the target processing manner.
For example, when the target processing mode is storage, the information to be processed is stored in the target application program. And when the target processing mode is searching, searching the information to be processed by using the target application program. And when the target processing mode is deleting, deleting the information to be processed in the target application program. When the target processing mode is calling, the information at the agent is called by using the target application program.
In the embodiment shown in fig. 1 of the present invention, when the interface of the terminal displays a preset application program, if a user needs to process information to be processed in a target processing manner in the target application program at this time, the user does not need to manually quit the preset application program, and does not need to manually search and start the target application program in the terminal, and only needs to input a keyword and information to be processed corresponding to the target processing manner in an information input box of the preset application program, so that when the terminal acquires the keyword and the information to be processed input by the user in the information input box of the preset application program, the terminal acquires the target processing manner bound to the keyword, and invokes the target application program associated with the keyword; and then processing the information to be processed in a target processing mode in the target application program. Compared with the prior art, the method and the device have the advantages that the steps required by the user operation are fewer, and the time can be saved, so that the user experience can be improved, and the processing efficiency can be improved.
Fig. 2 is a block diagram illustrating an information processing apparatus according to an exemplary embodiment. Referring to fig. 2, the apparatus includes:
the first obtaining module 11 is configured to obtain a keyword and information to be processed, which are input by a user in an information input box of a preset application program;
a second obtaining module 12, configured to obtain a target processing mode bound to the keyword;
a calling module 13, configured to call a target application associated with the keyword;
and the processing module 14 is configured to process the to-be-processed information in the target application program according to the target processing manner.
Wherein the second obtaining module 12 includes:
the first acquisition unit is used for acquiring a first corresponding relation between the locally stored key words and the processing modes;
and the first searching unit is used for searching the processing mode corresponding to the keyword in the first corresponding relation and taking the processing mode as a target processing mode.
Wherein, the calling module 13 includes:
the second acquisition unit is used for acquiring a second corresponding relation between the locally stored key words and the application program identification;
a second searching unit, configured to search for an application identifier corresponding to the keyword in the second correspondence;
a determining unit, configured to determine an application program corresponding to the application program identifier as the target application program;
and the starting unit is used for starting the target application program.
Wherein the determination unit includes:
a determining subunit, configured to determine that one or more application identifiers found in the second corresponding relationship are present;
a first determining subunit, configured to determine, when one application identifier is found in the second correspondence, an application corresponding to the application identifier as the target application;
an obtaining subunit, configured to, when multiple application identifiers are found in the second correspondence, obtain one application identifier from the found multiple application identifiers; and the second determining subunit is configured to determine the application program corresponding to the acquired application program identifier as the target application program.
Wherein the obtaining subunit is specifically configured to:
randomly selecting one application program identifier from the searched multiple application program identifiers, and determining the application program corresponding to the randomly selected application program identifier as the target application program;
or the like, or, alternatively,
displaying the searched multiple application program identifications to a user; receiving an application identifier selected by the user from the plurality of application identifiers; determining the application program corresponding to the application program identifier selected by the user as the target application program;
or the like, or, alternatively,
and selecting the application program with the maximum called times in the history process from the application programs respectively corresponding to the searched application program identifications as a target application program.
In the embodiment shown in fig. 2 of the present invention, when the interface of the terminal is displayed as a preset application program, if the user needs to process the information to be processed in the target application program according to the target processing manner at this time, the user does not need to manually quit the preset application program, and does not need to manually search and start the target application program in the terminal, and only needs to input the keyword and the information to be processed corresponding to the target processing manner in the information input box of the preset application program, so that when the terminal acquires the keyword and the information to be processed input by the user in the information input box of the preset application program, the terminal acquires the target processing manner bound to the keyword, and invokes the target application program associated with the keyword; and then processing the information to be processed in a target processing mode in the target application program. Compared with the prior art, the method and the device have the advantages that the steps required by the user operation are fewer, and the time can be saved, so that the user experience can be improved, and the processing efficiency can be improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements 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 invention is limited only by the appended claims.

Claims (10)

1. An information processing method applied to a terminal, the method comprising:
acquiring keywords and to-be-processed information input by a user in an information input box of a preset application program;
acquiring a target processing mode bound with the keyword;
calling a target application program associated with the keyword;
and processing the information to be processed in a target application program according to the target processing mode.
2. The method according to claim 1, wherein the obtaining of the processing manner corresponding to the keyword comprises:
acquiring a first corresponding relation between locally stored keywords and a processing mode;
and searching the processing mode corresponding to the keyword in the first corresponding relation and taking the processing mode as a target processing mode.
3. The method of claim 1, wherein invoking the target application associated with the keyword comprises:
acquiring a second corresponding relation between the locally stored key words and the application program identification;
searching for an application program identifier corresponding to the keyword in the second corresponding relation;
determining the application program corresponding to the application program identification as the target application program;
and starting the target application program.
4. The method according to claim 3, wherein the determining the application program corresponding to the application program identifier as the target application program comprises:
judging one or more application program identifications searched in the second corresponding relation;
when one application program identifier is found in the second corresponding relationship, determining the application program corresponding to the application program identifier as the target application program;
when a plurality of application program identifiers are found in the second corresponding relationship, one application program identifier is obtained from the found plurality of application program identifiers, and the application program corresponding to the obtained application program identifier is determined as the target application program.
5. The method according to claim 4, wherein the obtaining an application identifier from the plurality of found application identifiers comprises:
randomly selecting one application program identifier from the searched multiple application program identifiers, and determining the application program corresponding to the randomly selected application program identifier as the target application program;
or the like, or, alternatively,
displaying the searched multiple application program identifications to a user; receiving an application identifier selected by the user from the plurality of application identifiers; determining the application program corresponding to the application program identifier selected by the user as the target application program;
or the like, or, alternatively,
and selecting the application program with the maximum called times in the history process from the application programs respectively corresponding to the searched application program identifications as a target application program.
6. An information processing apparatus applied to a terminal, the apparatus comprising:
the first acquisition module is used for acquiring keywords and to-be-processed information input by a user in an information input box of a preset application program;
the second acquisition module is used for acquiring a target processing mode bound with the keyword;
the calling module is used for calling the target application program associated with the keyword;
and the processing module is used for processing the information to be processed in the target application program according to the target processing mode.
7. The apparatus of claim 6, wherein the second obtaining module comprises:
the first acquisition unit is used for acquiring a first corresponding relation between the locally stored key words and the processing modes;
and the first searching unit is used for searching the processing mode corresponding to the keyword in the first corresponding relation and taking the processing mode as a target processing mode.
8. The apparatus of claim 6, wherein the invoking module comprises:
the second acquisition unit is used for acquiring a second corresponding relation between the locally stored key words and the application program identification;
a second searching unit, configured to search for an application identifier corresponding to the keyword in the second correspondence;
a determining unit, configured to determine an application program corresponding to the application program identifier as the target application program;
and the starting unit is used for starting the target application program.
9. The apparatus of claim 8, wherein the determining unit comprises:
a determining subunit, configured to determine that one or more application identifiers found in the second corresponding relationship are present;
a first determining subunit, configured to determine, when one application identifier is found in the second correspondence, an application corresponding to the application identifier as the target application;
an obtaining subunit, configured to, when multiple application identifiers are found in the second correspondence, obtain one application identifier from the found multiple application identifiers; and the second determining subunit is configured to determine the application program corresponding to the acquired application program identifier as the target application program.
10. The apparatus according to claim 9, wherein the obtaining subunit is specifically configured to:
randomly selecting one application program identifier from the searched multiple application program identifiers, and determining the application program corresponding to the randomly selected application program identifier as the target application program;
or the like, or, alternatively,
displaying the searched multiple application program identifications to a user; receiving an application identifier selected by the user from the plurality of application identifiers; determining the application program corresponding to the application program identifier selected by the user as the target application program;
or the like, or, alternatively,
and selecting the application program with the maximum called times in the history process from the application programs respectively corresponding to the searched application program identifications as a target application program.
HK17111213.9A 2017-11-02 Method and device for processing information HK1237458B (en)

Publications (3)

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

Family

ID=

Similar Documents

Publication Publication Date Title
US10091643B2 (en) Method and apparatus for displaying associated information in electronic device
US20080320033A1 (en) Method, Apparatus and Computer Program Product for Providing Association of Objects Using Metadata
US20150220642A1 (en) Method, system, and device for obtaining contact information
US7046994B1 (en) System and method for associating a contact with a call ID
US20090186597A1 (en) System and method for managing a phone book in a mobile phone
JP2009003930A (en) Method and system for providing navigable search result
CN105546724B (en) Sound control method and system, client, control device
CN103455640B (en) The display methods and device of a kind of file management interface
CN106375535A (en) Contact information synchronization method and apparatus
CN106294340A (en) A kind of intelligent customer service processing method and device thereof
WO2019184236A1 (en) Insurance product calculation model configuration method and apparatus, computer device, and storage medium
US11537672B2 (en) Method and system for filtering content
TW200910916A (en) Service access method and apparatus
CN106776631B (en) Information processing method and device
CN107679203B (en) Redis internal database calling method and system
CN101420709B (en) Method for displaying operator information, mobile terminal and background software equipment
CN107045510A (en) A kind of data search method and device
CN104951522B (en) Method and device for searching
CN101072263A (en) Method and system for starting VOIP call in net work
US20120254132A1 (en) Enhanced Contact Information
CN105096162A (en) Content item display method and apparatus
HK1237458A1 (en) Method and device for processing information
HK1237458A (en) Method and device for processing information
CN105447055A (en) Method, apparatus and electronic equipment for searching applications
CN106371853A (en) Learning application program starting method and device