CN106293961B - Text information processing method and device - Google Patents

Text information processing method and device Download PDF

Info

Publication number
CN106293961B
CN106293961B CN201610608385.9A CN201610608385A CN106293961B CN 106293961 B CN106293961 B CN 106293961B CN 201610608385 A CN201610608385 A CN 201610608385A CN 106293961 B CN106293961 B CN 106293961B
Authority
CN
China
Prior art keywords
target
app
text
type
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610608385.9A
Other languages
Chinese (zh)
Other versions
CN106293961A (en
Inventor
王硕
潘龙
邹易兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610608385.9A priority Critical patent/CN106293961B/en
Publication of CN106293961A publication Critical patent/CN106293961A/en
Application granted granted Critical
Publication of CN106293961B publication Critical patent/CN106293961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a text information processing method and a text information processing device, wherein the method comprises the following steps: acquiring target text information copied to a clipboard; determining a target application program (App) matched with the text type of the target text information; and calling the target text information through the target App. According to the method and the device, the intelligent terminal can automatically determine the target App and call the target text information through the target App, so that the operation process of a user is simplified, and the intelligent degree of the intelligent terminal is improved.

Description

Text information processing method and device
Technical Field
The present disclosure relates to the field of communications, and in particular, to a text information processing method and apparatus.
Background
At present, intelligent terminals are increasingly popularized. In the related art, when processing text information on an intelligent terminal, a user needs to select text information to be copied first, and the text information is copied to a clipboard by the intelligent terminal. And then the user manually selects to operate a corresponding Application program (App) on the intelligent terminal, and then the intelligent terminal performs a pasting operation, and at this time, the text information is pasted to a corresponding position in the App. The user operation is complex, and the intellectualization of the intelligent terminal cannot be really realized in the text information processing process.
Invention information
In view of the above, the present disclosure provides a text information processing method and apparatus to solve the deficiencies in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a text information processing method, the method including:
acquiring target text information copied to a clipboard;
determining a target application program (App) matched with the text type of the target text information;
and calling the target text information through the target App.
Optionally, the determining a target application App matching the text type of the target text information includes:
matching the text type of the target text information with a pre-stored text type template to obtain a matching result;
and when the matching result indicates that the text type is matched with the target text type template, taking the App corresponding to the target text type template as the target App.
Optionally, when the matching result indicates that the text type matches a target text type template, taking the App corresponding to the target text type template as the target App includes:
when the matching result indicates that the text type is matched with a first type of text type template used for representing a Uniform Resource Locator (URL), taking a browser App corresponding to the first type of text type template as the target App;
when the matching result indicates that the text type is matched with a second type text type template used for representing numbers, taking a call App corresponding to the second type text type template as the target App;
and when the matching result indicates that the text type is matched with a third type text type template used for representing the date, taking a calendar reminding App corresponding to the third type text type template as the target App.
Optionally, the calling the target text information through the target App includes:
when the target App is the browser App, extracting target URL information from the target text information;
and calling the URL address indicated by the target URL information as a website to be accessed through the browser App.
Optionally, the calling the target text information through the target App includes:
when the target App is the call App, extracting target digital information from the target text information;
and calling the digits indicated by the target digit information as the number to be dialed through the call App.
Optionally, the calling the target text information through the target App includes:
when the target App is the calendar reminding App, extracting target date information from the target text information;
and calling the date indicated by the target date information as the date for carrying out calendar reminding by the calendar reminding App.
Optionally, when there are multiple apps matching with the text type of the target text information, the target apps are multiple;
the calling the target text information through the target App comprises the following steps:
displaying a plurality of target apps for selection by a user;
and calling the target text information through the target App selected by the user.
According to a second aspect of the embodiments of the present disclosure, there is provided a text information processing apparatus, the apparatus including:
a text information acquisition module configured to acquire target text information copied to the clipboard;
an application determination module configured to determine a target application App matching a text type of the target text information;
and the text information calling module is configured to call the target text information through the target App.
Optionally, the application determination module includes:
the matching sub-module is configured to match the text type of the target text information with a pre-stored text type template to obtain a matching result;
and the application program determining sub-module is configured to take the App corresponding to the target text type template as the target App when the matching result indicates that the text type is matched with the target text type template.
Optionally, the application determination submodule includes:
a first determining unit, configured to take a browser App corresponding to a first type text type template as the target App when the matching result indicates that the text type matches with the first type text type template for representing a uniform resource locator URL;
a second determining unit, configured to take a call App corresponding to a second type text type template as the target App when the matching result indicates that the text type matches with the second type text type template used for representing numbers;
and the third determining unit is configured to take the calendar reminding App corresponding to the third type text type template as the target App when the matching result indicates that the text type is matched with the third type text type template for representing the date.
Optionally, the text information invoking module includes:
a first extraction sub-module configured to extract target URL information from the target text information when the target App is the browser App;
and the first calling submodule is configured to call the URL address indicated by the target URL information as a website to be accessed through the browser App.
Optionally, the text information invoking module includes:
the second extraction sub-module is configured to extract target digital information from the target text information when the target App is the call App;
and the second calling sub-module is configured to call the digits indicated by the target digit information as the number to be dialed through the call App.
Optionally, the text information invoking module includes:
a third extraction sub-module configured to extract target date information from the target text information when the target App is the calendar reminder App;
and the third calling sub-module is configured to call the date indicated by the target date information as the date for carrying out calendar reminding through the calendar reminding App.
Optionally, when there are multiple apps matching with the text type of the target text information, the target apps are multiple;
the text information calling module comprises:
a display sub-module configured to display a plurality of the target apps for selection by a user;
and the fourth calling sub-module is configured to call the target text information through the target App selected by the user.
According to a third aspect of the embodiments of the present disclosure, there is provided a text information processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring target text information copied to a clipboard;
determining a target application program (App) matched with the text type of the target text information;
and calling the target text information through the target App.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, when the intelligent terminal acquires the target text information copied to the clipboard, the intelligent terminal can determine the target App matched with the text type of the target text information, and then automatically call the target text information through the target App. Through the process, the intelligent terminal can automatically determine the target App and call the target text information copied to the clipboard through the target App, so that the operation process of a user is simplified, and the intelligent degree of the intelligent terminal is improved.
In the embodiment of the disclosure, after the target text information copied to the clipboard is obtained, the intelligent terminal can match the text type of the target text information with a pre-stored text type template, so that the target text type template matched with the text type of the target text information is determined according to a matching result. Further, the App corresponding to the target text type template may be taken as a target App. The intelligent terminal can automatically determine the target App through the process, the target App does not need to be manually operated by a user, the operation process of the user is simplified, and the intelligent degree of the intelligent terminal is improved.
In the embodiment of the disclosure, the intelligent terminal can call the target text information through the target App according to the determined target App matched with the text type of the target text information. Optionally, the target text information may be called correspondingly according to different target apps. For example, the URL address indicated by the target URL information may be called as a website to be accessed by the browser App; or calling the digits indicated by the target digit information as a number to be dialed through the call App; alternatively, the date indicated by the target date information may be called as the date for performing calendar reminding by the date reminding App. The intelligent degree of the intelligent terminal is further improved, and the user experience is improved.
In the embodiment of the disclosure, if a plurality of apps are matched with the text type of the target text information, the corresponding target apps are multiple. At this time, the intelligent terminal may display a plurality of the target apps, which are selected by the user. Furthermore, the intelligent terminal calls the target text information according to the target App selected by the user, so that the user experience is improved while the user operation is simplified.
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 disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of textual information processing according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow diagram illustrating another method of textual information processing according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flow diagram illustrating another method of textual information processing according to an exemplary embodiment of the present disclosure;
FIGS. 4A-4B are schematic diagrams of a textual information processing scenario illustrated by the present disclosure, according to an exemplary embodiment;
FIG. 5 is a flow diagram illustrating another method of textual information processing according to an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram of another textual information processing scenario illustrated in accordance with an exemplary embodiment of the present disclosure;
FIG. 7 is a flow diagram illustrating another method of textual information processing according to an exemplary embodiment of the present disclosure;
FIG. 8 is a schematic diagram of another textual information processing scenario illustrated in accordance with an exemplary embodiment of the present disclosure;
FIGS. 9A-9C are schematic diagrams of a textual information processing scenario illustrated by the present disclosure, according to an exemplary embodiment;
FIG. 10 is a flow diagram illustrating another method of textual information processing according to an exemplary embodiment of the present disclosure;
FIG. 11 is a block diagram of a textual information processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 12 is a block diagram of another textual information processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 13 is a block diagram of another textual information processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 14 is a block diagram of another textual information processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 15 is a block diagram of another textual information processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 16 is a block diagram of another textual information processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 17 is a block diagram of another textual information processing device shown in accordance with an exemplary embodiment of the present disclosure;
fig. 18 is a schematic view showing a structure of a text information processing apparatus according to an exemplary embodiment of the present disclosure.
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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as operated herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination," depending on the context.
The text information processing method provided by the embodiment of the disclosure can be used for intelligent terminals, such as smart phones, tablet computers, Personal Digital Assistants (PDAs), and the like. As shown in fig. 1, fig. 1 is a text information processing method according to an exemplary embodiment, including the steps of:
in step 101, target text information that has been copied to the clipboard is obtained.
In the embodiment of the present disclosure, when a user selects a target text message and performs a copy operation or a cut operation on the target text message, the intelligent terminal copies the target text message to a clipboard of the intelligent terminal system according to a related technology.
In this step, the intelligent terminal may directly obtain the target text information copied to the clipboard according to a related technique.
In step 102, a target application App matching the text type of the target text information is determined.
Alternatively, step 102 is as shown in fig. 2, and fig. 2 is another text information processing method shown on the basis of the foregoing embodiment shown in fig. 1, and includes the following steps:
in step 102-1, the text type of the target text information is matched with a pre-stored text type template to obtain a matching result.
Optionally, the pre-stored text type templates may include at least one of a first type of text type template for representing a Uniform Resource Locator (URL), a second type of pre-stored information for representing a number, and a third type of pre-stored information for representing a date.
In this step, the intelligent terminal may match the text type of the target text information with a pre-stored text type module according to a related technology, so as to obtain the matching result. The first type text type template may include keywords, such as http, https, com, cn, and the like, for characterizing URL information, and if the text type of the target text information is matched with a pre-stored text type template, and it is determined that the text type includes at least one of the keywords of the first type text type template, the matching result is that the text type is matched with the first type text type template.
The second type of text type template may include keywords for characterizing numbers, such as numbers from 0 to 9, and the like. And if the text type of the target text information comprises at least one of the keywords of the second type of text type template, the matching result is that the text type is matched with the second type of text type template.
The third type of text type template may include keywords for characterizing dates, such as numbers from 0 to 9 and characters of year, month, day, etc. Similarly, if the text type includes at least one of the numbers and at least one of the characters, the matching result is that the text type template matches with the third type text type template.
In step 102-2, when the matching result indicates that the text type matches a target text type template, taking the App corresponding to the target text type template as the target App.
In this step, the corresponding target App may be determined according to the different matching results.
When the matching result indicates that the target text information is matched with the first type text type template, it indicates that the target text information includes URL information indicating a URL address, and the user may access the URL address through a browser App next step, so that the smart terminal may use the browser App corresponding to the first type text type template as the target App.
When the matching indicates that the target text information is matched with the second type text type template, it is indicated that the target text information includes numbers, and the user may initiate a call next step, so that the intelligent terminal may use a call App corresponding to the second type text type template as the target App.
When the matching indicates that the text type is matched with the third type of text type template, it is described that the target text information includes not only numbers but also at least one character of year, month and day, and it is described that the user may need to perform calendar reminding on a target date included in the target text information in the next step, so that the intelligent terminal may use a calendar reminding App corresponding to the third type of text type template as the target App.
Certainly, the target apps determined by the intelligent terminal according to the matching result are not limited to the several apps, the user can also set the target apps matched with each pre-stored text type template, and the intelligent terminal automatically matches the corresponding target apps according to the setting of the user. In step 103, the target text information is called by the target App.
In this step, the intelligent terminal can automatically call the target text information through the determined target App, and the user does not need to manually operate the target App and then perform operations such as pasting, so that the process of user operation is simplified, and the intelligent degree of the intelligent terminal is improved.
Optionally, for different target apps, the process of the intelligent terminal calling the target text information through the target apps is as follows:
when the target App is the browser App, optionally, step 103 is as shown in fig. 3, where fig. 3 is another text information processing method shown on the basis of the foregoing embodiment shown in fig. 2, and includes the following steps:
in step 103-1, target URL information is extracted from the target text information.
In this step, the intelligent terminal may extract the target URL information from the target text information according to a related technique, for example, a character matching method.
For example, the target text information is: "your credit card has been billed, please click to see the bill details card.
In step 103-2, the URL address indicated by the target URL information is called as a website to be accessed by the browser App.
In this step, the intelligent terminal may automatically run the browser App, and further, the intelligent terminal may call a URL address indicated by the target URL information in an address field of the browser App, that is, call the URL address as a website to be accessed, as shown in fig. 4A.
Of course, before the user accesses the URL address, the intelligent terminal may also query whether the URL address is a secure accessible URL address through the internet according to a related technique, and display a query result, as shown in fig. 4B. The user may select whether to continue accessing the URL address based on the query result.
When the target App is the call App, optionally, step 103 is as shown in fig. 5, where fig. 5 is another text information processing method shown on the basis of the foregoing embodiment shown in fig. 2, and includes the following steps:
in step 103-1', target numeric information is extracted from the target text information.
In this step, the intelligent terminal may also extract the target digital information from the target text information according to a related technique.
For example, the target text information is: "your mobile phone has defaulted, please dial 10086 for recharging or consult the details of the call fee", and the target digital information is 10086.
In step 103-2', the number indicated by the target number information is called as a number to be dialed by the call App.
In this step, the intelligent terminal may automatically run the call App and call the digits indicated by the target digit information, where the digits are the number to be dialed, as shown in fig. 6.
When the target App is the calendar reminder App, optionally, step 103 is as shown in fig. 7, where fig. 7 is another text information processing method shown on the basis of the foregoing embodiment shown in fig. 2, and the method includes the following steps:
in step 103-1 ", target date information is extracted from the target text information.
In this step, the intelligent terminal may also extract the target date information from the target text information according to a related technique.
For example, the target text information is: "your credit card bill please return to the clear at the latest of 2016, 7, 16 days", the target date information is extracted as 2016, 7, 16 days.
In step 103-2 ″, the date indicated by the target date information is called as the date for performing calendar reminder by the calendar reminder App.
In this step, the intelligent terminal may automatically operate the calendar reminder App, and may use the date indicated by the target date information as the date for performing calendar reminding when the target date information is called. Optionally, the intelligent terminal may further output first prompt information to prompt the user to input a reminder content for reminding on the date indicated by the target date information, for example, as shown in fig. 8.
In the embodiment of the present disclosure, in order to further improve user experience, optionally, different second prompt information may be output on a current page of the intelligent terminal for different target apps, so as to prompt the user to determine whether to execute a target operation.
And the target operation is an operation correspondingly executed when the target text information is called by the target App.
When the target App is the browser App, the target operation is an operation of opening a link, and the intelligent terminal may output the second prompt information according to a related technology: please select whether to open a link in the new browser window as shown in fig. 9A.
When the target App is the call App, the target operation is a call operation, and the second prompt information output by the intelligent terminal according to the related technology may be: please select whether to make a call, as shown in fig. 9B.
When the target App is the calendar reminding App, the target operation is calendar reminding setting operation, and the second prompt information output by the intelligent terminal according to the related technology can be: please select whether to perform calendar reminder setting as shown in fig. 9C.
In this disclosure, when the user selects and confirms to execute the target operation based on the second prompt information, the intelligent terminal may call the target text information in the above manner.
Further, in the embodiment of the present disclosure, if it is determined that multiple apps are matched with the text type of the target text information in the manner of determining the target App in step 102, the corresponding target apps are multiple. Now, step 103 is shown in fig. 10, and fig. 10 is another text information processing method based on the embodiment shown in fig. 1, which includes the following steps:
in step 103-01, a plurality of the target apps are displayed for selection by a user.
In this step, the intelligent terminal may display the matched multiple target apps according to a related technology, and the user selects one of the multiple target apps.
In step 103-02, the target text information is called by the target App selected by the user.
In this step, when the user selects one of the target apps, the target text information may be called in the target App selected by the user in the manner of calling the target text information.
In the embodiment, when the intelligent terminal acquires the target text information copied to the clipboard, the intelligent terminal can determine the target App matched with the text type of the target text information, and then automatically call the target text information through the target App. Through the process, the intelligent terminal can automatically determine the target App and call the target text information copied to the clipboard through the target App, so that the operation process of a user is simplified, and the intelligent degree of the intelligent terminal is improved.
Corresponding to the foregoing method embodiments, the present disclosure also provides embodiments of an apparatus.
As shown in fig. 11, fig. 11 is a block diagram of a text information processing apparatus according to an exemplary embodiment of the present disclosure, including:
a text information obtaining module 210 configured to obtain target text information that has been copied to the clipboard;
an application determination module 220 configured to determine a target application App matching the text type of the target text information;
a text information calling module 230 configured to call the target text information through the target App.
As shown in fig. 12, fig. 12 is a block diagram of another text information processing apparatus according to an exemplary embodiment of the present disclosure, and the embodiment is based on the foregoing embodiment shown in fig. 11, where the application determination module 220 includes:
the matching sub-module 221 is configured to match the text type of the target text information with a pre-stored text type template to obtain a matching result;
an application determination sub-module 222 configured to, when the matching result indicates that the text type matches the target text type template, take the App corresponding to the target text type template as the target App.
As shown in fig. 13, fig. 13 is a block diagram of another text information processing apparatus according to an exemplary embodiment of the present disclosure, and on the basis of the foregoing embodiment shown in fig. 12, the application program determining sub-module 222 includes:
a first determining unit 2221 configured to, when the matching result indicates that the text type matches a first type of text type template for representing a uniform resource locator URL, take a browser App corresponding to the first type of text type template as the target App;
a second determining unit 2222 configured to, when the matching result indicates that the text type matches a second type of text type template for characterizing numbers, take a call App corresponding to the second type of text type template as the target App;
a third determining unit 2223 configured to, when the matching result indicates that the text type matches with a third type of text type template for characterizing a date, take the calendar reminder App corresponding to the third type of text type template as the target App.
As shown in fig. 14, fig. 14 is a block diagram of another text information processing apparatus according to an exemplary embodiment of the present disclosure, and on the basis of the foregoing embodiment shown in fig. 13, the text information invoking module 230 includes:
a first extraction sub-module 231 configured to extract target URL information from the target text information when the target App is the browser App;
the first invoking sub-module 232 is configured to invoke, through the browser App, the URL address indicated by the target URL information as a website to be accessed.
As shown in fig. 15, fig. 15 is a block diagram of another text information processing apparatus according to an exemplary embodiment of the present disclosure, and on the basis of the foregoing embodiment shown in fig. 13, the text information invoking module 230 includes:
a second extraction sub-module 233 configured to extract target digital information from the target text information when the target App is the call App;
and a second calling sub-module 234 configured to call, by the call App, the digits indicated by the target digit information as a number to be dialed.
As shown in fig. 16, fig. 16 is a block diagram of another text information processing apparatus according to an exemplary embodiment of the present disclosure, and on the basis of the foregoing embodiment shown in fig. 13, the text information invoking module 230 includes:
a third extraction sub-module 235 configured to extract target date information from the target text information when the target App is the calendar reminder App;
a third calling sub-module 236 configured to call the date indicated by the target date information as the date for performing calendar reminding through the calendar reminding App.
Optionally, when there are multiple apps matching the text type of the target text information, the target apps are multiple. As shown in fig. 17, fig. 17 is a block diagram of another text information processing apparatus according to an exemplary embodiment of the present disclosure, and on the basis of the foregoing embodiment shown in fig. 11, the text information invoking module 230 includes:
a display sub-module 237 configured to display a plurality of the target apps for selection by a user;
a fourth calling sub-module 238 configured to call the target text message by the target App selected by the user.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the present disclosure also provides a text information processing apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring target text information copied to a clipboard;
determining a target application program (App) matched with the text type of the target text information;
and calling the target text information through the target App.
Fig. 18 is a schematic configuration diagram showing a text information processing apparatus according to an exemplary embodiment. As shown in fig. 18, a text information processing apparatus 1800 according to an exemplary embodiment is shown, and the apparatus 1800 may be a computer, a mobile phone, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
Referring to fig. 18, the apparatus 1800 may include one or more of the following components: processing components 1801, memory 1802, power components 1803, multimedia components 1804, audio components 1805, input/output (I/O) interfaces 1806, sensor components 1807, and communication components 1808.
The processing component 1801 generally controls overall operation of the device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1801 may include one or more processors 1809 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1801 can include one or more modules that facilitate interaction between the processing component 1801 and other components. For example, the processing component 1801 may include a multimedia module to facilitate interaction between the multimedia component 1804 and the processing component 1801.
The memory 1802 is configured to store various types of data to support operation of the apparatus 1800. Examples of such data include instructions for any application or method operating on the device 1800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1802 may be implemented with any type or combination of volatile or non-volatile memory devices 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 disks.
The power supply component 1803 provides power to the various components of the device 1800. The power components 1803 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1800.
The multimedia component 1804 includes a screen that provides an output interface between the device 1800 and a 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1804 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1805 is configured to output and/or input an audio signal. For example, the audio component 1805 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1800 is in operating modes, such as a call mode, recording mode, and voice recognition mode. The received audio signals may further be stored in memory 1802 or transmitted via communications component 1808. In some embodiments, audio component 1805 also includes a speaker for outputting audio signals.
I/O interface 1806 provides an interface between processing component 1801 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1807 includes one or more sensors for providing various aspects of state assessment for the apparatus 1800. For example, the sensor component 1807 may detect an open/closed state of the apparatus 1800, the relative positioning of components, such as a display and keypad of the apparatus 1800, the sensor component 1807 may also detect a change in position of the apparatus 1800 or a component of the apparatus 1800, the presence or absence of user contact with the apparatus 1800, orientation or acceleration/deceleration of the apparatus 1800, and a change in temperature of the apparatus 1800. The sensor component 1807 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1807 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1807 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1808 is configured to facilitate wired or wireless communication between the apparatus 1800 and other devices. The device 1800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1808 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 1808 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1802 comprising instructions, executable by the processor 1809 of the apparatus 1800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the instructions in the storage medium, when executed by the processor, enable the apparatus 1800 to perform the text information processing method described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (9)

1. A method for processing text information, the method comprising:
acquiring target text information copied to a clipboard;
determining a target application program (App) matched with the text type of the target text information;
calling the target text information through the target App;
the determining of the target application program App matched with the text type of the target text information comprises:
matching the text type of the target text information with a pre-stored text type template to obtain a matching result;
when the matching result indicates that the text type is matched with a target text type template, taking an App corresponding to the target text type template as the target App;
when the matching result indicates that the text type is matched with a target text type template, taking the App corresponding to the target text type template as the target App, wherein the step of taking the App corresponding to the target text type template as the target App comprises the following steps:
when the matching result indicates that the text type is matched with a first type of text type template used for representing a Uniform Resource Locator (URL), taking a browser App corresponding to the first type of text type template as the target App;
when the matching result indicates that the text type is matched with a second type text type template used for representing numbers, taking a call App corresponding to the second type text type template as the target App;
when the matching result indicates that the text type is matched with a third type text type template used for representing a date, taking a calendar reminding App corresponding to the third type text type template as the target App;
when a plurality of apps are matched with the text types of the target text information, the target apps are multiple;
the calling the target text information through the target App comprises the following steps:
displaying a plurality of target apps for selection by a user;
and calling the target text information through the target App selected by the user.
2. The method according to claim 1, wherein the invoking of the target text information by the target App comprises:
when the target App is the browser App, extracting target URL information from the target text information;
and calling the URL address indicated by the target URL information as a website to be accessed through the browser App.
3. The method according to claim 1, wherein the invoking of the target text information by the target App comprises:
when the target App is the call App, extracting target digital information from the target text information;
and calling the digits indicated by the target digit information as the number to be dialed through the call App.
4. The method according to claim 1, wherein the invoking of the target text information by the target App comprises:
when the target App is the calendar reminding App, extracting target date information from the target text information;
and calling the date indicated by the target date information as the date for carrying out calendar reminding by the calendar reminding App.
5. A text information processing apparatus, characterized by comprising:
a text information acquisition module configured to acquire target text information copied to the clipboard;
an application determination module configured to determine a target application App matching a text type of the target text information;
the text information calling module is configured to call the target text information through the target App;
the application determination module comprises:
the matching sub-module is configured to match the text type of the target text information with a pre-stored text type template to obtain a matching result;
the application program determining sub-module is configured to take the App corresponding to the target text type template as the target App when the matching result indicates that the text type is matched with the target text type template;
the application determination submodule includes:
a first determining unit, configured to take a browser App corresponding to a first type text type template as the target App when the matching result indicates that the text type matches with the first type text type template for representing a uniform resource locator URL;
a second determining unit, configured to take a call App corresponding to a second type text type template as the target App when the matching result indicates that the text type matches with the second type text type template used for representing numbers;
a third determining unit, configured to take a calendar reminder App corresponding to a third type text type template as the target App when the matching result indicates that the text type matches with the third type text type template for characterizing dates;
when a plurality of apps are matched with the text types of the target text information, the target apps are multiple;
the text information calling module comprises:
a display sub-module configured to display a plurality of the target apps for selection by a user;
and the fourth calling sub-module is configured to call the target text information through the target App selected by the user.
6. The apparatus of claim 5, wherein the text message invoking module comprises:
a first extraction sub-module configured to extract target URL information from the target text information when the target App is the browser App;
and the first calling submodule is configured to call the URL address indicated by the target URL information as a website to be accessed through the browser App.
7. The apparatus of claim 5, wherein the text message invoking module comprises:
the second extraction sub-module is configured to extract target digital information from the target text information when the target App is the call App;
and the second calling sub-module is configured to call the digits indicated by the target digit information as the number to be dialed through the call App.
8. The apparatus of claim 5, wherein the text message invoking module comprises:
a third extraction sub-module configured to extract target date information from the target text information when the target App is the calendar reminder App;
and the third calling sub-module is configured to call the date indicated by the target date information as the date for carrying out calendar reminding through the calendar reminding App.
9. A text information processing apparatus characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring target text information copied to a clipboard;
determining a target application program (App) matched with the text type of the target text information;
calling the target text information through the target App;
the determining of the target application program App matched with the text type of the target text information comprises:
matching the text type of the target text information with a pre-stored text type template to obtain a matching result;
when the matching result indicates that the text type is matched with a target text type template, taking an App corresponding to the target text type template as the target App;
when the matching result indicates that the text type is matched with a target text type template, taking the App corresponding to the target text type template as the target App, wherein the step of taking the App corresponding to the target text type template as the target App comprises the following steps:
when the matching result indicates that the text type is matched with a first type of text type template used for representing a Uniform Resource Locator (URL), taking a browser App corresponding to the first type of text type template as the target App;
when the matching result indicates that the text type is matched with a second type text type template used for representing numbers, taking a call App corresponding to the second type text type template as the target App;
when the matching result indicates that the text type is matched with a third type text type template used for representing a date, taking a calendar reminding App corresponding to the third type text type template as the target App;
when a plurality of apps are matched with the text types of the target text information, the target apps are multiple;
the calling the target text information through the target App comprises the following steps:
displaying a plurality of target apps for selection by a user;
and calling the target text information through the target App selected by the user.
CN201610608385.9A 2016-07-28 2016-07-28 Text information processing method and device Active CN106293961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610608385.9A CN106293961B (en) 2016-07-28 2016-07-28 Text information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610608385.9A CN106293961B (en) 2016-07-28 2016-07-28 Text information processing method and device

Publications (2)

Publication Number Publication Date
CN106293961A CN106293961A (en) 2017-01-04
CN106293961B true CN106293961B (en) 2020-03-03

Family

ID=57663235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610608385.9A Active CN106293961B (en) 2016-07-28 2016-07-28 Text information processing method and device

Country Status (1)

Country Link
CN (1) CN106293961B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970744A (en) * 2017-03-28 2017-07-21 维沃移动通信有限公司 One kind application recommendation method and mobile terminal
CN108762842A (en) * 2018-05-28 2018-11-06 北京小米移动软件有限公司 Method for extracting content, device, terminal and storage medium
WO2020029210A1 (en) * 2018-08-09 2020-02-13 深圳市柔宇科技有限公司 Copy content selection method, terminal and storage medium
CN109359254B (en) * 2018-08-31 2022-03-18 北京小米移动软件有限公司 Information pushing method and device and storage medium
CN109408623B (en) * 2018-10-31 2021-11-23 北京小米移动软件有限公司 Information processing method and device
CN110928621B (en) * 2019-11-01 2021-05-25 北京达佳互联信息技术有限公司 Information searching method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001856A (en) * 2012-12-05 2013-03-27 华为软件技术有限公司 Information sharing method and system and instant messaging (IM) client and server
CN104035986A (en) * 2014-05-30 2014-09-10 北京金山网络科技有限公司 Method and device for opening URL and method and device for searching for keywords
CN104090978A (en) * 2014-07-23 2014-10-08 厦门美图之家科技有限公司 Method for quickly being access to web site

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150012861A1 (en) * 2013-07-02 2015-01-08 Dropbox, Inc. Syncing content clipboard

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001856A (en) * 2012-12-05 2013-03-27 华为软件技术有限公司 Information sharing method and system and instant messaging (IM) client and server
CN104035986A (en) * 2014-05-30 2014-09-10 北京金山网络科技有限公司 Method and device for opening URL and method and device for searching for keywords
CN104090978A (en) * 2014-07-23 2014-10-08 厦门美图之家科技有限公司 Method for quickly being access to web site

Also Published As

Publication number Publication date
CN106293961A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106293961B (en) Text information processing method and device
EP3041205B1 (en) Method, device and system for displaying content of short message, method and device for determining display of short message
EP3057048A1 (en) Transfer method and apparatus
EP3171270A1 (en) Method and device for information push
EP3104587B1 (en) Method and apparatus for displaying a conversation interface
CN104506649B (en) Notification message method for pushing and device
CN107193606B (en) Application distribution method and device
CN104679599A (en) Application program duplicating method and device
CN106201734B (en) File sharing method and device
RU2639685C2 (en) Method and device for information processing
CN104539789A (en) Method and device for prompting call request
CN105956486A (en) Remote control method and apparatus
CN104461236A (en) Method and device for displaying application icons
CN106155703B (en) Emotional state display method and device
CN107402767B (en) Method and device for displaying push message
CN106682163A (en) Article information recommendation method and device and equipment
CN104951522B (en) Method and device for searching
CN105704286A (en) Communication information display method and device
CN105117115A (en) Method and device for displaying electronic document
CN107145361A (en) Wallpaper displaying method and device
CN106412199B (en) Method and device for editing contact information, mobile terminal and server
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN104933107A (en) Searching method of push message and searching device of push message
CN107818494B (en) Method, device and storage medium for displaying addressee information
CN104317480B (en) Character keys display methods, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant