CN105068992B - A kind of search result display methods and device - Google Patents

A kind of search result display methods and device Download PDF

Info

Publication number
CN105068992B
CN105068992B CN201510461072.0A CN201510461072A CN105068992B CN 105068992 B CN105068992 B CN 105068992B CN 201510461072 A CN201510461072 A CN 201510461072A CN 105068992 B CN105068992 B CN 105068992B
Authority
CN
China
Prior art keywords
character
adjacent
preset
search result
entirety
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510461072.0A
Other languages
Chinese (zh)
Other versions
CN105068992A (en
Inventor
唐伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510461072.0A priority Critical patent/CN105068992B/en
Publication of CN105068992A publication Critical patent/CN105068992A/en
Application granted granted Critical
Publication of CN105068992B publication Critical patent/CN105068992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of search result display methods and device, a kind of search result display methods, comprising: receive the character of user's input and the character is scanned for;Judge whether at least one adjacent character of the character and the character is a preset entirety according to pre-defined rule in search result;If at least one adjacent character of the character and the character is one preset whole, the corresponding character of the entirety is displayed on the display interface.To be shown simultaneously by will belong to preset at least one whole adjacent character with searching character in the display interface, the meaning for maintaining shown search result is complete.

Description

A kind of search result display methods and device
Technical field
The present invention relates to computer fields, and in particular to a kind of search result display methods and device.
Background technique
With the development of science and technology, the mobile terminals such as mobile phone, tablet computer are more more and more universal in our life, meanwhile, In order to meet the use demand of user, mobile terminal is supplied to our more and more application functions, and function of search is to move at present Dynamic terminal is supplied to one very universal application function of user.
Currently, since the screen size of general mobile terminal has limitation, the search that user utilizes mobile terminal to provide When function is scanned for and shown to search result, it will also be subject to certain restrictions and lead to not complete search knot Fruit shown, search application can only selected part text shown.For example, being searched for when searching for " conjunction " word on mobile phone The text arrived should are as follows: " photosynthesis of plant is very faint, it is often necessary to which man-made irrigation could humidification." still, by It is limited in by screen size, search result is shown as that " it is very faint that .. cooperates use, frequent .. ", and this will by search application selection Cause the meaning of search result imperfect.
Therefore, it is necessary to one kind when screen shows limitation, be able to maintain the complete display methods of the search result meaning.
Summary of the invention
The embodiment of the invention provides a kind of search result display methods and devices, to when screen shows limitation It waits, is able to maintain the complete of the search result meaning.
First aspect of the embodiment of the present invention provides a kind of search result display methods, comprising:
It receives the character of user's input and the character is scanned for;
In search result according to pre-defined rule judge the character and the character at least one adjacent character whether For a preset entirety;
It is if at least one adjacent character of the character and the character is one preset whole, the entirety is right The character answered is displayed on the display interface.
Second aspect of the embodiment of the present invention provides a kind of search result display device, comprising:
Receiving module, for receiving the character of user's input and being scanned for the character;
Judgment module, in search result according to pre-defined rule judge the character and the character it is adjacent at least Whether one character is a preset entirety;
Display module, if being a preset entirety at least one adjacent character of the character and the character When, the corresponding character of the entirety is displayed on the display interface.
As can be seen that receiving the character of user's input and to the word in technical solution provided in an embodiment of the present invention Symbol scans for;Judge that at least one adjacent character is the character with the character according to pre-defined rule in search result No is a preset entirety;If at least one adjacent character of the character and the character is one preset whole, The corresponding character of the entirety is displayed on the display interface.To by the way that one will be belonged to searching character in the display interface Preset at least one whole adjacent character shows that the meaning for maintaining shown search result is complete simultaneously.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of search result display methods provided in an embodiment of the present invention;
Fig. 2 is the flow diagram that another search result provided in an embodiment of the present invention is shown;
Fig. 3 is a kind of structural schematic diagram of search result display device provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another search result display device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another search result display device provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of search result display methods and devices, to when screen shows limitation It waits, is able to maintain the complete of the search result meaning.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " and " third " etc. are For distinguishing different objects, not for description particular order.In addition, term " includes " and their any deformations, it is intended that Non-exclusive include in covering.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising For the intrinsic other step or units of these process, methods, product or equipment.
A kind of search result display methods of the embodiment of the present invention, a kind of search result display methods include: to receive user The character of input simultaneously scans for the character;The character and the character are judged according to pre-defined rule in search result At least one adjacent character whether be a preset entirety;If at least one adjacent character of the character and the character For one it is preset whole when, the corresponding character of the entirety is displayed on the display interface.
Show referring first to the process that Fig. 1, Fig. 1 are a kind of search result display methods that one embodiment of the present of invention provides It is intended to.Wherein, as shown in Figure 1, a kind of search result display methods that one embodiment of the present of invention provides may include:
S101, the character for receiving user's input simultaneously scan for the character.
Wherein, character refers at least one character that user inputs when mobile terminal scans for, under normal circumstances for One Chinese character or phrase, or punctuation mark etc.;It is relevant to the content that user needs to search for that the character searched for is Character.
Wherein, terminal can be the terminals having a display function such as mobile phone, tablet computer, and have the information processing function, For example, search application can be installed at the terminal to scan for the character of user's input.
For example, in some possible embodiments of the invention, when the desired inquiry of user is related to photosynthesis Content when, can terminal searching application provide searched page in input " photosynthetic ", thus terminal can to " photosynthetic " into Row search.
Again for example, in some possible embodiments of the invention, when to want inquiry related with " conjunction " word by user Information when, then can input " conjunction " in the searched page that terminal searching application provides, terminal again scan for " conjunction " word.
S102, at least one the adjacent character for judging the character Yu the character according to pre-defined rule in search result It whether is a preset entirety.
Wherein, search result is the result that terminal receives the character of user's input and obtains after scanning for character.
Wherein, preset entirety refer to preset for and meanwhile display character it is whole, the combination phrase that can be or The whole sentence of person can also be the phrase or combination of sentences for including punctuation mark, and such as " photosynthesis of plant is very faint, often Need man-made irrigation ability humidification " etc..
Optionally, in some possible embodiments of the invention, at least one adjacent character can with the character Think at least one character for being located at the character before adjacent with the character.
Optionally, in other possible embodiments of the invention, at least one adjacent character with the character Or at least one character for being located at the character after adjacent with the character.
Optionally, in some possible embodiments of the invention, at least one adjacent character is also with the character Can be while comprising at least one character positioned at the character before and after adjacent with the character.
For example, in some possible embodiments of the invention, when the searching character of user's input is " conjunction " word When, if search result is " photosynthesis of plant is very faint, it is often necessary to man-made irrigation ability humidification ", it can be determined that Whether at least one character of adjacent front and back " ... light " and " making ... " are a preset entirety with " conjunction ".
It, will be described if at least one adjacent character of S103, the character and the character is one preset whole Whole corresponding character is displayed on the display interface.
Wherein, display interface is in terminal for showing the interface of search result.
Optionally, in some possible embodiments of the invention, if the character and the character it is adjacent at least When one character is one preset whole, the corresponding character of the entirety can be only shown.
Optionally, in other possible embodiments of the invention, if the character and the character adjacent to When a character is one preset whole less, it can show outside the whole corresponding character, then show others and search As a result relevant character.
For example, in some possible embodiments of the invention, when user on mobile phone with Baidu search application When being scanned for " conjunction " word, if search result is that " photosynthesis of plant is very faint, it is often necessary to which man-made irrigation could increase Pretend use ", it will be understood that " photosynthesis " is a common phrase, then may determine that the phase with searching character " conjunction " word At least one adjacent character " photosynthesis ", then, will for the integrality for keeping search result to look like as a preset entirety " photosynthesis " is shown as a preset entirety, then " photosynthesis " is at least shown in the display interface, At the same time it can also showing other characters in search result, such as the result finally shown can be the whole of search result A sentence.
As can be seen that receiving the character of user's input in the scheme of the present embodiment and being scanned for the character;It is searching Judge whether at least one adjacent character is one preset to the character with the character according to pre-defined rule in hitch fruit It is whole;It, will be described whole corresponding if at least one adjacent character of the character and the character is one preset whole Character be displayed on the display interface.To by the way that in the display interface a preset whole phase will be belonged to searching character At least one adjacent character shows that the meaning for maintaining shown search result is complete simultaneously.
Optionally, in some possible embodiments of the invention, described to sentence in search result according to pre-defined rule Whether at least one the adjacent character of the character and the character of breaking is a preset entirety, comprising:
Whether at least one the adjacent character for judging the character and the character is a predetermined phrase;
If at least one adjacent character of the character and the character is a predetermined phrase, by the character with At least one adjacent character of the character is determined as one preset entirety.
It is appreciated that the character for belonging to a predetermined phrase as a preset entirety while being shown, thus The meaning of search result will not be cut off, maintain the integrality of the search result meaning.
Optionally, in some possible embodiments of the invention, the predetermined phrase is that terminal prestores in dictionary Phrase.
Optionally, in other possible embodiments of the invention, the predetermined phrase is what user was commonly used Phrase.
Optionally, in some possible embodiments of the invention, the predetermined phrase can also be to look into from network The frequency of use ask is greater than the phrase of certain numerical value.
It is appreciated that when default phrase is that terminal prestores phrase in dictionary, the phrase that user is commonly used or from net The phrase that the frequency of use inquired in network is greater than certain numerical value can guarantee phrase for the complete phrase that looks like, to protect Demonstrate,prove the integrality of search result.
For example, in some possible embodiments of the invention, when user on mobile phone with Baidu to " work " word When scanning for, if search result is that " data mining needs artificial intelligence, database, machine language and statistical analysis knowledge etc. Many knowledge interdisciplinary ", if " artificial intelligence " is that terminal prestores phrase, when showing result on mobile phone interface " artificial intelligence " must be shown as a preset entirety, such as " data mining needs artificial intelligence, database ... ", and It cannot be " data mining needs artificial ... ", such mode just divides " artificial intelligence ", is not able to maintain shown result The meaning is complete.
Optionally, in some possible embodiments of the invention, described to sentence in search result according to pre-defined rule Whether at least one the adjacent character of the character and the character of breaking is a preset entirety, comprising:
Whether at least one the adjacent character for judging the character and the character includes at least two predetermined symbols;
It, will be adjacent if at least one adjacent character of the character and the character includes at least two predetermined symbols Two predetermined symbols between character be determined as one preset entirety.
Optionally, in some possible embodiments of the invention, judge the character and the character adjacent to When whether a few character includes at least two predetermined symbols, when detecting a predetermined symbol on the right side of the character, Again to going to have detected whether predetermined symbol on the left of the character, until detecting next predetermined symbol, then will be adjacent default Character between symbol is determined as a preset entirety.
Optionally, in some possible embodiments of the invention, the predetermined symbol is punctuation mark.
It is appreciated that in general, the character between the same sentence is the complete character that looks like, so by true Character between fixed adjacent predetermined symbol is a preset entirety, can guarantee that the meaning of the words and phrases shown is complete.
Optionally, in some possible embodiments of the invention, the predetermined symbol may be that other can lead to Cross the symbol that terminal is shown.
For example, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, when For user when using Baidu search " conjunction " word on mobile phone, search result is " it is known that the photosynthesis of plant is very faint, to pass through Often need man-made irrigation could humidification." to judge that at least one adjacent character of searched for word " conjunction " word includes two One of a comma is preset generally " photosynthesis of plant is very faint ", then showing search result on mobile phone interface When, the entirety must at least be shown, thus guarantee show result the meaning it is complete, and cannot be " ... photosynthesis Very ... ", in this way, shown search result then cannot completely express the meaning.
Optionally, in some possible embodiments of the invention, described to sentence in search result according to pre-defined rule Whether at least one the adjacent character of the character and the character of breaking is a preset entirety, comprising:
Judge whether the character at least one character adjacent from the character includes at least two different default symbols Number;
If the character at least one character adjacent from the character includes at least two different predetermined symbols, Character between two different predetermined symbols at both ends is determined as one preset entirety.
Optionally, in some possible embodiments of the invention, when judging that the character is adjacent with the character When whether at least one character includes at least two different predetermined symbols, when detected on the right side of the character one it is default When symbol, then to going to have detected whether predetermined symbol on the left of the character, until detecting next different predetermined symbol, And so on, when detecting at least two different predetermined symbols altogether, then by the character between the predetermined symbol of both ends It is determined as a preset entirety.
It is appreciated that due to the diversity of predetermined symbol, sometimes in the sentence between two same predetermined symbols It is still imperfect, at this time by the character between two different predetermined symbols of selection, then can allow determined by character it is whole It looks like more complete.For example " data mining needs artificial intelligence, database, machine language and statistical analysis knowledge for sentence Deng many knowledge interdisciplinary.", if searching character is " according to ", at this time if selecting the character between two pause marks It looks like for " database " words and phrases entire for expression sufficiently complete, is carried out but if adding another different symbol fullstop When judgement, then entire sentence can be shown, to keep the selected whole meaning more complete.
For example, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, using When using Baidu search " conjunction " word on mobile phone, search result is " it is known that the photosynthesis of plant is very faint, often at family Need man-made irrigation could humidification.If " to will as the result is shown it is more complete, be preferably exactly by whole word show Out, when including two different symbols when a little, in the front and back adjacent character by judging character " conjunction " word, it can be seen that need It could include two different predetermined symbols, i.e. comma and fullstop that sentence, which is extended fullstop to the end, so can incite somebody to action at this time " photosynthesis of plant is very faint, it is often necessary to man-made irrigation ability humidification " is shown as a preset entirety Show, shows that the meaning of result will be more complete in this way.
Optionally, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, work as institute In the result searched including branch etc. when punctuation marks, at least one adjacent character of the character Yu the character need to be judged It whether include three different predetermined symbols, when detecting a predetermined symbol on the right side of the character, then to the word It goes to have detected whether predetermined symbol on the left of symbol, until detecting next different predetermined symbol, and so on, until altogether There are three detecting when different predetermined symbols, then the character between the predetermined symbol of both ends is determined as a preset entirety.
It is appreciated that branch and comma are closely, at this time sometimes when in search result including the punctuation marks such as branch If only judge the character between two predetermined symbols for one it is preset whole, if two predetermined symbols selected just for Branch and comma closely, it is likely that other characters that can express the sentence meaning can not be determined, so this When may be selected comprising the character in more than two different predetermined symbols to be a preset entirety, keep the meaning more complete.
Again for example, in other possible embodiments of the invention, when user uses Baidu search on mobile phone When " band ", search result be " ... propose, build the Belt and Road, facilitate related various countries by cooperatively facilitating common security." At this time, it may be necessary to detect the adjacent at least character of searched for character " band " word include three predetermined symbols, it may be assumed that colon, comma and When fullstop, so as to which " construction the Belt and Road, facilitate related various countries by cooperatively facilitating common security " is treated as one Preset entirety is shown to user as a result.And at this point, if only judging at least one adjacent character packet of character " band " word When containing two different predetermined symbols, then when judging the character between the predetermined symbol at both ends for a preset entirety, obtain It as a result will be " construction the Belt and Road ", the meaning of expression is sufficiently complete.
For the ease of being best understood from and implementing the above scheme of the embodiment of the present invention, below with reference to some specific applied fields Scape is illustrated.
Refer to Fig. 2, Fig. 2 be another embodiment of the present invention provides the process signal that shows of another search result Figure, wherein as shown in Fig. 2, another embodiment of the present invention provides another search result display methods may include:
S201, the character for receiving user's input simultaneously scan for the character.
Wherein, character refers at least one character that user inputs when mobile terminal scans for, under normal circumstances for One Chinese character or phrase, or punctuation mark etc.;It is relevant to the content that user needs to search for that the character searched for is Character.
Wherein, terminal can be the terminals having a display function such as mobile phone, tablet computer, and have the information processing function, For example, search application can be installed at the terminal to scan for the character of user's input.
For example, in some possible embodiments of the invention, when the desired inquiry of user is related to photosynthesis Content when, can terminal searching application provide searched page in input " photosynthetic ", thus terminal can to " photosynthetic " into Row search.
Again for example, in some possible embodiments of the invention, when to want inquiry related with " conjunction " word by user Information when, then can input " conjunction " in the searched page that terminal searching application provides, terminal again scan for " conjunction " word.
S202, in search result according to pre-defined rule judge the character and the character at least one adjacent character whether Include at least two predetermined symbols.
Wherein, search result is the result that terminal receives the character of user's input and obtains after scanning for character.
Wherein, preset entirety refer to preset for and meanwhile display character it is whole, the combination phrase that can be or The whole sentence of person can also be the phrase or combination of sentences for including punctuation mark, and such as " photosynthesis of plant is very faint, often Need man-made irrigation ability humidification " etc..Optionally, in some possible embodiments of the invention, with the character At least one adjacent character can be adjacent with the character at least one character being located at before the character.
Optionally, in other possible embodiments of the invention, at least one adjacent character with the character Or at least one character for being located at the character after adjacent with the character.
Optionally, in some possible embodiments of the invention, at least one adjacent character is also with the character Can for simultaneously comprising it is adjacent with the character be located at the character before after at least one character.
Optionally, in some possible embodiments of the invention, the predetermined symbol is punctuation mark.
Optionally, in some possible embodiments of the invention, the predetermined symbol may be that other can lead to Cross the symbol that mobile phone is shown.
Optionally, in some possible embodiments of the invention, judge the character and the character adjacent to When whether a few character includes at least two predetermined symbols, when detecting a predetermined symbol on the right side of the character, Again to going to have detected whether predetermined symbol on the left of the character, until detecting next predetermined symbol.
For example, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, when For user when using Baidu search " conjunction " word on mobile phone, search result is " it is known that the photosynthesis of plant is very faint, to pass through Often need man-made irrigation could humidification." thus when detecting a predetermined symbol comma on the right side of character " conjunction " word, then to Detection predetermined symbol is gone then to terminate on the left of character " conjunction " word when detecting predetermined symbol comma.
Optionally, in some possible embodiments of the invention, institute is judged according to pre-defined rule in search result State whether character at least one character adjacent from the character includes at least two different predetermined symbols.
Optionally, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, work as institute When in the result searched comprising punctuation marks such as branches, the character and institute need to be judged according to pre-defined rule in search result Whether at least one the adjacent character for stating character includes three different predetermined symbols, when detecting one on the right side of the character It is when a predetermined symbol, then next different pre- until detecting to going to have detected whether predetermined symbol on the left of the character If symbol, and so on, until detecting that, there are three different predetermined symbols, judgement terminates altogether.
If at least one adjacent character of S203, the character and the character includes at least two predetermined symbols, by phase Character between two adjacent predetermined symbols is determined as a preset entirety.
For example, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, when For user when using Baidu search " conjunction " word on mobile phone, search result is " it is known that the photosynthesis of plant is very faint, to pass through Often need man-made irrigation could humidification." judge character " conjunction " two sides include two predetermined symbol commas sentence for ", The photosynthesis of plant is very faint, ", then the character between comma is determined as a preset entirety, near major general is whole It is shown on mobile phone interface " photosynthesis of plant is very faint ", the meaning is complete.
Optionally, in some possible embodiments of the invention, when judging in search result according to pre-defined rule Whether the character at least one character adjacent from the character includes at least two different predetermined symbols, then by both ends Character between two different predetermined symbols is determined as a preset entirety.
Optionally, in some possible embodiments of the invention, when including the punctuation marks such as branch in search result When, need in search result according to pre-defined rule judge the character with the character at least one adjacent character whether include When more than two different predetermined symbol, then by the character between two different predetermined symbols at both ends be determined as one it is default Entirety.
For example, in other possible embodiments of the invention, when user uses Baidu search on mobile phone When " band ", search result be " ... propose, build the Belt and Road, facilitate related various countries by cooperatively facilitating common security." At this time, it may be necessary to detect the adjacent at least character of searched for character " band " word include three predetermined symbols, it may be assumed that colon, comma and When fullstop, so as to which " construction the Belt and Road, facilitate related various countries by cooperatively facilitating common security " is treated as one Preset entirety is shown to user as a result.And at this point, if only judging at least one adjacent character packet of character " band " word When containing two different predetermined symbols, then when judging the character between the predetermined symbol at both ends for a preset entirety, obtain It as a result will be " construction the Belt and Road ", the meaning of expression is sufficiently complete.
S204, the corresponding character of the entirety is displayed on the display interface.
Wherein, display interface is in terminal for showing the interface of search result.
Optionally, in some possible embodiments of the invention, if the character and the character it is adjacent at least When one character is one preset whole, the corresponding character of the entirety can be only shown.
Optionally, in other possible embodiments of the invention, if the character and the character adjacent to When a character is one preset whole less, it can show outside the whole corresponding character, then show others and search As a result relevant character.
For example, in some possible embodiments of the invention, when user on mobile phone with Baidu search application When being scanned for " conjunction " word, if search result is that " photosynthesis of plant is very faint, it is often necessary to which man-made irrigation could increase Pretend use ", it will be understood that " photosynthesis " is a common phrase, then may determine that the phase with searching character " conjunction " word At least one adjacent character " photosynthesis ", then, will for the integrality for keeping search result to look like as a preset entirety " photosynthesis " is shown as a preset entirety, then " photosynthesis " is at least shown in the display interface, At the same time it can also showing other characters in search result, such as the result finally shown can be the whole of search result A sentence.
As can be seen that receiving the character of user's input in the scheme of the present embodiment and being scanned for the character;It is searching Judge whether at least one adjacent character is one preset to the character with the character according to pre-defined rule in hitch fruit It is whole;It, will be described whole corresponding if at least one adjacent character of the character and the character is one preset whole Character be displayed on the display interface.To by the way that in the display interface a preset whole phase will be belonged to searching character At least one adjacent character shows that the meaning for maintaining shown search result is complete simultaneously.
Fig. 3 is referred to, Fig. 3 is a kind of structural representation for search result display device that one embodiment of the present of invention provides Figure, wherein as shown in figure 3, a kind of search result display device 300 that one embodiment of the present of invention provides may include:
Receiving module 310, judgment module 320 and display module 330.
Wherein, receiving module 310, for receiving the character of user's input and being scanned for the character.
Wherein, character refers at least one character that user inputs when mobile terminal scans for, under normal circumstances for One Chinese character or phrase, or punctuation mark etc.;It is relevant to the content that user needs to search for that the character searched for is Character.
Wherein, terminal can be the terminals having a display function such as mobile phone, tablet computer, and have the information processing function, For example, search application can be installed at the terminal to scan for the character of user's input.
For example, in some possible embodiments of the invention, when the desired inquiry of user is related to photosynthesis Content when, can terminal searching application provide searched page in input " photosynthetic ", thus terminal can to " photosynthetic " into Row search.
Again for example, in some possible embodiments of the invention, when to want inquiry related with " conjunction " word by user Information when, then can input " conjunction " in the searched page that terminal searching application provides, terminal again scan for " conjunction " word.
Judgment module 320, for judging that the character is adjacent with the character according to pre-defined rule in search result Whether at least one character is a preset entirety.
Wherein, search result is the result that terminal receives the character of user's input and obtains after scanning for character.
Wherein, preset entirety refer to preset for and meanwhile display character it is whole, the combination phrase that can be or The whole sentence of person can also be the phrase or combination of sentences for including punctuation mark, and such as " photosynthesis of plant is very faint, often Need man-made irrigation ability humidification " etc..
Optionally, in some possible embodiments of the invention, at least one adjacent character can with the character Think at least one character for being located at the character before adjacent with the character.
Optionally, in other possible embodiments of the invention, at least one adjacent character with the character Or at least one character for being located at the character after adjacent with the character.
Optionally, in some possible embodiments of the invention, at least one adjacent character is also with the character Can be while comprising at least one character positioned at the character before and after adjacent with the character.
For example, in some possible embodiments of the invention, when the searching character of user's input is " conjunction " word When, if search result is " photosynthesis of plant is very faint, it is often necessary to man-made irrigation ability humidification ", it can be determined that Whether at least one character of adjacent front and back " ... light " and " making ... " are a preset entirety with " conjunction ".
Display module 330, if at least one adjacent character is one preset whole with the character for the character When body, the corresponding character of the entirety is displayed on the display interface.
Wherein, display interface is in terminal for showing the interface of search result.
Optionally, in some possible embodiments of the invention, if the character and the character it is adjacent at least When one character is one preset whole, the corresponding character of the entirety can be only shown.
Optionally, in other possible embodiments of the invention, if the character and the character adjacent to When a character is one preset whole less, it can show outside the whole corresponding character, then show others and search As a result relevant character.
For example, in some possible embodiments of the invention, when user on mobile phone with Baidu search application When being scanned for " conjunction " word, if search result is that " photosynthesis of plant is very faint, it is often necessary to which man-made irrigation could increase Pretend use ", it will be understood that " photosynthesis " is a common phrase, then may determine that the phase with searching character " conjunction " word At least one adjacent character " photosynthesis ", then, will for the integrality for keeping search result to look like as a preset entirety " photosynthesis " is shown as a preset entirety, then " photosynthesis " is at least shown in the display interface, At the same time it can also showing other characters in search result, such as the result finally shown can be the whole of search result A sentence.
It is understood that the function of each functional module of the search result display device 300 of the present embodiment can be according to upper The method specific implementation in embodiment of the method is stated, specific implementation process is referred to the associated description of above method embodiment, Details are not described herein again.
As can be seen that search result display device 300 receives the character of user's input and to institute in the scheme of the present embodiment Character is stated to scan for;Search result display device 300 in search result according to pre-defined rule judge the character with it is described Whether at least one adjacent character of character is a preset entirety;If the character and the character it is adjacent at least one When character is one preset whole, search result display device 300 shows the corresponding character of the entirety in display interface On.To be shown simultaneously by the way that in the display interface preset at least one whole adjacent character will be belonged to searching character It shows and, the meaning for maintaining shown search result is complete.
Refer to Fig. 4, Fig. 4 be another embodiment of the present invention provides another search result display device structure Schematic diagram, wherein as shown in figure 4, another embodiment of the present invention provides another search result display device 400 can be with Include:
Receiving module 410, judgment module 420 and display module 430.
Wherein, receiving module 410, for receiving the character of user's input and being scanned for the character.
Wherein, character refers at least one character that user inputs when mobile terminal scans for, under normal circumstances for One Chinese character or phrase, or punctuation mark etc.;It is relevant to the content that user needs to search for that the character searched for is Character.
Wherein, terminal can be the terminals having a display function such as mobile phone, tablet computer, and have the information processing function, For example, search application can be installed at the terminal to scan for the character of user's input.
For example, in some possible embodiments of the invention, when the desired inquiry of user is related to photosynthesis Content when, can terminal searching application provide searched page in input " photosynthetic ", thus can be to " photosynthetic " by terminal It scans for.
Again for example, in some possible embodiments of the invention, when to want inquiry related with " conjunction " word by user Information when, then can input " conjunction " in the searched page that terminal searching application provides, terminal again scan for " conjunction " word.
Judgment module 420, for judging that the character is adjacent with the character according to pre-defined rule in search result Whether at least one character is a preset entirety.
Wherein, search result is the result that terminal receives the character of user's input and obtains after scanning for character.
Wherein, preset entirety refer to preset for and meanwhile display character it is whole, the combination phrase that can be or The whole sentence of person can also be the phrase or combination of sentences for including punctuation mark, and such as " photosynthesis of plant is very faint, often Need man-made irrigation ability humidification " etc..
Optionally, in some possible embodiments of the invention, at least one adjacent character can with the character Think at least one character for being located at the character before adjacent with the character.
Optionally, in other possible embodiments of the invention, at least one adjacent character with the character Or at least one character for being located at the character after adjacent with the character.
Optionally, in some possible embodiments of the invention, at least one adjacent character is also with the character Can be while comprising at least one character positioned at the character before and after adjacent with the character.
For example, in some possible embodiments of the invention, when the searching character of user's input is " conjunction " word When, if search result is " photosynthesis of plant is very faint, it is often necessary to man-made irrigation ability humidification ", it can be determined that Whether at least one character of adjacent front and back " ... light " and " making ... " are a preset entirety with " conjunction ".
Display module 430, if at least one adjacent character is one preset whole with the character for the character When body, the corresponding character of the entirety is displayed on the display interface.
Wherein, display interface is in terminal for showing the interface of search result.
Optionally, in some possible embodiments of the invention, if the character and the character it is adjacent at least When one character is one preset whole, the corresponding character of the entirety can be only shown.
Optionally, in other possible embodiments of the invention, if the character and the character adjacent to When a character is one preset whole less, it can show outside the whole corresponding character, then show others and search As a result relevant character.
For example, in some possible embodiments of the invention, when user on mobile phone with Baidu search application When being scanned for " conjunction " word, if search result is that " photosynthesis of plant is very faint, it is often necessary to which man-made irrigation could increase Pretend use ", it will be understood that " photosynthesis " is a common phrase, then may determine that the phase with searching character " conjunction " word At least one adjacent character " photosynthesis ", then, will for the integrality for keeping search result to look like as a preset entirety " photosynthesis " is shown as a preset entirety, then " photosynthesis " is at least shown in the display interface, At the same time it can also showing other characters in search result, such as the result finally shown can be the whole of search result A sentence.
Optionally, in some possible embodiments of the invention, the judgment module 320 includes the first judging unit 421, it is used for:
Whether at least one the adjacent character for judging the character and the character is a predetermined phrase;
If at least one adjacent character of the character and the character is a predetermined phrase, by the character with At least one adjacent character of the character is determined as one preset entirety.
It is appreciated that the character for belonging to a predetermined phrase as a preset entirety while being shown, thus The meaning of search result will not be cut off, maintain the integrality of the search result meaning.
Optionally, in some possible embodiments of the invention, the predetermined phrase is that terminal prestores in dictionary Phrase.
Optionally, in other possible embodiments of the invention, the predetermined phrase is what user was commonly used Phrase.
Optionally, in some possible embodiments of the invention, the predetermined phrase can also be to look into from network The frequency of use ask is greater than the phrase of certain numerical value.
It is appreciated that when default phrase is that terminal prestores phrase in dictionary, the phrase that user is commonly used or from net The phrase that the frequency of use inquired in network is greater than certain numerical value can guarantee phrase for the complete phrase that looks like, to protect Demonstrate,prove the integrality of search result.
For example, in some possible embodiments of the invention, when user on mobile phone with Baidu to " work " word When scanning for, if search result is that " data mining needs artificial intelligence, database, machine language and statistical analysis knowledge etc. Many knowledge interdisciplinary ", if " artificial intelligence " is that terminal prestores phrase, when showing result on mobile phone interface " artificial intelligence " must be shown as a preset entirety, such as " data mining needs artificial intelligence, database ... ", and It cannot be " data mining needs artificial ... ", such mode just divides " artificial intelligence ", is not able to maintain shown result The meaning is complete.
Optionally, in some possible embodiments of the invention, the judgment module 420 includes second judgment unit 422, it is used for:
Whether at least one the adjacent character for judging the character and the character includes at least two predetermined symbols;
It, will be adjacent if at least one adjacent character of the character and the character includes at least two predetermined symbols Two predetermined symbols between character be determined as one preset entirety.
Optionally, in some possible embodiments of the invention, judge the character and the character adjacent to When whether a few character includes at least two predetermined symbols, when detecting a predetermined symbol on the right side of the character, Again to going to have detected whether predetermined symbol on the left of the character, until detecting next predetermined symbol, then will be adjacent default Character between symbol is determined as a preset entirety.
Optionally, in some possible embodiments of the invention, the predetermined symbol is punctuation mark.
It is appreciated that in general, the character between the same sentence is the complete character that looks like, so by true Character between fixed adjacent predetermined symbol is a preset entirety, can guarantee that the meaning of the words and phrases shown is complete.
Optionally, in some possible embodiments of the invention, the predetermined symbol may be that other can lead to Cross the symbol that terminal is shown.
For example, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, when For user when using Baidu search " conjunction " word on mobile phone, search result is " it is known that the photosynthesis of plant is very faint, to pass through Often need man-made irrigation could humidification." to judge that at least one adjacent character of searched for word " conjunction " word includes two One of a comma is preset generally " photosynthesis of plant is very faint ", then showing search result on mobile phone interface When, the entirety must at least be shown, thus guarantee show result the meaning it is complete, and cannot be " ... photosynthesis Very ... ", in this way, shown search result then cannot completely express the meaning.
Optionally, in some possible embodiments of the invention, judgment module 420 is also used to:
Judge whether the character at least one character adjacent from the character includes at least two different default symbols Number;
If the character at least one character adjacent from the character includes at least two different predetermined symbols, Character between two different predetermined symbols at both ends is determined as one preset entirety.
Optionally, in some possible embodiments of the invention, when judging that the character is adjacent with the character When whether at least one character includes at least two different predetermined symbols, when detected on the right side of the character one it is default When symbol, then to going to have detected whether predetermined symbol on the left of the character, until detecting next different predetermined symbol, And so on, when detecting at least two different predetermined symbols altogether, then by the character between the predetermined symbol of both ends It is determined as a preset entirety.
It is appreciated that due to the diversity of predetermined symbol, sometimes in the sentence between two same predetermined symbols It is still imperfect, at this time by the character between two different predetermined symbols of selection, then can allow determined by character it is whole It looks like more complete.For example " data mining needs artificial intelligence, database, machine language and statistical analysis knowledge for sentence Deng many knowledge interdisciplinary.", if searching character is " according to ", at this time if selecting the character between two pause marks It looks like for " database " words and phrases entire for expression sufficiently complete, is carried out but if adding another different symbol fullstop When judgement, then entire sentence can be shown, to keep the selected whole meaning more complete.
For example, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, using When using Baidu search " conjunction " word on mobile phone, search result is " it is known that the photosynthesis of plant is very faint, often at family Need man-made irrigation could humidification.If " to will as the result is shown it is more complete, be preferably exactly by whole word show Out, when including two different symbols when a little, in the front and back adjacent character by judging character " conjunction " word, it can be seen that need It could include two different predetermined symbols, i.e. comma and fullstop that sentence, which is extended fullstop to the end, so can incite somebody to action at this time " photosynthesis of plant is very faint, it is often necessary to man-made irrigation ability humidification " is shown as a preset entirety Show, shows that the meaning of result will be more complete in this way.
Optionally, in some possible embodiments of the invention, when determining predetermined symbol is punctuation mark, work as institute In the result searched including branch etc. when punctuation marks, at least one adjacent character of the character Yu the character need to be judged It whether include three different predetermined symbols, when detecting a predetermined symbol on the right side of the character, then to the word It goes to have detected whether predetermined symbol on the left of symbol, until detecting next different predetermined symbol, and so on, until altogether There are three detecting when different predetermined symbols, then the character between the predetermined symbol of both ends is determined as a preset entirety.
It is appreciated that branch and comma are closely, at this time sometimes when in search result including the punctuation marks such as branch If only judge the character between two predetermined symbols for one it is preset whole, if two predetermined symbols selected just for Branch and comma closely, it is likely that other characters that can express the sentence meaning can not be determined, so this When may be selected comprising the character in more than two different predetermined symbols to be a preset entirety, keep the meaning more complete.
Again for example, in other possible embodiments of the invention, when user uses Baidu search on mobile phone When " band ", search result be " ... propose, build the Belt and Road, facilitate related various countries by cooperatively facilitating common security." At this time, it may be necessary to detect the adjacent at least character of searched for character " band " word include three predetermined symbols, it may be assumed that colon, comma and When fullstop, so as to which " construction the Belt and Road, facilitate related various countries by cooperatively facilitating common security " is treated as one Preset entirety is shown to user as a result.And at this point, if only judging at least one adjacent character packet of character " band " word When containing two different predetermined symbols, then when judging the character between the predetermined symbol at both ends for a preset entirety, obtain It as a result will be " construction the Belt and Road ", the meaning of expression is sufficiently complete.
It is understood that the function of each functional module of the search result display device 400 of the present embodiment can be according to upper The method specific implementation in embodiment of the method is stated, specific implementation process is referred to the associated description of above method embodiment, Details are not described herein again.
As can be seen that search result display device 400 receives the character of user's input and to institute in the scheme of the present embodiment Character is stated to scan for;Search result display device 400 in search result according to pre-defined rule judge the character with it is described Whether at least one adjacent character of character is a preset entirety;If the character and the character it is adjacent at least one When character is one preset whole, search result display device 400 shows the corresponding character of the entirety in display interface On.To be shown simultaneously by the way that in the display interface preset at least one whole adjacent character will be belonged to searching character It shows and, the meaning for maintaining shown search result is complete.
Show referring to the structure that Fig. 5, Fig. 5 are another search result display devices that another embodiment of the invention provides It is intended to.As shown in figure 5, another search result display device 500 that another embodiment of the invention provides may include: to A few bus 501, at least one processor 502 being connected with bus and at least one processor 503 being connected with bus.
Wherein, processor 502 calls the code stored in memory 503 for receiving user's input by bus 501 Character and the character is scanned for;The phase of the character with the character is judged according to pre-defined rule in search result Whether at least one adjacent character is a preset entirety;If at least one adjacent character of the character and the character is one When a preset whole, the corresponding character of the entirety is displayed on the display interface.
Wherein, character refers at least one character that user inputs when mobile terminal scans for, under normal circumstances for One Chinese character or phrase, or punctuation mark etc.;It is relevant to the content that user needs to search for that the character searched for is Character.
Wherein, terminal can be the terminals having a display function such as mobile phone, tablet computer, and have the information processing function, For example, search application can be installed at the terminal to scan for the character of user's input.
Wherein, search result is the result that terminal receives the character of user's input and obtains after scanning for character.
Wherein, preset entirety refer to preset for and meanwhile display character it is whole, the combination phrase that can be or The whole sentence of person can also be the phrase or combination of sentences for including punctuation mark, and such as " photosynthesis of plant is very faint, often Need man-made irrigation ability humidification " etc..
Optionally, in some possible embodiments of the invention, at least one adjacent character can with the character Think at least one character for being located at the character before adjacent with the character.
Optionally, in other possible embodiments of the invention, at least one adjacent character with the character Or at least one character for being located at the character after adjacent with the character.
Optionally, in some possible embodiments of the invention, at least one adjacent character is also with the character Can be while comprising at least one character positioned at the character before and after adjacent with the character.
Wherein, display interface is in terminal for showing the interface of search result.
Optionally, in some possible embodiments of the invention, if the character and the character it is adjacent at least When one character is one preset whole, the corresponding character of the entirety can be only shown.
Optionally, in other possible embodiments of the invention, if the character and the character adjacent to When a character is one preset whole less, it can show outside the whole corresponding character, then show others and search As a result relevant character.
Optionally, in some possible embodiments of the invention, processor 502 can be used for:
Whether at least one the adjacent character for judging the character and the character is a predetermined phrase;
If at least one adjacent character of the character and the character is a predetermined phrase, by the character with At least one adjacent character of the character is determined as one preset entirety.
It is appreciated that the character for belonging to a predetermined phrase as a preset entirety while being shown, thus The meaning of search result will not be cut off, maintain the integrality of the search result meaning.
Optionally, in some possible embodiments of the invention, the predetermined phrase is that terminal prestores in dictionary Phrase.
Optionally, in other possible embodiments of the invention, the predetermined phrase is what user was commonly used Phrase.
Optionally, in some possible embodiments of the invention, the predetermined phrase can also be to look into from network The frequency of use ask is greater than the phrase of certain numerical value.
It is appreciated that when default phrase is that terminal prestores phrase in dictionary, the phrase that user is commonly used or from net The phrase that the frequency of use inquired in network is greater than certain numerical value can guarantee phrase for the complete phrase that looks like, to protect Demonstrate,prove the integrality of search result.
Optionally, in some possible embodiments of the invention, processor 502 can be also used for:
Whether at least one the adjacent character for judging the character and the character includes at least two predetermined symbols;
It, will be adjacent if at least one adjacent character of the character and the character includes at least two predetermined symbols Two predetermined symbols between character be determined as one preset entirety.
Optionally, in some possible embodiments of the invention, judge the character and the character adjacent to When whether a few character includes at least two predetermined symbols, when detecting a predetermined symbol on the right side of the character, Again to going to have detected whether predetermined symbol on the left of the character, until detecting next predetermined symbol, then will be adjacent default Character between symbol is determined as a preset entirety.
Optionally, in some possible embodiments of the invention, the predetermined symbol is punctuation mark.
It is appreciated that in general, the character between the same sentence is the complete character that looks like, so by true Character between fixed adjacent predetermined symbol is a preset entirety, can guarantee that the meaning of the words and phrases shown is complete.
Optionally, in some possible embodiments of the invention, the predetermined symbol may be that other can lead to Cross the symbol that mobile phone terminal is shown.
Optionally, in some possible embodiments of the invention, processor 502 can be also used for:
Judge whether the character at least one character adjacent from the character includes at least two different default symbols Number;
If the character at least one character adjacent from the character includes at least two different predetermined symbols, Character between two different predetermined symbols at both ends is determined as one preset entirety.
It is appreciated that due to the diversity of predetermined symbol, sometimes in the sentence between two same predetermined symbols It is still imperfect, at this time by the character between two different predetermined symbols of selection, then can allow determined by character it is whole It looks like more complete.For example " data mining needs artificial intelligence, database, machine language and statistical analysis knowledge for sentence Deng many knowledge interdisciplinary.", if searching character is " according to ", at this time if selecting the character between two pause marks It looks like for " database " words and phrases entire for expression sufficiently complete, is carried out but if adding another different symbol fullstop When judgement, then entire sentence can be shown, to keep the selected whole meaning more complete.
Optionally, in some possible embodiments of the invention, when processor 502 determines predetermined symbol for punctuate symbol Number when, when the punctuation marks such as including branch in the result searched, need to judge the character and the character adjacent to Whether a few character includes three different predetermined symbols, when detecting a predetermined symbol on the right side of the character, Again to going to have detected whether predetermined symbol on the left of the character, until detecting next different predetermined symbol, successively class It pushes away, is determined as one when detecting there are three different predetermined symbols altogether, then by the character between the predetermined symbol of both ends Preset entirety.
It is appreciated that branch and comma are closely, at this time sometimes when in search result including the punctuation marks such as branch If only judge the character between two predetermined symbols for one it is preset whole, if two predetermined symbols selected just for Branch and comma closely, it is likely that other characters that can express the sentence meaning can not be determined, so this When may be selected comprising the character in more than two different predetermined symbols to be a preset entirety, keep the meaning more complete.
It is understood that the function of each functional module of the search result display device 500 of the present embodiment can be according to upper The method specific implementation in embodiment of the method is stated, specific implementation process is referred to the associated description of above method embodiment, Details are not described herein again.
As can be seen that search result display device 500 receives the character of user's input and to institute in the scheme of the present embodiment Character is stated to scan for;Search result display device 500 in search result according to pre-defined rule judge the character with it is described Whether at least one adjacent character of character is a preset entirety;If the character and the character it is adjacent at least one When character is one preset whole, search result display device 500 shows the corresponding character of the entirety in display interface On.To be shown simultaneously by the way that in the display interface preset at least one whole adjacent character will be belonged to searching character It shows and, the meaning for maintaining shown search result is complete.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include the part or complete that any audio recorded in above method embodiment plays the operating method of application when executing Portion's step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in various embodiments of the present invention can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (2)

1. a kind of search result display methods, which is characterized in that the described method includes:
It receives the character of user's input and the character is scanned for;
Judge whether at least one adjacent character of the character and the character is one according to pre-defined rule in search result A preset entirety, at least one described and the character adjacent character is simultaneously comprising adjacent with the character positioned at institute At least one character before and after character is stated, the preset character for generally presetting for while showing is whole Body, it is described preset generally including the phrase or combination of sentences of punctuation mark;
It is if at least one adjacent character of the character and the character is one preset whole, the entirety is corresponding Character is displayed on the display interface;
Wherein, described at least one adjacent character for judging the character Yu the character according to pre-defined rule in search result It whether is a preset entirety, comprising:
Whether at least one the adjacent character for judging the character and the character includes at least two predetermined symbols;
If at least one adjacent character of the character and the character includes at least two predetermined symbols, by adjacent two Character between a predetermined symbol is determined as one preset entirety;
The method also includes:
When in described search result including branch, judge whether at least one adjacent character wraps the branch with the branch Containing three different predetermined symbols, when detecting a predetermined symbol on the right side of the branch, then to a left side for the branch Side is gone to have detected whether predetermined symbol, until altogether detect three different predetermined symbols when, then by both ends predetermined symbol it Between character be determined as a preset entirety.
2. a kind of search result display device, which is characterized in that described device includes:
Receiving module, for receiving the character of user's input and being scanned for the character;
Judgment module, in search result according to pre-defined rule judge the character and the character it is adjacent at least one Whether character is a preset entirety, and described at least one adjacent character with the character is to include and the character simultaneously Adjacent at least one character being located at before and after the character, preset generally preset are used for while showing The character shown is whole, described preset generally including the phrase or combination of sentences of punctuation mark;
Display module will if be one preset whole at least one adjacent character of the character and the character The corresponding character of the entirety is displayed on the display interface;
Wherein, the judgment module further includes second judgment unit, is used for:
Whether at least one the adjacent character for judging the character and the character includes at least two predetermined symbols;
If at least one adjacent character of the character and the character includes at least two predetermined symbols, by adjacent two Character between a predetermined symbol is determined as one preset entirety;
Described device also particularly useful for:
When in described search result including branch, judge whether at least one adjacent character wraps the branch with the branch Containing three different predetermined symbols, when detecting a predetermined symbol on the right side of the branch, then to a left side for the branch Side is gone to have detected whether predetermined symbol, until altogether detect three different predetermined symbols when, then by both ends predetermined symbol it Between character be determined as a preset entirety.
CN201510461072.0A 2015-07-29 2015-07-29 A kind of search result display methods and device Active CN105068992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510461072.0A CN105068992B (en) 2015-07-29 2015-07-29 A kind of search result display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510461072.0A CN105068992B (en) 2015-07-29 2015-07-29 A kind of search result display methods and device

Publications (2)

Publication Number Publication Date
CN105068992A CN105068992A (en) 2015-11-18
CN105068992B true CN105068992B (en) 2019-04-26

Family

ID=54498366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510461072.0A Active CN105068992B (en) 2015-07-29 2015-07-29 A kind of search result display methods and device

Country Status (1)

Country Link
CN (1) CN105068992B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388664A (en) * 2018-03-14 2018-08-10 深圳市网域科技股份有限公司 Integration method, device, computer equipment and the storage medium of sentence segment
CN114817520A (en) * 2021-01-19 2022-07-29 华为技术有限公司 Method and device for determining abstract of search result and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1969275A (en) * 2004-04-30 2007-05-23 诺基亚公司 System and associated device, method, and computer program product for performing metadata-based searches
CN101008946A (en) * 2006-01-26 2007-08-01 冉征 Search method of Chinese mobile communication information and device thereof
CN101178712A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for mobile terminal searching network
CN102298615A (en) * 2011-07-29 2011-12-28 百度在线网络技术(北京)有限公司 Method for displaying research result realized by computer and equipment
CN103577510A (en) * 2012-07-23 2014-02-12 阿里巴巴集团控股有限公司 Search result data display method, search server and mobile terminal
CN104050158A (en) * 2014-06-27 2014-09-17 吴涛军 Automatic quotation extraction method and device with semantic integrity kept

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101122366B1 (en) * 2010-09-20 2012-03-23 엔에이치엔(주) System and method for providing search keyword list

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1969275A (en) * 2004-04-30 2007-05-23 诺基亚公司 System and associated device, method, and computer program product for performing metadata-based searches
CN101008946A (en) * 2006-01-26 2007-08-01 冉征 Search method of Chinese mobile communication information and device thereof
CN101178712A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for mobile terminal searching network
CN102298615A (en) * 2011-07-29 2011-12-28 百度在线网络技术(北京)有限公司 Method for displaying research result realized by computer and equipment
CN103577510A (en) * 2012-07-23 2014-02-12 阿里巴巴集团控股有限公司 Search result data display method, search server and mobile terminal
CN104050158A (en) * 2014-06-27 2014-09-17 吴涛军 Automatic quotation extraction method and device with semantic integrity kept

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Lucene的面向主题信息搜索系统的关键技术分析及应用;戴支荣;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110915;第2011年卷(第9期);正文第1页第3段,第21页第3、4段,第22页第9段
基于统计和语义分析的分词及在产品设计中的应用;惠国宝;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110715;第2011年卷(第7期);I138-1014

Also Published As

Publication number Publication date
CN105068992A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN111061874B (en) Sensitive information detection method and device
CN104951099B (en) A kind of method and apparatus of the displaying candidate item based on input method
CN106682169B (en) Application label mining method and device, application searching method and server
CN110673748A (en) Method and device for providing candidate long sentences in input method
CN107402913A (en) The determination method and apparatus of antecedent
US20190205743A1 (en) System and method for detangling of interleaved conversations in communication platforms
CN105917327A (en) System and method for inputting text into electronic devices
CN104598507B (en) Information search method and device
CN108228720B (en) Identify method, system, device, terminal and the storage medium of target text content and original image correlation
CN109885828A (en) Word error correction method, device, computer equipment and medium based on language model
CN104951219B (en) A kind of method and mobile terminal of mobile terminal text input
CN111858905B (en) Model training method, information identification device, electronic equipment and storage medium
CN104035999A (en) Secure web browsing system based on parental personalized recommendation control
CN104919458A (en) Text mining device, text mining system, text mining method, and recording medium
CN103177204A (en) Password information tip method and device
CN113590776A (en) Text processing method and device based on knowledge graph, electronic equipment and medium
CN108241612A (en) Punctuation mark treating method and apparatus
CN106708813A (en) Title processing method and equipment
CN113850251A (en) Text correction method, device and equipment based on OCR technology and storage medium
CN110019649A (en) A kind of method and device established, search for index tree
CN105159927B (en) Method and device for selecting subject term of target text and terminal
CN105068992B (en) A kind of search result display methods and device
CN105260369A (en) Reading assisting method and electronic equipment
CN109558531A (en) News information method for pushing, device and computer equipment
CN111880668A (en) Input display method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building

Patentee after: MEIZU TECHNOLOGY Co.,Ltd.

Address before: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong

Patentee before: Meizu Technology (China) Co.,Ltd.

CP03 Change of name, title or address