CN104769580A - Terminal and method for pasting - Google Patents
Terminal and method for pasting Download PDFInfo
- Publication number
- CN104769580A CN104769580A CN201280076779.4A CN201280076779A CN104769580A CN 104769580 A CN104769580 A CN 104769580A CN 201280076779 A CN201280076779 A CN 201280076779A CN 104769580 A CN104769580 A CN 104769580A
- Authority
- CN
- China
- Prior art keywords
- edit box
- attribute
- data
- reproducting content
- content
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a terminal, including: the content replication unit for copying part or all of the contents in screen interface of terminal; the contents attribute analysis unit for analyzing the characteristic attributes of copying contents; the editing box determine unit for determining the editing box of the pasting and coping contents according to the received pasting command; the editing box attribute analysis unit for analyzing the editing box attribute determined by the editing box determine unit; the pasting data unit for matching the editing box attribute and the characteristic attributes of copying contents, and extracting the matched data with editing box attribute of the coping content to paste data into the editing box. The invention also provides a method for pasting. By the technical solution of the present invention, according to the attribute of the target editing box, intelligently selecting and pasting data from the copying content to avoid repeated switching operation between the content access interface and the pasting surface for the user.
Description
Terminal and method of attaching technical field
The present invention relates to technical field of data processing, in particular to a kind of terminal and a kind of method of attaching.Background technology
In the related art, the data after being replicated or being sheared, are transferred to clipbook by user when carrying out data stickup, it is necessary to select data first, then in target interface, the data in clipbook are affixed in the edit box in target interface.
But there are some defects in aforesaid operations:When user is obviously pasted every time, all be and can only be by the content paste List in clipbook into target edit box, therefore, when user needs to affix to multiple data in same interface in multiple target edit boxes in target interface respectively, then need repeatedly repeatedly carry out replicate/shear, paste and interface conversion.
Accordingly, it would be desirable to a kind of new technology for applying, data selection and stickup can intelligently be carried out, so as to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface from reproducting content according to the attribute of target edit box.The content of the invention
The present invention is based on above mentioned problem, propose a kind of new technology for applying, data selection and stickup can intelligently be carried out, so as to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface from reproducting content according to the attribute of target edit box.
In view of this, the present invention proposes a kind of terminal, including:Content copied cells, is replicated for the part or all of content in the screen interface to the terminal;Contents attribute analytic unit, the characteristic attribute for analyzing reproducting content;Edit box determining unit, for according to the paste command received, it is determined that the edit box for pasting the reproducting content;Edit box attributive analysis unit, the attribute for analyzing the edit box that the edit box determining unit is determined;Data application unit, for by described in
The characteristic attribute of reproducting content is matched with the attribute of the edit box, and extracts the data matched with the attribute of the edit box from the reproducting content according to matching result, to affix in the edit box.
In the technical scheme, except replicating, mode can also be such as sheared by other, to realize the acquisition to the content in interface.Herein below is illustrated exemplified by replicating.User can directly replicate all the elements in interface, after can also being manually selected, then obtain the content for choosing part.Analyzed and matched by the characteristic attribute and the attribute of edit box to reproducting content, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, to affix in corresponding edit box.Reproducting content can include text data, such as Chinese character, numeral, letter, spcial character, multi-medium data can also be included, such as picture, audio, video file, the then title of the characteristic of content including these data, size, content, type etc., so that the attribute with edit box is matched.
In the above-mentioned technical solutions, it is preferable that also include:Application attribute setup unit, for for the presetting associated attribute of the application program in the terminal;And the edit box attributive analysis unit includes:Application attribute analyzes subelement, for analyzing the application program belonging to the edit box, and using the preset attribute of the application program as the edit box attribute.
In the technical scheme, there is the setting of the data for pasting or inputting in some application programs, such as numeral or spcial character are only in dial in itself, and other are then without practical significance;Then being capable of polytype data such as paste text, multimedia file in short message.Therefore, analyzed by the attribute to these application programs, just can directly as corresponding edit box attribute, to realize the intelligent screening to reproducting content.
In the above-mentioned technical solutions, it is preferable that the edit box attributive analysis unit includes:Text region subelement, the word for recognizing the position associated with the edit box, and determine according to the word attribute of the edit box.
In the technical scheme, the position associated with edit box is included in edit box, above edit box, edit box left or right etc., for pointing out user's input or pasting data;And pass through the automatic identification of these words of terminal-pair, you can the attribute of the edit box is determined, with it is determined that selecting which kind of data to be pasted.Such as in the new interface of address list, " name " printed words are shown in the left for the edit box for needing to input name, then terminal can search for " I in reproducting content
Be ", " entitled " and corresponding surname printed words; such as " I is Li Xiaoming, telephone number is ... "; then terminal automatically can affix to the name data obtained accordingly " Li Xiaoming " in " name " corresponding edit box; and for data such as other telephone numbers; this is then not used in, the intelligence for being possibly used for other edit boxes is pasted.
In the above-mentioned technical solutions, it is preferable that also include:Edit box attribute setting unit, for for the presetting associated attribute of each edit box;And the edit box attributive analysis unit is used for:Attribute obtains subelement, for the edit box for being used to paste the reproducting content determined according to the edit box determining unit, obtains corresponding preset attribute.
In the technical scheme, directly the attribute of each edit box can be set, the input of content can be specifically realized from code layer(Typing or stickup)Limit, such as only allow input numeral in some edit box, then for other Chinese characters, character in reproducting content etc., all without being adhered in the edit box.
In the above-mentioned technical solutions, it is preferable that the contents attribute analytic unit includes:Data identity;Mapping table sets up subelement, recognition result for recognizing subelement according to the data, corresponding data structure mapping table is set up, for extracting the data matched with the attribute of the edit box from the reproducting content, and is affixed in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, some other content can also be included, and build correlation between these contents, in order to when the attribute with edit box is matched, corresponding characteristic attribute can be obtained according to the data structure mapping table exactly, is realized to needing to affix to the accurate screening of the data in edit box.
In the above-mentioned technical solutions, it is preferable that also include:Data display unit, for it there are the multinomial data matched with current operation edit box in the reproducting content in the case of, all data matched are shown with tabular form;And data selection unit, it is at least one of therein to affix in the edit box of the current operation for according to the select command that receives, selecting.
In the technical scheme, if for some edit box, while there are the data of multinomial Pasting, then the list comprising these data can be generated, and selected by user, so that the actual demand for the user that more fits.
In the above-mentioned technical solutions, it is preferable that the edit box attributive analysis unit is used for:Described
In the case of including multiple edit boxes on screen interface, the attribute of all edit boxes is analyzed;And the data application unit is used for:When the terminal receives the paste command for any edit box, the matching relationship between data and the multiple edit box in the reproducting content, the reproducting content is affixed to the data in the reproducting content in the edit box matched in the screen interface respectively.
In the technical scheme, such as user is in newly-built address list, institute's data in need can be obtained simultaneously, such as name, telephone number, E-mail address etc., and when any edit box of the user in the interface of newly-built address list, when such as " name " corresponding edit box is pasted, terminal automatically also will be all affixed to other data in corresponding edit box respectively, such as telephone number is affixed in " telephone number " corresponding edit box, Email is affixed in " Email " corresponding edit box etc., so as to while the conversion repeatedly at interface is removed from, further remove the multiple stickup of user from, cylinderization user operates.
According to another aspect of the invention, it is also proposed that a kind of method of attaching, including:Part or all of content in the screen interface of terminal is replicated;Analyze the characteristic attribute of reproducting content;According to the paste command received, it is determined that for pasting the edit box of the reproducting content, and analyze the attribute of the edit box;The characteristic attribute of the reproducting content is matched with the attribute of the edit box, and extracts the data matched with the attribute of the edit box from the reproducting content according to matching result, to affix in the edit box.
In the technical scheme, except replicating, mode can also be such as sheared by other, to realize the acquisition to the content in interface.Herein below is illustrated exemplified by replicating.User can directly replicate all the elements in interface, after can also being manually selected, then obtain the content for choosing part.Analyzed and matched by the characteristic attribute and the attribute of edit box to reproducting content, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, to affix in corresponding edit box.Reproducting content can include text data, such as Chinese character, numeral, letter, spcial character, multi-medium data can also be included, such as picture, audio, video file, the then title of the characteristic of content including these data, size, content, type etc., so that the attribute with edit box is matched.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, in addition to:For the presetting associated attribute of the application program in the terminal;And the edit box is entered
The step of row analysis, includes:Analyze the application program belonging to the edit box, and using the preset attribute of the application program as the edit box attribute.
In the technical scheme, there is the setting of the data for pasting or inputting in some application programs, such as numeral or spcial character are only in dial in itself, and other are then without practical significance;Then being capable of polytype data such as paste text, multimedia file in short message.Therefore, analyzed by the attribute to these application programs, just can directly as corresponding edit box attribute, to realize the intelligent screening to reproducting content.
In the above-mentioned technical solutions, it is preferable that the step of analyzing the edit box includes:The word of the identification position associated with the edit box, and determine according to the word attribute of the edit box.
In the technical scheme, the position associated with edit box is included in edit box, above edit box, edit box left or right etc., for pointing out user's input or pasting data;And pass through the automatic identification of these words of terminal-pair, you can the attribute of the edit box is determined, with it is determined that selecting which kind of data to be pasted.Such as in the new interface of address list, " name " printed words are shown in the left for the edit box for needing to input name, so terminal can search for " I is ", " entitled " and corresponding surname printed words in reproducting content, such as " I is Li Xiaoming; telephone number is ... ", then terminal automatically can affix to the name data obtained accordingly " Li Xiaoming " in " name " corresponding edit box, and for data such as other telephone numbers, this is then not used in, the intelligence stickup of other edit boxes is possibly used for.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, in addition to:For the presetting associated attribute of each edit box;And include the step of analyze the edit box:According to the edit box for being used to paste the reproducting content of determination, corresponding preset attribute is obtained.
In the technical scheme, directly the attribute of each edit box can be set, the input of content can be specifically realized from code layer(Typing or stickup)Limit, such as only allow input numeral in some edit box, then for other Chinese characters, character in reproducting content etc., all without being adhered in the edit box.
In the above-mentioned technical solutions, it is preferable that it is described analysis reproducting content characteristic attribute the step of include:Data and the corresponding characteristic attribute of each data that the reproducting content includes are recognized, and accordingly
Set up corresponding data structure mapping table;And the method for attaching also includes:According to the data structure mapping table, the data matched with the attribute of the edit box are extracted from the reproducting content, to affix in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, some other content can also be included, and build correlation between these contents, in order to when the attribute with edit box is matched, corresponding characteristic attribute can be obtained according to the data structure mapping table exactly, is realized to needing to affix to the accurate screening of the data in edit box.
In the above-mentioned technical solutions, it is preferable that also include:For the edit box of current operation, if there are the multinomial data matched in the reproducting content, all data matched are then shown with tabular form, and according to the select command received, select at least one of therein to affix in the edit box of the current operation.
In the technical scheme, if for some edit box, while there are the data of multinomial Pasting, then the list comprising these data can be generated, and selected by user, so that the actual demand for the user that more fits.
In the above-mentioned technical solutions, it is preferable that also include:If including multiple edit boxes on the screen interface, the attribute of all edit boxes is analyzed;And when the terminal receives the paste command for any edit box, the matching relationship between data and the multiple edit box in the reproducting content, all data in the reproducting content are affixed in the edit box matched in the screen interface respectively.
In the technical scheme, such as user is in newly-built address list, institute's data in need can be obtained simultaneously, such as name, telephone number, E-mail address etc., and when any edit box of the user in the interface of newly-built address list, when such as " name " corresponding edit box is pasted, terminal automatically also will be all affixed to other data in corresponding edit box respectively, such as telephone number is affixed in " telephone number " corresponding edit box, Email is affixed in " Email " corresponding edit box etc., so as to while the conversion repeatedly at interface is removed from, further remove the multiple stickup of user from, cylinderization user operates.
By above technical scheme, data selection and stickup can intelligently be carried out, so as to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface from reproducting content according to the attribute of target edit box.
Brief description of the drawings
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 2 shows the flow chart of method of attaching according to an embodiment of the invention;
Fig. 3 A to Fig. 3 D show the user interface schematic diagram that intelligence is pasted according to an embodiment of the invention.Embodiment
In order to be more clearly understood that the above objects, features and advantages of the present invention, the present invention is further described in detail with reference to the accompanying drawings and detailed description.It should be noted that in the case where not conflicting, the feature in embodiments herein and embodiment can be mutually combined.
Many details are elaborated in the following description to fully understand the present invention; but; the present invention can also be different from other modes described here to implement using other, and therefore, protection scope of the present invention is not limited by following public specific embodiment.
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention.
As shown in Fig. 1, terminal 100 according to an embodiment of the invention, including:Content copied cells 102, is replicated for the part or all of content in the screen interface to the terminal 100;Contents attribute analytic unit 104, the characteristic attribute for analyzing reproducting content;Edit box determining unit 106, for according to the paste command received, it is determined that the edit box for pasting the reproducting content;Edit box attributive analysis unit 108, the attribute for analyzing the edit box that the edit box determining unit 106 is determined;Data application unit 110, for the characteristic attribute of the reproducting content to be matched with the attribute of the edit box, and the data matched with the attribute of the edit box are extracted from the reproducting content according to matching result, to affix in the edit box.
In the technical scheme, except replicating, mode can also be such as sheared by other, to realize the acquisition to the content in interface.Herein below is illustrated exemplified by replicating.User can directly replicate all the elements in interface, after can also being manually selected, then obtain the content for choosing part.Analyzed and matched by the characteristic attribute and the attribute of edit box to reproducting content, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, to affix in corresponding edit box.Reproducting content can include text data, and such as Chinese character, numeral, letter, spcial character can also include multi-medium data, such as picture, audio, video file, then content
The title of characteristic including these data, size, content, type etc., so that the attribute with edit box is matched.
In the above-mentioned technical solutions, it is preferable that also include:Application attribute setup unit 1 12, for for the presetting associated attribute of application program in the terminal 100;And the edit box attributive analysis unit 108 includes:Application attribute analyzes subelement 1082, for analyzing the application program belonging to the edit box, and using the preset attribute of the application program as the edit box attribute.
In the technical scheme, there is the setting of the data for pasting or inputting in some application programs, such as numeral or spcial character are only in dial in itself, and other are then without practical significance;Then being capable of polytype data such as paste text, multimedia file in short message.Therefore, analyzed by the attribute to these application programs, just can directly as corresponding edit box attribute, to realize the intelligent screening to reproducting content.
In the above-mentioned technical solutions, it is preferable that the edit box attributive analysis unit 108 includes:Text region subelement 1084, the word for recognizing the position associated with the edit box, and determine according to the word attribute of the edit box.
In the technical scheme, the position associated with edit box is included in edit box, above edit box, edit box left or right etc., for pointing out user's input or pasting data;And pass through automatic identification of the terminal 100 to these words, you can the attribute of the edit box is determined, with it is determined that selecting which kind of data to be pasted.Such as in the new interface of address list, " name " printed words are shown in the left for the edit box for needing to input name, so terminal 100 can search for " I is ", " entitled " and corresponding surname printed words in reproducting content, such as " I is Li Xiaoming; telephone number is ... ", then terminal 100 automatically can affix to the name data obtained accordingly " Li Xiaoming "
In " name " corresponding edit box, and for data such as other telephone numbers, then this is not used in, is possibly used for the intelligence stickup of other edit boxes.
In the above-mentioned technical solutions, it is preferable that also include:Edit box attribute setting unit 114, for for the presetting associated attribute of each edit box;And the edit box attributive analysis unit 108 is used for:Attribute obtains subelement 1086, for the edit box for being used to paste the reproducting content determined according to the edit box determining unit 106, obtains corresponding preset attribute.
In the technical scheme, directly the attribute of each edit box can be set, the input of content can be specifically realized from code layer(Typing or stickup)Limit, such as only allow in some edit box
Input numeral, then for other Chinese characters, character in reproducting content etc., all without being adhered in the edit box.
In the above-mentioned technical solutions, it is preferable that the contents attribute analytic unit 104 includes:Data recognize subelement 1042, for recognizing data and the corresponding characteristic attribute of each data that the reproducting content includes;Mapping table sets up subelement 1044, recognition result for recognizing subelement 1042 according to the data, corresponding data structure mapping table is set up, for extracting the data matched with the attribute of the edit box from the reproducting content, and is affixed in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, some other content can also be included, and build correlation between these contents, in order to when the attribute with edit box is matched, corresponding characteristic attribute can be obtained according to the data structure mapping table exactly, is realized to needing to affix to the accurate screening of the data in edit box.
In the above-mentioned technical solutions, it is preferable that also include:Data display unit 1 16, for it there are the multinomial data matched with current operation edit box in the reproducting content in the case of, all data matched are shown with tabular form;And data selection unit 118, it is at least one of therein to affix in the edit box of the current operation for according to the select command that receives, selecting.
In the technical scheme, if for some edit box, while there are the data of multinomial Pasting, then the list comprising these data can be generated, and selected by user, so that the actual demand for the user that more fits.
In the above-mentioned technical solutions, it is preferable that the edit box attributive analysis unit 108 is used for:In the case of including multiple edit boxes on the screen interface, the attribute of all edit boxes is analyzed;And the data application unit 110 is used for:When the terminal 100 receives the paste command for any edit box, the matching relationship between data and the multiple edit box in the reproducting content, the reproducting content is affixed to all data in the reproducting content in the edit box matched in the screen interface respectively.
In the technical scheme, such as user is in newly-built address list, institute's data in need can be obtained simultaneously, such as name, telephone number, E-mail address etc., and when any edit box of the user in the interface of newly-built address list, when such as " name " corresponding edit box is pasted, terminal 100 automatically also will be all affixed to other data in corresponding edit box respectively, such as affixes in " telephone number " corresponding edit box telephone number, Email is affixed to " Email " correspondence
Edit box in etc. so that while the conversion repeatedly at interface is removed from, further remove the multiple stickup of user, cylinder user operation from.
Fig. 2 shows the flow chart of method of attaching according to an embodiment of the invention.
As shown in Fig. 2 method of attaching according to an embodiment of the invention, including:Step 202, the part or all of content in the screen interface of terminal is replicated;Step 204, the characteristic attribute of reproducting content is analyzed;Step 206, according to the paste command received, it is determined that for pasting the edit box of the reproducting content, and analyze the attribute of the edit box;Step 208, the characteristic attribute of the reproducting content is matched with the attribute of the edit box, and extracts the data matched with the attribute of the edit box from the reproducting content according to matching result, to affix in the edit box.
In the technical scheme, except replicating, mode can also be such as sheared by other, to realize the acquisition to the content in interface.Herein below is illustrated exemplified by replicating.User can directly replicate all the elements in interface, after can also being manually selected, then obtain the content for choosing part.Analyzed and matched by the characteristic attribute and the attribute of edit box to reproducting content, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, to affix in corresponding edit box.Reproducting content can include text data, such as Chinese character, numeral, letter, spcial character, multi-medium data can also be included, such as picture, audio, video file, the then title of the characteristic of content including these data, size, content, type etc., so that the attribute with edit box is matched.
It should be noted that, step 204 here and step 206, and refer not to the sequencing applied in fact, but show the flow of its plan development, such as it is used to stating and analysis for the characteristic attribute of reproducting content and the attribute of edit box is realized by step 204 and step 206 respectively, to realize follow-up matching and gluing steps.And in fact, sequencing between the step of each in step 202 to step 208, is related to the actual algorithm used, it is apparent that belonging to one of embodiment of technical scheme.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, in addition to:For the presetting associated attribute of the application program in the terminal;And include the step of analyze the edit box:Analyze the application program belonging to the edit box, and using the preset attribute of the application program as the edit box attribute.
In the technical scheme, some application programs exist in itself to be set for the data pasted or inputted
It is fixed, such as numeral or spcial character are only in dial, other are then without practical significance;Then being capable of polytype data such as paste text, multimedia file in short message.Therefore, analyzed by the attribute to these application programs, just can directly as corresponding edit box attribute, to realize the intelligent screening to reproducting content.
In the above-mentioned technical solutions, it is preferable that the step of analyzing the edit box includes:The word of the identification position associated with the edit box, and determine according to the word attribute of the edit box.
In the technical scheme, the position associated with edit box is included in edit box, above edit box, edit box left or right etc., for pointing out user's input or pasting data;And pass through the automatic identification of these words of terminal-pair, you can the attribute of the edit box is determined, with it is determined that selecting which kind of data to be pasted.Such as in the new interface of address list, " name " printed words are shown in the left for the edit box for needing to input name, so terminal can search for " I is ", " entitled " and corresponding surname printed words in reproducting content, such as " I is Li Xiaoming; telephone number is ... ", then terminal automatically can affix to the name data obtained accordingly " Li Xiaoming " in " name " corresponding edit box, and for data such as other telephone numbers, this is then not used in, the intelligence stickup of other edit boxes is possibly used for.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, in addition to:For the presetting associated attribute of each edit box;And include the step of analyze the edit box:According to the edit box for being used to paste the reproducting content of determination, corresponding preset attribute is obtained.
In the technical scheme, directly the attribute of each edit box can be set, the input of content can be specifically realized from code layer(Typing or stickup)Limit, such as only allow input numeral in some edit box, then for other Chinese characters, character in reproducting content etc., all without being adhered in the edit box.
In the above-mentioned technical solutions, it is preferable that it is described analysis reproducting content characteristic attribute the step of include:Data and the corresponding characteristic attribute of each data that the reproducting content includes are recognized, and set up corresponding data structure mapping table accordingly;And the method for attaching also includes:According to the data structure mapping table, the data matched with the attribute of the edit box are extracted from the reproducting content, to affix in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, some other content can also be included, and build correlation between these contents, in order to when the attribute with edit box is matched, corresponding characteristic attribute can be obtained according to the data structure mapping table exactly, is realized to needing to affix to the accurate screening of the data in edit box.
In the above-mentioned technical solutions, it is preferable that also include:For the edit box of current operation, if there are the multinomial data matched in the reproducting content, all data matched are then shown with tabular form, and according to the select command received, select at least one of therein to affix in the edit box of the current operation.
In the technical scheme, if for some edit box, while there are the data of multinomial Pasting, then the list comprising these data can be generated, and selected by user, so that the actual demand for the user that more fits.
In the above-mentioned technical solutions, it is preferable that also include:If including multiple edit boxes on the screen interface, the attribute of all edit boxes is analyzed;And when the terminal receives the paste command for any edit box, the matching relationship between data and the multiple edit box in the reproducting content, all data in the reproducting content are affixed in the edit box matched in the screen interface respectively.
In the technical scheme, such as user is in newly-built address list, institute's data in need can be obtained simultaneously, such as name, telephone number, E-mail address etc., and when any edit box of the user in the interface of newly-built address list, when such as " name " corresponding edit box is pasted, terminal automatically also will be all affixed to other data in corresponding edit box respectively, such as telephone number is affixed in " telephone number " corresponding edit box, Email is affixed in " Email " corresponding edit box etc., so as to while the conversion repeatedly at interface is removed from, further remove the multiple stickup of user from, cylinderization user operates.
With reference to Fig. 3 A to Fig. 3 D, technical scheme is described in detail, wherein, Fig. 3 A to Fig. 3 D show the user interface schematic diagram that intelligence is pasted according to an embodiment of the invention.
As shown in Fig. 3 A, user needs the selection from the screen interface of terminal to need the content affixed on other interfaces first, specifically, and the acquisition to this partial content can be realized by the operation such as duplication or shearing.This is illustrated exemplified by sentencing the mode of " duplication ".
The reproducting content 302 that user's operation can be obtained may include polytype, such as content of text 302A and content of multimedia 302B, wherein, content of text 302A such as Chinese character, numeral, letter, character etc., and content of multimedia 302B can then include the files such as picture, audio, video.
Terminal can start to analyze it, can also enter to be about in user to be analyzed again when the reproducting content 302 affixes to other interfaces after user obtains reproducting content 302.During being analyzed, including judge which data the reproducting content 302 includes, the characteristic attribute such as type, content per item data, and corresponding data structure mapping table can be built according to analysis result, it is specific as shown in table 1:
Table 1
From table 1, default feature in being arranged by similar " identification feature " therein, data in reproducting content 302 can be accurately identified and analyzed, and by the data storage to the data structure mapping table, during so as to be matched after with the attribute of edit box, the lookup of data can be quickly and accurately carried out.
It should be noted that data structure mapping table here can be to be stored in advance in terminal, after user replicate operation, reproducting content 302 is compared by terminal with the content in data structure mapping table, so as to draw corresponding matching result.
As shown in Figure 3 B, when the reproducting content 302 from Fig. 3 A is pasted onto in any one edit box 304 by user, according to the attribute of the edit box 304, terminal will select the data matched from reproducting content 302 automatically, to affix in the edit box 304.
Obtained for the attribute of edit box 304, including various ways, such as:
The first, is identified by a pair word associated with edit box 304.Such as when user selects
The edit box 304 in the upper left corner in Fig. 3 B has been selected, and the edit box 304 is to be used to fill in itself
" name ", word " name " on interface is exactly the word associated with the edit box 304, effect for carrying out function prompt to user, the automatic identification of terminal is then now can be used for, to determine the corresponding attribute of edit box 304 --- the data related to " name " should be inputted.It should be noted that, here word not only may for edit box 304 top, it is also possible to be present in the left side or the right of edit box 304, or in edit box 304, can be by default similar incidence relation, consequently facilitating terminal is accurately identified.
Second, directly the attribute of each edit box 304 is configured, such as, for that should input the edit box 304 of " E-mail address ", its content pasted has to comply with the requirement of E-mail address, such as comprising "@".
The third, can by the way that the application program residing for edit box 304 is identified so that using the attribute of the application program as the edit box 304 attribute.Than as shown in Figure 3 C, edit box 304 now belongs to " dial ", and in dial, only allow to input telephone number(Corresponding to numeral)Or systemic-function code(Corresponding to numeral and character *, #, such as the international identification code of mobile communication of terminal is recalled by inputting * #06#), then when reproducting content 302 is affixed into the edit box 304, will only paste and meet the defined character string, such as the telephone number of " 18987654321 ".For another example shown in Fig. 3 D, edit box 304 now belongs to " microblogging ", and in microblogging, allow to input any kind of text, multimedia file can also be added as annex,, can be by content of text 302A paste Lists in edit box 304 then when user affixes to the reproducting content 302 in such as Fig. 3 A in edit box 304, and the automatic annex using content of multimedia 302B as content of text 302A of terminal is realized and pasted.
Through the above way, realize the acquisition of the attribute for edit box 304, so as to which the attribute of the characteristic attribute of reproducting content 302 and edit box 304 is matched, and rapidly and accurately the data in reproducting content 302 are affixed in corresponding edit box 304 respectively.In such as Fig. 3 B, realizing will accurately affix in corresponding edit box 304 comprising a variety of data including content of text 302A and content of multimedia 302B.
In addition, when user carries out the stickup of reproducting content 302, if there are multiple edit boxes 304 on screen interface, then in the case of one kind, user is needed to carry out " stickup " operation on each edit box 304 for needing to operate, such as reproducting content 302 is affixed to " name " corresponding edit box by user
When 304, only " Zhang San " will be affixed in the edit box 304;In another case, user only needs to carry out " stickup " operation on any one edit box 304 wherein, terminal is by the characteristic attribute of all data in the attribute and reproducting content 302 according to all edit boxes 304, automatically all data in reproducting content 302 are affixed in corresponding edit box 304, i.e. when reproducting content 302 is affixed to " name " corresponding edit box 304 by user, terminal realizes the automatic stickup to the edit box 304 such as " name ", " telephone number ", " E-mail address ", " head portrait " automatically.
Technical scheme is described in detail above in association with accompanying drawing, in view of in the related art, when performing paste operation, it is merely able to be moved in target edit box the content in clipbook, then when needing to paste multiple data in same interface, need that the operation such as conversion and duplication, the stickup at interface, the numerous Suo of process is repeatedly repeated.Therefore, the invention provides a kind of terminal and a kind of method of attaching, data selection and stickup can intelligently be carried out, so as to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface from reproducting content according to the attribute of target edit box.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for those skilled in the art, the present invention there can be various modifications and variations.Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection.
Claims (1)
- Claims1. a kind of terminal, it is characterised in that including:Content copied cells, is replicated for the part or all of content in the screen interface to the terminal;Contents attribute analytic unit, the characteristic attribute for analyzing reproducting content;Edit box determining unit, for according to the paste command received, it is determined that the edit box for pasting the reproducting content;Edit box attributive analysis unit, the attribute for analyzing the edit box that the edit box determining unit is determined;Data application unit, for the characteristic attribute of the reproducting content to be matched with the attribute of the edit box, and extracts the data matched with the attribute of the edit box according to matching result, to affix in the edit box from the reproducting content.2. terminal according to claim 1, it is characterised in that also include:Property;AndThe edit box attributive analysis unit includes:Application attribute analyzes subelement, for analyzing the application program belonging to the edit box, and using the preset attribute of the application program as the edit box attribute.3. the terminal according to claim 1, it is characterised in that the edit box attributive analysis unit includes:Text region subelement, the word for recognizing the position associated with the edit box, and determine according to the word attribute of the edit box.4. terminal according to claim 1, it is characterised in that also include:Edit box attribute setting unit, for for the presetting associated attribute of each edit box;And the edit box attributive analysis unit is used for:Attribute obtains subelement, for the edit box for being used to paste the reproducting content determined according to the edit box determining unit, obtains corresponding preset attribute.5. the terminal according to any one of claim 1 to 4, it is characterised in that the contents attribute analytic unit includes:Data recognize subelement, for recognizing data and the corresponding characteristic attribute of each data that the reproducting content includes;Mapping table sets up subelement, recognition result for recognizing subelement according to the data, corresponding data structure mapping table is set up, for extracting the data matched with the attribute of the edit box from the reproducting content, and is affixed in the edit box.6. the terminal according to any one of claim 1 to 4, it is characterised in that also include:Data display unit, for it there are the multinomial data matched with current operation edit box in the reproducting content in the case of, all data matched are shown with tabular form;AndData selection unit, it is at least one of therein to affix in the edit box of the current operation for according to the select command that receives, selecting.7. the terminal according to any one of claim 1 to 4, it is characterised in that the edit box attributive analysis unit is used for:In the case of including multiple edit boxes on the screen interface, the attribute of all edit boxes is analyzed;AndThe data application unit is used for:When the terminal receives the paste command for any edit box, the matching relationship between data and the multiple edit box in the reproducting content, the data in the reproducting content are affixed in the edit box matched in the screen interface respectively.8. a kind of method of attaching, it is characterised in that including:Part or all of content in the screen interface of terminal is replicated;Analyze the characteristic attribute of reproducting content;According to the paste command received, it is determined that for pasting the edit box of the reproducting content, and analyze the attribute of the edit box;The characteristic attribute of the reproducting content is matched with the attribute of the edit box, and extracts the data matched with the attribute of the edit box from the reproducting content according to matching result, to affix in the edit box.9. the method for attaching according to claim 8, it is characterised in that before analyzing the edit box, in addition to: For the presetting associated attribute of the application program in the terminal;AndThe step of analyzing the edit box includes:Analyze the application program belonging to the edit box, and using the preset attribute of the application program as the edit box attribute.10. method of attaching according to claim 8, it is characterised in that the step of analyzing the edit box includes:The word of the identification position associated with the edit box, and determine according to the word attribute of the edit box.11. method of attaching according to claim 8, it is characterised in that before analyzing the edit box, in addition to:For the presetting associated attribute of each edit box;AndThe step of analyzing the edit box includes:According to the edit box for being used to paste the reproducting content of determination, corresponding preset attribute is obtained.12. the method for attaching according to any one of claim 8 to 11, it is characterised in that include the step of the characteristic attribute of the analysis reproducting content:Data and the corresponding characteristic attribute of each data that the reproducting content includes are recognized, and set up corresponding data structure mapping table accordingly;AndThe method of attaching also includes:According to the data structure mapping table, the data matched with the attribute of the edit box are extracted from the reproducting content, to affix in the edit box.13. the method for attaching according to any one of claim 8 to 11, it is characterised in that also include:For the edit box of current operation, if there are the multinomial data matched in the reproducting content, all data matched are then shown with tabular form, and according to the select command received, select at least one of therein to affix in the edit box of the current operation.14. the method for attaching according to any one of claim 8 to 11, it is characterised in that also include:If including multiple edit boxes on the screen interface, the attribute of all edit boxes is analyzed;And When the terminal receives the paste command for any edit box, the matching relationship between data and the multiple edit box in the reproducting content, the data in the reproducting content are affixed in the edit box matched in the screen interface respectively.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/083188 WO2014059655A1 (en) | 2012-10-19 | 2012-10-19 | Terminal and method for pasting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104769580A true CN104769580A (en) | 2015-07-08 |
CN104769580B CN104769580B (en) | 2018-07-24 |
Family
ID=50487470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201280076779.4A Active CN104769580B (en) | 2012-10-19 | 2012-10-19 | Terminal and method of attaching |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104769580B (en) |
WO (1) | WO2014059655A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126025A (en) * | 2016-06-23 | 2016-11-16 | 北京小米移动软件有限公司 | Replicate the exchange method and device pasted |
CN112765942A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Text processing method and device, electronic equipment and readable storage medium |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375765B (en) * | 2014-11-17 | 2021-02-19 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104503956A (en) * | 2014-12-24 | 2015-04-08 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for pasting data |
CN105808058A (en) * | 2016-03-04 | 2016-07-27 | 陈包容 | Intelligent display method and apparatus for pasting prompt |
CN105843510B (en) * | 2016-04-01 | 2019-06-28 | Oppo广东移动通信有限公司 | Replicate paste processing method, device and terminal device |
CN105975203A (en) * | 2016-04-28 | 2016-09-28 | 乐视控股(北京)有限公司 | Terminal and method for intelligently copying text contents |
CN106648926A (en) * | 2016-08-05 | 2017-05-10 | 乐视控股(北京)有限公司 | Information input method and device |
CN106354275A (en) * | 2016-08-25 | 2017-01-25 | 维沃移动通信有限公司 | Information input method and mobile terminal |
CN106446472B (en) * | 2016-11-16 | 2019-05-21 | 清华大学 | Intersection ring acquiring method in geometry Simulation of NC Machining based on STL model |
CN108108249A (en) * | 2016-11-25 | 2018-06-01 | 北京嘀嘀无限科技发展有限公司 | Data inputting method and device |
CN106713625A (en) * | 2016-12-12 | 2017-05-24 | 努比亚技术有限公司 | Method and apparatus of rapidly extracting phone number in copying and pasting |
CN106598757A (en) * | 2016-12-13 | 2017-04-26 | 珠海市魅族科技有限公司 | Content pasting method and device |
CN106598719A (en) * | 2016-12-13 | 2017-04-26 | 珠海市魅族科技有限公司 | Method and device for pasting content |
CN109684022A (en) * | 2018-12-28 | 2019-04-26 | 天津字节跳动科技有限公司 | Word input processing method, device and electronic equipment |
CN110399232B (en) * | 2019-06-21 | 2024-03-05 | 平安普惠企业管理有限公司 | Paste processing method, paste processing device, paste processing equipment and computer-readable storage medium |
CN113589993A (en) * | 2021-07-16 | 2021-11-02 | 青岛海尔科技有限公司 | Receiving address generation method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1813252A (en) * | 2003-07-11 | 2006-08-02 | 独立行政法人产业技术总合研究所 | Information processing method, information processing program, information processing device, and remote controller |
CN1940914A (en) * | 2005-09-29 | 2007-04-04 | 国际商业机器公司 | Method and device for copying and pasting a plurality of data items as a group |
CN101185094A (en) * | 2005-06-23 | 2008-05-21 | 微软公司 | Sending and receiving electronic business cards |
CN101359285A (en) * | 2007-08-02 | 2009-02-04 | 珠海金山软件股份有限公司 | Apparatus and method for inserting control into document |
US20120079408A1 (en) * | 2010-09-24 | 2012-03-29 | Visibility, Biz. Inc. | Systems and methods for generating a swimlane timeline for task data visualization |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11306177A (en) * | 1998-04-20 | 1999-11-05 | Sharp Corp | Character string storage/retrieval device and recording medium recorded with character string storage/ retrieval program |
-
2012
- 2012-10-19 CN CN201280076779.4A patent/CN104769580B/en active Active
- 2012-10-19 WO PCT/CN2012/083188 patent/WO2014059655A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1813252A (en) * | 2003-07-11 | 2006-08-02 | 独立行政法人产业技术总合研究所 | Information processing method, information processing program, information processing device, and remote controller |
CN101185094A (en) * | 2005-06-23 | 2008-05-21 | 微软公司 | Sending and receiving electronic business cards |
CN1940914A (en) * | 2005-09-29 | 2007-04-04 | 国际商业机器公司 | Method and device for copying and pasting a plurality of data items as a group |
CN101359285A (en) * | 2007-08-02 | 2009-02-04 | 珠海金山软件股份有限公司 | Apparatus and method for inserting control into document |
US20120079408A1 (en) * | 2010-09-24 | 2012-03-29 | Visibility, Biz. Inc. | Systems and methods for generating a swimlane timeline for task data visualization |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126025A (en) * | 2016-06-23 | 2016-11-16 | 北京小米移动软件有限公司 | Replicate the exchange method and device pasted |
CN106126025B (en) * | 2016-06-23 | 2020-06-02 | 北京小米移动软件有限公司 | Interactive method and device for copying and pasting |
CN112765942A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Text processing method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2014059655A1 (en) | 2014-04-24 |
CN104769580B (en) | 2018-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104769580A (en) | Terminal and method for pasting | |
CN102184072B (en) | Method and terminal for opening folder | |
CN104636322B (en) | The method and device that a kind of text replicates | |
CN102968269B (en) | terminal and terminal management method | |
CN108563967A (en) | A kind of screenshot method and device | |
CN103064584A (en) | Method and device for pasting | |
CN105808058A (en) | Intelligent display method and apparatus for pasting prompt | |
CN112084756B (en) | Conference file generation method and device and electronic equipment | |
CN103019814A (en) | System and method for managing shear plate | |
CN104572219A (en) | Photographing mode switching method and photographing mode switching device | |
CN106375535B (en) | Contact person information synchronization method and device | |
WO2021219066A1 (en) | Document processing method and apparatus, and electronic device | |
CN104700442A (en) | Image processing method and system for automatic filter and character adding | |
CN106648926A (en) | Information input method and device | |
CN111159975B (en) | Display method and device | |
CN105930082A (en) | Calendar view switching method and system as well as intelligent mobile terminal | |
CN112947826B (en) | Information acquisition method and device and electronic equipment | |
CN105138502A (en) | Method for recognizing copy objects and collecting data | |
CN113242464A (en) | Video editing method and device | |
CN107133204A (en) | A kind of terminal shortcut input method | |
WO2023284640A1 (en) | Picture processing method and electronic device | |
CN106446884A (en) | Method and device for rapidly intercepting image | |
CN109255807B (en) | Image information processing method, server and computer storage medium | |
CN106372223B (en) | Content fast searching method and device | |
JP2001014477A (en) | Picture contour extracting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |