CN105045935B - A kind of method and electronic equipment for recommended location information - Google Patents

A kind of method and electronic equipment for recommended location information Download PDF

Info

Publication number
CN105045935B
CN105045935B CN201510570852.9A CN201510570852A CN105045935B CN 105045935 B CN105045935 B CN 105045935B CN 201510570852 A CN201510570852 A CN 201510570852A CN 105045935 B CN105045935 B CN 105045935B
Authority
CN
China
Prior art keywords
image
electronic equipment
keyword
web page
event
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
CN201510570852.9A
Other languages
Chinese (zh)
Other versions
CN105045935A (en
Inventor
杨晓兵
唐明生
刘晓健
周雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510570852.9A priority Critical patent/CN105045935B/en
Publication of CN105045935A publication Critical patent/CN105045935A/en
Application granted granted Critical
Publication of CN105045935B publication Critical patent/CN105045935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of methods and electronic equipment for recommended location information, this method comprises: judging whether trigger operation image event on current web page that electronic equipment is shown;If so, in display area where the target image of operation image event or nearby showing a map search frame or searching for entrance;According to the operation of user's to map search box or search entrance, the current geographic position where electronic equipment is obtained;According to current geographic position, searches for target geographic position relevant at least one keyword of target image and show search result, wherein target geographic position is less than set distance threshold value at a distance from current geographic position.Through the above technical solutions, solving the technical problem that geographical location acquisition modes are single in the prior art, geographical location acquisition modes are increased.

Description

A kind of method and electronic equipment for recommended location information
Technical field
The present invention relates to Internet technical field, in particular to a kind of method and electronics for recommended location information is set It is standby.
Background technique
With the continuous development of science and technology, Internet technology has obtained development at full speed, wherein the appearance of network map And development, great convenience is provided for the trip of people.
Currently, when carrying out digital map navigation, it usually needs open corresponding navigation website, destination is inputted in navigation website The departure place and.For example, user wants to go to the place in entitled " market XX ", need first to open the Navigation Networks such as Baidu map, Google Maps It stands, and inputs set out address or selection current location in the destination column of navigation website input " market XX ", in departure place, Clicking search or the navigation button again can carry out navigating.
However, existing geographical location acquisition modes are single, it usually needs the destination information that user knows, if User does not know, needs to first pass through the modes such as inquiry, retrieval and obtains its destination information, then carries out digital map navigation again, cause The inefficiency of digital map navigation.As it can be seen that the single technical problem of geographical location acquisition modes exists in the prior art.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State a kind of for the method for recommended location information and the electronic equipment of response of problem.
According to one aspect of the present invention, a kind of method for recommended location information is provided, is set applied to an electronics It is standby, which comprises
Judge whether trigger operation image event on current web page that the electronic equipment is shown;
If so, it is described operation image event target image where display area or nearby display one map search frame or Search for entrance;
Operation according to user to the map search frame or described search entrance obtains working as where the electronic equipment Preceding geographical location;
According to the current geographic position, target geographic relevant at least one keyword of the target image is searched for Position simultaneously shows search result, wherein the target geographic position is less than set distance at a distance from the current geographic position Threshold value.
Optionally, the target geographic position comprises at least one of the following position:
When at least one described keyword is article keyword, the target geographic position is to sell, repair or recycle The retail shop position of the article;
When at least one described keyword is building keyword, the target geographic position is the ground where the building Manage position;
When at least one described keyword is behavior keyword, the target geographic position is to be able to carry out the behavior Place geographical location.
Optionally, a map search frame is shown in display area where the target image of the operation image event or nearby While, the method also includes:
At least one keyword that the target image is shown in the map search frame allows the user to selection pair At least one described keyword carries out location finding.
Optionally, a map search frame is shown in display area where the target image of the operation image event or nearby Or after search entrance, the method also includes:
When the positioning pointer on the electronic equipment removes the target image, the map search frame or described is hidden Search for entrance.
Optionally, a map search frame is shown in display area where the target image of the operation image event or nearby Or before search entrance, the method also includes:
Obtain at least one keyword of at least one image on the current web page, wherein the target image is Any image in an at least image.
Optionally, at least one keyword of at least one image on the current web page is obtained, comprising:
Obtain the first attribute information of at least one image on the current web page;
First attribute information and keyword solicited message are sent to server, the keyword solicited message is used for Request obtains at least one keyword relevant to described image;
The server is received based at least one described in an at least image described in first attribute information feedback A keyword.
Optionally, first attribute information includes: the uniform resource locator and title of image, and the title includes figure As the title of title and/or image on the current web page.
Optionally, the method also includes:
Obtain the second attribute information of the current web page, wherein second attribute information includes: the system of the webpage One Resource Locator and the first label;
Second attribute information is sent to the server, so that the server is based on second attribute information It is obtained with first attribute information and feeds back at least one keyword relevant to described image.
Optionally, before at least one keyword for obtaining at least one image on the current web page, the side Method further include:
Obtain the dimension information of all images on the current web page;
According to the dimension information, size is in first threshold range and/or the ratio of width to height is in second threshold model for acquisition Enclose an interior at least image.
Optionally, judge whether trigger operation image event on current web page that the electronic equipment is shown, it is specific to wrap It includes:
Detection obtains the corresponding current web page element of setting pointer event on the electronic equipment on the webpage;
Judge whether the current web page element is image tag;
If judging, the currentElement is described image label, judges whether the currentElement is visible;
If the currentElement triggers the operation image event and obtains described current as it can be seen that determining on the webpage The corresponding target image of web page element.
Optionally, after judging whether the current web page element is image tag, the method also includes:
If judging, the current web page element is not described image label, judges whether the current web page element is to set Calibration label, wherein include described image label in the ancestral element of the setting label;
If so, each image tag that the ancestral element for successively traversing the current web page element includes;
Judge the matched target of location information for whether having location information and the setting pointer event in each image tag Image tag;
The operation image event is triggered on the webpage and the acquisition target image label is corresponding if so, determining The target image.
Optionally, judge whether trigger operation image event on current web page that the electronic equipment is shown, comprising:
Detection obtains first location information corresponding to the setting pointer event on the electronic equipment on the webpage;
Judge whether first position that the first location information includes falls into where any image on the webpage Two positions have occurred operation image event and obtain the corresponding target in the second position if so, determining on the webpage Image.
Optionally, the operation image event specifically:
Positioning pointer on the electronic equipment passes through the daughter element of pictorial element or described image element on webpage When the event that triggers;Or
The event triggered when the pictorial element that the positioning pointer on the electronic equipment moves on webpage;Or
The event that positioning pointer on the electronic equipment triggers when removing from the pictorial element on webpage.
According to another aspect of the present invention, a kind of electronic equipment is additionally provided, comprising:
Judging unit, for judging whether trigger operation image event on current web page that the electronic equipment is shown;
Display unit, when for triggering operation image event on the current web page, in the operation image event Target image where display area or nearby display one map search frame or search entrance;
First acquisition unit obtains institute for the operation according to user to the map search frame or described search entrance State the current geographic position where electronic equipment;
Search unit, for according to the current geographic position, at least one keyword of search and the target image Relevant target geographic position simultaneously shows search result, wherein the target geographic position and the current geographic position away from From less than set distance threshold value.
Optionally, the target geographic position comprises at least one of the following position: when at least one described keyword is object When product keyword, the target geographic position is the retail shop position for selling, repairing or recycling the article;When it is described at least one When keyword is building keyword, the target geographic position is the geographical location where the building;When it is described at least one When keyword is behavior keyword, the target geographic position is to be able to carry out the geographical location in the place of the behavior.
Optionally, the display unit is also used to: it is described operation image event target image where display area or Nearby while one map search frame of display, at least one key of the target image is shown in the map search frame Word allows the user to selection and carries out location finding at least one described keyword.
Optionally, the display unit is also used to: when the positioning pointer on the electronic equipment removes the target image When, hide the map search frame or described search entrance.
Optionally, the electronic equipment further include: second acquisition unit, for the target figure in the operation image event As place display area or before nearby showing a map search frame or searching for entrance, at least one on the current web page is obtained Open at least one keyword of image, wherein the target image is any image in an at least image.
Optionally, the second acquisition unit, comprising:
Module is obtained, for obtaining the first attribute information of at least one image on the current web page;
Sending module, for first attribute information and keyword solicited message to be sent to server, the key Word solicited message obtains at least one keyword relevant to described image for requesting;
Receiving module, for receiving the server based on an at least image described in first attribute information feedback At least one described keyword.
Optionally, first attribute information includes: the uniform resource locator and title of image, and the title includes figure As the title of title and/or image on the current web page.
Optionally, the acquisition module is also used to: obtaining the second attribute information of the current web page, wherein described Two attribute informations include: the uniform resource locator and the first label of the webpage;
The sending module is also used to: second attribute information being sent to the server, so that the server It is obtained based on second attribute information and first attribute information and feeds back at least one key relevant to described image Word.
Optionally, the electronic equipment further include: third acquiring unit, on obtaining the current web page at least Before at least one keyword of one image, the dimension information of all images on the current web page is obtained;According to the ruler Very little information, obtain size in first threshold range and/or the ratio of width to height within the scope of second threshold described at least one Image.
Optionally, the judging unit, comprising:
Detection module, for detecting on the webpage, the setting pointer event on the acquisition electronic equipment is corresponding to work as Preceding web page element;
Judgment module, for judging whether the current web page element is image tag;If judging the currentElement It is described image label, judges whether the currentElement is visible;
Determining module, for determining and triggering the operation image thing on the webpage when the currentElement is visible Part simultaneously obtains the corresponding target image of the current web page element.
Optionally, the judgment module is also used to: when judging the current web page element is not described image label, Judge whether the current web page element is setting label, wherein include the figure in the ancestral element of the setting label As label;If so, each image tag that the ancestral element for successively traversing the current web page element includes;Judge each image tag In whether have location information and it is described setting pointer event the matched target image label of location information;
The determining module is also used to: when there is the target image label, being determined and is triggered the behaviour on the webpage Make image event and obtains the corresponding target image of the target image label.
Optionally, the judging unit, comprising:
Detection module, for corresponding to the setting pointer event on the webpage on the detection acquisition electronic equipment First location information;
Judgment module, for judging it is any on the webpage whether first position that the first location information includes falls into The second position where image;
Determining module, for determining and being grasped on the webpage when the first position falls into the second position Make image event and obtains the corresponding target image in the second position.
Optionally, the operation image event specifically: the positioning pointer on the electronic equipment passes through the figure on webpage The event triggered when the daughter element of pixel element or described image element;Alternatively, the positioning pointer on the electronic equipment moves into The event triggered when pictorial element on webpage;Alternatively, positioning pointer on the electronic equipment is from the pictorial element on webpage The event triggered when upper removal.
Method according to the present invention for recommended location information, can trigger operation diagram on judging current web page When as event, in the display area where the target image operated or nearby shows map search frame or search for entrance, according to With the operation of rear to map search box or search entrance, the current geographic position of electronic equipment is obtained, according to current geographic search The distance between and current geographic position relevant at least one keyword of target image is less than the mesh of set distance threshold value Mark geographical location simultaneously shows search result, thus solves the technical problem that geographical location acquisition modes are single in the prior art, Achieve the beneficial effect for increasing geographical location acquisition modes.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the method flow diagram according to an embodiment of the invention for recommended location information;
Fig. 2 shows according to an embodiment of the invention for confirming the stream that the first image of image action event occurs Journey schematic diagram;
Fig. 3 shows the method flow diagram according to an embodiment of the invention for obtaining image keyword;And
Fig. 4 shows electronic equipment block diagram according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Present aspect embodiment provides a kind of method and electronic equipment for recommended location information, to solve existing skill Acquisition modes single technical problem in geographical location in art.
It should be noted that image involved in the embodiment of the present application includes static and dynamic menu, by two-dimensional arrangements Pixel composition, storage format in a computer have BMP, JPG, PCX, TIFF, GIF etc..
Referring to FIG. 1, this be used for the method for recommended location information the following steps are included:
S101: judge whether trigger operation image event on current web page that electronic equipment is shown;
S102: if so, in one map search frame of display area where the target image of operation image event or neighbouring display Or search entrance;
S103: according to the operation of user's to map search box or search entrance, the current geographic where electronic equipment is obtained Position;
S104: according to current geographic position, target geographic position relevant at least one keyword of target image is searched for It sets and shows search result, wherein target geographic position is less than set distance threshold value at a distance from current geographic position.
In the specific implementation process, operation image event specifically can be the mouse event that mouse occurs on the image, It can be the touch event of image on the touchscreen.The mouse event occurred on image includes mouseenter/out/over thing Mouseenter event: part triggers mouseenter event when mouse pointer moves into the pictorial element on webpage;mouseout Event: mouseout event is triggered when mouse pointer is removed from selected pictorial element;Mouseover event: no matter mouse Pointer, which passes through selected pictorial element or its daughter element, can all trigger mouseover event.The touch-control thing of image on the touchscreen Part includes that user is moved in and out certain pictorial element, either passes through alternative pictorial element or its daughter element.
The embodiment of the present application is that electronic equipment judgement triggering image action event and the target image operated enumerate two kinds Mode is not limited to following two mode certainly in the specific implementation process.Referring to FIG. 2, the first judgement triggering image operation The mode of event and the target image operated, comprising:
S201: detection obtains the corresponding current web page element of setting pointer event on electronic equipment on webpage.Wherein, The triggering when position of touch that setting pointer event on electronic equipment refers specifically to mouse pointer or user moves into certain web page element Event, the event triggered when perhaps removing certain web page element or across alternative web page element or its daughter element when touch The event of hair.
S202: judge whether current web page element is image tag.In the specific implementation process, the mark of current page element It is signed with a variety of, wherein the label of image is<img>that is image tag, thus can be by judging whether current page element is figure Judge whether current page element is image as label.As a kind of optional embodiment, in order to avoid to sightless figure As executing meaningless operation, S203 is if the determination result is YES continued to execute, if judging result is no execution S205.
S203: when judging current web page element is image tag, judge whether current web page element is visible.Wherein, may be used To pass through<img>in label the size of image or style style come judge current web page element whether it is seen, for example: image So may determine that its is invisible having a size of 0*0, style be sightless label such as: visibility:hidden or Display:none then judges that its is invisible, on the contrary then visible.
S204: operation image event is triggered on webpage and is obtained current as it can be seen that determining if judging current web page element The corresponding target image of web page element.If judging, current web page element is invisible, it is determined that non-trigger action image on webpage Event.
S205: if judging, the label of current web page element is not image tag, judges whether current web page element is to set Calibration label, wherein setting includes image tag in the ancestral element of label.For example, setting label can be<div>,<span >,<a>etc. be superimposed upon sightless label on pictorial element, can be in upper layer element, that is, ancestral element packet of these setting labels Pictorial element is found in all elements contained.
S206: if judging whether current web page element is setting label, ancestors' member of current web page element is successively traversed Each image tag that element includes.Since there are cover other page elements on an image (to be such as covered with transparent elements " next figure Piece ") the case where, and the object that user actually wants to operation in this case is image, electronic equipment further executes S207 thus, It avoids being mistaken for the situation not triggering image action event on image.If judging current web page element not is setting label, It can so determine non-trigger action image event on webpage.
S207: judge whether to have location information in each image tag for including in ancestral element and set the position of pointer event Confidence ceases matched target image label.Wherein, the location information of image tag is matched with the location information of pointer event includes: The initial position and/or end position for setting pointer event fall into the position where image tag.For example, the mouse of mouse event Pointer is from one inflow location two of position, and the position three where the image tag 1 in ancestral element includes position two, then judging The location information of image tag 1 is matched with the location information of setting pointer event out.
S208: it if judging to have target image label, determines and triggers operation image event on webpage and obtain target figure As the corresponding target image of label.Conversely, confirmation this subtask of non-trigger action image event terminates or is transferred to execution second Kind validation testing, it is of course also possible to first carry out second of validation testing, the embodiment of the present application does not limit the side of confirmation target image Formula.
Such as: it is illustrated with the page that hypertext markup language makes, each element on the page is as follows:
……
<div class="img_wrapper">
<img
Src=" http://i2.sinaimg.cn/dy/c/2015-06-26/U7939P1T1D31991153F21DT20 " 150626095913.GIF width=" 40px " height=" 20px " >
<prev/Next>
<a href=" next picture .GIF ">
</div>;
When the corresponding page elements in the position of the pointer of mouse are A labels, i.e. the next picture of correspondence < a href=" .jpg " >, upper one layer of element of the A label is obtained at this time, that is, obtains the ancestral element div tag of A label, is obtained in div tag The each picture tag for including obtains<div>with</div>between include it is all<img>, that is, get<imgsrc=" http://i2.sinaimg.cn/dy/c/2015-06-26/U7939P1T1D31991153F21DT20150626095913.j Pg " width=" 40px " height=" 20px " >;
And location information of the img label in the page i.e. regional scope is obtained, and determines that the position of mouse pointer belongs to In regional scope correspond to the img label, determine and user's operation have occurred as event on the corresponding picture of img label, that is, use Family operates the target image on the page, wherein target image is to be stored in:
http://i2.sinaimg.cn/dy/c/2015-06-26/U7939P1T1D31991153F21DT20150626 Picture in the position 095913.jpg.
The mode of second confirmation triggering image action event and the target image operated, comprising: detected on webpage Obtain first location information corresponding to the setting pointer event on electronic equipment;Traverse all figures on the webpage currently shown As and its position, judge whether first position that first location information includes falls into second where any image on webpage Position;Operation image event and the corresponding image in the second position are triggered on webpage as target image if so, determining.
When judging to trigger operation image event on webpage, electronic equipment executes S102 in the target image operated The display area at place or nearby display map search frame or search entrance.Specifically, electronic equipment can be first according to target figure The dimension information and location information of picture draw the map search frame to suspend or search entrance, such as in the position where target image Or the position to connect with the lower edge of target image is drawn and target image is the same as wide suspension map search frame or search entrance;So Afterwards, map search frame or search entrance that display area or the display of its lower edge where target image are drawn.Wherein, search for into Mouth can be a map search button, and user will go to the search page scanned for target geographic position after clicking the button Face, or directly execute S103 and S104 and obtain the current geographic position where electronic equipment and searched for according to current geographic position Target geographic position, display search result.
The embodiment optional as one is searched in display area where the target image operated or one map of neighbouring display While rope frame, can also in map search frame at least one corresponding keyword of displaying target image, allow users to At least one keyword relevant to target image is searched in selection.
Such as: when triggering image action event on target image, electronic equipment can be drawn and target image is the same as wide Rectangle suspension map search frame, the map search frame can be translucent;Then, by target image it is corresponding at least one Keyword is shown in map search frame, and when the user clicks when some or multiple keywords, electronic equipment just searches for user's point The keyword hit, and display for a user search result.The corresponding keyword of target image is more can not be again in map search frame When once having shown, electronic equipment can roll the corresponding all keywords of target image aobvious in map search frame in batches Show;It can also be recorded according to the browsing of user and the correlation degree of keyword and user behavior is ranked up, according to correlation degree Sequence from high to low is shown in batches in map search frame.
As a kind of optional embodiment, electronic equipment can also be recorded according to the browsing of user, and conjecture user is interested Keyword, such as: obtain user browse record in browsing time at most or in the recent period browsing the highest keyword of frequency as use The interested keyword in family, and when executing S102 in map search frame at least one corresponding keyword of displaying target image With the interested keyword of user.
Electronic equipment execute S102 show map search frame and search entrance after, further execute S103 according to user over the ground Graph search frame or the operation for searching for entrance obtain the current geographic position where electronic equipment.Specifically, electronic equipment can lead to The mode for crossing satellite positioning obtains current geographic position where itself namely user, can also pass through invocation map application software Obtain current geographic position.
After obtaining current geographic position, electronic equipment continues to execute at least one key of S104 search with target image The relevant distance between current geographic position of word is less than the target geographic position of set distance threshold value, and shows search result. Wherein, set distance threshold value can be system default value, can also be by user's sets itself, such as user is according to the reality of oneself Demand can set 1.5km for set distance threshold value.The target geographic position that search obtains includes following at least one: working as mesh When at least one keyword of logo image is article keyword, target geographic position is sale, the quotient for repairing or recycling the article Bunk is set, such as the keyword of target image is sport car, then target geographic position can be the 4S for selling or repairing the sport car The geographical location in shop;When at least one keyword of target image is building keyword, target geographic position is the building institute Geographical location, such as target image keyword be television broadcasting mansion, then the target geographic position for searching for acquisition can Think the geographical location where television broadcasting mansion;When at least one keyword of target image is behavior keyword, target Geographical location is the geographical location for being able to carry out the place of the behavior, such as the keyword of target image is swimming, then searching for The target geographic position of acquisition can be the geographical location where natatorium.
Web page image is watched in order to avoid map search frame or search entrance influence user, when the positioning on electronic equipment refers to After needle removes target image, electronic equipment also hide be shown in the map search frame of display area where target image or search for into Mouthful.Such as: when the mouse pointer on electronic equipment is removed from target image or user clicks on touch screen where non-object image When display area, the map search frame of display area where being shown in target image or search entrance are hidden.Certain electronic equipment It can also start timing after executing S102, if user's to map search box is not detected or searches such as 15s after preset duration Rope entrance is operated, then hides the map search frame or search entrance of display area where being shown in target image.
As a kind of optional embodiment, in order to obtain at least one keyword of target image, electronic equipment is being shown Before map search frame or search entrance, at least one keyword of at least one image on current web page is obtained, wherein when An at least image on preceding webpage includes target image.Specifically, electronic equipment can be prestored on current web page by reading Each image at least one keyword, at least one that can also obtain at least image by the following method be crucial Word, as shown in Figure 3:
S301: the first attribute information of at least one image on the webpage that electronic equipment is currently shown is obtained;
S302: first attribute information and keyword solicited message are sent to server, the keyword request letter Breath obtains at least one keyword relevant to described image for requesting;
S303: receive the server based on described in first attribute information feedback described in an at least image extremely A few keyword.
As a kind of optional embodiment, electronic equipment can be when opening current web page or rolling before executing S301 When more contents of dynamic mouse load current web page, the dimension information of all images on the webpage currently shown is obtained, according to working as The dimension information of all images of preceding display, size is in first threshold range and/or the ratio of width to height is in second threshold for acquisition An at least image in range.For filtering out the too small image of area, second threshold range was used for first threshold range The image of strip is filtered, because these images are usually mark, advertisement etc. to the meaningless image of user, filters out these figures The calculation amount of the information content from reduction electronic equipment to server, server acquisition keyword that are sent as, and improve electronic equipment and obtain Take the efficiency of keyword.First threshold range and second threshold range can carry out different settings according to the difference of filtering requirement, Such as: first threshold range can may range from 0.2~9 with 30mm*30mm~200mm*300mm, second threshold, need to illustrate , the embodiment of the present application is not intended to limit its specific value.
Certainly, the step of electronic equipment can not also execute before S301 directly executes S301 and obtains the net currently shown First attribute information of at least one image in page.At least image can be the institute that includes in the webpage that currently shows at this time There are image or arbitrary image, the image for being also possible to be shown in the webpage currently shown does not include not shown figure in webpage As (for example loading the image completed or do not loaded).
Wherein, the first attribute information of at least one image specifically includes: the uniform resource locator (Uniform of image Resource Locator, URL) and title.The title of image include title title of the image on webpage and/or image from The title alt of body, for example, have the picture of a city sport car on the webpage for describing sport car one, description thereof on the webpage Entitled " sedan-chair run small cheetah ", the alt in the attribute information of the picture itself is " R343 ", then the title of the picture then includes " sedan-chair runs small cheetah " and " R343 ".It is stored at least one corresponding pass URL+title+alt of each image in the server Keyword after executing the first attribute information that S101 obtains image, can be obtained from server each based on the first attribute information At least one keyword of image.
As a kind of optional embodiment, the keyword solicited message for carrying the first attribute information is sent executing S302 To before server, electronic equipment also further obtains the second attribute information of the webpage currently shown, and the second attribute is believed Breath is sent to server, so that server is based on the second attribute information and the first attribute information is obtained and fed back related to the image At least one keyword.Wherein, the second attribute information includes the uniform resource position mark URL and first of the webpage currently shown Label, that is, H1 label.By the way that the second attribute information is sent to server together, so that server is receiving keyword request letter It is based on after breath: the URL+title+alt of image and the URL+H1 label of webpage, the information relevant to image that electronic equipment is sent More, the keyword that server control is extracted is more accurate.
Such as: assuming that the corresponding keyword of the URL+title+alt of the target image stored in server include: sport car, Cruel, beginner etc. is dazzled, and corresponding keyword then wraps the URL+H1 label of the URL+title+alt of target image and webpage together Include: city sport car, dazzle it is cruel it is blue, 30~600,000 etc.;So, when electronic equipment only obtains the first attribute information of image, then Server then can only feed back sport car to electronic equipment according to the first attribute information, dazzle the keywords such as cruel, beginner as target figure The keyword of picture;If the first attribute information that electronic equipment not only obtains image also obtains the second attribute information of webpage, So server will feed back more accurate keyword such as city to electronic equipment according to the first attribute information and the second attribute information City's sport car, dazzle it is cruel it is blue, 30~600,000 etc..
After electronic equipment executes at least one keyword at least one image that S303 receives server feedback, into one Step monitors the operation image event on the webpage currently shown.Since server can be real-time according to the latest development of web search More new keywords, thus it is more acurrate by the keyword that server obtains, to be purchased according to real-time acquisition keyword search Object webpage is also more acurrate, can effectively improve the online shopping experience of user.
In the above-described embodiments, electronic equipment pass through judge show current web page on whether trigger action image event, If in display area where the target image operated or nearby showing map search frame or searching for entrance, and according to user couple Map search frame or the operation for searching for entrance, are searched for target image at least according to the current geographic position where electronic equipment The relevant target geographic position of one keyword simultaneously shows search result, allows users to obtain corresponding target according to image Thus geographical location solves the technical problem that geographical location acquisition modes are single in the prior art, achieve the geographical position of increase Set the beneficial effect of acquisition modes.
Method based on the embodiment of the present invention for recommended location information, the embodiment of the present invention also provide a kind of use In the electronic equipment of recommended location information, referring to FIG. 4, the electronic equipment includes:
Judging unit 401, for judging whether trigger operation image thing on current web page that the electronic equipment is shown Part;
Display unit 402, when for triggering operation image event on the current web page, in the operation image thing Display area where the target image of part or nearby one map search frame of display or search entrance;
First acquisition unit 403 is obtained for the operation according to user to the map search frame or described search entrance Current geographic position where the electronic equipment;
Search unit 404, for according to the current geographic position, at least one key of search and the target image The relevant target geographic position of word simultaneously shows search result, wherein the target geographic position and the current geographic position Distance is less than set distance threshold value.
Optionally, the target geographic position comprises at least one of the following position: when at least one described keyword is object When product keyword, the target geographic position is the retail shop position for selling, repairing or recycling the article;When it is described at least one When keyword is building keyword, the target geographic position is the geographical location where the building;When it is described at least one When keyword is behavior keyword, the target geographic position is to be able to carry out the geographical location in the place of the behavior.
Optionally, the display unit 402 is also used to: in display area where the target image of the operation image event Or while nearby showing a map search frame, at least one key of the target image is shown in the map search frame Word allows the user to selection and carries out location finding at least one described keyword.
Optionally, the display unit 402 is also used to: when the positioning pointer on the electronic equipment removes the target figure When picture, the map search frame or described search entrance are hidden.
Optionally, the electronic equipment further include: second acquisition unit 405, for the mesh in the operation image event Before display area where logo image or nearby one map search frame of display or search entrance, obtain on the current web page extremely At least one keyword of a few image, wherein the target image is any image in an at least image.
Optionally, the second acquisition unit 405, comprising: module is obtained, for obtaining on the current web page at least First attribute information of one image;Sending module, for first attribute information and keyword solicited message to be sent to Server, the keyword solicited message obtain at least one keyword relevant to described image for requesting;Receiving module, For receiving the server based at least one pass described in an at least image described in first attribute information feedback Keyword.
Optionally, first attribute information includes: the uniform resource locator and title of image, and the title includes figure As the title of title and/or image on the current web page.
Optionally, the acquisition module is also used to: obtaining the second attribute information of the current web page, wherein described Two attribute informations include: the uniform resource locator and the first label of the webpage;The sending module is also used to: by described Two attribute informations are sent to the server, so that the server is based on second attribute information and first attribute is believed Breath obtains and feeds back at least one keyword relevant to described image.
Optionally, the electronic equipment further include: third acquiring unit 406, on obtaining the current web page Before at least one keyword of at least one image, the dimension information of all images on the current web page is obtained;According to institute State dimension information, obtain size in first threshold range and/or the ratio of width to height within the scope of second threshold described at least One image.
Optionally, the judging unit 401, comprising: detection module, for the detection acquisition electronics on the webpage The corresponding current web page element of setting pointer event in equipment;Judgment module, for whether judging the current web page element For image tag;If judging, the currentElement is described image label, judges whether the currentElement is visible;Determine mould Block is worked as described in the operation image event and acquisition for when the currentElement is visible, determining to trigger on the webpage The corresponding target image of preceding web page element.
Optionally, the judgment module is also used to: when judging the current web page element is not described image label, Judge whether the current web page element is setting label, wherein include the figure in the ancestral element of the setting label As label;If so, each image tag that the ancestral element for successively traversing the current web page element includes;Judge each image tag In whether have location information and it is described setting pointer event the matched target image label of location information;The determining module is also For: when there is the target image label, determines and trigger the operation image event on the webpage and obtain the mesh The corresponding target image of logo image label.
Optionally, the judging unit 401, comprising: detection module, for the detection acquisition electronics on the webpage First location information corresponding to setting pointer event in equipment;Judgment module, for judging the first location information packet Whether the first position contained falls into the second position on the webpage where any image;Determining module, for described first When position falls into the second position, determines and operation image event has occurred on the webpage and obtains the second position correspondence The target image.
Optionally, the operation image event specifically: the positioning pointer on the electronic equipment passes through the figure on webpage The event triggered when the daughter element of pixel element or described image element;Alternatively, the positioning pointer on the electronic equipment moves into The event triggered when pictorial element on webpage;Alternatively, positioning pointer on the electronic equipment is from the pictorial element on webpage The event triggered when upper removal.
By one or more technical solutions in the embodiment of the present application, following technical effect may be implemented:
By judge display current web page on whether trigger action image event, if in the target image institute operated It in display area or nearby shows map search frame or searches for entrance, and according to the behaviour of user's to map search box or search entrance Make, target geographic relevant at least one keyword of target image is searched for according to the current geographic position where electronic equipment Position simultaneously shows search result, allows users to obtain corresponding target geographic position according to image, thus solve existing Acquisition modes single technical problem in geographical location in technology achieves the beneficial effect for increasing geographical location acquisition modes.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) are some or complete in electronic equipment according to an embodiment of the present invention to realize The some or all functions of portion's component.The present invention be also implemented as a part for executing method as described herein or The device or device program (for example, computer program and computer program product) of person's whole.Such realization is of the invention Program can store on a computer-readable medium, or may be in the form of one or more signals.Such signal It can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or be provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The present invention provides, A1, a kind of method for recommended location information, is applied to an electronic equipment, which is characterized in that The described method includes:
Judge whether trigger operation image event on current web page that the electronic equipment is shown;
If so, it is described operation image event target image where display area or nearby display one map search frame or Search for entrance;
Operation according to user to the map search frame or described search entrance obtains working as where the electronic equipment Preceding geographical location;
According to the current geographic position, target geographic relevant at least one keyword of the target image is searched for Position simultaneously shows search result, wherein the target geographic position is less than set distance at a distance from the current geographic position Threshold value.
A2, method according to a1, which is characterized in that the target geographic position comprises at least one of the following position:
When at least one described keyword is article keyword, the target geographic position is to sell, repair or recycle The retail shop position of the article;
When at least one described keyword is building keyword, the target geographic position is the ground where the building Manage position;
When at least one described keyword is behavior keyword, the target geographic position is to be able to carry out the behavior Place geographical location.
A3, method according to a1, which is characterized in that in viewing area where the target image of the operation image event While domain or nearby one map search frame of display, the method also includes:
At least one keyword that the target image is shown in the map search frame allows the user to selection pair At least one described keyword carries out location finding.
A4, method according to a1, which is characterized in that in viewing area where the target image of the operation image event After domain or nearby one map search frame of display or search entrance, the method also includes:
When the positioning pointer on the electronic equipment removes the target image, the map search frame or described is hidden Search for entrance.
A5, according to any method of A1~A4, which is characterized in that in the target image institute of the operation image event In display area or before nearby showing a map search frame or searching for entrance, the method also includes:
Obtain at least one keyword of at least one image on the current web page, wherein the target image is Any image in an at least image.
A6, method according to a5, which is characterized in that obtain an at least image on the current web page at least One keyword, comprising:
Obtain the first attribute information of at least one image on the current web page;
First attribute information and keyword solicited message are sent to server, the keyword solicited message is used for Request obtains at least one keyword relevant to described image;
The server is received based at least one described in an at least image described in first attribute information feedback A keyword.
A7, the method according to A6, which is characterized in that first attribute information includes: that the unified resource of image is fixed Position symbol and title, the title include the title of title and/or image of the image on the current web page.
A8, the method according to A6, which is characterized in that the method also includes:
Obtain the second attribute information of the current web page, wherein second attribute information includes: the system of the webpage One Resource Locator and the first label;
Second attribute information is sent to the server, so that the server is based on second attribute information It is obtained with first attribute information and feeds back at least one keyword relevant to described image.
A9, method according to a5, which is characterized in that obtaining at least image on the current web page extremely Before a few keyword, the method also includes:
Obtain the dimension information of all images on the current web page;
According to the dimension information, size is in first threshold range and/or the ratio of width to height is in second threshold model for acquisition Enclose an interior at least image.
A10, according to any method of A1~A4, which is characterized in that judge the current net that the electronic equipment is shown Operation image event whether is triggered on page, is specifically included:
Detection obtains the corresponding current web page element of setting pointer event on the electronic equipment on the webpage;
Judge whether the current web page element is image tag;
If judging, the currentElement is described image label, judges whether the currentElement is visible;
If the currentElement triggers the operation image event and obtains described current as it can be seen that determining on the webpage The corresponding target image of web page element.
A11, the method according to A10, which is characterized in that judging whether the current web page element is image tag Later, the method also includes:
If judging, the current web page element is not described image label, judges whether the current web page element is to set Calibration label, wherein include described image label in the ancestral element of the setting label;
If so, each image tag that the ancestral element for successively traversing the current web page element includes;
Judge the matched target of location information for whether having location information and the setting pointer event in each image tag Image tag;
The operation image event is triggered on the webpage and the acquisition target image label is corresponding if so, determining The target image.
A12, according to any method of A1~A4, which is characterized in that judge the current net that the electronic equipment is shown Whether operation image event is triggered on page, comprising:
Detection obtains first location information corresponding to the setting pointer event on the electronic equipment on the webpage;
Judge whether first position that the first location information includes falls into where any image on the webpage Two positions have occurred operation image event and obtain the corresponding target in the second position if so, determining on the webpage Image.
A13, according to any method of A1~A4, which is characterized in that the operation image event specifically:
Positioning pointer on the electronic equipment passes through the daughter element of pictorial element or described image element on webpage When the event that triggers;Or
The event triggered when the pictorial element that the positioning pointer on the electronic equipment moves on webpage;Or
The event that positioning pointer on the electronic equipment triggers when removing from the pictorial element on webpage.
B14, a kind of electronic equipment characterized by comprising
Judging unit, for judging whether trigger operation image event on current web page that the electronic equipment is shown;
Display unit, when for triggering operation image event on the current web page, in the operation image event Target image where display area or nearby display one map search frame or search entrance;
First acquisition unit obtains institute for the operation according to user to the map search frame or described search entrance State the current geographic position where electronic equipment;
Search unit, for according to the current geographic position, at least one keyword of search and the target image Relevant target geographic position simultaneously shows search result, wherein the target geographic position and the current geographic position away from From less than set distance threshold value.
B15, electronic equipment according to b14, which is characterized in that the target geographic position comprises at least one of the following Position:
When at least one described keyword is article keyword, the target geographic position is to sell, repair or recycle The retail shop position of the article;
When at least one described keyword is building keyword, the target geographic position is the ground where the building Manage position;
When at least one described keyword is behavior keyword, the target geographic position is to be able to carry out the behavior Place geographical location.
B16, electronic equipment according to b14, which is characterized in that the display unit is also used to:
While display area where the target image of the operation image event or one map search frame of display nearby, At least one keyword that the target image is shown in the map search frame, allow the user to selection to it is described at least One keyword carries out location finding.
B17, electronic equipment according to b14, which is characterized in that the display unit is also used to:
When the positioning pointer on the electronic equipment removes the target image, the map search frame or described is hidden Search for entrance.
B18, according to any electronic equipment of B14~B17, which is characterized in that the electronic equipment further include:
Second acquisition unit, in display area where the target image of the operation image event or nearby showing one Before map search frame or search entrance, at least one keyword of at least one image on the current web page is obtained, In, the target image is any image in an at least image.
B19, the electronic equipment according to B18, which is characterized in that the second acquisition unit, comprising:
Module is obtained, for obtaining the first attribute information of at least one image on the current web page;
Sending module, for first attribute information and keyword solicited message to be sent to server, the key Word solicited message obtains at least one keyword relevant to described image for requesting;
Receiving module, for receiving the server based on an at least image described in first attribute information feedback At least one described keyword.
B20, the electronic equipment according to B19, which is characterized in that first attribute information includes: the unification of image Resource Locator and title, the title include the title of title and/or image of the image on the current web page.
B21, the electronic equipment according to B19, which is characterized in that the acquisition module is also used to: it obtains described current Second attribute information of webpage, wherein second attribute information includes: the uniform resource locator and the first mark of the webpage Label;
The sending module is also used to: second attribute information being sent to the server, so that the server It is obtained based on second attribute information and first attribute information and feeds back at least one key relevant to described image Word.
B22, the electronic equipment according to B18, which is characterized in that the electronic equipment further include:
Third acquiring unit, at least one keyword for obtaining at least one image on the current web page it Before, obtain the dimension information of all images on the current web page;According to the dimension information, size is obtained in the first threshold Be worth range in and/or the ratio of width to height within the scope of second threshold described in an at least image.
B23, according to any electronic equipment of B14~B17, which is characterized in that the judging unit, comprising:
Detection module, for detecting on the webpage, the setting pointer event on the acquisition electronic equipment is corresponding to work as Preceding web page element;
Judgment module, for judging whether the current web page element is image tag;If judging the currentElement It is described image label, judges whether the currentElement is visible;
Determining module, for determining and triggering the operation image thing on the webpage when the currentElement is visible Part simultaneously obtains the corresponding target image of the current web page element.
B24, the electronic equipment according to B23, which is characterized in that the judgment module is also used to: described in judging When current web page element is not described image label, judge whether the current web page element is setting label, wherein described to set Calibrating in the ancestral element of label includes described image label;If so, successively traversing the ancestral element of the current web page element Each image tag for including;Judge the location information for whether having location information and the setting pointer event in each image tag The target image label matched;
The determining module is also used to: when there is the target image label, being determined and is triggered the behaviour on the webpage Make image event and obtains the corresponding target image of the target image label.
B25, according to any electronic equipment of B14~B17, which is characterized in that the judging unit, comprising:
Detection module, for corresponding to the setting pointer event on the webpage on the detection acquisition electronic equipment First location information;
Judgment module, for judging it is any on the webpage whether first position that the first location information includes falls into The second position where image;
Determining module, for determining and being grasped on the webpage when the first position falls into the second position Make image event and obtains the corresponding target image in the second position.
B26, according to any electronic equipment of B14~B17, which is characterized in that the operation image event specifically:
Positioning pointer on the electronic equipment passes through the daughter element of pictorial element or described image element on webpage When the event that triggers;Or
The event triggered when the pictorial element that the positioning pointer on the electronic equipment moves on webpage;Or
The event that positioning pointer on the electronic equipment triggers when removing from the pictorial element on webpage.

Claims (22)

1. a kind of method for recommended location information is applied to an electronic equipment, which is characterized in that the described method includes:
Judge whether trigger operation image event on current web page that the electronic equipment is shown;
If so, in display area or one map search frame of display or search nearby where the target image of the operation image event Entrance;
Operation according to user to the map search frame or described search entrance, obtains the current position where the electronic equipment Manage position;
According to the current geographic position, target geographic position relevant at least one keyword of the target image is searched for And show search result, wherein the target geographic position is less than set distance threshold value at a distance from the current geographic position;
The electronic equipment display map search frame or search entrance before, the method also includes:
Obtain the first attribute information of at least one image on the current web page;By first attribute information and keyword Solicited message is sent to server, and the keyword solicited message is relevant extremely to an at least image for requesting to obtain A few keyword;Receive the server based on described in first attribute information feedback described in an at least image extremely A few keyword, wherein the target image is any image in an at least image.
2. the method as described in claim 1, which is characterized in that the target geographic position comprises at least one of the following position:
When at least one described keyword is article keyword, the target geographic position is to sell, described in maintenance or recycling The retail shop position of article;
When at least one described keyword is building keyword, the target geographic position is the geographical position where the building It sets;
When at least one described keyword is behavior keyword, the target geographic position is to be able to carry out the field of the behavior Geographical location.
3. the method as described in claim 1, which is characterized in that in viewing area where the target image of the operation image event While domain or nearby one map search frame of display, the method also includes:
At least one keyword that the target image is shown in the map search frame allows the user to selection to described At least one keyword carries out location finding.
4. the method as described in claim 1, which is characterized in that in viewing area where the target image of the operation image event After domain or nearby one map search frame of display or search entrance, the method also includes:
When the positioning pointer on the electronic equipment removes the target image, the map search frame or described search are hidden Entrance.
5. the method as described in claim 1, which is characterized in that first attribute information includes: that the unified resource of image is fixed Position symbol and title, the title include the title of title and/or image of the image on the current web page.
6. the method as described in claim 1, which is characterized in that the method also includes:
Obtain the second attribute information of the current web page, wherein second attribute information includes: the unified money of the webpage Source finger URL and the first label;
Second attribute information is sent to the server, so that the server is based on second attribute information and institute The first attribute information is stated to obtain and feed back at least one keyword relevant to an at least image.
7. the method as described in claim 1, which is characterized in that obtaining at least image on the current web page extremely Before a few keyword, the method also includes:
Obtain the dimension information of all images on the current web page;
According to the dimension information, size is in first threshold range and/or the ratio of width to height is within the scope of second threshold for acquisition An at least image.
8. the method as described in Claims 1 to 4 is any, which is characterized in that judge the current web page that the electronic equipment is shown On whether trigger operation image event, specifically include:
Detection obtains the corresponding current web page element of setting pointer event on the electronic equipment on the webpage;
Judge whether the current web page element is image tag;
If judging, the current web page element is described image label, judges whether the current web page element is visible;
If the current web page element triggers the operation image event and obtains described current as it can be seen that determining on the webpage The corresponding target image of web page element.
9. method according to claim 8, which is characterized in that judge the current web page element whether be image tag it Afterwards, the method also includes:
If judging, the current web page element is not described image label, judges whether the current web page element is setting mark Label, wherein include described image label in the ancestral element of the setting label;
If so, each image tag that the ancestral element for successively traversing the current web page element includes;
Judge the matched target image of location information for whether having location information and the setting pointer event in each image tag Label;
If so, determine the operation image event is triggered on the webpage and obtain the target image label it is corresponding described in Target image.
10. the method as described in Claims 1 to 4 is any, which is characterized in that judge the current web page that the electronic equipment is shown On whether trigger operation image event, comprising:
Detection obtains first location information corresponding to the setting pointer event on the electronic equipment on the webpage;
Judge whether first position that the first location information includes falls into the second on the webpage where any image It sets, operation image event has occurred on the webpage and obtains the corresponding target image in the second position if so, determining.
11. the method as described in Claims 1 to 4 is any, which is characterized in that the operation image event specifically:
Positioning pointer on the electronic equipment is touched when passing through the daughter element of pictorial element or described image element on webpage The event of hair;Or
The event triggered when the pictorial element that the positioning pointer on the electronic equipment moves on webpage;Or
The event that positioning pointer on the electronic equipment triggers when removing from the pictorial element on webpage.
12. a kind of electronic equipment characterized by comprising
Judging unit, for judging whether trigger operation image event on current web page that the electronic equipment is shown;
Display unit, when for triggering operation image event on the current web page, in the mesh of the operation image event Display area where logo image or nearby one map search frame of display or search entrance;
First acquisition unit obtains the electricity for the operation according to user to the map search frame or described search entrance Current geographic position where sub- equipment;
Search unit, for searching for related at least one keyword of the target image according to the current geographic position Target geographic position and show search result, wherein the target geographic position is small at a distance from the current geographic position In set distance threshold value;
Second acquisition unit, for obtaining on the current web page at least before display map search frame or search entrance First attribute information of one image;First attribute information and keyword solicited message are sent to server, the pass Keyword solicited message obtains at least one keyword relevant to an at least image for requesting;Receive the server Based at least one keyword described in an at least image described in first attribute information feedback, wherein the target Image is any image in an at least image.
13. electronic equipment as claimed in claim 12, which is characterized in that the target geographic position comprises at least one of the following Position:
When at least one described keyword is article keyword, the target geographic position is to sell, described in maintenance or recycling The retail shop position of article;
When at least one described keyword is building keyword, the target geographic position is the geographical position where the building It sets;
When at least one described keyword is behavior keyword, the target geographic position is to be able to carry out the field of the behavior Geographical location.
14. electronic equipment as claimed in claim 12, which is characterized in that the display unit is also used to:
While display area where the target image of the operation image event or one map search frame of display nearby, in institute State at least one keyword that the target image is shown in map search frame, allow the user to selection to it is described at least one Keyword carries out location finding.
15. electronic equipment as claimed in claim 12, which is characterized in that the display unit is also used to:
When the positioning pointer on the electronic equipment removes the target image, the map search frame or described search are hidden Entrance.
16. electronic equipment as claimed in claim 12, which is characterized in that first attribute information includes: the unification of image Resource Locator and title, the title include the title of title and/or image of the image on the current web page.
17. electronic equipment as claimed in claim 12, which is characterized in that the second acquisition unit is also used to: described in acquisition Second attribute information of current web page, wherein second attribute information includes: the uniform resource locator and of the webpage One label;
The sending module is also used to: second attribute information being sent to the server, so that the server is based on Second attribute information and first attribute information obtain and feed back it is relevant to an at least image at least one Keyword.
18. electronic equipment as claimed in claim 12, which is characterized in that the electronic equipment further include:
Third acquiring unit, for before at least one keyword for obtaining at least one image on the current web page, Obtain the dimension information of all images on the current web page;According to the dimension information, size is obtained in first threshold In range and/or the ratio of width to height within the scope of second threshold described in an at least image.
19. the electronic equipment as described in claim 12~15 is any, which is characterized in that the judging unit, comprising:
Detection module, for the corresponding current net of setting pointer event on the webpage on the detection acquisition electronic equipment Page element;
Judgment module, for judging whether the current web page element is image tag;If judging the current web page element It is described image label, judges whether the current web page element is visible;
Determining module, for determining and triggering the operation image thing on the webpage when the current web page element is visible Part simultaneously obtains the corresponding target image of the current web page element.
20. electronic equipment as claimed in claim 19, which is characterized in that the judgment module is also used to: described in judging When current web page element is not described image label, judge whether the current web page element is setting label, wherein described to set Calibrating in the ancestral element of label includes described image label;If so, successively traversing the ancestral element of the current web page element Each image tag for including;Judge the location information for whether having location information and the setting pointer event in each image tag The target image label matched;
The determining module is also used to: when there is the target image label, being determined and is triggered the operation diagram on the webpage As event and obtain the corresponding target image of the target image label.
21. the electronic equipment as described in claim 12~13 is any, which is characterized in that the judging unit, comprising:
Detection module, for first corresponding to the setting pointer event on the webpage on the detection acquisition electronic equipment Location information;
Judgment module, for judging whether the first position that the first location information includes falls into any image on the webpage The second position at place;
Determining module, for determining and operation diagram having occurred on the webpage when the first position falls into the second position As event and obtain the corresponding target image in the second position.
22. the electronic equipment as described in claim 12~13 is any, which is characterized in that the operation image event specifically:
Positioning pointer on the electronic equipment is touched when passing through the daughter element of pictorial element or described image element on webpage The event of hair;Or
The event triggered when the pictorial element that the positioning pointer on the electronic equipment moves on webpage;Or
The event that positioning pointer on the electronic equipment triggers when removing from the pictorial element on webpage.
CN201510570852.9A 2015-09-09 2015-09-09 A kind of method and electronic equipment for recommended location information Active CN105045935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510570852.9A CN105045935B (en) 2015-09-09 2015-09-09 A kind of method and electronic equipment for recommended location information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510570852.9A CN105045935B (en) 2015-09-09 2015-09-09 A kind of method and electronic equipment for recommended location information

Publications (2)

Publication Number Publication Date
CN105045935A CN105045935A (en) 2015-11-11
CN105045935B true CN105045935B (en) 2019-05-31

Family

ID=54452481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510570852.9A Active CN105045935B (en) 2015-09-09 2015-09-09 A kind of method and electronic equipment for recommended location information

Country Status (1)

Country Link
CN (1) CN105045935B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784037B (en) * 2016-08-31 2022-02-01 北京搜狗科技发展有限公司 Information processing method and device, and device for information processing
CN107239567A (en) * 2017-06-22 2017-10-10 努比亚技术有限公司 A kind of recognition methods of object scene, equipment and computer-readable recording medium
CN107316399B (en) * 2017-06-28 2019-09-03 广东润联信息技术有限公司 A kind of intelligent community service kiosk and its working method for market
CN107527268A (en) * 2017-08-23 2017-12-29 苏州浩哥文化传播有限公司 Intelligent public service kiosk for shopping navigation and working method thereof
CN113094600A (en) * 2020-01-08 2021-07-09 百度在线网络技术(北京)有限公司 Searching method, device, equipment and medium of electronic map
CN111813486A (en) * 2020-07-17 2020-10-23 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046802A (en) * 2006-03-31 2007-10-03 马飞涛 Geographic picture searching method
CN101996253A (en) * 2010-11-17 2011-03-30 上海合合信息科技发展有限公司 Method for automatically extracting address and searching map
CN103020184A (en) * 2012-11-29 2013-04-03 北京百度网讯科技有限公司 Method and system utilizing shot images to obtain search results
CN103533503A (en) * 2013-10-22 2014-01-22 上海斐讯数据通信技术有限公司 Method and system for recording and acquiring bus time table through photographing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007219615A (en) * 2006-02-14 2007-08-30 Sony Corp Retrieval device, retrieval method, program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046802A (en) * 2006-03-31 2007-10-03 马飞涛 Geographic picture searching method
CN101996253A (en) * 2010-11-17 2011-03-30 上海合合信息科技发展有限公司 Method for automatically extracting address and searching map
CN103020184A (en) * 2012-11-29 2013-04-03 北京百度网讯科技有限公司 Method and system utilizing shot images to obtain search results
CN103533503A (en) * 2013-10-22 2014-01-22 上海斐讯数据通信技术有限公司 Method and system for recording and acquiring bus time table through photographing

Also Published As

Publication number Publication date
CN105045935A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105045935B (en) A kind of method and electronic equipment for recommended location information
US10438262B1 (en) Method and device for implementing a virtual browsing experience
RU2654133C2 (en) Three-dimensional object browsing in documents
CN110231026A (en) In conjunction with the shop route recommendation method and device of location information
US11244379B2 (en) Image-based listing using image of multiple items
US10110966B2 (en) Method, device, server and client device for video processing
US20130263044A1 (en) Method and system to provide a scroll map
CN108563750A (en) Based on browsing activity recognition matching application
US10091556B1 (en) Relating items to objects detected in media
US20150026012A1 (en) Systems and methods for online presentation of storefront images
CN105260383B (en) It is a kind of for showing the processing method and electronic equipment of Web page image information
CN105222803A (en) Map POI display packing and terminal
CN107274272A (en) Data processing method, device and electronic equipment
KR102150572B1 (en) Endless search result page
CN106790336B (en) Information pushing method and device and information displaying method and device
CN105260904B (en) Method for recommending information according to webpage image and electronic equipment
CN103646053A (en) Website providing object recommendation method and device
CN106663280B (en) Automatic identification of acquirable entities
CN105243106A (en) Method and apparatus used for generating inquiry results
CN105243132B (en) A kind of search record control method and electronic equipment
CN104461263A (en) Network page display method and device
CN105243133B (en) A kind of search record display methods and electronic equipment
CN107451297B (en) Webpage display method and device
CN105988661A (en) Prompt information display method and apparatus as well as terminal device
CN103942237A (en) Third-party information display method

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
TR01 Transfer of patent right

Effective date of registration: 20220714

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