CN104769580B - Terminal and method of attaching - Google Patents
Terminal and method of attaching Download PDFInfo
- Publication number
- CN104769580B CN104769580B CN201280076779.4A CN201280076779A CN104769580B CN 104769580 B CN104769580 B CN 104769580B CN 201280076779 A CN201280076779 A CN 201280076779A CN 104769580 B CN104769580 B CN 104769580B
- Authority
- CN
- China
- Prior art keywords
- edit box
- attribute
- data
- content
- edit
- 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
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention provides a kind of terminals, including:Content copied cells are replicated for content some or all of in the screen interface to terminal;Contents attribute analytic unit, the characteristic attribute for analyzing reproducting content;Edit box determination unit, for according to the paste command received, determining the edit box for pasting reproducting content;Edit box attributive analysis unit, the attribute of the edit box for analyzing the determination of edit box determination unit;Data application unit for matching the characteristic attribute of reproducting content with the attribute of edit box, and extracts the data to match with the attribute of edit box according to matching result, to affix in edit box from reproducting content.The invention also provides a kind of method of attaching.Technical solution through the invention can intelligently carry out data selection and stickup, to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface according to the attribute of target edit box from reproducting content.
Description
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, user needs to select data first when carrying out data stickup, after being replicated or being sheared,
The data are transferred to clipbook, then in target interface, the data in clipbook are affixed to the edit box in target interface
In.
But there are some defects for aforesaid operations:When user obviously pastes every time, all it is and can only is by clipbook
In content paste List to target edit box in, therefore, when user needs respectively to glue multiple data in the same interface
When being labelled in multiple target edit boxes in target interface, then need repeatedly repeatedly to carry out replicating/shear, paste and interface
Conversion.
Therefore, it is necessary to a kind of new technology for applying, can be according to the attribute of target edit box, intelligently from reproducting content
Data selection and stickup are carried out, to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface.
Invention content
The present invention is based on the above problem, it is proposed that a kind of new technology for applying, it can be according to the category of target edit box
Property, data selection and stickup are intelligently carried out from reproducting content, to avoid user in content obtaining interface and adhesion interface
Between carry out handover operation repeatedly.
In view of this, the present invention proposes a kind of terminal, including:Content copied cells, for the screen to the terminal
Content is replicated some or all of in interface;Contents attribute analytic unit, the characteristic attribute for analyzing reproducting content;It compiles
Frame determination unit is collected, for according to the paste command received, determining the edit box for pasting the reproducting content;Edit box
Attributive analysis unit, the attribute for analyzing the edit box that the edit box determination unit determines;Data application unit, being used for will
The characteristic attribute of the reproducting content is matched with the attribute of the edit box, and according to matching result from the reproducting content
The data that the attribute of middle extraction and the edit box matches, to affix in the edit box.
In the technical scheme, in addition to replicating, mode can also be such as sheared by other, to realize in interface
The acquisition of content.The following contents is illustrated for replicating.User can directly replicate all the elements in interface, can also
After being manually selected, then obtain the content for choosing part.By the attribute of characteristic attribute and edit box to reproducting content into
Row analysis and matching, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, with viscous
It is labelled in corresponding edit box.Reproducting content may include text data, such as Chinese character, number, letter, spcial character, also may be used
To include multi-medium data, such as picture, audio, video file, then the characteristic of content includes the title, big of these data
Small, content, type etc., to be matched with the attribute of edit box.
In the above-mentioned technical solutions, it is preferable that further include:Application attribute setup unit, for for answering in the terminal
With the presetting associated attribute of program;And the edit box attributive analysis unit includes:Application attribute analyzes subelement, uses
In the application program belonging to the analysis edit box, and using the preset attribute of the application program as the category of the edit box
Property.
In the technical scheme, some application programs itself exist for the setting for the data pasted or inputted, such as
Number or spcial character are only in dial, other are then without practical significance;It then being capable of paste text, multimedia in short message
A plurality of types of data such as file.Therefore, it is analyzed by the attribute to these application programs, it can be directly as corresponding
The attribute of edit box, 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 is used
In the word for identifying associated with edit box position, and determine according to the word attribute of the edit box.
In the technical scheme, position associated with edit box include in edit box, above edit box, edit box left
Or right etc., for prompting user's input or pasting data;And by the automatic identification of these words of terminal-pair, i.e.,
The attribute that can determine the edit box, with it is determined which kind of data is selected 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 be ... ", then terminal can be automatically by evidence
This obtained name data " Li Xiaoming " affixes in " name " corresponding edit box, and for the number such as other telephone numbers
According to, then be not used in this, be possibly used for other edit boxes intelligence paste.
In the above-mentioned technical solutions, it is preferable that further include:Edit box attribute setting unit, for being that each edit box is pre-
Set associated attribute;And the edit box attributive analysis unit is used for:Attribute obtains subelement, for according to the volume
The edit box for pasting the reproducting content that frame determination unit determines is collected, corresponding preset attribute is obtained.
In the technical scheme, directly the attribute of each edit box can be set, it specifically can be from code layer reality
The input (typing or stickup) of existing content limits, for example only allows input number in some edit box, then in reproducting content
Other Chinese characters, character etc., will not all be adhered in the edit box.
In the above-mentioned technical solutions, it is preferable that the contents attribute analytic unit includes:Data identify subelement, are used for
Identify the data and the corresponding characteristic attribute of each data that the reproducting content includes;Mapping table establishes subelement, is used for root
The recognition result that subelement is identified according to the data, establishes corresponding data structure mapping table, for from the reproducting content
The data that the attribute of middle extraction and the edit box matches, and affix in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, can also include other
Some contents, and correlation is built between these contents, in order to when the attribute with edit box is matched, Ke Yizhun
Corresponding characteristic attribute really is obtained according to the data structure mapping table, is realized to needing to affix to the data in edit box
Accurate screening.
In the above-mentioned technical solutions, it is preferable that further include:Data display unit, for existing in the reproducting content
In the case of the multinomial data to match with current operation edit box, all data to match are shown with tabular form;
And data selection unit, for according to the select command received, selecting at least one of therein described current to affix to
In the edit box of operation.
In the technical scheme, if for some edit box, the data of multinomial Pasting are existed simultaneously, then can generate packet
List containing these data, and be selected by users, to more be bonded the actual demand of user.
In the above-mentioned technical solutions, it is preferable that the edit box attributive analysis unit is used for:It is wrapped on the screen interface
In the case of containing multiple edit boxes, the attribute of all edit boxes is analyzed;And the data application unit is used for:Work as institute
When stating terminal and receiving the paste command for arbitrary edit box, according in the reproducting content data and the multiple editor
Data in the reproducting content are affixed to the reproducting content in the screen interface by the matching relationship between frame respectively
In the edit box to match.
In the technical scheme, for example user is in newly-built address list, can obtain institute's data in need simultaneously, such as
Name, telephone number, E-mail address etc., and the arbitrary edit box as user in the interface of newly-built address list, such as " surname
When the corresponding edit box of name " is pasted, terminal will automatically also all affix to other data in corresponding edit box respectively,
Such as telephone number is affixed in " telephone number " corresponding edit box, that Email is affixed to " Email " is corresponding
In edit box etc., to while the conversion repeatedly for removing interface from, further remove the multiple stickup of user from, simplify user
Operation.
According to another aspect of the invention, it is also proposed that a kind of method of attaching, including:To the portion in the screen interface of terminal
Divide or full content is replicated;Analyze the characteristic attribute of reproducting content;According to the paste command received, determine for pasting
The edit box of the reproducting content, and analyze the attribute of the edit box;By the characteristic attribute of the reproducting content and the volume
The attribute for collecting frame is matched, and is extracted from the reproducting content according to matching result and matched with the attribute of the edit box
Data, to affix in the edit box.
In the technical scheme, in addition to replicating, mode can also be such as sheared by other, to realize in interface
The acquisition of content.The following contents is illustrated for replicating.User can directly replicate all the elements in interface, can also
After being manually selected, then obtain the content for choosing part.By the attribute of characteristic attribute and edit box to reproducting content into
Row analysis and matching, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, with viscous
It is labelled in corresponding edit box.Reproducting content may include text data, such as Chinese character, number, letter, spcial character, also may be used
To include multi-medium data, such as picture, audio, video file, then the characteristic of content includes the title, big of these data
Small, content, type etc., to be matched with the attribute of edit box.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, further include:For the terminal
In the presetting associated attribute of application program;And the step of analyzing the edit box, includes:Analyze the volume
The application program belonging to frame is collected, and using the preset attribute of the application program as the attribute of the edit box.
In the technical scheme, some application programs itself exist for the setting for the data pasted or inputted, such as
Number or spcial character are only in dial, other are then without practical significance;It then being capable of paste text, multimedia in short message
A plurality of types of data such as file.Therefore, it is analyzed by the attribute to these application programs, it can be directly as corresponding
The attribute of edit box, 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 include:Identification and the editor
The word of the associated position of frame, and determine according to the word attribute of the edit box.
In the technical scheme, position associated with edit box include in edit box, above edit box, edit box left
Or right etc., for prompting user's input or pasting data;And by the automatic identification of these words of terminal-pair, i.e.,
The attribute that can determine the edit box, with it is determined which kind of data is selected 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 be ... ", then terminal can be automatically by evidence
This obtained name data " Li Xiaoming " affixes in " name " corresponding edit box, and for the number such as other telephone numbers
According to, then be not used in this, be possibly used for other edit boxes intelligence paste.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, further include:For each editor
The presetting associated attribute of frame;And the step of analyzing the edit box, includes:According to determining for pasting institute
The edit box for stating reproducting content obtains corresponding preset attribute.
In the technical scheme, directly the attribute of each edit box can be set, it specifically can be from code layer reality
The input (typing or stickup) of existing content limits, for example only allows input number in some edit box, then in reproducting content
Other Chinese characters, character etc., will not all be 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:Described in identification
The data and the corresponding characteristic attribute of each data that reproducting content includes, and corresponding data structure mapping table is established accordingly;
And the method for attaching further includes:According to the data structure mapping table, extraction and the editor from the reproducting content
The data that the attribute of frame matches, to affix in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, can also include other
Some contents, and correlation is built between these contents, in order to when the attribute with edit box is matched, Ke Yizhun
Corresponding characteristic attribute really is obtained according to the data structure mapping table, is realized to needing to affix to the data in edit box
Accurate screening.
In the above-mentioned technical solutions, it is preferable that further include:For the edit box of current operation, if in the reproducting content
There are the multinomial data to match, then show all data to match with tabular form, and order according to the selection received
It enables, selects at least one of therein to affix in the edit box of the current operation.
In the technical scheme, if for some edit box, the data of multinomial Pasting are existed simultaneously, then can generate packet
List containing these data, and be selected by users, to more be bonded the actual demand of user.
In the above-mentioned technical solutions, it is preferable that further include:If including multiple edit boxes on the screen interface, to institute
There is the attribute of edit box to be analyzed;And when the terminal receives the paste command for arbitrary edit box, according to institute
The data in reproducting content and the matching relationship between the multiple edit box are stated, by all data in the reproducting content point
It does not affix in the edit box to match in the screen interface.
In the technical scheme, for example user is in newly-built address list, can obtain institute's data in need simultaneously, such as
Name, telephone number, E-mail address etc., and the arbitrary edit box as user in the interface of newly-built address list, such as " surname
When the corresponding edit box of name " is pasted, terminal will automatically also all affix to other data in corresponding edit box respectively,
Such as telephone number is affixed in " telephone number " corresponding edit box, that Email is affixed to " Email " is corresponding
In edit box etc., to while the conversion repeatedly for removing interface from, further remove the multiple stickup of user from, simplify user
Operation.
By above technical scheme, data can be intelligently carried out from reproducting content according to the attribute of target edit box
Selection and stickup, to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface.
Description of the drawings
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 2 shows the flow charts of method of attaching according to an embodiment of the invention;
Fig. 3 A to Fig. 3 D show the user interface schematic diagram according to an embodiment of the invention intelligently pasted.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention.
As shown in Figure 1, terminal 100 according to an embodiment of the invention, including:Content copied cells 102, for described
Content is replicated some or all of in the screen interface of terminal 100;Contents attribute analytic unit 104 is replicated for analyzing
The characteristic attribute of content;Edit box determination unit 106, for according to the paste command received, determination to be described multiple for pasting
The edit box of content processed;Edit box attributive analysis unit 108, the editor determined for analyzing the edit box determination unit 106
The attribute of frame;Data application unit 110 is used for the progress of the attribute of the characteristic attribute of the reproducting content and the edit box
Match, and extract the data to match with the attribute of the edit box from the reproducting content according to matching result, to affix to
In the edit box.
In the technical scheme, in addition to replicating, mode can also be such as sheared by other, to realize in interface
The acquisition of content.The following contents is illustrated for replicating.User can directly replicate all the elements in interface, can also
After being manually selected, then obtain the content for choosing part.By the attribute of characteristic attribute and edit box to reproducting content into
Row analysis and matching, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, with viscous
It is labelled in corresponding edit box.Reproducting content may include text data, such as Chinese character, number, letter, spcial character, also may be used
To include multi-medium data, such as picture, audio, video file, then the characteristic of content includes the title, big of these data
Small, content, type etc., to be matched with the attribute of edit box.
In the above-mentioned technical solutions, it is preferable that further include:Application attribute setup unit 112, for being the terminal 100
In the presetting associated attribute of application program;And the edit box attributive analysis unit 108 includes:Application attribute is analyzed
Subelement 1082, for analyzing the application program belonging to the edit box, and using the preset attribute of the application program as institute
State the attribute of edit box.
In the technical scheme, some application programs itself exist for the setting for the data pasted or inputted, such as
Number or spcial character are only in dial, other are then without practical significance;It then being capable of paste text, multimedia in short message
A plurality of types of data such as file.Therefore, it is analyzed by the attribute to these application programs, it can be directly as corresponding
The attribute of edit box, 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 of position associated with the edit box for identification, and determine according to the word category of the edit box
Property.
In the technical scheme, position associated with edit box include in edit box, above edit box, edit box left
Or right etc., for prompting user's input or pasting data;And the automatic knowledge by terminal 100 to these words
Not, you can the attribute for determining the edit box, with it is determined which kind of data is selected to be pasted.Such as on the newly-built boundary of address list
In face, " name " printed words are shown in the left for the edit box for needing to input name, then terminal 100 can search in reproducting content
Rope " I is ", " entitled " and corresponding surname printed words, such as " I is Li Xiaoming, telephone number be ... ", then 100 meeting of terminal
Automatically the name data obtained accordingly " Li Xiaoming " is affixed in " name " corresponding edit box, and for other phone numbers
The data such as code, then be not used in this, and the intelligence for being possibly used for other edit boxes is pasted.
In the above-mentioned technical solutions, it is preferable that further include:Edit box attribute setting unit 114, for being each edit box
Presetting associated attribute;And the edit box attributive analysis unit 108 is used for:Attribute obtains subelement 1086, is used for
The edit box for pasting the reproducting content determined according to the edit box determination unit 106 obtains corresponding preset and belongs to
Property.
In the technical scheme, directly the attribute of each edit box can be set, it specifically can be from code layer reality
The input (typing or stickup) of existing content limits, for example only allows input number in some edit box, then in reproducting content
Other Chinese characters, character etc., will not all be adhered in the edit box.
In the above-mentioned technical solutions, it is preferable that the contents attribute analytic unit 104 includes:Data identify subelement
1042, the data and the corresponding characteristic attribute of each data that the reproducting content includes for identification;It is single that mapping table establishes son
Member 1044, for according to the data identify subelement 1042 recognition result, establish corresponding data structure mapping table, with
In the data that the attribute of the extraction from the reproducting content and the edit box matches, and affix in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, can also include other
Some contents, and correlation is built between these contents, in order to when the attribute with edit box is matched, Ke Yizhun
Corresponding characteristic attribute really is obtained according to the data structure mapping table, is realized to needing to affix to the data in edit box
Accurate screening.
In the above-mentioned technical solutions, it is preferable that further include:Data display unit 116, for being deposited in the reproducting content
In the case of the multinomial data to match with current operation edit box, all numbers to match are shown with tabular form
According to;And data selection unit 118, for according to the select command received, selecting at least one of therein to affix to
In the edit box for stating current operation.
In the technical scheme, if for some edit box, the data of multinomial Pasting are existed simultaneously, then can generate packet
List containing these data, and be selected by users, to more be bonded the actual demand of user.
In the above-mentioned technical solutions, it is preferable that the edit box attributive analysis unit 108 is used for:In the screen interface
Above comprising in the case of multiple edit boxes, the attribute of all edit boxes is analyzed;And the data application unit 110 is used
In:When the terminal 100 receives the paste command for arbitrary edit box, according in the reproducting content data and institute
The matching relationship between multiple edit boxes is stated, the reproducting content is affixed to all data in the reproducting content respectively
In the edit box to match in the screen interface.
In the technical scheme, for example user is in newly-built address list, can obtain institute's data in need simultaneously, such as
Name, telephone number, E-mail address etc., and the arbitrary edit box as user in the interface of newly-built address list, such as " surname
When the corresponding edit box of name " is pasted, other data also all will be affixed to corresponding edit box by terminal 100 respectively automatically
It is interior, for example, telephone number affixed in " telephone number " corresponding edit box, that Email is affixed to " Email " is right
In the edit box answered etc., to while the conversion repeatedly for removing interface from, further remove the multiple stickup of user from, simplify
User's operation.
Fig. 2 shows the flow charts 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, to the screen interface of terminal
In some or all of content replicated;Step 204, the characteristic attribute of reproducting content is analyzed;Step 206, according to receiving
Paste command, determine edit box for pasting the reproducting content, and analyze the attribute of the edit box;Step 208, will
The characteristic attribute of the reproducting content is matched with the attribute of the edit box, and according to matching result from the reproducting content
The data that the attribute of middle extraction and the edit box matches, to affix in the edit box.
In the technical scheme, in addition to replicating, mode can also be such as sheared by other, to realize in interface
The acquisition of content.The following contents is illustrated for replicating.User can directly replicate all the elements in interface, can also
After being manually selected, then obtain the content for choosing part.By the attribute of characteristic attribute and edit box to reproducting content into
Row analysis and matching, so as to intelligently be analyzed reproducting content, therefrom to select correct effective data, with viscous
It is labelled in corresponding edit box.Reproducting content may include text data, such as Chinese character, number, letter, spcial character, also may be used
To include multi-medium data, such as picture, audio, video file, then the characteristic of content includes the title, big of these data
Small, content, type etc., to be matched with the attribute of edit box.
It should be noted that step 204 here and step 206, and the sequencing applied in fact is referred not to, but show
The flow of its plan development, such as stating to realize the feature category for reproducting content respectively by step 204 and step 206
The analysis of the attribute of property and edit box, to realize subsequent matching and gluing steps.And in fact, step 202 is to step 208
In sequencing between each step, be relevant with algorithm used by reality, it is apparent that belonging to the technology of the present invention
One of embodiment of scheme.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, further include:For the terminal
In the presetting associated attribute of application program;And the step of analyzing the edit box, includes:Analyze the volume
The application program belonging to frame is collected, and using the preset attribute of the application program as the attribute of the edit box.
In the technical scheme, some application programs itself exist for the setting for the data pasted or inputted, such as
Number or spcial character are only in dial, other are then without practical significance;It then being capable of paste text, multimedia in short message
A plurality of types of data such as file.Therefore, it is analyzed by the attribute to these application programs, it can be directly as corresponding
The attribute of edit box, 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 include:Identification and the editor
The word of the associated position of frame, and determine according to the word attribute of the edit box.
In the technical scheme, position associated with edit box include in edit box, above edit box, edit box left
Or right etc., for prompting user's input or pasting data;And by the automatic identification of these words of terminal-pair, i.e.,
The attribute that can determine the edit box, with it is determined which kind of data is selected 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 be ... ", then terminal can be automatically by evidence
This obtained name data " Li Xiaoming " affixes in " name " corresponding edit box, and for the number such as other telephone numbers
According to, then be not used in this, be possibly used for other edit boxes intelligence paste.
In the above-mentioned technical solutions, it is preferable that before analyzing the edit box, further include:For each editor
The presetting associated attribute of frame;And the step of analyzing the edit box, includes:According to determining for pasting institute
The edit box for stating reproducting content obtains corresponding preset attribute.
In the technical scheme, directly the attribute of each edit box can be set, it specifically can be from code layer reality
The input (typing or stickup) of existing content limits, for example only allows input number in some edit box, then in reproducting content
Other Chinese characters, character etc., will not all be 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:Described in identification
The data and the corresponding characteristic attribute of each data that reproducting content includes, and corresponding data structure mapping table is established accordingly;
And the method for attaching further includes:According to the data structure mapping table, extraction and the editor from the reproducting content
The data that the attribute of frame matches, to affix in the edit box.
In the technical scheme, the data structure mapping table of foundation includes data, characteristic attribute, can also include other
Some contents, and correlation is built between these contents, in order to when the attribute with edit box is matched, Ke Yizhun
Corresponding characteristic attribute really is obtained according to the data structure mapping table, is realized to needing to affix to the data in edit box
Accurate screening.
In the above-mentioned technical solutions, it is preferable that further include:For the edit box of current operation, if in the reproducting content
There are the multinomial data to match, then show all data to match with tabular form, and order according to the selection received
It enables, selects at least one of therein to affix in the edit box of the current operation.
In the technical scheme, if for some edit box, the data of multinomial Pasting are existed simultaneously, then can generate packet
List containing these data, and be selected by users, to more be bonded the actual demand of user.
In the above-mentioned technical solutions, it is preferable that further include:If including multiple edit boxes on the screen interface, to institute
There is the attribute of edit box to be analyzed;And when the terminal receives the paste command for arbitrary edit box, according to institute
The data in reproducting content and the matching relationship between the multiple edit box are stated, by all data in the reproducting content point
It does not affix in the edit box to match in the screen interface.
In the technical scheme, for example user is in newly-built address list, can obtain institute's data in need simultaneously, such as
Name, telephone number, E-mail address etc., and the arbitrary edit box as user in the interface of newly-built address list, such as " surname
When the corresponding edit box of name " is pasted, terminal will automatically also all affix to other data in corresponding edit box respectively,
Such as telephone number is affixed in " telephone number " corresponding edit box, that Email is affixed to " Email " is corresponding
In edit box etc., to while the conversion repeatedly for removing interface from, further remove the multiple stickup of user from, simplify user
Operation.
With reference to Fig. 3 A to Fig. 3 D, technical scheme of the present invention is described in detail, wherein Fig. 3 A to Fig. 3 D are shown
The user interface schematic diagram according to an embodiment of the invention intelligently pasted.
As shown in Figure 3A, user needs the selection from the screen interface of terminal to need to affix on other interfaces first
Hold, specifically, can realize acquisition to this partial content by the operations such as replicating or shearing.This mode for sentencing " duplication " is
Example illustrates.
The reproducting content 302 that user's operation can obtain may include multiple types, such as content of text 302A and more
Media content 302B, wherein content of text 302A such as Chinese character, number, letter, character etc., and multimedia content 302B then may be used
To include the files such as picture, audio, video.
Terminal can start to analyze it after user obtains reproducting content 302, can also be in user into being about to
The reproducting content 302 is analyzed again when affixing to other interfaces.During being analyzed, including judge the reproducting content
Which data 302 include, the characteristic attributes such as type, content per item data, and can be built corresponding according to analysis result
Data structure mapping table, it is specific as shown in table 1:
Table 1
It, can be in reproducting content 302 by table 1 as it can be seen that by the default feature in similar " identification feature " therein row
Data accurately identified and analyzed, and the data are stored to the data structure mapping table, to later with editor
When the attribute of frame is matched, 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, when user carries out
After replicating operation, reproducting content 302 is compared by terminal with the content in data structure mapping table, to obtain corresponding
With result.
As shown in Figure 3B, 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 to match from reproducting content 302 automatically, to affix to this
In edit box 304.
The attribute of edit box 304 is obtained, including various ways, such as:
The first, is identified by a pair word associated with edit box 304.Such as when user has selected in Fig. 3 B
The edit box 304 in the upper left corner, and the edit box 304 is for filling in " name " in itself, the word " name " on interface is exactly
Word associated with the edit box 304, the effect for carrying out function prompt to user, then can be used for terminal at this time
Automatic identification, to determine the 304 corresponding attribute of edit box --- it should input and " name " relevant data.It needs to illustrate
It is that word here not only may be for the top of edit box 304, it is also possible to it is present in the left side or the right of edit box 304,
It, can be by default similar incidence relation, consequently facilitating terminal accurately identifies or in edit box 304.
Second, directly the attribute of each edit box 304 is configured, such as that should input " E-mail address "
Edit box 304, the content pasted has to comply with the requirement of E-mail address, such as includes "@".
The third, can be by being identified the application program residing for edit box 304, thus by the category of the application program
Attribute of the property as the edit box 304.Than as shown in Figure 3 C, edit box 304 at this time belongs to " dial ", and in dial
In, only allow to input telephone number (corresponding to number) or system function code (corresponds to number and character *, #, for example passes through
* #06# are inputted to recall the mobile communication world identification code of terminal), then reproducting content 302 is being affixed into the edit box 304
When, it will only paste and meet the defined character string, such as the telephone number of " 18987654321 ".For another example shown in Fig. 3 D, at this time
Edit box 304 belongs to " microblogging ", and in microblogging, allow to input any kind of text, multimedia file work can also be added
It can be by content of text 302A then when user affixes to the reproducting content 302 in such as Fig. 3 A in edit box 304 for attachment
Paste List is in edit box 304, and terminal is realized multimedia content 302B as the attachment of content of text 302A automatically
It pastes.
By the above-mentioned means, realize the acquisition of the attribute for edit box 304, so as to by reproducting content 302
The attribute of characteristic attribute and edit box 304 is matched, and rapidly and accurately affixes to the data in reproducting content 302 respectively
In corresponding edit box 304.Such as in Fig. 3 B, realizing will be comprising more including content of text 302A and multimedia content 302B
Kind data accurately affix in corresponding edit box 304.
In addition, when user carries out the stickup of reproducting content 302, if there are multiple edit boxes 304 on screen interface, one
In the case of kind, user is needed to need to carry out " stickups " on the edit box 304 that operates to operate each, for example user is by reproducting content
302 when affixing to " name " corresponding edit box 304, will only affix to " Zhang San " in the edit box 304;Another situation
Under, user only needs to carry out " stickup " operation on any one edit box 304 wherein, and terminal will be according to all edit boxes 304
Attribute and reproducting content 302 in all data characteristic attribute, all data in reproducting content 302 are affixed into phase automatically
In the edit box 304 answered, i.e., when reproducting content 302 is affixed to " name " corresponding edit box 304 by user, terminal is automatically real
Now to the automatic stickup of the edit boxes 304 such as " name ", " telephone number ", " E-mail address ", " head portrait ".
Technical scheme of the present invention is described in detail above in association with attached drawing, it is contemplated that in the related art, executing stickup
It when operation, is merely able to be moved in target edit box the content in clipbook, then when needing to multiple numbers in same interface
When according to being pasted, need operations, the processes such as the conversion that interface is repeatedly repeated and duplication, stickup cumbersome.Therefore, of the invention
A kind of terminal and a kind of method of attaching are provided, can intelligently be carried out from reproducting content according to the attribute of target edit box
Data are selected and are pasted, to avoid user from carrying out handover operation repeatedly between content obtaining interface and adhesion interface.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of terminal, which is characterized in that including:
Application attribute setup unit, for being the presetting associated attribute of application program in the terminal;
Content copied cells replicate, wherein described for content some or all of in the screen interface to the terminal
Part or all of content is the content that user carries out selection for the content in screen interface, and the screen interface includes inbox
Interface;
Contents attribute analytic unit, the characteristic attribute for analyzing reproducting content;
Edit box determination unit, for according to the paste command received, determining the edit box for pasting the reproducting content;
Edit box attributive analysis unit, the attribute for analyzing the edit box that the edit box determination unit determines, wherein described
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 attribute of the edit box;
Data application unit, for the characteristic attribute of the reproducting content to be matched with the attribute of the edit box, and root
The data to match with the attribute of the edit box are extracted from the reproducting content according to matching result, to affix to the editor
In frame.
2. terminal according to claim 1, which is characterized in that the edit box attributive analysis unit includes:
Text region subelement, the word of position associated with the edit box for identification, and determined according to the word
The attribute of the edit box.
3. terminal according to claim 1, which is characterized in that further include:
Edit box attribute setting unit, for being the presetting associated attribute of each edit box;And
The edit box attributive analysis unit is used for:
Attribute obtains subelement, the editor for pasting the reproducting content for being determined according to the edit box determination unit
Frame obtains corresponding preset attribute.
4. terminal according to any one of claim 1 to 3, which is characterized in that the contents attribute analytic unit includes:
Data identify subelement, the data and the corresponding characteristic attribute of each data that the reproducting content includes for identification;
Mapping table establishes subelement, and the recognition result for identifying subelement according to the data establishes corresponding data structure
Mapping table for the data that the attribute of extraction and the edit box matches from the reproducting content, and affixes to described
In edit box.
5. terminal according to any one of claim 1 to 3, which is characterized in that further include:
Data display unit, for there are the multinomial data to match with current operation edit box in the reproducting content
In the case of, all data to match are shown with tabular form;And
Data selection unit, for according to the select command received, selecting at least one of therein described current to affix to
In the edit box of operation.
6. terminal according to any one of claim 1 to 3, which is characterized in that the edit box attributive analysis unit is used
In:In the case where on the screen interface including multiple edit boxes, the attribute of all edit boxes is analyzed;And
The data application unit is used for:When the terminal receives the paste command for arbitrary edit box, according to described
The matching relationship between data and the multiple edit box in reproducting content, the data in the reproducting content are pasted respectively
Into the edit box to match in the screen interface.
7. a kind of method of attaching, which is characterized in that including:
For the presetting associated attribute of the application program in terminal;
Content some or all of in the screen interface of terminal is replicated, wherein the part or all of content is user
The content of selection is carried out for the content in screen interface, the screen interface includes inbox interface;
Analyze the characteristic attribute of reproducting content;
According to the paste command received, the edit box for pasting the reproducting content is determined, and analyze the edit box
Attribute, wherein the attribute of the analysis edit box includes:The application program belonging to the edit box is analyzed, and will be described
Attribute of the preset attribute of application program as the edit box;
The characteristic attribute of the reproducting content is matched with the attribute of the edit box, and according to matching result from described multiple
The data that the attribute of extraction and the edit box matches in content processed, to affix in the edit box.
8. method of attaching according to claim 7, which is characterized in that the step of analyzing the edit box include:
It identifies the word of position associated with the edit box, and determines the attribute of the edit box according to the word.
9. method of attaching according to claim 7, which is characterized in that before analyzing the edit box, also wrap
It includes:
For the presetting associated attribute of each edit box;And
The step of analyzing the edit box include:
According to the determining edit box for pasting the reproducting content, corresponding preset attribute is obtained.
10. the method for attaching according to any one of claim 7 to 9, which is characterized in that the spy of the analysis reproducting content
Levy attribute the step of include:
It identifies the data and the corresponding characteristic attribute of each data that the reproducting content includes, and establishes corresponding data accordingly
Structure mapping table;And
The method of attaching further includes:
According to the data structure mapping table, the number that the attribute of extraction and the edit box matches from the reproducting content
According to affix in the edit box.
11. the method for attaching according to any one of claim 7 to 9, which is characterized in that further include:
It is aobvious with tabular form if there are the multinomial data to match in the reproducting content for the edit box of current operation
All data to match are shown, and according to the select command received, are selected at least one of therein to affix to described work as
In the edit box of preceding operation.
12. the method for attaching according to any one of claim 7 to 9, which is characterized in that further 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 arbitrary edit box, according in the reproducting content data with it is described
Data in the reproducting content are affixed in the screen interface and are matched by the matching relationship between multiple edit boxes respectively
Edit box in.
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 CN104769580A (en) | 2015-07-08 |
CN104769580B true 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) |
Families Citing this family (17)
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 |
CN106126025B (en) * | 2016-06-23 | 2020-06-02 | 北京小米移动软件有限公司 | Interactive method and device for copying and pasting |
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 |
CN112765942A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Text processing method and device, electronic equipment and readable storage medium |
CN113589993A (en) * | 2021-07-16 | 2021-11-02 | 青岛海尔科技有限公司 | Receiving address generation method and device, electronic equipment and storage medium |
Citations (4)
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 |
Family Cites Families (2)
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 |
US20120079408A1 (en) * | 2010-09-24 | 2012-03-29 | Visibility, Biz. Inc. | Systems and methods for generating a swimlane timeline for task data visualization |
-
2012
- 2012-10-19 WO PCT/CN2012/083188 patent/WO2014059655A1/en active Application Filing
- 2012-10-19 CN CN201280076779.4A patent/CN104769580B/en active Active
Patent Citations (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104769580A (en) | 2015-07-08 |
WO2014059655A1 (en) | 2014-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104769580B (en) | Terminal and method of attaching | |
CN104199897A (en) | Method and device for identifying and saving file to be downloaded and quickly searching for downloaded file through mobile terminal | |
CN102780804B (en) | Contact person grouping and head portrait setting method and device | |
CN106375535B (en) | Contact person information synchronization method and device | |
CN107450746A (en) | A kind of insertion method of emoticon, device and electronic equipment | |
CN103916513A (en) | Method and device for recording communication message at communication terminal | |
CN105956008A (en) | Picture management method and terminal | |
CN101533520A (en) | Portrait marking method and device | |
CN107765958A (en) | One kind replicates method of attaching and system and user terminal | |
CN105843600A (en) | Data editing method, apparatus and system | |
CN104994404A (en) | Method and device for obtaining keywords for video | |
CN106790039A (en) | The flow of task control method and system of kvm system | |
CN104915252B (en) | A kind of process port management means and method | |
CN111104194B (en) | Menu file display method and device, storage medium and electronic device | |
CN109461147B (en) | Pathological labeling method and device applied to FOV picture of mobile terminal | |
CN109933742A (en) | Content of pages rearranges a volume method and device in a kind of process | |
CN106843559A (en) | User instruction is recognized and processing method, device | |
CN108182172A (en) | The method and apparatus and computer storage media of a kind of information extraction | |
CN106371729A (en) | Method for performing filtering processing on picture | |
CN111145048A (en) | Method and device for making menu | |
CN114007221B (en) | Creation platform of 5G message facing enterprise | |
CN106612227A (en) | Method and device for displaying instant communication message | |
CN105302812A (en) | Image information processing method and apparatus | |
CN107423318A (en) | A kind of method and mobile terminal of picture mark | |
US20230037602A1 (en) | Information processing method and apparatus, node device, server and storage medium |
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 |