CN104516632B - Determine and touch the method and device that character scans for - Google Patents
Determine and touch the method and device that character scans for Download PDFInfo
- Publication number
- CN104516632B CN104516632B CN201410850372.3A CN201410850372A CN104516632B CN 104516632 B CN104516632 B CN 104516632B CN 201410850372 A CN201410850372 A CN 201410850372A CN 104516632 B CN104516632 B CN 104516632B
- Authority
- CN
- China
- Prior art keywords
- touch
- character
- mask
- viewing area
- interface
- 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
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000000712 assembly Effects 0.000 claims abstract description 12
- 238000000429 assembly Methods 0.000 claims abstract description 12
- 238000003058 natural language processing Methods 0.000 claims description 11
- 238000005516 engineering process Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 3
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method and device determining that touch character scans for, relate to search technique field, the present invention is by receiving user's touch control operation in described mask, and selects interface zone to be searched in described mask according to described touch control operation;The character set comprised in identifying described interface zone to be searched, and obtain the attribute of one or more user interface UI assemblies in described terminal current interface viewing area, matching relationship based on described character set Yu the attribute of described UI assembly determines touch character, and scan for according to described touch character, not only eliminate user in search box, input the process of key word loaded down with trivial detailsly, it is more convenient to make to search for, it is thus also avoided that touches the inaccurate problem of character, improves Consumer's Experience.
Description
Technical field
The present invention relates to search technique field, particularly to a kind of method and device determining that touch character scans for.
Background technology
Search service in terminal (such as: smart mobile phone), be all based on search box input, user need loaded down with trivial detailsly to
Search box inputs key word, by search engine, the Search Results relevant to key word could be showed in terminal demonstration interface
On, but the efficiency of this way of search is the lowest, and search experience is excessively poor.
Especially user is during using terminal, when the character on terminal demonstration interface is had instant search need
Time, need first to open search for application, after application program ejects in search box, input key word the most again, non-
Normal is the most convenient.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide one overcome the problems referred to above or at least in part solve on
State problem a kind of to determine and touch method and a kind of device determining that touch character scans for that character scans for.
According to one aspect of the present invention, it is provided that a kind of method determining that touch character scans for, described method bag
Include:
When user triggers interface touch-control searching request, generate in described terminal current interface viewing area and cover described end
The mask of end interface display region;
Receive user's touch control operation in described mask, and select to wait to search in described mask according to described touch control operation
Rope interface zone;
The character set comprised in identifying described interface zone to be searched, and obtain described terminal current interface viewing area
The attribute of interior one or more user interface UI assemblies, matching relationship based on described character set Yu the attribute of described UI assembly
Determine touch character, and scan for according to described touch character.
Alternatively, the attribute of described UI assembly includes: the content of text of UI assembly.
Alternatively, described matching relationship based on described character set Yu the attribute of described UI assembly determines touch character,
Farther include:
Travel through described UI assembly, the content of text of described character set with the UI assembly traversed compared, it is judged that
Whether described character set is the subclass of this UI assembly Chinese version content, the most then assert described character set and described UI
The match is successful for the content of text of assembly, and using described subclass as described touch character.
Alternatively, if having traveled through described UI assembly, described character set does not mates into the content of text of described UI assembly
Merit, then corrected described character set by natural language processing NLP technology, and carries out according to the character set after corrigendum
Search.
Alternatively, the described illiteracy generating the described terminal interface viewing area of covering in described terminal current interface viewing area
Plate, farther includes:
Terminal current interface viewing area is carried out screenshotss, to obtain the sectional drawing of described terminal current interface viewing area,
And using described sectional drawing as the mask covering described terminal interface viewing area;
Alternatively, described using described sectional drawing as cover described terminal interface viewing area mask, farther include:
Using described sectional drawing as the mask being in translucent covering described terminal interface viewing area.
Alternatively, described reception user's touch control operation in described mask, and according to described touch control operation in described illiteracy
Select interface zone to be searched on plate, farther include:
Detect based on touch track produced by user's touch control operation in described mask, in described mask display with
The corresponding interface zone to be searched of described touch track, the exhibition method of described interface zone to be searched is different from and described mask
On other regions.
Alternatively, the exhibition method of described interface zone to be searched is highlighted or the form of all-transparent is shown;
And/or,
Other regions in described mask are shown with gray scale, obfuscation or translucent form.
Alternatively, described scan for according to described touch character, farther include:
Remove described mask, push to described touch character be positioned in the search box of described terminal interface viewing area;
If user clicks on and is located at the first icon in described terminal interface viewing area, then carry out according to described touch character
Search.
Alternatively, before the character set comprised in the described interface zone to be searched of described identification, also include:
If user clicks on the second icon being located in described mask, then trigger in identifying described interface zone to be searched and comprise
Character set.
Alternatively, described scan for according to described touch character after, also include:
The search result items relevant to described touch character is shown in described terminal interface viewing area.
Alternatively, the described Search Results that displaying is relevant to described touch character in described terminal interface viewing area
, farther include:
The form combined with application card, textual entry and picture and text in described terminal interface viewing area is shown with described
Touch the search result items that character is relevant.
Alternatively, described character set includes: at least one in word and symbol.
According to another aspect of the present invention, it is provided that a kind of device determining that touch character scans for, described device
Including:
Mask maker, is suitable to when user triggers interface touch-control searching request, in described terminal current interface viewing area
Territory generates the mask covering described terminal interface viewing area;
Touch-control receptor, is suitable to receive user's touch control operation in described mask, and according to described touch control operation in institute
State and in mask, select interface zone to be searched;
Identify searcher, the character set comprised in being suitable to identify described interface zone to be searched, and obtain described terminal
The attribute of one or more user interface UI assemblies in current interface viewing area, based on described character set and described UI assembly
The matching relationship of attribute determine touch character, and scan for according to described touch character.
Alternatively, the attribute of described UI assembly includes: the content of text of UI assembly.
Alternatively, described identification searcher, it is further adapted for traveling through described UI assembly, by described character set and the UI traversed
The content of text of assembly compares, it is judged that whether described character set is the subclass of this UI assembly Chinese version content, if so,
The match is successful then to assert the content of text of described character set and described UI assembly, and using described subclass as described touch word
Symbol.
Alternatively, described identification searcher, if being further adapted for having traveled through described UI assembly, described character set and described UI group
The match is successful for the content of text of part, then corrected described character set by natural language processing NLP technology, and according to
Character set after corrigendum scans for.
Alternatively, described mask maker, it is further adapted for terminal current interface viewing area is carried out screenshotss, described to obtain
The sectional drawing of terminal current interface viewing area, and using described sectional drawing as the mask covering described terminal interface viewing area;
Alternatively, described mask maker, it is further adapted for described sectional drawing as the described terminal interface viewing area of covering
It is in the mask of translucent.
Alternatively, described touch-control receptor, it is further adapted for detecting and is produced based on user's touch control operation in described mask
Touch track, in described mask show to be searched interface zone corresponding with described touch track, described interface to be searched
The exhibition method in region is different from and other regions in described mask.
Alternatively, the exhibition method of described interface zone to be searched is highlighted or the form of all-transparent is shown;
And/or,
Other regions in described mask are shown with gray scale, obfuscation or translucent form.
Alternatively, described identification searcher, it is further adapted for removing described mask, pushes to described touch character to be positioned at described
In the search box of terminal interface viewing area;
When user clicks on and is located at the first icon in described terminal interface viewing area, described identification searcher, the suitableeest
In scanning for according to described touch character.
Alternatively, when user clicks on and is located at the second icon in described mask, described identification searcher, it is further adapted for triggering
The character set comprised in identifying described interface zone to be searched.
Alternatively, described device also includes: search display device, is suitable to show and institute in described terminal interface viewing area
State and touch the search result items that character is relevant.
Alternatively, described search display device, it is further adapted in described terminal interface viewing area applying card, word bar
The form that mesh and picture and text combine shows the search result items relevant to described touch character.
Alternatively, described character set includes: at least one in word and symbol.
The present invention is by receiving user's touch control operation in described mask, and according to described touch control operation in described mask
Upper selection interface zone to be searched;The character set comprised in identifying described interface zone to be searched, and obtain described terminal work as
The attribute of one or more user interface UI assemblies in front interface viewing area, based on described character set and described UI assembly
The matching relationship of attribute determines touch character, and scans for according to described touch character, not only eliminate user loaded down with trivial detailsly to
Search box inputs the process of key word so that it is more convenient to search for, it is thus also avoided that touch the inaccurate problem of character, improve
Consumer's Experience.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 is that a kind of of one embodiment of the invention determines the flow chart of steps touching the method that character scans for;
Fig. 2 is that a kind of of one embodiment of the invention determines the flow chart of steps touching the method that character scans for;
Fig. 3 is that a kind of of one embodiment of the invention determines the flow chart of steps touching the method that character scans for;
Fig. 4 is that a kind of of one embodiment of the invention determines the structured flowchart touching the device that character scans for;
Fig. 5 is that a kind of of one embodiment of the invention determines the structured flowchart touching the device that character scans for.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the detailed description of the invention of the present invention is described in further detail.Hereinafter implement
Example is used for illustrating the present invention, but is not limited to the scope of the present invention.
Fig. 1 is that a kind of of one embodiment of the invention determines the flow chart of steps touching the method that character scans for;Ginseng
According to Fig. 1, described method includes:
S101: when user triggers interface touch-control searching request, generates in described terminal current interface viewing area and covers
The mask of described terminal interface viewing area;
It should be noted that user can be accomplished in several ways triggering interface touch-control searching request, such as user is permissible
Trigger the search suspended window on screen, or trigger interface touch-control search by some shortcuts such as button or gesture please
Asking, this is not any limitation as by the embodiment of the present invention.
S102: receive user's touch control operation in described mask, and select in described mask according to described touch control operation
Select interface zone to be searched;
It will be appreciated that the touch control operation that user is in mask, such as user carry out Touch Screen by finger or induction pen
The touch point controlled, the mode of selection with the slip on screen such as finger/pointer or delineation etc., thus can be selected
Described interface zone to be searched etc..
S103: the character set comprised in identifying described interface zone to be searched, and it is aobvious to obtain described terminal current interface
The attribute of one or more user interface UI assemblies in showing region, attribute based on described character set and described UI assembly
The relation of joining determines touch character, and scans for according to described touch character.
The type of described character set includes but are not limited to: word and symbol.
It should be noted that when identifying in described interface zone to be searched the character set comprised, know and otherwise may be used
Multiple to have, the most commonly used is then identify described interface zone to be searched by OCR OCR in comprise
Character set, but the identification carrying out character set is very easy to mistake occur, affects Consumer's Experience, so, in the present embodiment,
By the attribute of one or more user interface UI assemblies in the described terminal current interface viewing area of acquisition, based on described character
Set determines touch character with the matching relationship of the attribute of described UI assembly, and scans for according to described touch character, thus
Improve the accuracy of identification.
It will be appreciated that in the present embodiment, the acquisition UI component property used for different systems is the most different,
For Android system, can directly be operated, also by the FileObserver service monitoring system screenshotss of Android system
UIautomater control can be used to obtain UI component property.Certainly, scope is also contemplated by other operating systems,
Utilizing the UI component property in other operating systems, this is not any limitation as by the present embodiment.
It will be appreciated that the touch control operation that step S102 receives may be for single, it is also possible to for repeatedly, work as touch control operation
For repeatedly, according to when repeatedly touch control operation selects interface zone to be searched in described mask, general processing mode be by
Repeatedly touch control operation in described mask is as an entirety, but in this selection mode can make described interface zone to be searched
Contain unnecessary character, and affect the precision of search, and in the present embodiment, receive the user's repeatedly touch-control in described mask
Operation, selects interface zone to be searched according to the registration between described repeatedly touch control operation in described mask, identifies described
The character set comprised in interface zone to be searched, scan for according to described touch character, it is to avoid described interface to be searched
Comprise unnecessary character in region, improve the precision of search.
It should be noted that select boundary to be searched in described mask according to the registration between described repeatedly touch control operation
During region, face, various ways can be used, and in the present embodiment, it is judged that the registration between two interface zones to be searched is the least
In coincidence threshold value, if being not less than, then these two interface zones to be searched are merged into an interface zone to be searched, otherwise should
Two interface zones to be searched, as two independent interface zones to be searched, further avoid described interface zone to be searched
Inside comprise unnecessary character, improve the precision of search.
Fig. 2 is that a kind of of one embodiment of the invention determines the flow chart of steps touching the method that character scans for;Ginseng
According to Fig. 2, described method includes:
S201: terminal current interface viewing area is carried out screenshotss, to obtain described terminal current interface viewing area
Sectional drawing, and using described sectional drawing as the mask covering described terminal interface viewing area;
It will be appreciated that first terminal current interface viewing area to be carried out screenshotss, then using sectional drawing as covering described terminal
The mask of interface display region, it is possible to make the application of terminal running background or program not impact, tie alternately in whole search
Original browser interface can be returned to again after bundle, and then improve Consumer's Experience to a certain extent.
Certainly, if only using described sectional drawing as the pure transparent mask covering described terminal interface viewing area, due to described
The content that mask is shown with described terminal interface viewing area is consistent, user may be allowed to be mistakenly considered terminal and do not produce response,
For avoiding the generation of this problem, in the present embodiment, described mask is set to translucent, it is possible to effectively point out user.
S202: detect based on touch track produced by user's touch control operation in described mask, in described mask
Showing to be searched interface zone corresponding with described touch track, the exhibition method of described interface zone to be searched is different from and institute
State other regions in mask;
During it should be noted that select interface zone to be searched in described mask, if described interface zone to be searched
Ways of presentation does not distinguishes with other regions in described mask, in user can be made to be difficult to determine described interface zone to be searched
Character set, for avoiding the occurrence of this problem, in the present embodiment, the ways of presentation of described interface zone to be searched is different from institute
State other regions in mask.
Certainly, for realizing the difference of ways of presentation, a variety of ways of presentation can be used, in the present embodiment, can treat described
The exhibition method in search interface region is highlighted or the form of all-transparent is shown, and other regions in described mask can still keep
Represent with translucent form, it is also possible to the form of gray scale or obfuscation represents, other regions in described mask are used
The form of gray scale represents, and the form that described interface zone to be searched uses all-transparent is represented, certainly, it is possible to adopt in other ways
Realizing the difference of ways of presentation, this is not any limitation as by the embodiment of the present invention.
So, step S202 is essentially a kind of preferred implementation of step S102 in the embodiment shown in Fig. 1.
S203: the character set comprised in identifying described interface zone to be searched, removes described mask, and obtains described end
In end current interface viewing area, the content of text of one or more user interface UI assemblies, travels through described UI assembly, by described
Character set compares with the content of text of the UI assembly traversed, it is judged that whether described character set is this UI assembly Chinese
The subclass of this content, the most then the match is successful, by described son to assert the content of text of described character set and described UI assembly
Described touch character, as touching character, is pushed to be positioned in the search box of described terminal interface viewing area by set;If using
Family is clicked on and is located at the first icon in described terminal interface viewing area, then scan for according to described touch character.
It should be noted that after determining touch character, need to push to be positioned at described terminal circle by described touch character
In the search box of viewing area, face, if still retaining described mask, user is difficult to see that the touch in pushed to described search box
Character, so needing to remove described mask.
It will be appreciated that owing to mistake, this reality the most likely occurs in the content of text of the character set identified and UI assembly
Execute in example, obtain the content of text of one or more user interface UI assemblies in described terminal current interface viewing area, traversal
Described UI assembly, compares the content of text of described character set with the UI assembly traversed, it is judged that described character set
Be whether the subclass of this UI assembly Chinese version content, the most then assert described character set with in the text of described UI assembly
The match is successful for appearance, using described subclass as touching character, improves accuracy rate.
If having traveled through described UI assembly, the match is successful for the content of text of described character set and described UI assembly, then may be used
It is interpreted as that the content of text of character set or UI assembly exists mistake, for solving this problem in the present embodiment, passes through natural language
Process NLP technology described character set is corrected, and scan for according to the character set after corrigendum.
So, step S203 is essentially a kind of preferred implementation of step S103 in the embodiment shown in Fig. 1.
It will be appreciated that owing to described touch character to push to be positioned at the search box of described terminal interface viewing area
In, need first to eject in described terminal interface viewing area search box.
For ease of user after described touch character is confirmed, then scan for, so, search in user's clicking trigger
After first icon of rope, then realize scanning for according to described touch character.
It should be noted that for be avoided as much as identifying unnecessary character, in the present embodiment, use in described mask
On choose the minimum rectangle frame at each interface zone place to be searched, the first character set comprised in identifying described minimum rectangle frame
The mode closed.
During the character set comprised in identifying described rectangle frame, can first determine the border of described rectangle frame, then determine described
Upper and lower four coordinate points in left and right of rectangle frame, finally identify by the character comprised in rectangle frame determined by described four coordinate points
Set.
Fig. 3 is that a kind of of one embodiment of the invention determines the flow chart of steps touching the method that character scans for;Ginseng
According to Fig. 3, described method includes:
S301: when user triggers interface touch-control searching request, generates in described terminal current interface viewing area and covers
The mask of described terminal interface viewing area;
S302: receive user's touch control operation in described mask, and select in described mask according to described touch control operation
Select interface zone to be searched;
S303: the character set comprised in identifying described interface zone to be searched, and it is aobvious to obtain described terminal current interface
The attribute of one or more user interface UI assemblies in showing region, attribute based on described character set and described UI assembly
The relation of joining determines touch character, and scans for according to described touch character;
It should be noted that owing to S101~S103 of the embodiment shown in step S301~S303 with Fig. 1 is essentially identical,
So not repeating them here.
S304: show the search result items relevant to described touch character in described terminal interface viewing area.
It is shown it should be noted that described search result items can take various forms, in the present embodiment, at described end
The form combined with application card, textual entry and picture and text in end interface display region is shown and described relevant the searching of touch character
Rope result items, certainly, it is possible to using other form modes to be shown, this is not any limitation as by the embodiment of the present invention.
It will be appreciated that confirm for ease of making user treat search interface region, then identify described interface to be searched
The character set comprised in region, alternatively, on the basis of the embodiment shown in Fig. 1,2,3, described identification is described to be searched
Before the character set comprised in interface zone, also include: if user clicks on the second icon being located in described mask, then trigger
The character set comprised in identifying described interface zone to be searched.
Certainly, other icon also can be set in described mask, such as, be used for reselecting described boundary zone to be searched
The recoating icon in territory, for the return icon etc. that exits, can increase as required, this is not limited by the embodiment of the present invention
System.
It will be appreciated that the executive agent of the method for the embodiment shown in Fig. 1,2,3 is terminal, described terminal can be band
Having the equipment such as the desktop computer of touch screen, notebook, mobile phone, panel computer, this is not any limitation as by the embodiment of the present invention.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but this area
Technical staff should know, the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention
Example, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know, description
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Fig. 4 is the structural frames of a kind of device scanned for based on terminal interface touch control operation of one embodiment of the invention
Figure;With reference to Fig. 4, described device includes:
Mask maker 401, is suitable to, when user triggers interface touch-control searching request, show in described terminal current interface
Area generation covers the mask of described terminal interface viewing area;
Touch-control receptor 402, is suitable to receive user's touch control operation in described mask, and exists according to described touch control operation
Interface zone to be searched is selected in described mask;
Identify searcher 403, the character set comprised in being suitable to identify described interface zone to be searched, and obtain described end
The attribute of one or more user interface UI assemblies in end current interface viewing area, based on described character set and described UI group
The matching relationship of the attribute of part determines touch character, and scans for according to described touch character.
In a kind of alternative embodiment of the present invention, the attribute of described UI assembly includes: the content of text of UI assembly.
In a kind of alternative embodiment of the present invention, described identification searcher, it is further adapted for traveling through described UI assembly, by described
Character set compares with the content of text of the UI assembly traversed, it is judged that whether described character set is this UI assembly Chinese
The subclass of this content, the most then the match is successful to assert the content of text of described character set and described UI assembly, and by described
Subclass is as described touch character.
In a kind of alternative embodiment of the present invention, described identification searcher, if being further adapted for having traveled through described UI assembly, institute
The match is successful, then by natural language processing NLP technology to described word to state the content of text of character set and described UI assembly
Symbol set is corrected, and scans for according to the character set after corrigendum.
In a kind of alternative embodiment of the present invention, described mask maker, it is further adapted for terminal current interface viewing area
Territory carries out screenshotss, to obtain the sectional drawing of described terminal current interface viewing area, and using described sectional drawing as covering described terminal
The mask of interface display region;
In a kind of alternative embodiment of the present invention, described mask maker, it is further adapted for described sectional drawing as covering institute
State the mask being in translucent of terminal interface viewing area.
In a kind of alternative embodiment of the present invention, described touch-control receptor, it is further adapted for detection based on user in described illiteracy
Touch track produced by touch control operation on plate, shows to be searched interface corresponding with described touch track in described mask
Region, the exhibition method of described interface zone to be searched is different from and other regions in described mask.
In a kind of alternative embodiment of the present invention, the exhibition method of described interface zone to be searched is highlighted or all-transparent
Form show;
And/or,
Other regions in described mask are shown with gray scale, obfuscation or translucent form.
In a kind of alternative embodiment of the present invention, described identification searcher, it is further adapted for removing described mask, touches described
Touch character to push to be positioned in the search box of described terminal interface viewing area;
When user clicks on and is located at the first icon in described terminal interface viewing area, described identification searcher, the suitableeest
In scanning for according to described touch character.
In a kind of alternative embodiment of the present invention, when user clicks on and is located at the second icon in described mask, described
Identify searcher, the character set comprised in being further adapted for triggering the described interface zone to be searched of identification.
Fig. 5 is the structural frames of a kind of device scanned for based on terminal interface touch control operation of one embodiment of the invention
Figure;With reference to Fig. 5, described device includes:
Mask maker 501, is suitable to, when user triggers interface touch-control searching request, show in described terminal current interface
Area generation covers the mask of described terminal interface viewing area;
Touch-control receptor 502, is suitable to receive user's touch control operation in described mask, and exists according to described touch control operation
Interface zone to be searched is selected in described mask;
Identify searcher 503, the character set comprised in being suitable to identify described interface zone to be searched, and obtain described end
The attribute of one or more user interface UI assemblies in end current interface viewing area, based on described character set and described UI group
The matching relationship of the attribute of part determines touch character, and scans for according to described touch character.
Search display device 504, is suitable to show and described relevant the searching of touch character in described terminal interface viewing area
Rope result items.
In a kind of alternative embodiment of the present invention, described search display device, it is further adapted in described terminal interface viewing area
The form combined with application card, textual entry and picture and text in territory shows the search result items relevant to described touch character.
In a kind of alternative embodiment of the present invention, described character set includes: at least one in word and symbol.
For system embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant
Part sees the part of embodiment of the method and illustrates.
It should be noted that, in all parts of the system of the present invention, the function to be realized according to it and to therein
Parts have carried out logical partitioning, but, the present invention is not only restricted to this, can as required all parts be repartitioned or
Person combines, for example, it is possible to be single parts by some unit constructions, or can be further broken into more by some parts
Subassembly.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice
Microprocessor or digital signal processor (DSP) realize the some or all portions in system according to embodiments of the present invention
The some or all functions of part.The present invention is also implemented as the part for performing method as described herein or complete
The equipment in portion or device program (such as, computer program and computer program).Such program realizing the present invention
Can store on a computer-readable medium, or can be to have the form of one or more signal.Such signal is permissible
Download from internet website and obtain, or provide on carrier signal, or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not
Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such
Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer
Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch
Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame
Claim.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, common about technical field
Technical staff, without departing from the spirit and scope of the present invention, it is also possible to make a variety of changes and modification, therefore own
The technical scheme of equivalent falls within scope of the invention, and the scope of patent protection of the present invention should be defined by the claims.
Claims (22)
1. one kind determines based on UI component property and to touch the method that scans for of character, it is characterised in that described method includes:
When user triggers interface touch-control searching request, generate the described terminal interface of covering in terminal current interface viewing area and show
Show the mask in region;
Receive user's touch control operation in described mask, and in described mask, select boundary to be searched according to described touch control operation
Region, face;
The character set comprised in identifying described interface zone to be searched, and obtain in described terminal current interface viewing area one
Individual or the attribute of multiple user interface UI assembly, matching relationship based on described character set with the attribute of described UI assembly determines
Touch character, and scan for according to described touch character;
Wherein, the attribute of described UI assembly includes: the content of text of UI assembly;
The described mask generating the described terminal interface viewing area of covering in terminal current interface viewing area, farther includes:
Terminal current interface viewing area is carried out screenshotss, to obtain the sectional drawing of described terminal current interface viewing area, and will
Described sectional drawing is as the mask covering described terminal interface viewing area.
2. the method for claim 1, it is characterised in that described attribute based on described character set Yu described UI assembly
Matching relationship determine touch character, farther include:
Travel through described UI assembly, the content of text of described character set with the UI assembly traversed is compared, it is judged that described
Whether character set is the subclass of this UI assembly Chinese version content, the most then assert described character set and described UI assembly
Content of text the match is successful, and using described subclass as described touch character.
3. method as claimed in claim 2, it is characterised in that if having traveled through described UI assembly, described character set is with described
The match is successful for the content of text of UI assembly, then corrected described character set by natural language processing NLP technology, and
Scan for according to the character set after corrigendum.
4. the method as according to any one of claim 1-3, it is characterised in that described using described sectional drawing as cover described end
The mask of end interface display region, farther includes:
Using described sectional drawing as the mask being in translucent covering described terminal interface viewing area.
5. method as claimed in claim 4, it is characterised in that described reception user touch control operation in described mask, and
In described mask, select interface zone to be searched according to described touch control operation, farther include:
Detecting based on touch track produced by user's touch control operation in described mask, in described mask, display is with described
The corresponding interface zone to be searched of touch track, the exhibition method of described interface zone to be searched be different from described mask its
His region.
6. method as claimed in claim 5, it is characterised in that the exhibition method of described interface zone to be searched is highlighted or complete
Transparent form is shown;
And/or,
Other regions in described mask are shown with gray scale, obfuscation or translucent form.
7. the method as according to any one of claim 1-3, it is characterised in that described search according to described touch character
Rope, farther includes:
Remove described mask, push to described touch character be positioned in the search box of described terminal interface viewing area;
If user clicks on and is located at the first icon in described terminal interface viewing area, then search according to described touch character
Rope.
8. method as claimed in claim 7, it is characterised in that the character comprised in the described interface zone to be searched of described identification
Before set, also include:
If user clicks on the second icon being located in described mask, then trigger the word comprised in identifying described interface zone to be searched
Symbol set.
9. the method as according to any one of claim 1-3, it is characterised in that described scan for according to described touch character
Afterwards, also include:
The search result items relevant to described touch character is shown in described terminal interface viewing area.
10. method as claimed in claim 9, it is characterised in that described displaying and institute in described terminal interface viewing area
State and touch the search result items that character is relevant, farther include:
The form combined with application card, textual entry and picture and text in described terminal interface viewing area is shown and described touch
The search result items that character is relevant.
11. methods as according to any one of claim 1-3, it is characterised in that described character set includes: word and symbol
In at least one.
12. 1 kinds determine based on UI component property and to touch the device that scans for of character, it is characterised in that described device includes:
Mask maker, is suitable to when user triggers interface touch-control searching request, generates in terminal current interface viewing area and covers
Cover the mask of described terminal interface viewing area;
Touch-control receptor, is suitable to receive user's touch control operation in described mask, and according to described touch control operation in described illiteracy
Interface zone to be searched is selected on plate;
Identify searcher, the character set comprised in being suitable to identify described interface zone to be searched, and it is current to obtain described terminal
The attribute of one or more user interface UI assemblies in interface display region, genus based on described character set Yu described UI assembly
The matching relationship of property determines touch character, and scans for according to described touch character;
Wherein, the attribute of described UI assembly includes: the content of text of UI assembly;
Described mask maker, is further adapted for terminal current interface viewing area is carried out screenshotss, works as prezone obtaining described terminal
The sectional drawing of viewing area, face, and using described sectional drawing as the mask covering described terminal interface viewing area.
13. devices as claimed in claim 12, it is characterised in that described identification searcher, are further adapted for traveling through described UI assembly,
The content of text of described character set with the UI assembly traversed is compared, it is judged that whether described character set is this UI group
The subclass of part Chinese version content, the most then the match is successful to assert the content of text of described character set and described UI assembly, and
Using described subclass as described touch character.
14. devices as claimed in claim 13, it is characterised in that described identification searcher, if being further adapted for having traveled through described UI
The match is successful for the content of text of assembly, described character set and described UI assembly, then by natural language processing NLP technology pair
Described character set is corrected, and scans for according to the character set after corrigendum.
15. devices as according to any one of claim 12-14, it is characterised in that described mask maker, are further adapted for institute
State sectional drawing as the mask being in translucent covering described terminal interface viewing area.
16. devices as claimed in claim 15, it is characterised in that described touch-control receptor, are further adapted for detection and exist based on user
Touch track produced by touch control operation in described mask, in described mask, display is corresponding with described touch track waits to search
Rope interface zone, the exhibition method of described interface zone to be searched is different from other regions in described mask.
17. devices as claimed in claim 16, it is characterised in that the exhibition method of described interface zone to be searched be highlighted or
The form of all-transparent is shown;
And/or,
Other regions in described mask are shown with gray scale, obfuscation or translucent form.
18. devices as according to any one of claim 12-14, it is characterised in that described identification searcher, are further adapted for removing
Described mask, pushes to described touch character be positioned in the search box of described terminal interface viewing area;
When user clicks on and is located at the first icon in described terminal interface viewing area, described identification searcher, it is further adapted for root
Scan for according to described touch character.
19. devices as claimed in claim 18, it is characterised in that when user clicks on the second icon being located in described mask
Time, described identification searcher, the character set comprised in being further adapted for triggering the described interface zone to be searched of identification.
20. devices as according to any one of claim 12-14, it is characterised in that described device also includes: search is shown
Device, is suitable to show the search result items relevant to described touch character in described terminal interface viewing area.
21. devices as claimed in claim 20, it is characterised in that described search display device, are further adapted at described terminal interface
The form combined with application card, textual entry and picture and text in viewing area shows the Search Results relevant to described touch character
?.
22. devices as according to any one of claim 12-14, it is characterised in that described character set includes: word and symbol
At least one in number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410850372.3A CN104516632B (en) | 2014-12-30 | 2014-12-30 | Determine and touch the method and device that character scans for |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410850372.3A CN104516632B (en) | 2014-12-30 | 2014-12-30 | Determine and touch the method and device that character scans for |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104516632A CN104516632A (en) | 2015-04-15 |
CN104516632B true CN104516632B (en) | 2016-11-30 |
Family
ID=52792028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410850372.3A Active CN104516632B (en) | 2014-12-30 | 2014-12-30 | Determine and touch the method and device that character scans for |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104516632B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105868385B (en) * | 2014-12-12 | 2020-02-07 | 北京奇虎科技有限公司 | Method and system for searching based on terminal interface touch operation |
CN105426097B (en) * | 2015-10-30 | 2020-07-31 | 深圳市名思展示设计工程有限公司 | Real-time split screen size adjusting method and split screen device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9286390B2 (en) * | 2011-12-30 | 2016-03-15 | Microsoft Technology Licensing, Llc | Presentation of rich search results in delineated areas |
CN103064922A (en) * | 2012-12-21 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method for starting web searching in mobile phone |
CN103294363B (en) * | 2013-05-20 | 2016-08-03 | 华为技术有限公司 | A kind of searching method and terminal |
CN104778194A (en) * | 2014-12-26 | 2015-07-15 | 北京奇虎科技有限公司 | Search method and device based on touch operation |
-
2014
- 2014-12-30 CN CN201410850372.3A patent/CN104516632B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104516632A (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104462437B (en) | The method and system of search are identified based on the multiple touch control operation of terminal interface | |
CN104536995B (en) | The method and system of searching for based on terminal interface touch control operation | |
CN105786930B (en) | Based on the searching method and device for touching interaction | |
CN106293365B (en) | A kind of method and device obtaining content of pages | |
CN106484266A (en) | A kind of text handling method and device | |
US20150121291A1 (en) | Input Method Editor | |
US20140195926A1 (en) | Systems and methods for enabling access to one or more applications on a device | |
CN104537051B (en) | Terminal and searching method based on touch operation | |
US20150212586A1 (en) | Chinese character entry via a pinyin input method | |
CN102750003B (en) | The method and apparatus of text input | |
US20120086638A1 (en) | Multi-area handwriting input system and method thereof | |
CN104778194A (en) | Search method and device based on touch operation | |
CN105700727B (en) | With the exchange method and information processing system of hyaline layer application layer below | |
CN113194024B (en) | Information display method and device and electronic equipment | |
CN105930488A (en) | Information search processing method and apparatus | |
KR20150023151A (en) | Electronic device and method for executing application thereof | |
CN104503679B (en) | Searching method and searching device based on terminal interface touch operation | |
CN103500158A (en) | Method and device for annotating electronic document | |
CN104516632B (en) | Determine and touch the method and device that character scans for | |
CN112929494B (en) | Information processing method, information processing apparatus, information processing medium, and electronic device | |
US9317145B2 (en) | Information processing apparatus, information processing method, and computer readable medium | |
CN105589570A (en) | Input error processing method and apparatus | |
CN109948578A (en) | Control method, control device and electronic equipment | |
JP2012059100A (en) | Local correspondence extraction device and local correspondence extraction method | |
US11216691B2 (en) | Input method and system for electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220718 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |