WO2016086797A1 - Method for searching for information and processing and identifying picture in browser, and browser client - Google Patents

Method for searching for information and processing and identifying picture in browser, and browser client Download PDF

Info

Publication number
WO2016086797A1
WO2016086797A1 PCT/CN2015/095819 CN2015095819W WO2016086797A1 WO 2016086797 A1 WO2016086797 A1 WO 2016086797A1 CN 2015095819 W CN2015095819 W CN 2015095819W WO 2016086797 A1 WO2016086797 A1 WO 2016086797A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
picture
attribute information
browser
keyword
Prior art date
Application number
PCT/CN2015/095819
Other languages
French (fr)
Chinese (zh)
Inventor
田新超
刘晓健
杨晓兵
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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
Priority claimed from CN201410728494.5A external-priority patent/CN104536975B/en
Priority claimed from CN201410727981.XA external-priority patent/CN104536973B/en
Priority claimed from CN201410728492.6A external-priority patent/CN104536974B/en
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2016086797A1 publication Critical patent/WO2016086797A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a method for searching information in a browser, a browser client, a method for processing picture information in a browser, a browser client, and a method for recognizing a picture.
  • Browser client a method for searching information in a browser, a browser client, a method for processing picture information in a browser, a browser client, and a method for recognizing a picture. Browser client.
  • a web browser is a software that displays files in a web server or file system and allows users to interact with these files. It is used to display images, text, video, audio and other information on the World Wide Web or a local area network. This information is usually displayed on a web page, and the amount of information in the webpage currently displayed by the browser is huge.
  • a plurality of types of webpage elements can be provided in a webpage, including but not limited to: one or more of text, picture, audio, and video.
  • a user browses a certain webpage through a web browser, for example, when a webpage containing audio is interested in an audio, the music can be heard by clicking a link corresponding to the audio.
  • the existing web browser cannot provide other related information (such as the player information corresponding to the audio) except the music link corresponding to the audio, which is difficult for the user to obtain.
  • Other related information about audio elements can be provided in a webpage, including but not limited to: one or more of text, picture, audio, and video.
  • the existing browser can only provide the user with information about the link corresponding to the webpage element when processing the webpage element in the webpage, but cannot provide other related information except the link.
  • the present invention has been made in order to provide a method for searching for information in a browser and a browser client, a method for browsing picture information in a browser, and browsing, which overcomes the above problems or at least partially solves the above problems.
  • a method for searching for information in a browser includes: obtaining attribute information of at least one webpage element in a webpage currently loaded by a browser; and transmitting the obtained attribute information to a server side, And receiving a keyword corresponding to the attribute information returned by the server side; monitoring a first triggering operation on some or all of the webpage elements in the at least one webpage element, and setting a location of the triggered webpage element Displaying a corresponding keyword; monitoring a second triggering operation on the corresponding keyword, and initiating a preset operation based on the keyword on the browser side.
  • a browser client including: an obtaining module, configured to acquire attribute information of at least one webpage element in a webpage currently loaded by a browser; and a sending module, configured to acquire the The attribute information is sent to the server side, and receives a keyword corresponding to the attribute information returned by the server side; and a display module, configured to monitor a first trigger for some or all of the at least one webpage element An operation, displaying a corresponding keyword at a set position of the triggered webpage element; a preset operation initiating module, configured to monitor a second triggering operation on the corresponding keyword, initiated on the browser side Preset actions for keywords.
  • a method for performing picture information processing in a browser includes: acquiring picture attribute information of at least one picture element that satisfies a set condition in a currently loaded web page of a browser; The picture attribute information is sent to the server side, and receives a picture keyword corresponding to the picture attribute information returned by the server side; and detects a first triggering operation on some or all of the picture elements in the at least one picture element, Displaying the corresponding picture keyword at a set position of the triggered picture element; monitoring a second trigger operation on the corresponding picture keyword The preset operation based on the picture keyword is initiated on the browser side.
  • a browser client including: an obtaining module, configured to acquire image attribute information of at least one picture element that satisfies a set condition in a currently loaded webpage of a browser; And sending the acquired image attribute information to the server side, and receiving a picture keyword corresponding to the picture attribute information returned by the server side; and displaying a module, configured to monitor, in the at least one picture element a first triggering operation of the partial or all of the picture elements, displaying a corresponding picture keyword at a set position of the triggered picture element; and a preset operation initiation module, configured to monitor the second to the corresponding picture keyword Triggering an operation, and initiating a preset operation based on the picture keyword on the browser side.
  • a method for image recognition comprising: receiving a first triggering operation for identifying a picture, wherein the picture is a picture in a browser currently loading a webpage or the browser acquires a local picture; the attribute information of the picture and/or the picture is sent to the server side; and a keyword corresponding to the picture returned by the server side is received and displayed, wherein the keyword is used by the server
  • the side finds according to the picture and/or the attribute information corresponding to the picture.
  • a browser client including: a receiving module, configured to receive a first triggering operation for identifying a picture, where the picture is a picture in a currently loaded webpage of a browser Or a local image obtained by the browser; a sending module, configured to send the attribute information of the picture and/or the image to the server side; and a display module, configured to receive and display the returned by the server side a keyword corresponding to the picture, wherein the keyword is searched by the server side according to the picture and/or attribute information corresponding to the picture.
  • the present invention provides a program comprising readable code, when the readable code is run on a terminal device, causing the terminal device to perform the method of searching for information in a browser, in the browser A method of performing picture information processing or the method of picture recognition described above.
  • the present invention provides a readable medium in which the program is stored.
  • the browser obtains the keyword corresponding to at least one webpage element in the currently loaded webpage from the server side, and when the first triggering operation of the webpage element by the user is detected, at the set position of the triggered webpage element
  • the keyword corresponding to the webpage element is displayed, so that it is possible to solve the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element.
  • the solution for searching for information in the browser provided by the present invention can also monitor the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using keywords.
  • the webpage search can provide the user with information about the keyword related webpage through the preset operation, thereby providing the user with more comprehensive information about the webpage element.
  • FIG. 1 is a flow chart showing the steps of a method for searching for information in a browser according to Embodiment 1 of the present invention
  • FIG. 2 is a flow chart showing the steps of a method for searching for information in a browser according to Embodiment 2 of the present invention
  • FIG. 3 is a flow chart showing the steps of a method for performing picture information processing in a browser according to Embodiment 3 of the present invention
  • FIG. 4 is a flow chart showing the steps of a method for performing picture information processing in a browser according to Embodiment 4 of the present invention.
  • FIG. 5 is a flow chart showing the steps of a picture recognition method according to Embodiment 5 of the present invention.
  • FIG. 6 is a flow chart showing the steps of a picture recognition method according to Embodiment 6 of the present invention.
  • FIG. 7 is a structural block diagram of a browser client according to Embodiment 7 of the present invention.
  • FIG. 8 is a structural block diagram of a browser client according to Embodiment 8 of the present invention.
  • FIG. 9 is a structural block diagram of a browser client according to Embodiment 9 of the present invention.
  • FIG. 10 is a structural block diagram of a browser client according to Embodiment 10 of the present invention.
  • FIG. 11 is a block diagram showing the structure of a browser client according to Embodiment 11 of the present invention.
  • FIG. 12 is a block diagram showing the structure of a browser client according to Embodiment 12 of the present invention.
  • Figure 13 shows a block diagram of a server configured to perform a method in accordance with the present invention
  • Figure 14 illustrates a memory unit configured to hold or carry program code that implements the method in accordance with the present invention.
  • FIG. 1 there is shown a flow chart of the steps of a method for searching for information in a browser according to Embodiment 1 of the present invention.
  • Step S102 Acquire attribute information of at least one webpage element in the webpage currently loaded by the browser.
  • the browser obtains the attribute information of which webpage elements in the currently loaded webpage may be set by a person skilled in the art according to actual needs, for example, may be set to obtain only a certain type of webpage element (for example, a video element).
  • the attribute information may also be set to obtain attribute information of a plurality of types of webpage elements (for example, a video element and a picture element), and may of course be set to obtain attribute information of other types of webpage elements, which is not specifically described in this embodiment. limited.
  • the attribute information of the audio currently loaded in the webpage by the browser, and/or the attribute information of the video, and/or the attribute information of the picture are acquired.
  • the specific attribute information obtained can be set by a person skilled in the art according to requirements in actual operation. For example, it is set to obtain only the URL of the webpage element (Uniform Resource Locator), or only the title of the webpage element, and of course, it can also be set to obtain other attribute information, so as to ensure that the obtained attribute information can uniquely identify one. Web page element.
  • Uniform Resource Locator Uniform Resource Locator
  • Step S104 Send the acquired attribute information to the server side, and receive a keyword corresponding to the attribute information returned by the server side.
  • the server side stores the corresponding relationship between the attribute information of the webpage element and the keyword. After receiving the attribute information of the webpage element, the server side obtains the keyword corresponding to the attribute information of the webpage element by searching for the corresponding relationship, and returns the keyword to the browser. .
  • Step S106 The first triggering operation on some or all of the webpage elements in the at least one webpage element is monitored, and the corresponding keyword is displayed at the set position of the triggered webpage element.
  • the first triggering operation on some or all of the webpage elements in the at least one webpage element includes, but is not limited to, hovering, clicking, selecting, and the like, for example, selecting a webpage element by using a mouse or at a certain
  • the suspension of the webpage element over a certain period of time may implement the first triggering operation on the webpage element, or may select multiple webpage elements at a time through the shortcut key to implement the first triggering operation on the plurality of webpage elements.
  • the display position of the keyword may be set to be displayed at any suitable position of the webpage element, for example, the upper left corner, the upper right corner, and the lower left corner of the webpage element, which is not specifically limited in this embodiment.
  • the embodiment is not limited, for example, it can be displayed directly on a webpage element, a bubble can be generated, a keyword can be displayed in a bubble, and of course, other display modes are not listed in this embodiment.
  • Step S108 The second triggering operation on the corresponding keyword is monitored, and the keyword-based preset operation is initiated on the browser side.
  • the browser obtains, from the server side, a keyword corresponding to at least one webpage element in the currently loaded webpage, and when the first triggering operation of the webpage element by the user is detected, The keyword corresponding to the webpage element is displayed at the set position of the triggered webpage element, and therefore, the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element can be solved.
  • the solution for searching for information in the browser provided by the present invention can also monitor the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using keywords.
  • the webpage search can provide the user with information about the keyword related webpage through the preset operation, thereby providing the user with more comprehensive information about the webpage element.
  • FIG. 2 a flow chart of steps of a method for searching for information in a browser according to a second embodiment of the present invention is shown.
  • Step S202 The browser determines whether the currently loaded webpage is a secure webpage; if yes, step S204 is performed, and if not, the first setting operation is performed.
  • the first setting operation may be any appropriate operation set by a person skilled in the art according to actual needs, such as terminating the operation of loading the webpage currently.
  • a preferred step of determining whether the currently loaded webpage is a secure webpage is as follows:
  • Step S2022 The browser obtains webpage attribute information of the currently loaded webpage.
  • the webpage attribute information may be a URL of the webpage and/or title information of the webpage.
  • Step S2024 The browser sends the acquired webpage attribute information to the browser-independent application.
  • the browser-independent application may be a network shield, and may of course be another application that can be used for web page security determination.
  • Step S2026 The browser receives the security identifier corresponding to the webpage attribute information returned by the browser-independent application, where the security identifier is used to indicate whether the currently loaded webpage is a secure webpage.
  • the browser determines whether the browser currently loading the webpage is a secure webpage by using the security identifier obtained in the above steps S2022 to S2026. If the obtained security identifier indicates that the currently loaded webpage is a secure webpage, step S204 and subsequent steps of obtaining the attribute information of the at least one webpage element satisfying the set condition in the currently loaded webpage of the browser are performed. If the security identifier indicates that the currently loaded web page is not a secure web page, the first setting operation is performed.
  • Step S204 When the browser determines that the currently loaded webpage is a secure webpage, it further determines whether the currently loaded webpage has the authority to enable the server side to perform webpage element identification; if yes, step S206 is performed, and if not, the second setting operation is performed.
  • the browser can determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element in the following three specific manners, as follows:
  • the first way is to determine whether the currently loaded web page has the right to enable the server side to identify the web page element through a browser-independent application.
  • the specific process is as follows:
  • the browser obtains the webpage attribute information of the currently loaded webpage; sends the obtained webpage attribute information to the browser-independent application; and receives the permission identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the permission identifier is used by the browser And indicating that the current loading webpage has the right to enable the server side to perform image recognition on the webpage element in the currently loaded webpage; if the permission identifier indicates that the current loading webpage has the right to enable the server side to perform the webpage element identification, step S206 is performed, ie, obtaining The attribute information of at least one web page element in the current loading webpage of the browser.
  • the server side can only support the identification of webpage elements in certain types of webpages, it is independent of
  • the browser application obtains the specific type of related information, and the browser-specific application determines the type of the webpage currently loaded by the browser by using the webpage attribute information sent by the browser, and then determines whether the type of the currently loaded webpage belongs to a specific type. If the type of the currently loaded webpage is in a specific type, the browser-independent application generates a permission identifier for indicating that the currently loaded webpage has the server side identifying the webpage element in the currently loaded webpage.
  • the browser-independent application If the type of the currently loaded webpage is not in a specific type supported by the server side, the browser-independent application generates a permission identifier for indicating that the currently loaded webpage does not have the server side to identify the webpage element in the currently loaded webpage. . After receiving the permission identifier sent by the browser-independent application, the browser can determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element according to the type of the permission identifier.
  • the second way is to determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element through the server side.
  • the specific process is as follows:
  • the browser obtains the webpage attribute information of the currently loaded webpage; the obtained webpage attribute information is sent to the server side, and receives the judgment result returned by the server side, wherein the judgment result carries the server side determining according to the webpage attribute information, determining the current loading Whether the webpage supports the information of the webpage identified by the webpage element; if the result of the judgment indicates that the currently loaded webpage supports the webpage element identification, step S206 is performed, that is, the attribute information of the at least one webpage element satisfying the set condition in the currently loaded webpage of the browser is obtained. .
  • the third way is to determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element by whether the browser can receive the query sent by the server side.
  • the specific process is as follows:
  • the browser receives a message sent by the server side to query whether the webpage element is identified by the current loading webpage; and returns a response message to the server side, where the response message carries information indicating whether to accept the webpage element identification of the current webpage by the server side.
  • the server side sends an inquiry message to the browser side after determining that the browser currently loading the webpage has the authority to make the server side perform the webpage element identification. If the server side does not send an inquiry message to the browser, it proves that the webpage currently loaded by the browser does not have the authority to make the server side perform the webpage element identification.
  • the browser can determine whether the currently loaded web page has the right to enable the server side to identify the web page element by receiving the inquiry information sent by the browser side.
  • the browser may actively control whether to accept the server side to perform the currently loaded webpage by returning information indicating whether to accept the server side to identify the currently loaded webpage by the server side.
  • Web page element identification After the browser determines that the response message indicating that the current loading webpage accepts the webpage element identification by the server side is returned to the server side, step S206 is performed, that is, acquiring at least one webpage element in the currently loaded webpage of the browser. Attribute information.
  • the foregoing is an implementation manner of determining whether the currently loaded webpage has the right to enable the server side to perform webpage element identification.
  • a person skilled in the art may select any one or more of the foregoing.
  • the above steps S202 to S204 are optional steps.
  • the security of the webpage and the recognition authority of the webpage element may not be distinguished. The default is that the security is consistent with the security of the webpage element.
  • the solution of the above steps S202 to S204 is adopted, which further improves the security of the scheme for searching for information in the browser in the embodiment of the present invention.
  • Step S206 The browser acquires attribute information of at least one webpage element in the currently loaded webpage.
  • the browser acquires attribute information of at least one webpage element that satisfies the set condition in the currently loaded webpage.
  • the set condition that is satisfied may be set by a person skilled in the art according to actual needs, for example, setting only the attribute information of the picture element, or setting only the attribute information of the video element, and of course, setting The attribute information of the picture element and the video element is acquired at the same time.
  • the attribute information of the picture element is obtained in real time, and may be set to obtain only the attribute information of the picture element that meets the set size, which is not specifically limited in this embodiment.
  • the setting rule is set to obtain the attribute information of the audio element, the video element, and the picture element in the webpage currently loaded by the browser.
  • step S202 After the step S202 to the step S204, it is determined that the browser currently loads the webpage as a secure webpage and has the right to enable the server side to identify the webpage element, the browser may be triggered to perform step S206 in any of the following three cases. details as follows:
  • the first type acquires attribute information of at least one webpage element in the currently loaded webpage of the browser when the current webpage is loaded.
  • the attribute information of at least one webpage element in the currently loaded webpage of the browser is obtained.
  • the browser sets the browser to obtain the attribute information of the video element in the currently loaded webpage
  • the browser determines that the video element exists in the currently loaded webpage
  • the browser acquires at least one video in the currently loaded webpage. The attribute information of the element.
  • the specific manner of obtaining the information may be set according to actual needs, for example, obtaining all the webpages satisfying the setting conditions in the currently loaded webpage at one time.
  • the attribute information corresponding to the element for example, first obtaining attribute information corresponding to a part of the webpage element that satisfies the setting condition, and transmitting the obtained part of the attribute information to the server side, and acquiring other remaining attributes of the webpage element satisfying the setting condition. information.
  • This embodiment does not specifically limit the manner in which the browser obtains the attribute information of the webpage element that satisfies the set condition in the currently loaded webpage.
  • the attribute information may include at least one of the following URLs, a title of the webpage, webpage element description information, and a mark of the webpage where the webpage element is located.
  • the URL corresponding to the webpage element is obtained as the attribute information of the webpage element, because each of the webpages Web page elements all have URLs, so it is more convenient to get the URL corresponding to the page element.
  • the following steps are described by taking the URL of the webpage as an example.
  • Step S208 The browser sends the acquired attribute information to the server side, and receives a keyword corresponding to the attribute information returned by the server side.
  • the browser encrypts the acquired picture attribute information and sends it to the server side, and receives the encrypted picture keyword corresponding to the picture attribute information returned by the server side. Encrypting the data for transmission ensures the security of the data transmission.
  • the browser may send the attribute information of the acquired webpage element to the server side by any suitable means according to actual conditions by a person skilled in the art.
  • the browser may be configured to follow any one of the following three transmission modes.
  • the obtained web page element attribute information is sent to the server side as follows:
  • the first type all the acquired attribute information is packaged and uploaded to the server side.
  • all the attribute information obtained is grouped according to the set criteria, and each group of attribute information is sequentially uploaded according to the first setting rule.
  • the attribute information may be grouped according to the set quantity, or may be set to be grouped according to the type of the webpage element, and may also be set.
  • the attribute information of the webpage elements is grouped according to the title of the webpage element or the like.
  • the first setting rule may also be set by a person skilled in the art according to actual requirements, which is not specifically limited in this embodiment.
  • the first setting rule may be set to upload each group of attribute information according to a specific time interval, and may also be set to upload the second group of attribute information after the first group of attribute information is uploaded.
  • step S206 the attribute information of the picture element, the video element, and the audio element in the currently loaded webpage is acquired. Interest, then, when all the attribute information obtained is grouped according to the type, the attribute information of the picture element is grouped into one group, the attribute information of all the video elements is grouped, and the attribute information of all the audio elements is divided into As a group.
  • the second setting rule may also be set by a person skilled in the art according to actual needs, for example, the second setting rule may be set to be at a specific time interval (for example, every 5 times). Second) upload each group of attribute information, and can also be set to upload the second group of attribute information after the first group of attribute information is uploaded.
  • the fourth type while uploading the currently obtained attribute information to the server side, continues to obtain the attribute information of the remaining webpage elements in the currently loaded webpage, and uploads the attribute information of the webpage element that continues to be acquired to the server according to the third setting rule. On the side, all attribute information of all webpage elements in the currently loaded webpage is uploaded to the server side.
  • the third setting rule may also be set by a person skilled in the art according to actual needs, for example, set to set the acquired image attribute information according to the set time interval, and the like.
  • the setting of the third setting rule may be the same as or different from the first setting rule and the second setting rule.
  • the browser can also obtain information about the current user account, wherein the information of the user account includes information of at least one other user account associated with the user account.
  • the step of receiving the keyword corresponding to the attribute information returned by the server side includes: receiving the review information returned by the server side with the at least one other user account for the picture element and the identification information of the at least one other user account.
  • step of the browser acquiring the information of the current account may be performed before step S208, and the execution after step S208 may also be performed in parallel with step S208.
  • Step S210 The browser stores the corresponding relationship between the received attribute information and the keyword in a memory corresponding to the browser.
  • the corresponding relationship between the received picture attribute information and the picture keyword is stored in the memory corresponding to the browser, and the browser can determine the picture keyword corresponding to the triggered picture element according to the correspondence.
  • the browser When the browser currently loads the webpage to be closed, the browser deletes the correspondence between the attribute information of the webpage element and the keyword in the webpage stored in the memory corresponding to the browser.
  • this step is an optional step, and the browser stores the corresponding relationship between the attribute information of the webpage element and the keyword in the memory corresponding to the browser, thereby improving the efficiency of the scheme execution, and on the other hand,
  • the webpage element that has obtained the keyword is triggered again, it is no longer necessary to send and obtain related data to the server side, and it can be directly obtained from the memory corresponding to the browser, which not only improves the keyword acquisition efficiency, but also reduces the network. Data transfer and interaction burden.
  • Step S212 The browser monitors a first triggering operation on some or all of the webpage elements in the at least one webpage element.
  • the first triggering operation may be a triggering operation generated when the user clicks on the webpage element by the mouse, or may be a triggering operation generated by the user placing the mouse on the webpage element, or the user may select all or select some webpage elements through the shortcut key.
  • the triggering operation generated at this time is not specifically limited in this embodiment.
  • Step S214 The browser determines whether the keyword corresponding to all the webpage elements triggered by the server side has been received; if yes, step S216 is performed, and if no, step S218 is performed.
  • the correspondence between the received attribute information and the keyword is stored in the memory of the browser in the memory corresponding to the browser, it is determined whether there is any triggered webpage element in the memory corresponding to the browser.
  • the keyword can be.
  • Step S216 When the browser determines that the keyword corresponding to all the triggered webpage elements returned by the server side has been received, the operation of displaying the corresponding keyword at the set position of the triggered webpage element. Then, step S220 is performed.
  • the corresponding relationship between the attribute information returned by the server and the keyword is stored in the memory corresponding to the browser. Therefore, when acquiring the corresponding keyword of all the webpage elements that are triggered, the first determination is triggered. The attribute information of all the webpage elements, and then determining the keyword corresponding to the triggered webpage element according to the determined attribute information and the correspondence between the attribute information of the webpage element stored in the memory corresponding to the browser and the keyword, and is triggered The determined keyword is displayed at the set position of the web page element.
  • the identifier information may be set for each webpage element, and the corresponding relationship between the identifier information of the webpage element and the keyword is stored in the memory corresponding to the browser.
  • the identifier information corresponding to the triggered webpage element is determined, and the corresponding keyword is searched by the identifier information and the corresponding relationship between the identifier information and the keyword stored in the memory corresponding to the browser. .
  • Step S218 When the browser determines that the keyword corresponding to all the webpage elements that are triggered by the server side is not received, the keyword is displayed only at the set position of the webpage element corresponding to the received keyword, and according to the The fourth setting rule continues to send the attribute information of the webpage element that has not received the keyword to the server side.
  • the fourth setting rule can be set by a person skilled in the art according to actual needs, as long as the keywords corresponding to all the triggered webpage elements are obtained, which is not limited in this embodiment.
  • the fourth setting rule is set to send the attribute information of all the webpage elements that are triggered but not received the keyword to the server side, and receive the keyword returned by the server side to determine whether all the received messages are triggered. If the keyword of the webpage element is not received, the attribute information of the webpage element sent to the server side is received, the keyword is received, and whether all the triggers are received is determined. The keyword action of the page element until the browser receives the keywords of all the triggered page elements. For another example, the attribute information of the webpage element that is triggered but does not receive the keyword is grouped, and the attribute information of each group of webpage elements is sequentially sent according to the set time interval until the key of all the triggered webpage elements is received. So far.
  • the corresponding keyword may be displayed at any suitable position of each webpage element, for example, the upper left corner, the upper right corner, the lower left corner of the webpage element, etc., the implementation This example does not impose any specific restrictions.
  • the embodiment does not specifically limit, for example, it can be directly displayed on the webpage element, or a bubble can be generated, the keyword is displayed in the bubble, and of course, other display manners are no longer used in this embodiment. List one by one.
  • Step S220 The browser detects a second triggering operation on the corresponding keyword, and initiates a keyword-based preset operation on the browser side.
  • the keyword may include information such as an e-commerce webpage URL, a public number, a name of an object displayed in the webpage element, and an object type displayed in the webpage element.
  • the preset operation includes at least one of: an operation of performing a webpage search using a keyword, an access operation of a public number corresponding to the keyword, an access operation of the e-commerce webpage URL corresponding to the keyword, and a type indicated by the keyword.
  • the image is searched for.
  • the second triggering operation may be a triggering operation generated by the user clicking a certain information in the keyword by the mouse, and may be a triggering operation generated by the user selecting a certain keyword by using the external device, and the second triggering operation is not specifically performed in this embodiment. limited.
  • monitoring a second triggering operation on the corresponding keyword, and performing a keyword-based preset operation step on the browser side includes: monitoring any of the displayed
  • the second triggering operation of the keyword generates a search request containing the keyword; invoking the browser's search engine, performing a search query according to the search request; and receiving and displaying the result of the search query.
  • the keyword corresponding to an audio element is the name of the player who sings the audio, and when the user performs the second triggering operation on the keyword, a search for the player is performed, and detailed information about the player is provided.
  • the browser side When the preset operation is an access operation to the public number corresponding to the keyword, the browser side initiates access to the public number, thereby implementing access to the public number.
  • the browser side obtains the e-commerce webpage URL selected by the user, accesses the webpage URL, and displays the corresponding webpage.
  • the browser side determines the type indicated by the picture keyword, invokes a search engine to search for a picture related to the type, and displays the searched picture.
  • image keyword refers to The picture is the appearance of the Audi A6, then the type indicated by the keyword is the Audi A6.
  • the browser searches for the picture of the type indicated by the picture keyword, the image related to the Audi A6 is searched and displayed.
  • the preset operation may also be an operation of searching for the audio of the type indicated by the keyword corresponding to the audio element
  • the browser side determines the type indicated by the keyword
  • invokes the search engine to search for the audio related to the type and displays the search.
  • Audio For example, if the keyword corresponding to the audio element indicates that the audio is pop music of a certain player, then the type indicated by the keyword is the audio of the player's popular music, and the audio of the type indicated by the keyword corresponding to the audio is browsed.
  • searching the audio of the pop music played by the performer is displayed after the audio search.
  • the preset operation may also be an operation of searching for a video of a type indicated by a keyword corresponding to the video element, the browser side determines the type indicated by the keyword, invokes a search engine to search for the related video of the type, and displays the searched video.
  • the keyword corresponding to the video element indicates that the video is an action movie of a movie star
  • the type indicated by the keyword is the video of the action movie of the movie star
  • the browsing searches for the video of the type indicated by the keyword corresponding to the video.
  • the video of the movie star's action movie is searched for and displayed.
  • the keyword may also be set to include the phone number information corresponding to the webpage element, and the user may implement the effect of dialing the e-commerce call by the mobile terminal by using the phone number information in the keyword.
  • the process of making a call includes: the browser detects a trigger operation of the phone number indicated by the phone number information included in the keyword, and dials the phone number through the mobile terminal.
  • the browser obtains, from the server side, a keyword corresponding to at least one webpage element in the currently loaded webpage, and when the first triggering operation of the webpage element by the user is detected, The keyword corresponding to the webpage element is displayed at the set position of the triggered webpage element, and therefore, the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element can be solved.
  • the solution for searching for information in the browser provided by the present invention can also monitor the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using keywords.
  • the webpage search can provide the user with information about the keyword related webpage through the preset operation, thereby providing the user with more comprehensive information about the webpage element.
  • FIG. 3 a flow chart of steps of a method for processing picture information in a browser according to Embodiment 3 of the present invention is shown.
  • Step S302 Acquire image attribute information of at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • the setting conditions in this embodiment can be set by a person skilled in the art according to actual needs, for example, setting the setting conditions to the set size, the set size, the setting type, and the like.
  • the picture attribute information of the at least one picture element that satisfies the set size in the currently loaded webpage of the browser may be acquired.
  • the specific picture attribute information obtained may also be set by a person skilled in the art according to requirements in actual operation. For example, it is set to obtain only the uniform resource locator URL of the picture, or only the title of the picture, and of course, it can also be set to obtain other attribute information, so as to ensure that the acquired picture attribute information can uniquely identify a picture element.
  • Step S304 Send the acquired picture attribute information to the server side, and receive the picture keyword corresponding to the picture attribute information returned by the server side.
  • the server side stores the corresponding relationship between the picture attribute information and the picture keyword. After receiving the picture attribute information, the server side obtains the picture keyword corresponding to the picture attribute information by searching for the corresponding relationship, and returns the picture keyword to the browser.
  • Step S306 The first triggering operation on some or all of the picture elements in the at least one picture element is monitored, and the corresponding picture keyword is displayed at the set position of the triggered picture element.
  • the first triggering operation performed on some or all of the picture elements in the at least one picture element includes, but is not limited to, suspension, clicking, selecting, and the like, for example, selecting a picture element by using a mouse or at a certain
  • the suspension of the image element over a certain period of time may implement the first triggering operation on the image element, or may select multiple image elements at a time through the shortcut key to implement the first triggering operation on multiple image elements.
  • the display position of the picture keyword may be set to be displayed at any suitable position of the picture element, for example, the upper left corner, the upper right corner, and the lower left corner of the picture element, which is not specifically limited in this embodiment.
  • the display manner of the keyword is not specifically limited in this embodiment. For example, it can be displayed directly on the picture element, or a bubble can be generated, the picture keyword is displayed in the bubble, and of course, other display modes are used in this implementation. The examples are no longer listed one by one.
  • Step S308 The second triggering operation on the corresponding picture keyword is monitored, and the preset operation based on the picture keyword is initiated on the browser side.
  • the method for processing the picture information in the browser provided in this embodiment can obtain, from the server side, a keyword corresponding to the picture element that satisfies the setting condition in the currently loaded web page, and when the user detects a certain picture element that satisfies the setting condition When the first triggering operation is performed, the keyword corresponding to the picture element is displayed at the set position of the triggered picture element, so that the existing browser client cannot provide the appearance of the object other than the image display. Other related information issues.
  • the method for processing picture information in the browser provided in this embodiment can also detect the second triggering operation of the picture keyword displayed in the setting position of the picture element, and initiate the image keyword based on the browser client side.
  • the preset operation for example, using a picture keyword to perform a webpage search, accessing an e-commerce webpage URL corresponding to the image keyword, and the like, and providing a webpage information and a picture keyword corresponding to the image keyword through the preset operation.
  • the e-commerce information, etc. thus providing the user with more comprehensive information about the picture element.
  • FIG. 4 a flow chart showing the steps of a method for processing picture information in a browser according to Embodiment 4 of the present invention is shown.
  • Step S402 The browser determines whether the currently loaded webpage is a secure webpage; if yes, step S404 is performed, and if not, the first setting operation is performed.
  • the first setting operation may be any appropriate operation set by a person skilled in the art according to actual needs, such as terminating the operation of loading the webpage currently.
  • a preferred step of determining whether the currently loaded webpage is a secure webpage is as follows:
  • Step S4022 The browser acquires webpage attribute information of the currently loaded webpage.
  • the webpage attribute information may be a URL of the webpage and/or title information of the webpage.
  • Step S4024 The browser sends the acquired webpage attribute information to the browser-independent application.
  • the browser-independent application may be a network shield, and may of course be another application that can be used for web page security determination.
  • Step S4026 The browser receives the security identifier corresponding to the webpage attribute information returned by the browser-independent application, where the security identifier is used to indicate whether the currently loaded webpage is a secure webpage.
  • the browser determines whether the webpage currently loaded by the browser is a secure webpage by using the security identifier obtained in the above steps S4022 to S4026. If the obtained security identifier indicates that the currently loaded webpage is a secure webpage, step S404 and subsequent steps of acquiring the image attribute information of the at least one picture element satisfying the set condition in the currently loaded webpage of the browser are performed. If the security identifier indicates that the currently loaded web page is not a secure web page, the first setting operation is performed.
  • Step S404 When the browser determines that the currently loaded webpage is a secure webpage, it further determines whether the currently loaded webpage has the authority to perform image recognition on the server side; if yes, step S406 is performed, and if not, the second setting operation is performed.
  • the browser can determine whether the currently loaded webpage has the server side-in by the following three specific manners.
  • the permissions for line image recognition are as follows:
  • the first way is to determine whether the currently loaded web page has the right to enable the server side to perform image recognition through a browser-independent application.
  • the specific process is as follows:
  • the browser obtains the webpage attribute information of the currently loaded webpage; sends the obtained webpage attribute information to the browser-independent application; and receives the permission identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the permission identifier is used by the browser And indicating that the currently loaded webpage has the right to enable the server side to perform image recognition on the picture element in the currently loaded webpage; if the permission identifier indicates that the currently loaded webpage has the right to enable the server side to perform the image recognition, step S406 is performed: acquiring the browser The picture attribute identification information of at least one picture element that satisfies the set condition in the currently loaded webpage.
  • the server side can only support image recognition of image elements in certain types of webpages, and the browser-independent application obtains these specific types of related information, and the webpages sent by the browser are independent of the browser application.
  • the attribute information determines the type of the webpage currently loaded by the browser, and then determines whether the type of the currently loaded webpage is in a specific type. If the type of the currently loaded webpage is in a specific type, the application independent of the browser generates an indication.
  • the current loading webpage is a permission identifier that causes the server side to perform image recognition on the picture elements in the currently loaded webpage.
  • the browser-independent application If the type of the currently loaded webpage is not in a specific type supported by the server side, the browser-independent application generates a permission to indicate that the currently loaded webpage does not have the right to enable the server side to perform image recognition permission on the picture element in the currently loaded webpage. logo. After the browser receives the permission identifier sent by the browser-independent application, it can determine whether the currently loaded webpage has the right to enable the server side to perform image recognition according to the type of the permission identifier.
  • the second way is to determine whether the currently loaded web page has the right to enable the server side to perform image recognition through the server side.
  • the specific process is as follows:
  • the browser obtains the webpage attribute information of the currently loaded webpage; the obtained webpage attribute information is sent to the server side, and receives the judgment result returned by the server side, wherein the judgment result carries the server side determining according to the webpage attribute information, determining the current loading Whether the webpage supports the information of the webpage recognized by the image; if the result of the judgment indicates that the currently loaded webpage supports the image recognition, step S406 is performed: acquiring the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • the third way is to determine whether the currently loaded web page has the right to enable the server side to perform image recognition by whether the browser can receive the query sent by the server side.
  • the specific process is as follows:
  • the browser receives a message sent by the server side to query whether the picture is currently uploaded, and returns a response message to the server side.
  • the response message carries information indicating whether to accept the picture recognition of the current web page by the server side.
  • the server side sends an inquiry message to the browser side after determining that the browser currently loading the webpage has the authority to perform the image recognition on the server side. If the server side does not send an inquiry message to the browser, it proves that the webpage currently loaded by the browser does not have the authority to make the image recognition on the server side.
  • the browser can determine whether the currently loaded web page has the right to enable the server side to perform picture recognition by receiving the inquiry information sent by the browser side.
  • the browser may actively control whether to accept the server side to perform the picture on the currently loaded webpage by returning information indicating whether to accept the image recognition of the currently loaded webpage by the server side. Identification.
  • step S406 is performed: acquiring at least one of the currently loaded webpages of the browser that satisfies the set condition. The picture attribute information of the picture element.
  • steps S402 to S404 are optional steps.
  • the security of the webpage and the identity of the image recognition may not be distinguished. The default is that both the security and the image recognition permission are met.
  • the solution of the above steps S402 to S404 is adopted, which further improves the security of the picture information processing scheme of the embodiment of the present invention. Sex.
  • Step S406 The browser acquires the image attribute information corresponding to the at least one picture element that satisfies the setting condition in the currently loaded webpage.
  • step S406 After determining that the browser currently loads the webpage as a secure webpage and has the authority to perform the image recognition on the server side, the browser may be triggered to perform step S406 in any of the following three situations, specifically, in step S402 to step S404. as follows:
  • the first type acquires the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser when the loading of the currently loaded webpage is completed.
  • the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser is obtained.
  • the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser is obtained.
  • the set condition that is satisfied in this embodiment can be set by a person skilled in the art according to actual needs, for example, setting the setting condition to the set size, the setting type, setting the picture resolution, and the like.
  • a preferred setting manner is to selectively obtain the picture attribute information corresponding to the picture element in the currently loaded webpage by using the size of the picture element as a setting condition. That is, the browser acquires image attribute information corresponding to at least one picture element that satisfies the set size in the currently loaded web page.
  • the following steps are taken as an example to obtain image attribute information corresponding to at least one picture element that meets the set size in the currently loaded web page. It should be noted that the setting of the size of the picture element may be set by a person skilled in the art according to actual needs, which is not specifically limited in this embodiment.
  • the browser when the browser obtains the image attribute information corresponding to the at least one picture element of the set size in the currently loaded webpage, the browser may set the specific manner of obtaining according to actual requirements, for example, obtaining all the currently loaded webpages at one time.
  • the image attribute information corresponding to the picture element of the set size is satisfied, for example, the image attribute information corresponding to the image element that meets the set size is obtained first, and the acquired image attribute information is sent to the server side to obtain other remaining Picture element.
  • This embodiment does not specifically limit the manner in which the browser obtains the picture attribute information of the picture element in the currently loaded web page.
  • the image attribute information may include at least one of a URL, a title of the picture, a picture description information, a mark of the webpage where the picture is located, and a picture resolution.
  • the URL corresponding to the picture element is obtained as the picture attribute information, because each page in the webpage Each image element has a URL, so it is more convenient to get the URL corresponding to the image element.
  • the following steps are described by taking the URL of the acquired image as an example.
  • Step S408 The browser sends the acquired picture attribute information to the server side, and receives the picture keyword corresponding to the picture attribute information returned by the server side.
  • the browser encrypts the acquired picture attribute information and sends it to the server side, and receives the encrypted picture keyword corresponding to the picture attribute information returned by the server side.
  • the browser sends the acquired image attribute information to the server side, which may be adopted by any person skilled in the art according to actual conditions, and may be set to be acquired according to any one of the following three transmission modes.
  • the picture attribute information is sent to the server side as follows:
  • the first type all the acquired image attribute information is packaged and uploaded to the server side.
  • all the acquired image attribute information are grouped according to the set criteria, and each set of picture attribute information is sequentially uploaded according to the first setting rule.
  • this is not specifically limited in this embodiment, and may be set to group the picture attribute information according to the set quantity, or may be set to group according to the size of the picture element size, and may also be configured.
  • the picture attribute information, the picture title, and the like may be grouped into image attribute information, or may be set to be grouped according to the amount of uploaded picture data.
  • the first setting rule may also be set by a person skilled in the art according to actual requirements, which is not specifically limited in this embodiment.
  • the first setting rule may be set to upload each group of image attribute information according to a specific time interval, and may also be configured to upload a second group of picture attribute information after the first group of picture attribute information is uploaded.
  • the third type after uploading the currently acquired picture attribute information to the server side, continues to obtain the picture attribute information of the picture element that satisfies the set condition remaining in the currently loaded webpage, and uploads and continues to acquire according to the second setting rule.
  • the picture attribute information of the picture element is sent to the server side until all the picture attribute information of the picture element satisfying the setting condition in the currently loaded web page is uploaded to the server side.
  • the second setting rule may also be set by a person skilled in the art according to actual needs, for example, set to set the acquired image attribute information in groups according to the set time interval, and the like.
  • the setting of the second setting rule may be the same as or different from the first setting rule.
  • the browser can also obtain information about the current user account, wherein the information of the user account includes information of at least one other user account associated with the user account.
  • the step of receiving the picture keyword corresponding to the picture attribute information returned by the server side comprises: receiving the review information returned by the server side with the at least one other user account for the picture element and the identification information of the at least one other user account.
  • step of the browser acquiring the information of the current account may be performed before step S408, and the execution after step S408 may also be performed in parallel with step S408.
  • Step S410 The browser stores the corresponding relationship between the received image attribute information and the picture keyword in a memory corresponding to the browser.
  • the corresponding relationship between the received picture attribute information and the picture keyword is stored in the memory corresponding to the browser, and the browser can determine the picture keyword corresponding to the triggered picture element according to the correspondence.
  • the browser When the browser currently loads the webpage, the browser deletes the correspondence between the image attribute information of the picture element and the picture keyword in the webpage stored in the memory corresponding to the browser.
  • this step is an optional step, and the browser stores the corresponding relationship between the received image attribute information and the picture keyword in the memory corresponding to the browser, thereby improving the efficiency of the scheme execution, and on the other hand,
  • the browser stores the corresponding relationship between the received image attribute information and the picture keyword in the memory corresponding to the browser, thereby improving the efficiency of the scheme execution, and on the other hand,
  • the image that has obtained the image keyword is triggered again, it is no longer necessary to send and obtain related data to the server side, and it can be directly obtained from the memory corresponding to the browser, which improves the efficiency of obtaining the image keyword and reduces the efficiency. Network data transmission and interaction burden.
  • Step S412 The browser monitors a first triggering operation on some or all of the picture elements in the at least one picture element.
  • the first triggering operation may be a triggering operation generated when the user clicks on the image by the mouse, or may be a triggering operation generated by the user placing the mouse on the image, or may be when the user selects or selects some of the images through the shortcut keys.
  • the generated triggering operation is not specifically limited in this embodiment.
  • Step S414 The browser determines whether the picture keyword corresponding to all the picture elements that are triggered by the server side has been received; if yes, step S416 is performed, and if no, step S418 is performed.
  • the correspondence between the received picture attribute information and the picture keyword is stored in the memory of the browser in the memory corresponding to the browser, it is determined whether the memory corresponding to the browser exists.
  • the image keyword corresponding to all the image elements triggered can be used.
  • Step S416 When the browser determines that the picture keyword corresponding to all the picture elements triggered by the server side has been received, the operation of displaying the corresponding picture keyword at the set position of the triggered picture element is performed. Then, step S420 is performed.
  • the corresponding relationship between the image attribute information returned by the server side and the picture keyword is stored in the memory corresponding to the browser. Therefore, when acquiring the corresponding picture keyword of all the picture elements that are triggered, Determining the picture attribute information of all the picture elements that are triggered, and then according to the determined picture attribute information and the in-memory storage corresponding to the browser The corresponding relationship between the picture attribute information and the picture keyword determines the picture keyword corresponding to the triggered picture element, and displays the determined picture keyword at the set position of the triggered picture element.
  • the identifier information may be set for each picture element, and the corresponding relationship between the identification information of the picture element and the picture keyword is stored in the memory corresponding to the browser.
  • the identifier information corresponding to the triggered picture element is determined, and the corresponding picture is found by using the identification information and the correspondence between the identification information stored in the memory corresponding to the browser and the picture keyword. Keyword.
  • Step S418 When the browser determines that the picture keyword corresponding to all the picture elements that are triggered by the server side is not received, the picture keyword is displayed only at the set position of the picture element corresponding to the received picture keyword. And continuing to send the picture attribute information of the picture element that has not received the picture keyword to the server side according to the third setting rule.
  • the third setting rule can be set by a person skilled in the art according to actual needs, as long as the keywords corresponding to all the triggered picture elements are obtained, which is not limited in this embodiment.
  • the third setting rule is set to send the picture attribute information of all the picture elements that are triggered but not received the picture keyword to the server side, and receive the picture keyword returned by the server side to determine whether all the messages are received. If the picture key of the triggered picture element is still not received, the image attribute information is sent to the server side, the picture keyword is received, and whether all the received pictures are received is cyclically executed.
  • the picture attribute information of the picture element that is triggered but does not receive the picture keyword is grouped, and each group of picture attribute information is sequentially sent according to the set time interval until the picture key of all the triggered picture elements is received. So far.
  • the display position of the picture keyword it may be set to display the corresponding picture keyword at any suitable position of each picture element, for example, the upper left corner, the upper right corner, the lower left corner and the like of the picture element, This embodiment does not specifically limit this.
  • the display mode of the picture keyword is not limited in this embodiment.
  • the image element may be directly displayed on the picture element, or a bubble may be generated, and the picture keyword may be displayed in the bubble, and of course, other display modes are also used in this embodiment. No longer list them one by one.
  • Step S420 The browser detects a second triggering operation on the corresponding picture keyword, and initiates a preset operation based on the picture keyword on the browser side.
  • the image keyword may include information such as an e-commerce webpage URL, a public number, a name of an object displayed in the image element, and an object type displayed in the image element.
  • the second triggering operation may be a triggering operation generated by the user clicking a certain information in the keyword by the mouse, and may be a triggering operation generated by the user selecting a certain keyword by using the external device, and the second triggering operation is not specifically performed in this embodiment. limited.
  • the preset operation includes at least one of: an operation of performing a webpage search using an image keyword, an access operation of a public number corresponding to the image keyword, an access operation of an e-commerce webpage URL corresponding to the image keyword, and an image keyword The operation of the indicated type of picture to perform a search.
  • the second triggering operation for the corresponding image keyword is monitored, and the step of initializing the image keyword based on the browser side includes: monitoring the display
  • the second triggering operation of any of the image keywords generates a search request including the image keyword; invokes a browser search engine to perform a search query according to the search request; and receives and displays the result of the search query.
  • the browser side When the preset operation is an access operation to the public number corresponding to the picture keyword, the browser side initiates access to the public number, thereby implementing access to the public number.
  • the browser side obtains the e-commerce webpage URL selected by the user, accesses the webpage URL, and displays the corresponding webpage.
  • the browser side determines the picture key The type indicated by the word, the search engine is called to search for related images of the type, and the searched image is displayed.
  • the picture keyword indicates that the picture is an appearance picture of the Audi A6, and the type indicated by the keyword is the Audi A6.
  • the browser searches for the picture of the type indicated by the picture keyword, it will be related to the Audi A6.
  • the image search such as the Audi A6's car lights, car configuration pictures, engine pictures and so on.
  • the picture keyword may also be set to include the phone number information corresponding to the picture element, and the user may implement the effect of dialing the e-commerce phone through the mobile terminal by using the phone number information in the picture keyword.
  • the phone number information is an e-commerce in the picture or a phone number information of an e-commerce corresponding to the item in the sales picture.
  • the process of making a call includes: the browser detects a trigger operation of the phone number indicated by the phone number information included in the keyword, and dials the phone number through the mobile terminal.
  • the browser performs the picture information processing method in the browser provided by the embodiment, and the browser can obtain, from the server side, a keyword corresponding to the picture element that meets the set condition in the currently loaded web page, and when the user is satisfied to meet the set condition
  • the keyword corresponding to the picture element is displayed at the set position of the triggered picture element, so that the existing browser cannot provide the user with other related information except the appearance of the picture. problem.
  • the method for processing picture information in the browser provided in this embodiment can also detect the second triggering operation of the picture keyword displayed in the setting position of the picture element, and initiate the preset based on the picture keyword on the browser side.
  • the operation for example, using a picture keyword to perform a webpage search, accessing an e-commerce webpage URL corresponding to the image keyword, and the like, and providing a webpage information related to the image keyword and a photo keyword corresponding to the user through a preset operation The information of the quotient, etc., thus providing the user with more comprehensive information about the picture element.
  • FIG. 5 a flow chart of the steps of a method for picture recognition according to Embodiment 5 of the present invention is shown.
  • Step S502 Receive a first triggering operation for identifying the picture.
  • the picture is the picture in the browser's currently loaded web page or the local picture obtained by the browser.
  • the first triggering operation for recognizing the picture includes, but is not limited to, uploading the picture to a set area of the browser, dragging the picture to the browser setting area, and the like. For example, in the address bar of the browser, select uploading a browser local image, or dragging a picture in the browser's currently loaded webpage to the set location of the browser address bar, and directly loading the currently loaded webpage.
  • the picture is operated, such as clicking or hovering for a certain time, the first triggering operation for recognizing the picture can be realized.
  • Step S504 Send attribute information of the picture and/or picture to the server side.
  • a person skilled in the art can set specific information sent to the server side according to actual needs. It can be set to directly send the picture to the server side, or can be set to send the attribute information corresponding to the picture to the server side when the picture is the picture currently loaded by the browser, and can also be set to simultaneously display the picture and the picture attribute information. Send to the server side.
  • a preferred setting manner is: when the picture is a local picture of the terminal where the browser is located, uploading the picture to the server side through the browser, and when the picture is the picture currently loaded by the browser, the attribute information of the picture, such as a URL (Uniform Resource Locator) is sent to the server side, and directly transmitting the attribute information of the picture to the server side can reduce the amount of data transmitted.
  • a URL Uniform Resource Locator
  • Step S506 Receive and display the keyword corresponding to the picture returned by the server side.
  • the keyword is searched by the server side according to the attribute information corresponding to the picture and/or the picture.
  • the specific implementation manner of the keyword searching by the server side according to the attribute information corresponding to the picture and/or the picture is not specifically limited in this embodiment, and any suitable manner may be selected by a person skilled in the art according to actual needs to implement the keyword search.
  • the browser receives the first trigger operation for identifying the picture, and sends the attribute information of the picture and/or the picture to the server side, and receives and displays the keyword corresponding to the picture returned by the server side. . Therefore, with the picture recognition method provided by the embodiment, the user can identify the picture of interest through the browser, and obtain the keyword corresponding to the picture, so as to obtain other related information except the appearance of the picture.
  • FIG. 6 a flow chart of steps of a method for picture recognition according to Embodiment 6 of the present invention is shown.
  • Step S602 The browser receives a first triggering operation for identifying the picture.
  • the picture is the picture in the browser's currently loaded web page or the local picture obtained by the browser.
  • the browser may be triggered to perform step S602 in any of the following cases, including:
  • the browser receives the uploading of the local image to be uploaded to the browser's setting area according to the instruction to upload the picture.
  • the browser receives the operation of uploading the local image to be uploaded according to the instruction of uploading the image to the set position of the currently loaded webpage of the browser.
  • the browser receives an operation of dragging and dropping a picture in the currently loaded web page to a set area of the browser.
  • the browser receives an operation of dragging and dropping a picture in the currently loaded web page to a set location of the currently loaded web page.
  • the setting area may be any suitable area set by a person skilled in the art according to actual needs, for example, a setting area in the address bar, a setting area in the menu bar, a setting area in the search bar, and the like.
  • the setting position may also be any suitable position set by a person skilled in the art according to actual needs, for example, an appropriately sized area in the lower right corner of the web page, an appropriately sized area in the upper left corner of the web page, and the like.
  • a preferred manner is to determine the security of the currently loaded webpage before performing the first triggering operation step of identifying the image, if the currently loaded webpage is The secure webpage receives the first triggering operation step of identifying the image. If the currently loaded webpage is not a secure webpage, the first setting operation is performed.
  • the first setting operation may be any suitable operation set by a person skilled in the art according to actual needs, such as refusing to perform image recognition on the currently loaded picture in the webpage.
  • a preferred way for a browser to determine whether a currently loaded web page is a secure web page is as follows:
  • the browser obtains the webpage attribute information of the webpage; sends the obtained webpage attribute information to the browser-independent application; and receives the security identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the security identifier is used for Indicates if the page is a secure web page.
  • the browser determines whether the browser currently loads the webpage as a secure webpage by obtaining the security identifier.
  • the step is an optional step, and the security of the currently loaded webpage may not be distinguished.
  • the default is that the currently loaded webpage meets the security.
  • the scheme of this step is adopted to further improve the security of the picture recognition scheme of the embodiment of the present invention.
  • Step S604 The browser encrypts the attribute information of the picture and/or picture to be identified and sends it to the server side.
  • the browser may select to send the picture or picture attribute information to the server side, or send the picture and picture attribute information to the server side.
  • the browser may also select the sent information according to the type of the image.
  • the image is a locally uploaded image
  • the image is directly sent to the server side.
  • the attribute information of the image is sent to Server side.
  • the attribute information of the picture includes at least one of a URL of the picture, a title of the picture, a description information of the picture, and a mark of the webpage where the picture is located.
  • the URL corresponding to the picture is obtained as the attribute information of the picture currently loaded in the webpage,
  • Each picture element in the web page has a URL, so it is more convenient to get the URL corresponding to the picture.
  • the following steps are described by taking the local picture of the terminal where the browser is located as an example.
  • the browser After receiving the first triggering operation for identifying the acquired local image, the browser sends the acquired image to the server side, and the server searches for the keyword corresponding to the image according to the received image.
  • Step S606 The browser receives and displays the encrypted keyword corresponding to the picture returned by the server side.
  • the keyword is searched by the server side according to the attribute information corresponding to the picture and/or the picture.
  • the online query system searches for the corresponding keyword according to the attribute information of the picture and/or the picture, for example, the URL of the picture, and if the server side searches for the keyword corresponding to the attribute information of the picture or the picture from the cache, the system directly returns to the browsing. Device.
  • the server side may obtain the keyword corresponding to the attribute information of the picture and/or the picture through the offline processing system, if the server receives the picture
  • the attribute information can be downloaded according to the attribute information, and the server receives the picture without performing the operation of downloading the corresponding picture.
  • the server side classifies and clusters the pictures through image analysis technology, so that the same picture label texts can be aggregated, and the text analysis technology is used to comprehensively analyze and calculate the aggregated text and picture classification information to obtain the keywords corresponding to the pictures, and the key will be obtained.
  • the correspondence between the word and the picture and/or the picture attribute information is cached on the server side, so that the server side searches for a keyword corresponding to the attribute information of the picture and/or the picture. After the server side finds the keyword corresponding to the picture according to the attribute information of the picture and/or picture sent by the browser, the keyword returns the keyword to the browser.
  • the server side encrypts the keyword and returns to the browser, and encrypts the keyword and returns to ensure the security of the transmitted data.
  • the server since the server receives the picture information of the picture to be identified, the server directly searches for the corresponding keyword according to the picture in the above manner.
  • the browser receives the keyword corresponding to the picture returned by the server side, and displays the received keyword at the set position of the picture acquired by the browser.
  • the setting position may be any suitable position of the picture, for example, the upper left corner, the upper right corner, the lower left corner, and the like of the image, which is not specifically limited in this embodiment.
  • the browser receives the keyword corresponding to the picture returned by the server side, and displays the locality at the set position of the currently loaded web page or the set position of the newly generated web page. Images and/or received keywords.
  • the browser receives the keyword corresponding to the picture returned by the server side, and the picture in the setting area of the browser or the setting position of the currently loaded webpage.
  • the received keyword is displayed at the set position.
  • the browser receives the keyword corresponding to the picture returned by the server side, and displays the received keyword at the set position of the picture in the currently loaded webpage. .
  • Step S608 The browser stores the correspondence between the received picture and the keyword, and/or the correspondence between the attribute information of the picture and the keyword in the memory corresponding to the browser.
  • the corresponding relationship between the received picture and the keyword and/or the correspondence between the attribute information of the picture and the keyword is stored in the memory corresponding to the browser, and the second trigger for identifying the picture that has completed the picture recognition operation is received again.
  • the browser can search for the keyword corresponding to the image from the memory corresponding to the browser through the attribute information of the image and/or the image.
  • this step is an optional step, and the browser stores the corresponding relationship between the received picture and the keyword, and/or the corresponding relationship between the attribute information of the picture and the keyword in the memory corresponding to the browser.
  • the aspect improves the efficiency of the scheme execution.
  • the relevant data can be obtained directly from the memory corresponding to the browser, which not only improves the efficiency of image keyword acquisition, but also reduces the network data transmission and interaction burden.
  • Step S610 The browser receives a second triggering operation on the displayed keyword, and generates a search request including the keyword.
  • the second triggering operation may be a triggering operation generated by the user clicking a certain information in the keyword by using a mouse, and may be a triggering operation generated by the user selecting a certain keyword by using an external device, and the second triggering operation is generated in this embodiment. No specific limitation.
  • Step S612 The browser invokes the browser's search engine to perform a search query according to the search request.
  • Step S614 The browser receives and displays the result of the search query.
  • the user identifies a picture with green radish by step S602 to step S606, and the browser receives and displays the keyword "green radish” corresponding to the picture returned by the server side, when the user performs the first keyword on the keyword "green radish”
  • the browser In the second triggering operation, the browser generates a search request containing "green radish” and displays the result of the search.
  • the search result may include more detailed information about the growing habits and effects of the green radish.
  • the browser receives the first trigger operation for identifying the picture, and sends the attribute information of the picture and/or the picture to the server side, and receives and displays the keyword corresponding to the picture returned by the server side. . Therefore, with the picture recognition method provided by the embodiment, the user can identify the picture of interest through the browser, and obtain the keyword corresponding to the picture, so as to obtain other related information except the appearance of the picture. In the meantime, the image recognition method provided in this embodiment can also receive a second triggering operation on the displayed keyword, generate a search request including the keyword, and display the webpage information that is searched by the user through the keyword, because the webpage information includes A large amount of information related to the picture, therefore, can provide the user with more comprehensive information about the picture.
  • FIG. 7 a block diagram of a browser client of Embodiment 7 of the present invention is shown.
  • the browser client of the embodiment includes: an obtaining module 702, configured to acquire attribute information of at least one webpage element in a webpage currently loaded by the browser; and a sending module 704, configured to send the acquired attribute information to the server side, and receive a keyword corresponding to the attribute information returned by the server side; the display module 706 is configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element, and display at the set position of the triggered webpage element a corresponding keyword; a preset operation initiating module 708, configured to monitor a second triggering operation on the corresponding keyword, and initiate a preset operation based on the keyword on the browser side.
  • the browser client provided in this embodiment can obtain, from the server side, a keyword corresponding to at least one webpage element in the currently loaded webpage, and when the first triggering operation of the webpage element by the user is detected, the triggered webpage is triggered.
  • the keyword corresponding to the webpage element is displayed at the set position of the element, and therefore, the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element can be solved.
  • the browser client provided in this embodiment can also detect the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using a keyword to perform a webpage search, The preset operation can provide the user with information about the keyword related webpage, thereby providing the user with more comprehensive information about the webpage element.
  • FIG. 8 a block diagram of a browser client of Embodiment 8 of the present invention is shown.
  • the browser client in the third embodiment is further optimized.
  • the optimized browser client includes: an obtaining module 802, configured to acquire attribute information of at least one webpage element in the currently loaded webpage of the browser;
  • the module 804 is configured to send the acquired attribute information to the server side, and receive a keyword corresponding to the attribute information returned by the server side.
  • the display module 806 is configured to monitor some or all of the webpage elements in the at least one webpage element. First triggering operation, Displaying a corresponding keyword at a set position of the triggered webpage element; a preset operation initiation module 808, configured to monitor a second triggering operation on the corresponding keyword, and initiate a keyword-based preset on the browser side operating.
  • the obtaining module 802 is configured to acquire attribute information of audio in the webpage currently loaded by the browser, and/or attribute information of the video, and/or attribute information of the picture.
  • the preset operation includes at least one of: an operation of performing a webpage search using a keyword, an access operation of a public number corresponding to the keyword, an access operation of the e-commerce webpage URL corresponding to the keyword, and a keyword An operation that indicates the type of picture to search.
  • the browser client of the embodiment further includes: a storage module 810, configured to store, after the sending module receives the keyword corresponding to the attribute information returned by the server side, the corresponding relationship between the received attribute information and the keyword In the memory corresponding to the browser; the display module 806 is configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element, determine attribute information of the triggered webpage element; and according to the determined attribute information and The corresponding relationship between the attribute information and the keyword stored in the memory corresponding to the browser determines the keyword corresponding to the triggered webpage element, and displays the determined keyword at the set position of the triggered webpage element.
  • a storage module 810 configured to store, after the sending module receives the keyword corresponding to the attribute information returned by the server side, the corresponding relationship between the received attribute information and the keyword
  • the display module 806 is configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element, determine attribute information of the triggered webpage element; and according to the determined attribute information and
  • the sending module 804 sends the acquired attribute information to the server side
  • all the attribute information obtained is packaged and uploaded to the server side at one time; or all the attribute information obtained is grouped according to the setting standard, and according to the first
  • the setting rule uploads each group of attribute information in turn; or, all the attribute information obtained is grouped according to the type of the webpage element, and the attribute information of each type of webpage element is sequentially uploaded according to the second setting rule; or, the current
  • the attribute information of the remaining webpage elements in the currently loaded webpage is continuously obtained, and the attribute information of the webpage element that continues to be acquired is uploaded to the server side according to the third setting rule until the currently loaded webpage is loaded. All attribute information of all webpage elements is uploaded to the server side.
  • the obtaining module 802 includes: a first obtaining module 8022, configured to acquire, when the current webpage loading is completed, the attribute information of the at least one webpage element in the current loading webpage of the browser; or the second obtaining module 8024, Obtaining the attribute information of the at least one webpage element in the webpage currently loaded by the browser when the mouse scrolling instruction is received in the current loading webpage; or the third obtaining module 8026 is configured to determine that the setting condition is met in the currently loaded webpage When the webpage element is obtained, the attribute information of at least one webpage element in the currently loaded webpage of the browser is obtained.
  • the browser client of the embodiment further includes: a first webpage attribute information obtaining module 812, configured to acquire the browser before the obtaining module 802 obtains the attribute information of the at least one webpage element in the currently loaded webpage of the browser The webpage attribute information of the current webpage is loaded; the first webpage attribute information sending module 814 is configured to send the obtained webpage attribute information to the browser-independent application; the security identifier receiving module 816 is configured to receive the browser-independent application return.
  • the browser client of the embodiment further includes: a second webpage attribute information obtaining module 820, configured to acquire the browser before the obtaining module 802 obtains the attribute information of the at least one webpage element in the webpage currently loaded by the browser Currently, the webpage attribute information of the webpage is loaded; the second webpage attribute information sending module 822 is configured to send the obtained webpage attribute information to the browser-independent application; the permission identifier receiving module 824 is configured to receive the browser-independent application return.
  • a second webpage attribute information obtaining module 820 configured to acquire the browser before the obtaining module 802 obtains the attribute information of the at least one webpage element in the webpage currently loaded by the browser Currently, the webpage attribute information of the webpage is loaded
  • the second webpage attribute information sending module 822 is configured to send the obtained webpage attribute information to the browser-independent application
  • the permission identifier receiving module 824 is configured to receive the browser-independent application return.
  • the permission identifier corresponding to the webpage attribute information wherein the permission identifier is used to indicate whether the currently loaded webpage has the right to enable the server to identify the webpage element in the currently loaded webpage;
  • the second invoking module 826 is configured to: The current loading web page has the right to enable the server to identify the web page element, and the acquisition module 802 is invoked.
  • the browser client of the embodiment further includes: a third webpage attribute information obtaining module 828, configured to acquire a current browser before the obtaining module acquires attribute information of at least one webpage element in the currently loaded webpage of the browser Loading the webpage attribute information of the webpage; the third webpage attribute information sending module 830 is configured to send the obtained attribute information to the server side, and receive the judgment result returned by the server side, wherein the judgment result carries the server side according to the webpage attribute information Indeed And determining, by the third calling module 832, the acquiring module 802, if the determining result indicates that the currently loaded webpage supports the webpage element identification.
  • a third webpage attribute information obtaining module 828 configured to acquire a current browser before the obtaining module acquires attribute information of at least one webpage element in the currently loaded webpage of the browser Loading the webpage attribute information of the webpage
  • the third webpage attribute information sending module 830 is configured to send the obtained attribute information to the server side, and receive the judgment result returned by the server side, wherein the judgment result carries the server side according to the webpage attribute information
  • the browser client of the embodiment further includes: an inquiry receiving module 834, configured to: before the obtaining module 802 acquires the attribute information of the at least one webpage element in the webpage currently loaded by the browser, whether the inquiry sent by the server side is The message is currently loaded by the webpage to identify the webpage element.
  • the response message returning module 836 is configured to return a response message to the server side, and the response message carries information indicating whether to accept the webpage element identification of the currently loaded webpage by the server side.
  • the obtaining module 802 is configured to obtain, after returning the response message indicating that the current webpage accepts the information of the webpage element identification by the server side, to the server side, acquiring the attribute information of the at least one webpage element in the current loading webpage of the browser.
  • the attribute information of the webpage element includes the URL of the webpage element.
  • the attribute information of the webpage element further includes at least one of the following: a title of the webpage element, description information of the webpage element, and a mark of the webpage where the webpage element is located.
  • the sending module 804 is configured to encrypt the acquired attribute information and send it to the server side, and receive the encrypted keyword corresponding to the attribute information returned by the server side.
  • the display module 806 includes: a receiving determining module 8062, configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element; and determine whether all of the triggered webpage elements returned by the server side have been received a corresponding keyword; a first execution module 8064, configured to: if the determination result of the receiving determination module is yes, perform an operation of displaying a corresponding keyword at a set position of the triggered webpage element; the second execution module 8066, If the result of the determination by the receiving judging module is no, the keyword is displayed only at the set position of the webpage element corresponding to the received keyword, and the sending of the key is not received to the server side according to the fourth setting rule.
  • the attribute information of the page element of the word is configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element; and determine whether all of the triggered webpage elements returned by the server side have been received a corresponding keyword
  • a first execution module 8064 configured to: if the determination result of the
  • the preset operation initiating module 808 includes: a search request receiving module 8082, configured to monitor a second triggering operation on any keyword displayed when the preset operation is an operation of searching for a webpage using a keyword, and generate A search request including a keyword; a search engine invoking module 8084, which is used to invoke a search engine of the browser, performs a search query according to the search request; and a search result display module 8086 is configured to receive and display the result of the search query.
  • a search request receiving module 8082 configured to monitor a second triggering operation on any keyword displayed when the preset operation is an operation of searching for a webpage using a keyword, and generate A search request including a keyword
  • a search engine invoking module 8084 which is used to invoke a search engine of the browser, performs a search query according to the search request
  • a search result display module 8086 is configured to receive and display the result of the search query.
  • the keyword includes the phone number information corresponding to the webpage element
  • the preset operation initiating module 808 is configured to monitor the triggering operation of the phone number indicated by the phone number information included in the webpage element, and dial the phone number through the mobile terminal.
  • the browser client of the embodiment further includes: an account information obtaining module 838, configured to acquire information about a current user account of the browser, wherein the information of the user account includes at least one other associated with the user account.
  • the information of the user account the sending module 804, when receiving the keyword corresponding to the attribute information returned by the server side, receiving the review information returned by the server side with at least one other user account and the identification information of the at least one other user account .
  • the browser client in this embodiment further includes an interface drawing module 840, configured to draw an interactive interface for the browser client, receive input and output information for interacting with the user, and a kernel processing module 842 for parsing and rendering.
  • an interface drawing module 840 configured to draw an interactive interface for the browser client, receive input and output information for interacting with the user
  • a kernel processing module 842 for parsing and rendering.
  • the displayed webpage data can be loaded, and the webpage data is displayed through the interface drawing module.
  • the interface drawing module 840 draws an interactive interface for the browser client.
  • the kernel processing module 842 parses the rendering data corresponding to the currently loaded webpage, and invokes the interface rendering module 840.
  • the parsed rendered data is drawn into a corresponding web page, that is, a web page currently loaded by the browser.
  • the obtaining module 802 acquires the attribute information of the at least one webpage element in the webpage currently loaded by the browser, and sends the attribute information to the sending module 804, and the sending module 804 sends the acquired attribute information to the server side, and The keyword corresponding to the attribute information returned by the server side is received.
  • the storage module 810 stores the corresponding relationship between the attribute information and the keyword received by the sending module in a memory corresponding to the browser, so that the corresponding keyword is searched from the memory corresponding to the browser when the webpage element is triggered by the first operation.
  • the kernel processing module 842 may receive the received interactive letter.
  • the information is converted into a first triggering operation and sent to the display module 806.
  • the display module 806 monitors the first triggering operation on some or all of the webpage elements in the at least one webpage element, and stores the attribute information and the keyword from the memory corresponding to the browser.
  • the keyword corresponding to the webpage element triggered by the first triggering operation is obtained, and the corresponding keyword is displayed and displayed by the interface drawing module 840 at the set position of the triggered webpage element.
  • the kernel processing module 842 converts the interaction information into a second trigger operation instruction and sends the message to the preset operation initiation module 808, and the preset operation initiation module 808 monitors the corresponding key.
  • the second triggering operation of the word initiates a keyword-based preset operation on the browser side.
  • the browser client of the embodiment is used to implement the method for searching for information in the browser in the corresponding browsers in the foregoing Embodiment 1 and Embodiment 2, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again. .
  • FIG. 9 a block diagram of a browser client of Embodiment 9 of the present invention is shown.
  • the browser client of the embodiment includes: an obtaining module 902, configured to acquire image attribute information of at least one picture element that satisfies a set condition in a currently loaded webpage of the browser; and a sending module 904, configured to: acquire the obtained image
  • the attribute information is sent to the server side, and receives the picture keyword corresponding to the picture attribute information returned by the server side;
  • the display module 906 is configured to monitor some or all of the picture elements in the at least one picture element.
  • a first triggering operation displaying a corresponding picture keyword at a set position of the triggered picture element;
  • a preset operation initiating module 908 configured to monitor a second triggering operation on the corresponding picture keyword, in browsing
  • the device side initiates a preset operation based on the picture keyword.
  • the browser client provided in this embodiment can obtain, from the server side, a keyword corresponding to the picture element that satisfies the set condition in the currently loaded webpage, and when the user triggers the first trigger on a certain picture element that satisfies the set condition During operation, the keyword corresponding to the picture element is displayed at the set position of the triggered picture element, and therefore, the problem that the existing browser client cannot provide the user with other related information except the appearance of the picture can be solved.
  • the browser client provided in this embodiment can also detect the second triggering operation of the picture keyword displayed in the setting position of the picture element, and initiate a preset operation based on the picture keyword on the browser client side.
  • the preset operation can provide the user with information about the webpage related to the image keyword and the e-commerce corresponding to the image keyword. Information, etc., to provide users with more comprehensive information about the picture elements.
  • FIG. 10 a block diagram showing the structure of a browser client according to Embodiment 10 of the present invention is shown.
  • the browser client in the third embodiment is further optimized.
  • the optimized browser client includes: an obtaining module 1002, configured to acquire at least one picture element that meets the set condition in the currently loaded webpage of the browser. a picture attribute information; a sending module 1004, configured to send the acquired picture attribute information to the server side, and receive a picture keyword corresponding to the picture attribute information returned by the server side; the display module 1006 is configured to: Monitoring a first triggering operation on some or all of the at least one picture element, displaying a corresponding picture keyword at a set position of the triggered picture element; and a preset operation initiation module 1008 for monitoring To a second triggering operation on the corresponding picture keyword, a preset operation based on the picture keyword is initiated on the browser side.
  • the obtaining module 1002 is configured to obtain image attribute information corresponding to the at least one picture element that meets the set size in the currently loaded webpage of the browser.
  • the preset operation includes at least one of: an operation of performing webpage search using a picture keyword, an access operation of a public number corresponding to the image keyword, an access operation of an e-commerce webpage URL corresponding to the image keyword, and An operation in which a picture of the type indicated by the picture keyword is searched.
  • the browser client in this embodiment further includes: a storage module 1010, configured to: after the sending module 1004 receives the picture keyword corresponding to the picture attribute information returned by the server side, the received picture attribute information and the picture Keyword The corresponding relationship is stored in a memory corresponding to the browser; the display module 1006 is configured to monitor a first triggering operation on some or all of the picture elements in the at least one picture element, and determine picture attribute information of the triggered picture element; The picture attribute information and the corresponding relationship between the picture attribute information and the picture keyword stored in the memory corresponding to the browser, determining the picture keyword corresponding to the triggered picture element, and displaying the determined position at the set position of the triggered picture element Image keyword.
  • a storage module 1010 configured to: after the sending module 1004 receives the picture keyword corresponding to the picture attribute information returned by the server side, the received picture attribute information and the picture Keyword The corresponding relationship is stored in a memory corresponding to the browser; the display module 1006 is configured to monitor a first triggering operation on some or all of the picture
  • the sending module 1004 sends the acquired image attribute information to the server side: all the acquired image attribute information is all uploaded to the server side at one time; or all the acquired image attribute information is grouped according to the setting criteria. And uploading each group of image attribute information in sequence according to the first setting rule; or, while uploading the currently acquired picture attribute information to the server side, continuing to obtain the picture attribute of the picture element that satisfies the setting condition remaining in the currently loaded webpage The information is uploaded to the server side according to the second setting rule, and all the picture attribute information of the picture element that satisfies the setting condition in the currently loaded web page is uploaded to the server side.
  • the obtaining module 1002 includes: a first obtaining module 10022, configured to acquire image attribute information of at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser when the currently loaded webpage loading is completed; or
  • the obtaining module 10024 is configured to: when the mouse scrolling instruction is received under the current loading webpage, acquire the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser; or the third obtaining module 10026 is configured to: When it is determined that there is a picture element that satisfies the setting condition in the currently loaded webpage, the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser is obtained.
  • the browser client in this embodiment further includes: a first webpage attribute information obtaining module 1012, configured to acquire, in the acquiring module 1002, a picture attribute of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • the webpage attribute information of the currently loaded webpage of the browser is obtained;
  • the first webpage attribute information sending module 1014 is configured to send the obtained webpage attribute information to the browser-independent application;
  • the security identifier receiving module 1016 is configured to receive The security identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the security identifier is used to indicate whether the current webpage is a secure webpage, and the first calling module 1018 is configured to indicate that the currently loaded webpage is in the security identifier.
  • the secure web page invokes the acquisition module 1002.
  • the browser client in this embodiment further includes: a second webpage attribute information obtaining module 1020, configured to acquire, in the obtaining module 1002, a picture attribute of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • a second webpage attribute information obtaining module 1020 configured to acquire, in the obtaining module 1002, a picture attribute of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • the webpage attribute information of the currently loaded webpage of the browser is obtained;
  • the second webpage attribute information sending module 1022 is configured to send the obtained webpage attribute information to the browser-independent application;
  • the permission identifier receiving module 1024 is configured to receive The permission identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the permission identifier is used to indicate whether the currently loaded webpage has permission for the server side to perform image recognition on the picture element in the currently loaded webpage;
  • the module 1026 is configured to invoke the obtaining module 1002 when the permission identifier indicates that the currently loaded webpage has the authority to perform image recognition on the server side.
  • the browser client in this embodiment further includes: a third webpage attribute information obtaining module 1028, configured to acquire, in the acquiring module, the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • the webpage attribute information of the currently loaded webpage of the browser is obtained;
  • the third webpage attribute information sending module 1030 is configured to send the obtained webpage attribute information to the server side, and receive the judgment result returned by the server side, wherein the judgment result is And carrying the information that is determined by the server side according to the webpage attribute information to determine whether the currently loaded webpage supports the webpage of the image recognition.
  • the third invoking module 1032 is configured to invoke the obtaining module 1002 if the judgment result indicates that the currently loaded webpage supports the image recognition. .
  • the browser client in this embodiment further includes: an inquiry receiving module 1034, configured to receive before the obtaining module 1002 obtains the picture attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • the message sent by the server side is a message for identifying the currently loaded webpage.
  • the response message returning module 1036 is configured to return a response message to the server side, where the response message carries a message indicating whether to accept the server side to perform image recognition on the currently loaded webpage. Information.
  • the obtaining module 1002 is configured to: after determining that the response message returning module returns to the server side, indicating that the current loading is performed After receiving the response message of the information for identifying the image on the server side, the webpage obtains the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
  • the picture attribute information includes a URL of the picture.
  • the picture attribute information further includes: at least one of a title of the picture, a picture description information, a mark of the web page where the picture is located, and a picture resolution.
  • the sending module 1004 is configured to encrypt the acquired picture attribute information and send it to the server side, and receive the encrypted picture keyword corresponding to the picture attribute information returned by the server side.
  • the display module 1006 includes: a receiving determining module 10062, configured to monitor a first triggering operation on some or all of the at least one picture element; and determine whether all the picture elements that are triggered by the server side are received.
  • the first execution module 10064 is configured to: if the determination result of the receiving determination module 10062 is YES, perform an operation of displaying a corresponding picture keyword at a set position of the triggered picture element;
  • the module 10066 is configured to: if the determination result of the receiving determining module 10062 is negative, display the picture keyword only at the setting position of the picture element corresponding to the received picture keyword, and continue to the server according to the third setting rule.
  • the side sends the picture attribute information of the picture element that has not received the picture keyword.
  • the preset operation initiating module 1008 includes: a search request receiving module 10082, configured to monitor a second triggering operation on any of the displayed picture keywords when the preset operation is an operation of performing a webpage search using the picture keyword a search request including a picture keyword is generated; a search engine calling module 10084 is configured to invoke a browser search engine to perform a search query according to the search request; and a search result display module 10086 is configured to receive and display the result of the search query.
  • a search request receiving module 10082 configured to monitor a second triggering operation on any of the displayed picture keywords when the preset operation is an operation of performing a webpage search using the picture keyword a search request including a picture keyword is generated
  • a search engine calling module 10084 is configured to invoke a browser search engine to perform a search query according to the search request
  • a search result display module 10086 is configured to receive and display the result of the search query.
  • the picture keyword includes the phone number information corresponding to the picture element
  • the preset operation initiation module 1008 is configured to monitor the trigger operation of the phone number indicated by the phone number information included in the picture element, and dial the phone number through the mobile terminal.
  • the browser client in this embodiment further includes: an account information obtaining module 1038, configured to acquire information about a current user account of the browser, where the information of the user account includes at least one other user associated with the user account.
  • the information of the account; the sending module 1004 receives the picture keyword corresponding to the picture attribute information returned by the server side, and receives the review information of the picture element and the at least one other user account returned by the server side with at least one other user account. Identification information.
  • the browser client of this embodiment is used to implement the method for performing picture information processing in the corresponding browsers in the foregoing Embodiment 3 and Embodiment 4, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again.
  • FIG. 11 a browser client of embodiment 11 of the present invention is shown.
  • the browser client of the embodiment includes: a receiving module 1102, configured to receive a first triggering operation for identifying a picture, where the picture is a picture in a currently loaded webpage of the browser or a local picture acquired by the browser; 1104, for sending the attribute information of the picture and/or the picture to the server side; the display module 1106 is configured to receive and display a keyword corresponding to the picture returned by the server side, where the keyword is determined by the server side according to the picture and/or Or the attribute information corresponding to the picture is found.
  • the browser client provided by the embodiment can receive the first triggering operation for identifying the picture, and send the attribute information of the picture and/or the picture to the server side, and receive and display the keyword corresponding to the picture returned by the server side.
  • the browser client provided by the embodiment can perform image recognition on the image that is of interest to the user, and obtain a keyword corresponding to the image, so as to provide the user with other related information except the appearance of the image.
  • FIG. 12 a browser client of embodiment 12 of the present invention is shown.
  • the browser client in the third embodiment is further optimized.
  • the optimized browser client includes: a receiving module 1202, configured to receive a first triggering operation for identifying a picture, where the image is a browser. The current image of the webpage or the local image acquired by the browser; the sending module 1204 is configured to send the attribute information of the image and/or the image to the server side; the display module 1206 is configured to receive and display the return of the server side, and The keyword corresponding to the picture, wherein the keyword is searched by the server side according to the attribute information corresponding to the picture and/or the picture.
  • the receiving module 1202 includes: a first instruction receiving module 12022, configured to receive an operation of uploading a local image to be uploaded to a setting area of the browser or a setting position of the currently loaded webpage according to an instruction for uploading a picture; or
  • the second instruction receiving module 12024 is configured to receive an operation of dragging a picture in the currently loaded webpage to a setting area of the browser or a setting position of the current webpage.
  • the display module 1206 includes: a first display module 12062, configured to: when the picture is a local picture acquired by the browser, receive a keyword corresponding to the picture returned by the server side, where the position of the picture acquired by the browser is Displaying the received keyword; or, the second display module 12064 is configured to: when the image is a local image acquired by the browser, receive a keyword corresponding to the image returned by the server, and set the location of the currently loaded webpage or new The local image and/or the received keyword are displayed at the set location of the generated web page.
  • a first display module 12062 configured to: when the picture is a local picture acquired by the browser, receive a keyword corresponding to the picture returned by the server side, where the position of the picture acquired by the browser is Displaying the received keyword
  • the second display module 12064 is configured to: when the image is a local image acquired by the browser, receive a keyword corresponding to the image returned by the server, and set the location of the currently loaded webpage or new The local image and/or the received keyword are displayed at the set
  • the display module 1206 includes: a third display module 1206, configured to: when the picture is a picture in the browser currently loading the webpage, receive a keyword corresponding to the picture returned by the server side, in the browser setting The received keyword is displayed at the setting position of the image in the setting position of the current or loaded webpage; or the fourth display module 12068 is configured to receive the server when the image is a picture in the browser currently loading the webpage The keyword corresponding to the picture returned by the side displays the received keyword at the set position of the picture in the currently loaded web page.
  • the browser client of the embodiment further includes: a search request receiving module 1208, configured to receive a second keyword for the displayed keyword after the display module 1206 receives and displays the keyword corresponding to the image returned by the server side.
  • the triggering operation generates a search request including a keyword;
  • the search engine calling module 1210 is configured to invoke a browser search engine to perform a search query according to the search request; and the display module 1212 is configured to receive and display the result of the search query.
  • the browser client of the embodiment further includes: a storage module 1214, configured to: after the display module 1206 receives the keyword corresponding to the image returned by the server, the correspondence between the received image and the keyword, and / or, the correspondence between the attribute information of the picture and the keyword is stored in the memory corresponding to the browser.
  • a storage module 1214 configured to: after the display module 1206 receives the keyword corresponding to the image returned by the server, the correspondence between the received image and the keyword, and / or, the correspondence between the attribute information of the picture and the keyword is stored in the memory corresponding to the browser.
  • the browser client of the embodiment further includes: a second receiving module 1216, configured to, in the storage module 1214, the correspondence between the received picture and the keyword, and/or the attribute information of the picture and the keyword After the corresponding relationship is stored in the memory corresponding to the browser, the second triggering operation for identifying the image is received again.
  • the searching module 1218 is configured to search for the corresponding image from the memory corresponding to the browser through the attribute information of the image and/or the image. Keyword.
  • the browser client of the embodiment further includes: a webpage attribute information obtaining module 1220, configured to receive, during the current loading of the webpage of the browser, the first triggering operation for identifying the image in the receiving module.
  • the webpage attribute information sending module 1222 is configured to send the obtained webpage attribute information to an application independent of the browser
  • the security identifier receiving module 1224 is configured to receive the browsing independent of the browsing.
  • the security identifier corresponding to the webpage attribute information returned by the application wherein the security identifier is used to indicate whether the webpage is a secure webpage
  • the first execution module 1226 is configured to invoke the receiving module 1202 if the security identifier indicates that the webpage is a secure webpage.
  • the attribute information of the picture includes the URL of the picture.
  • the attribute information of the picture further includes at least one of the following: a title of the picture, description information of the picture, and a mark of the webpage where the picture is located.
  • the sending module 1204 is configured to encrypt the attribute information of the picture and/or the picture and send it to the server side;
  • the display module 1206 is configured to receive and display the encrypted keyword corresponding to the picture returned by the server side.
  • the browser client of this embodiment is used to implement the method for performing picture recognition in the corresponding browsers in the foregoing Embodiment 5 and Embodiment 6, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of some or all of the components of the search for information in a browser in accordance with an embodiment of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • FIG. 13 shows a terminal device that can implement a method of searching for information in a browser, a method of performing picture information processing in a browser, or a method of picture recognition according to the present invention.
  • the terminal device conventionally includes a processor 1310 and a program product or readable medium in the form of a memory 1320.
  • the memory 1320 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, or a ROM.
  • Memory 1320 has a storage space 1330 of program code 1331 configured to perform any of the method steps described above.
  • the storage space 1330 configured as program code may include respective program codes 1331 that are respectively configured to implement various steps in the above method.
  • program codes can be read from or written to one or more program products.
  • program products include such as memory cards
  • a program code carrier such as that.
  • Such a program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1320 in the terminal device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes readable code 1331', ie, code that can be read by a processor, such as, for example, 1310, which when executed by the terminal device causes the terminal device to perform various steps in the methods described above .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are a method for searching for information in a browser, a method for processing picture information in a browser, a method for identifying a picture, and a browser client. The method for searching for information in a browser comprises: acquiring attribute information about at least one web page element in a currently loaded web page of a browser (S102); transmitting the acquired attribute information to a server side, and receiving a key word corresponding to the attribute information returned by the server side (S104); monitoring a first trigger operation for some or all of the web page elements in the at least one web page element, and displaying the corresponding key word at a set position of the triggered web page element (S106); and monitoring a second trigger operation for the corresponding key word, and initiating a pre-set operation based on the key word at a browser side (S108). Other related information aside from links corresponding to web page elements is provided for a user.

Description

浏览器中搜索信息、图片处理、识别的方法和浏览器客户端Search information, image processing, recognition methods, and browser client in the browser 技术领域Technical field
本发明涉及网络技术领域,特别是涉及一种在浏览器中搜索信息的方法和浏览器客户端、一种浏览器中进行图片信息处理的方法和浏览器客户端以及一种图片识别的方法和浏览器客户端。The present invention relates to the field of network technologies, and in particular, to a method for searching information in a browser, a browser client, a method for processing picture information in a browser, a browser client, and a method for recognizing a picture. Browser client.
背景技术Background technique
网页浏览器是一种显示网页服务器或档案系统内的文件,并让用户与这些文件互动的软件,它用来显示在万维网或局部局域网络等内的图片、文字、视频、音频及其他资讯,这些资讯通常是展示在网页中,可见,目前浏览器展示的网页中的信息量巨大。A web browser is a software that displays files in a web server or file system and allows users to interact with these files. It is used to display images, text, video, audio and other information on the World Wide Web or a local area network. This information is usually displayed on a web page, and the amount of information in the webpage currently displayed by the browser is huge.
一般来说,网页中可以提供多种类型的网页元素,包括但不限于:文字、图片、音频、视频中的一种或多种。用户通过网页浏览器浏览某一网页时,例如:包含音频的网页时,若对某一音频感兴趣,则可以通过点击该音频对应的链接听到音乐。但是,当用户想对该音频进行进一步的了解时,现有的网页浏览器却无法提供除该音频对应的音乐链接外的其他相关信息(例如音频对应的演奏者信息),用户很难获取到音频元素的其他相关信息。同样,其它网页元素也存在同样的问题。In general, a plurality of types of webpage elements can be provided in a webpage, including but not limited to: one or more of text, picture, audio, and video. When a user browses a certain webpage through a web browser, for example, when a webpage containing audio is interested in an audio, the music can be heard by clicking a link corresponding to the audio. However, when the user wants to further understand the audio, the existing web browser cannot provide other related information (such as the player information corresponding to the audio) except the music link corresponding to the audio, which is difficult for the user to obtain. Other related information about audio elements. Similarly, other web page elements have the same problem.
可见,现有的浏览器在对网页中的网页元素进行处理时,仅能提供给用户关于网页元素对应的链接的信息,但是无法提供除链接外的其他相关信息。It can be seen that the existing browser can only provide the user with information about the link corresponding to the webpage element when processing the webpage element in the webpage, but cannot provide other related information except the link.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的在浏览器中搜索信息的方法和浏览器客户端、一种浏览器中进行图片信息处理的方法和浏览器客户端以及一种图片识别的方法和浏览器客户端。In view of the above problems, the present invention has been made in order to provide a method for searching for information in a browser and a browser client, a method for browsing picture information in a browser, and browsing, which overcomes the above problems or at least partially solves the above problems. Client and a method of image recognition and browser client.
依据本发明的一个方面,提供了一种在浏览器中搜索信息的方法,包括:获取浏览器当前加载网页中的至少一个网页元素的属性信息;将获取的所述属性信息发送至服务器侧,并接收所述服务器侧返回的与所述属性信息对应的关键字;监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字;监测到对所述对应的关键字的第二触发操作,在浏览器侧发起基于所述关键字的预置操作。According to an aspect of the present invention, a method for searching for information in a browser includes: obtaining attribute information of at least one webpage element in a webpage currently loaded by a browser; and transmitting the obtained attribute information to a server side, And receiving a keyword corresponding to the attribute information returned by the server side; monitoring a first triggering operation on some or all of the webpage elements in the at least one webpage element, and setting a location of the triggered webpage element Displaying a corresponding keyword; monitoring a second triggering operation on the corresponding keyword, and initiating a preset operation based on the keyword on the browser side.
根据本发明的另一方面,提供了一种浏览器客户端,包括:获取模块,用于获取浏览器当前加载网页中的至少一个网页元素的属性信息;发送模块,用于将获取的所述属性信息发送至服务器侧,并接收所述服务器侧返回的与所述属性信息对应的关键字;显示模块,用于监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字;预置操作发起模块,用于监测到对所述对应的关键字的第二触发操作,在浏览器侧发起基于所述关键字的预置操作。According to another aspect of the present invention, a browser client is provided, including: an obtaining module, configured to acquire attribute information of at least one webpage element in a webpage currently loaded by a browser; and a sending module, configured to acquire the The attribute information is sent to the server side, and receives a keyword corresponding to the attribute information returned by the server side; and a display module, configured to monitor a first trigger for some or all of the at least one webpage element An operation, displaying a corresponding keyword at a set position of the triggered webpage element; a preset operation initiating module, configured to monitor a second triggering operation on the corresponding keyword, initiated on the browser side Preset actions for keywords.
依据本发明的一个方面,提供了一种浏览器中进行图片信息处理的方法,包括:获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;将获取的所述图片属性信息发送至服务器侧,并接收所述服务器侧返回的与所述图片属性信息对应的图片关键字;监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示所述对应的图片关键字;监测到对所述对应的图片关键字的第二触发操 作,在浏览器侧发起基于所述图片关键字的预置操作。According to an aspect of the present invention, a method for performing picture information processing in a browser includes: acquiring picture attribute information of at least one picture element that satisfies a set condition in a currently loaded web page of a browser; The picture attribute information is sent to the server side, and receives a picture keyword corresponding to the picture attribute information returned by the server side; and detects a first triggering operation on some or all of the picture elements in the at least one picture element, Displaying the corresponding picture keyword at a set position of the triggered picture element; monitoring a second trigger operation on the corresponding picture keyword The preset operation based on the picture keyword is initiated on the browser side.
根据本发明的另一方面,提供了一种浏览器客户端,包括:获取模块,用于获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;发送模块,用于将获取的所述图片属性信息发送至服务器侧,并接收所述服务器侧返回的与所述图片属性信息对应的图片关键字;显示模块,用于监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示对应的图片关键字;预置操作发起模块,用于监测到对所述对应的图片关键字的第二触发操作,在浏览器侧发起基于所述图片关键字的预置操作。According to another aspect of the present invention, a browser client is provided, including: an obtaining module, configured to acquire image attribute information of at least one picture element that satisfies a set condition in a currently loaded webpage of a browser; And sending the acquired image attribute information to the server side, and receiving a picture keyword corresponding to the picture attribute information returned by the server side; and displaying a module, configured to monitor, in the at least one picture element a first triggering operation of the partial or all of the picture elements, displaying a corresponding picture keyword at a set position of the triggered picture element; and a preset operation initiation module, configured to monitor the second to the corresponding picture keyword Triggering an operation, and initiating a preset operation based on the picture keyword on the browser side.
依据本发明的一个方面,提供了一种图片识别的方法,包括:接收对图片进行识别的第一触发操作,其中,所述图片为浏览器的当前加载网页中的图片或所述浏览器获取的本地图片;将所述图片和/或所述图片的属性信息发送至服务器侧;接收并显示所述服务器侧返回的与所述图片对应的关键字,其中,所述关键字由所述服务器侧根据所述图片和/或所述图片对应的属性信息查找得到。According to an aspect of the present invention, a method for image recognition is provided, comprising: receiving a first triggering operation for identifying a picture, wherein the picture is a picture in a browser currently loading a webpage or the browser acquires a local picture; the attribute information of the picture and/or the picture is sent to the server side; and a keyword corresponding to the picture returned by the server side is received and displayed, wherein the keyword is used by the server The side finds according to the picture and/or the attribute information corresponding to the picture.
根据本发明的另一方面,提供了一种浏览器客户端,包括:接收模块,用于接收对图片进行识别的第一触发操作,其中,所述图片为浏览器的当前加载网页中的图片或所述浏览器获取的本地图片;发送模块,用于将所述图片和/或所述图片的属性信息发送至服务器侧;显示模块,用于接收并显示所述服务器侧返回的、与所述图片对应的关键字,其中,所述关键字由所述服务器侧根据所述图片和/或所述图片对应的属性信息查找得到。According to another aspect of the present invention, a browser client is provided, including: a receiving module, configured to receive a first triggering operation for identifying a picture, where the picture is a picture in a currently loaded webpage of a browser Or a local image obtained by the browser; a sending module, configured to send the attribute information of the picture and/or the image to the server side; and a display module, configured to receive and display the returned by the server side a keyword corresponding to the picture, wherein the keyword is searched by the server side according to the picture and/or attribute information corresponding to the picture.
本发明提供了一种程序,包括可读代码,当所述可读代码在终端设备上运行时,导致所述终端设备执行所述的在浏览器中搜索信息的方法、所述的浏览器中进行图片信息处理的方法或所述的图片识别的方法。The present invention provides a program comprising readable code, when the readable code is run on a terminal device, causing the terminal device to perform the method of searching for information in a browser, in the browser A method of performing picture information processing or the method of picture recognition described above.
本发明提供了一种可读介质,其中存储了所述的程序。The present invention provides a readable medium in which the program is stored.
通过本发明,浏览器从服务器侧获取当前加载网页中至少一个网页元素对应的关键字,当监测到用户对某一网页元素的第一触发操作时,在被触发的网页元素的设定位置处展示网页元素对应的关键字,因此,能够解决现有的浏览器无法提供给用户除网页元素对应的链接外的其他相关信息的问题。同时,本发明提供的在浏览器中进行搜索信息的方案,还能够监测到对显示的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作,例如:使用关键字进行网页搜索,通过预置操作能够提供给用户关于关键字相关的网页信息,从而提供给用户关于网页元素更全面的信息。With the present invention, the browser obtains the keyword corresponding to at least one webpage element in the currently loaded webpage from the server side, and when the first triggering operation of the webpage element by the user is detected, at the set position of the triggered webpage element The keyword corresponding to the webpage element is displayed, so that it is possible to solve the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element. In the meantime, the solution for searching for information in the browser provided by the present invention can also monitor the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using keywords. The webpage search can provide the user with information about the keyword related webpage through the preset operation, thereby providing the user with more comprehensive information about the webpage element.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1是根据本发明实施例1的一种在浏览器中搜索信息的方法的步骤流程图;1 is a flow chart showing the steps of a method for searching for information in a browser according to Embodiment 1 of the present invention;
图2是根据本发明实施例2的一种在浏览器中搜索信息的方法的步骤流程图;2 is a flow chart showing the steps of a method for searching for information in a browser according to Embodiment 2 of the present invention;
图3是根据本发明实施例3的一种浏览器中进行图片信息处理的方法的步骤流程图;3 is a flow chart showing the steps of a method for performing picture information processing in a browser according to Embodiment 3 of the present invention;
图4是根据本发明实施例4的一种浏览器中进行图片信息处理的方法的步骤流程图;4 is a flow chart showing the steps of a method for performing picture information processing in a browser according to Embodiment 4 of the present invention;
图5是根据本发明实施例5的一种图片识别方法的步骤流程图; 5 is a flow chart showing the steps of a picture recognition method according to Embodiment 5 of the present invention;
图6是根据本发明实施例6的一种图片识别方法的步骤流程图;6 is a flow chart showing the steps of a picture recognition method according to Embodiment 6 of the present invention;
图7是根据本发明实施例7的一种浏览器客户端的结构框图;7 is a structural block diagram of a browser client according to Embodiment 7 of the present invention;
图8是根据本发明实施例8的一种浏览器客户端的结构框图。FIG. 8 is a structural block diagram of a browser client according to Embodiment 8 of the present invention.
图9是根据本发明实施例9的一种浏览器客户端的结构框图;9 is a structural block diagram of a browser client according to Embodiment 9 of the present invention;
图10是根据本发明实施例10的一种浏览器客户端的结构框图。FIG. 10 is a structural block diagram of a browser client according to Embodiment 10 of the present invention.
图11是根据本发明实施例11的一种浏览器客户端的结构框图;11 is a block diagram showing the structure of a browser client according to Embodiment 11 of the present invention;
图12是根据本发明实施例12的一种浏览器客户端的结构框图;12 is a block diagram showing the structure of a browser client according to Embodiment 12 of the present invention;
图13示出了配置为执行根据本发明的方法的服务器的框图;以及Figure 13 shows a block diagram of a server configured to perform a method in accordance with the present invention;
图14示出了配置为保持或者携带实现根据本发明的方法的程序代码的存储单元。Figure 14 illustrates a memory unit configured to hold or carry program code that implements the method in accordance with the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
实施例一Embodiment 1
参照图1,示出了本发明实施例1的一种在浏览器中搜索信息的方法的步骤流程图。Referring to FIG. 1, there is shown a flow chart of the steps of a method for searching for information in a browser according to Embodiment 1 of the present invention.
本实施例的在浏览器中搜索信息的方法包括以下步骤:The method for searching for information in a browser in this embodiment includes the following steps:
步骤S102:获取浏览器当前加载网页中的至少一个网页元素的属性信息。Step S102: Acquire attribute information of at least one webpage element in the webpage currently loaded by the browser.
在实际实现过程中,浏览器获取当前加载网页中的哪些网页元素的属性信息可以由本领域技术人员根据实际需求进行设置,例如:可以设置成仅获取某一类型的网页元素(例如:视频元素)的属性信息,也可以设置成获取多个类型的网页元素(例如:视频元素和图片元素)的属性信息,当然还可以设置成获取其他类型的网页元素的属性信息,本实施例对此不作具体限定。优选地,获取浏览器当前加载网页中的音频的属性信息、和/或、视频的属性信息、和/或、图片的属性信息。In the actual implementation process, the browser obtains the attribute information of which webpage elements in the currently loaded webpage may be set by a person skilled in the art according to actual needs, for example, may be set to obtain only a certain type of webpage element (for example, a video element). The attribute information may also be set to obtain attribute information of a plurality of types of webpage elements (for example, a video element and a picture element), and may of course be set to obtain attribute information of other types of webpage elements, which is not specifically described in this embodiment. limited. Preferably, the attribute information of the audio currently loaded in the webpage by the browser, and/or the attribute information of the video, and/or the attribute information of the picture are acquired.
获取的具体属性信息可以由本领域技术人员在实际操作中根据需求进行设定。例如:设置成仅获取网页元素的URL(Uniform Resource Locator,统一资源定位符)、或仅获取网页元素的标题,当然还可以设置成获取其他的属性信息,以保证获取的属性信息能够唯一标识一个网页元素。The specific attribute information obtained can be set by a person skilled in the art according to requirements in actual operation. For example, it is set to obtain only the URL of the webpage element (Uniform Resource Locator), or only the title of the webpage element, and of course, it can also be set to obtain other attribute information, so as to ensure that the obtained attribute information can uniquely identify one. Web page element.
步骤S104:将获取的属性信息发送至服务器侧,并接收服务器侧返回的与属性信息对应的关键字。Step S104: Send the acquired attribute information to the server side, and receive a keyword corresponding to the attribute information returned by the server side.
服务器侧存储有网页元素的属性信息与关键字的对应的关系,服务器侧接收到网页元素的属性信息后,通过查找对应关系获取网页元素的属性信息对应的关键字,将关键字返回至浏览器。The server side stores the corresponding relationship between the attribute information of the webpage element and the keyword. After receiving the attribute information of the webpage element, the server side obtains the keyword corresponding to the attribute information of the webpage element by searching for the corresponding relationship, and returns the keyword to the browser. .
步骤S106:监测到对至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字。Step S106: The first triggering operation on some or all of the webpage elements in the at least one webpage element is monitored, and the corresponding keyword is displayed at the set position of the triggered webpage element.
本实施例中,对至少一个网页元素中的部分或全部网页元素进行的第一触发操作包括但不限于:悬浮、点击、选择等等,例如:通过鼠标点选某一网页元素或者在某一网页元素上超过一定时间的悬浮,可以实现对该网页元素的第一触发操作,也可以通过快捷键一次选中多个网页元素,实现对多个网页元素的第一触发操作。In this embodiment, the first triggering operation on some or all of the webpage elements in the at least one webpage element includes, but is not limited to, hovering, clicking, selecting, and the like, for example, selecting a webpage element by using a mouse or at a certain The suspension of the webpage element over a certain period of time may implement the first triggering operation on the webpage element, or may select multiple webpage elements at a time through the shortcut key to implement the first triggering operation on the plurality of webpage elements.
对于关键字的显示位置,可以设置成在网页元素的任意合适的位置显示,例如:网页元素的左上角、右上角、左下角等位置,本实施例对此不作具体限定。而对于关键字的显示方式本 实施例也不作具体限制,例如:可以直接在网页元素上显示,也可以生成一个气泡,在气泡中显示关键字,当然还有其他的显示方式,在本实施例不再一一列举。The display position of the keyword may be set to be displayed at any suitable position of the webpage element, for example, the upper left corner, the upper right corner, and the lower left corner of the webpage element, which is not specifically limited in this embodiment. And how to display keywords The embodiment is not limited, for example, it can be displayed directly on a webpage element, a bubble can be generated, a keyword can be displayed in a bubble, and of course, other display modes are not listed in this embodiment.
步骤S108:监测到对对应的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作。Step S108: The second triggering operation on the corresponding keyword is monitored, and the keyword-based preset operation is initiated on the browser side.
通过本实施例提供的在浏览器中搜索信息的方法,浏览器从服务器侧获取当前加载网页中至少一个网页元素对应的关键字,当监测到用户对某一网页元素的第一触发操作时,在被触发的网页元素的设定位置处展示网页元素对应的关键字,因此,能够解决现有的浏览器无法提供给用户除网页元素对应的链接外的其他相关信息的问题。同时,本发明提供的在浏览器中进行搜索信息的方案,还能够监测到对显示的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作,例如:使用关键字进行网页搜索,通过预置操作能够提供给用户关于关键字相关的网页信息,从而提供给用户关于网页元素更全面的信息。With the method for searching for information in the browser provided by the embodiment, the browser obtains, from the server side, a keyword corresponding to at least one webpage element in the currently loaded webpage, and when the first triggering operation of the webpage element by the user is detected, The keyword corresponding to the webpage element is displayed at the set position of the triggered webpage element, and therefore, the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element can be solved. In the meantime, the solution for searching for information in the browser provided by the present invention can also monitor the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using keywords. The webpage search can provide the user with information about the keyword related webpage through the preset operation, thereby providing the user with more comprehensive information about the webpage element.
实施例2Example 2
参照图2,示出了本发明实施例二的一种在浏览器中搜索信息的方法的步骤流程图。Referring to FIG. 2, a flow chart of steps of a method for searching for information in a browser according to a second embodiment of the present invention is shown.
本实施例的在浏览器中搜索信息的方法包括以下具体步骤:The method for searching for information in a browser in this embodiment includes the following specific steps:
步骤S202:浏览器判断当前加载网页是否为安全网页;若是,则执行步骤S204,若否,则执行第一设定操作。Step S202: The browser determines whether the currently loaded webpage is a secure webpage; if yes, step S204 is performed, and if not, the first setting operation is performed.
其中,第一设定操作可以是本领域技术人员根据实际需求设置的任意适当操作,如终止对当前加载网页的操作。The first setting operation may be any appropriate operation set by a person skilled in the art according to actual needs, such as terminating the operation of loading the webpage currently.
在实现过程中,一种优选的判断当前加载网页是否为安全网页的步骤流程如下:In the implementation process, a preferred step of determining whether the currently loaded webpage is a secure webpage is as follows:
步骤S2022:浏览器获取当前加载网页的网页属性信息。Step S2022: The browser obtains webpage attribute information of the currently loaded webpage.
其中,网页属性信息可以为网页的URL和/或网页的标题信息。The webpage attribute information may be a URL of the webpage and/or title information of the webpage.
步骤S2024:浏览器将获取的网页属性信息发送至独立于浏览器的应用。Step S2024: The browser sends the acquired webpage attribute information to the browser-independent application.
其中,该独立于浏览器的应用可以是网盾,当然也可以是其他能够用于网页安全性判定的应用。The browser-independent application may be a network shield, and may of course be another application that can be used for web page security determination.
步骤S2026:浏览器接收独立于浏览器的应用返回的、与网页属性信息对应的安全标识,其中,安全标识用于指示当前加载网页是否为安全网页。Step S2026: The browser receives the security identifier corresponding to the webpage attribute information returned by the browser-independent application, where the security identifier is used to indicate whether the currently loaded webpage is a secure webpage.
浏览器通过上述步骤S2022至步骤S2026获得的安全标识来判定浏览器当前加载网页是否为安全网页。若获得的安全标识指示当前加载网页为安全网页,则执行步骤S204以及后续的获取浏览器的当前加载网页中满足设定条件的至少一个网页元素的属性信息的步骤。若安全标识指示当前加载网页不是安全网页,则执行第一设定操作。The browser determines whether the browser currently loading the webpage is a secure webpage by using the security identifier obtained in the above steps S2022 to S2026. If the obtained security identifier indicates that the currently loaded webpage is a secure webpage, step S204 and subsequent steps of obtaining the attribute information of the at least one webpage element satisfying the set condition in the currently loaded webpage of the browser are performed. If the security identifier indicates that the currently loaded web page is not a secure web page, the first setting operation is performed.
步骤S204:当浏览器判断当前加载网页为安全网页时,进一步判断当前加载网页是否具有使服务器侧进行网页元素识别的权限;若是,则执行步骤S206,若否,则执行第二设定操作。Step S204: When the browser determines that the currently loaded webpage is a secure webpage, it further determines whether the currently loaded webpage has the authority to enable the server side to perform webpage element identification; if yes, step S206 is performed, and if not, the second setting operation is performed.
优选地,浏览器可以通过以下三种具体的方式来判断当前加载网页是否具有使服务器侧进行网页元素识别的权限,分别如下:Preferably, the browser can determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element in the following three specific manners, as follows:
第一种方式是通过独立于浏览器的应用来判断当前加载网页是否具有使服务器侧进行网页元素识别的权限,具体过程如下:The first way is to determine whether the currently loaded web page has the right to enable the server side to identify the web page element through a browser-independent application. The specific process is as follows:
浏览器获取当前加载网页的网页属性信息;将获取的网页属性信息发送至独立于浏览器的应用;接收独立于浏览器的应用返回的、与网页属性信息对应的权限标识,其中,权限标识用于指示当前加载网页是否具有使服务器侧对当前加载网页中的网页元素进行图片识别的权限;若权限标识指示当前加载网页具有使服务器侧进行网页元素识别的权限,则执行步骤S206,即,获取浏览器的当前加载网页中至少一个网页元素的属性识信息。The browser obtains the webpage attribute information of the currently loaded webpage; sends the obtained webpage attribute information to the browser-independent application; and receives the permission identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the permission identifier is used by the browser And indicating that the current loading webpage has the right to enable the server side to perform image recognition on the webpage element in the currently loaded webpage; if the permission identifier indicates that the current loading webpage has the right to enable the server side to perform the webpage element identification, step S206 is performed, ie, obtaining The attribute information of at least one web page element in the current loading webpage of the browser.
本方式中,由于服务器侧仅能支持对某些特定类型的网页中的网页元素进行识别,独立于 浏览器的应用获取这些特定类型的相关信息,独立于浏览器的应用通过浏览器发送的网页属性信息判断出浏览器当前加载网页所属的类型,再判断当前加载网页所属的类型是否在特定类型中,若当前加载网页的类型在特定类型中,独立于浏览器的应用则生成一个用于指示当前加载网页是具有使服务器侧对当前加载网页中的网页元素进行识别的权限标识。若当前加载网页的类型不在服务器侧支持的特定类型中,则独立于浏览器的应用则生成一个用于指示当前加载网页不具有使服务器侧对当前加载网页中的网页元素进行识别权限的权限标识。浏览器接收到独立于浏览器的应用发送的权限标识后,根据权限标识的类型即可判定当前加载网页是否具有使服务器侧进行网页元素识别的权限。In this mode, since the server side can only support the identification of webpage elements in certain types of webpages, it is independent of The browser application obtains the specific type of related information, and the browser-specific application determines the type of the webpage currently loaded by the browser by using the webpage attribute information sent by the browser, and then determines whether the type of the currently loaded webpage belongs to a specific type. If the type of the currently loaded webpage is in a specific type, the browser-independent application generates a permission identifier for indicating that the currently loaded webpage has the server side identifying the webpage element in the currently loaded webpage. If the type of the currently loaded webpage is not in a specific type supported by the server side, the browser-independent application generates a permission identifier for indicating that the currently loaded webpage does not have the server side to identify the webpage element in the currently loaded webpage. . After receiving the permission identifier sent by the browser-independent application, the browser can determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element according to the type of the permission identifier.
第二种方式是通过服务器侧来判断当前加载网页是否具有使服务器侧进行网页元素识别的权限,具体过程如下:The second way is to determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element through the server side. The specific process is as follows:
浏览器获取当前加载网页的网页属性信息;将获取的网页属性信息发送至服务器侧,并接收服务器侧返回的判断结果,其中,判断结果中携带有服务器侧根据网页属性信息确定的、判断当前加载网页是否支持网页元素识别的网页的信息;若判断结果指示当前加载网页支持网页元素识别,则执行步骤S206,即,获取浏览器的当前加载网页中满足设定条件的至少一个网页元素的属性信息。The browser obtains the webpage attribute information of the currently loaded webpage; the obtained webpage attribute information is sent to the server side, and receives the judgment result returned by the server side, wherein the judgment result carries the server side determining according to the webpage attribute information, determining the current loading Whether the webpage supports the information of the webpage identified by the webpage element; if the result of the judgment indicates that the currently loaded webpage supports the webpage element identification, step S206 is performed, that is, the attribute information of the at least one webpage element satisfying the set condition in the currently loaded webpage of the browser is obtained. .
第三种方式是通过浏览器是否能够接收到服务器侧发送的询问来判断当前加载网页是否具有使服务器侧进行网页元素识别的权限,具体过程如下:The third way is to determine whether the currently loaded webpage has the right to enable the server side to identify the webpage element by whether the browser can receive the query sent by the server side. The specific process is as follows:
浏览器接收服务器侧发送的询问是否对当前加载网页进行网页元素识别的消息;向服务器侧返回响应消息,在响应消息中携带指示是否接受服务器侧对当前网页进行网页元素识别的信息。The browser receives a message sent by the server side to query whether the webpage element is identified by the current loading webpage; and returns a response message to the server side, where the response message carries information indicating whether to accept the webpage element identification of the current webpage by the server side.
该方式中服务器侧在判断浏览器当前加载网页具有使服务器侧进行网页元素识别的权限后,向浏览器侧发送询问消息。而如果服务器侧不向浏览器发送询问消息则证明浏览器当前加载的网页不具有使服务器侧进行网页元素识别的权限。浏览器通过是否接收到浏览器侧发送的询问信息可以判断当前加载的网页是否具有使服务器侧进行网页元素识别的权限。In this manner, the server side sends an inquiry message to the browser side after determining that the browser currently loading the webpage has the authority to make the server side perform the webpage element identification. If the server side does not send an inquiry message to the browser, it proves that the webpage currently loaded by the browser does not have the authority to make the server side perform the webpage element identification. The browser can determine whether the currently loaded web page has the right to enable the server side to identify the web page element by receiving the inquiry information sent by the browser side.
此时,浏览器在接收到服务器侧发送的询问消息后,可以通过向服务器侧返回携带指示是否接受服务器侧对当前加载网页进行网页元素识别的信息来主动控制是否接受服务器侧对当前加载网页进行网页元素识别。当浏览器在确定了向服务器侧返回了指示当前加载网页接受服务器侧进行网页元素识别的信息的响应消息后,则执行步骤S206,即,获取浏览器的当前加载网页中的至少一个网页元素的属性信息。At this time, after receiving the inquiry message sent by the server side, the browser may actively control whether to accept the server side to perform the currently loaded webpage by returning information indicating whether to accept the server side to identify the currently loaded webpage by the server side. Web page element identification. After the browser determines that the response message indicating that the current loading webpage accepts the webpage element identification by the server side is returned to the server side, step S206 is performed, that is, acquiring at least one webpage element in the currently loaded webpage of the browser. Attribute information.
需要说明的是,上述是三种不同的判断当前加载网页是否具有使服务器侧进行网页元素识别的权限的实现方式,在实际实现过程中,本领域技术人员可以选择上述任一种、或多种方式组合来进行相关判断。并且,上述步骤S202至步骤S204均为可选步骤,在实际应用中,可以不对网页的安全性和网页元素识别权限进行区分,默认为均符合安全性和具有网页元素识别权限。当然,采用了上述步骤S202至步骤S204的方案,进一步提高了本发明实施例的在浏览器中搜索信息的方案的安全性。It should be noted that, the foregoing is an implementation manner of determining whether the currently loaded webpage has the right to enable the server side to perform webpage element identification. In an actual implementation process, a person skilled in the art may select any one or more of the foregoing. The combination of methods to make relevant judgments. Moreover, the above steps S202 to S204 are optional steps. In the actual application, the security of the webpage and the recognition authority of the webpage element may not be distinguished. The default is that the security is consistent with the security of the webpage element. Certainly, the solution of the above steps S202 to S204 is adopted, which further improves the security of the scheme for searching for information in the browser in the embodiment of the present invention.
步骤S206:浏览器获取当前加载网页中的至少一个网页元素的属性信息。Step S206: The browser acquires attribute information of at least one webpage element in the currently loaded webpage.
优选地,浏览器获取当前加载网页中满足设定条件的至少一个网页元素的属性信息。其中,满足的设定条件可以由本领域技术人员根据实际需求进行设定,例如:设定成仅获取图片元素的属性信息,或者,设定成仅获取视频元素的属性信息,当然还可以设定成同时获取图片元素、视频元素的属性信息。更进一步地,具体到获取图片元素的属性信息实时,还可以设定成仅获取满足设定大小的图片元素的属性信息,本实施例中对此不作具体限制。优选地,将设定规则设定成获取浏览器当前加载网页中的音频元素、视频元素以及图片元素的属性信息。 Preferably, the browser acquires attribute information of at least one webpage element that satisfies the set condition in the currently loaded webpage. The set condition that is satisfied may be set by a person skilled in the art according to actual needs, for example, setting only the attribute information of the picture element, or setting only the attribute information of the video element, and of course, setting The attribute information of the picture element and the video element is acquired at the same time. Further, the attribute information of the picture element is obtained in real time, and may be set to obtain only the attribute information of the picture element that meets the set size, which is not specifically limited in this embodiment. Preferably, the setting rule is set to obtain the attribute information of the audio element, the video element, and the picture element in the webpage currently loaded by the browser.
通过上述步骤S202至步骤S204确定浏览器当前加载网页为安全网页、且具有使服务器侧进行网页元素识别的权限的基础上,浏览器可以在以下三种任一种情况下被触发执行步骤S206,具体如下:After the step S202 to the step S204, it is determined that the browser currently loads the webpage as a secure webpage and has the right to enable the server side to identify the webpage element, the browser may be triggered to perform step S206 in any of the following three cases. details as follows:
第一种,在当前网页加载完成时,获取浏览器当前加载网页中的至少一个网页元素的属性信息。The first type acquires attribute information of at least one webpage element in the currently loaded webpage of the browser when the current webpage is loaded.
第二种,在当前加载网页下接收到鼠标滚动指令时,获取浏览器当前加载网页中的至少一个网页元素的属性信息;Secondly, when receiving a mouse scroll instruction under the currently loaded webpage, acquiring attribute information of at least one webpage element in the webpage currently loaded by the browser;
第三种,当判断出当前加载网页中存在满足设定条件的网页元素时,获取浏览器当前加载网页中的至少一个网页元素的属性信息。Thirdly, when it is determined that there is a webpage element that satisfies the setting condition in the currently loaded webpage, the attribute information of at least one webpage element in the currently loaded webpage of the browser is obtained.
例如:本领域技术人员将浏览器设置成获取当前加载网页中的视频元素的属性信息时,当浏览器判断出当前加载网页中存在视频元素时,浏览器则获取当前加载网页中的至少一个视频元素的属性信息。For example, when the browser sets the browser to obtain the attribute information of the video element in the currently loaded webpage, when the browser determines that the video element exists in the currently loaded webpage, the browser acquires at least one video in the currently loaded webpage. The attribute information of the element.
需要说明的是,浏览器在获取当前加载网页中的至少一个网页元素的属性信息时,可以根据实际需求设置获取的具体方式,例如:一次性获取当前加载网页中所有的满足设定条件的网页元素对应的属性信息,再例如:先获取一部分满足设定条件的网页元素对应的属性信息,将获取的这部分属性信息发送至服务器侧的同时获取其他剩余的满足设定条件的网页元素的属性信息。本实施例对于浏览器以何种方式获取当前加载网页中的满足设定条件的网页元素的属性信息不作具体限制。It should be noted that, when the browser obtains the attribute information of the at least one webpage element in the currently loaded webpage, the specific manner of obtaining the information may be set according to actual needs, for example, obtaining all the webpages satisfying the setting conditions in the currently loaded webpage at one time. The attribute information corresponding to the element, for example, first obtaining attribute information corresponding to a part of the webpage element that satisfies the setting condition, and transmitting the obtained part of the attribute information to the server side, and acquiring other remaining attributes of the webpage element satisfying the setting condition. information. This embodiment does not specifically limit the manner in which the browser obtains the attribute information of the webpage element that satisfies the set condition in the currently loaded webpage.
其中,属性信息可以包括以下至少之一URL、网页的标题、网页元素描述信息、网页元素所在网页的标记,优选地,获取网页元素对应的URL作为网页元素的属性信息,由于网页中的每个网页元素都对应有URL,因此获取网页元素对应的URL更便捷。本实施例中以获取网页的URL为例对后续的步骤进行说明。The attribute information may include at least one of the following URLs, a title of the webpage, webpage element description information, and a mark of the webpage where the webpage element is located. Preferably, the URL corresponding to the webpage element is obtained as the attribute information of the webpage element, because each of the webpages Web page elements all have URLs, so it is more convenient to get the URL corresponding to the page element. In this embodiment, the following steps are described by taking the URL of the webpage as an example.
步骤S208:浏览器将获取的属性信息发送至服务器侧,并接收服务器侧返回的与属性信息对应的关键字。Step S208: The browser sends the acquired attribute information to the server side, and receives a keyword corresponding to the attribute information returned by the server side.
优选地,浏览器将获取的图片属性信息加密后发送至服务器侧,并接收服务器侧返回的加密后的、与图片属性信息对应的图片关键字。将数据加密后进行传输能够保证数据传输的安全性。Preferably, the browser encrypts the acquired picture attribute information and sends it to the server side, and receives the encrypted picture keyword corresponding to the picture attribute information returned by the server side. Encrypting the data for transmission ensures the security of the data transmission.
本实施例中,浏览器将获取的网页元素的属性信息发送至服务器侧可以由本领域技术人员根据实际情况采用任意适当方式,优选地,可以设置成按照以下三种发送方式中的任一种将获取的网页元素属性信息发送至服务器侧,具体如下:In this embodiment, the browser may send the attribute information of the acquired webpage element to the server side by any suitable means according to actual conditions by a person skilled in the art. Preferably, the browser may be configured to follow any one of the following three transmission modes. The obtained web page element attribute information is sent to the server side as follows:
第一种,将获取的所有属性信息打包一次全部上传至服务器侧。The first type, all the acquired attribute information is packaged and uploaded to the server side.
第二种,将获取的所有属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组属性信息。Secondly, all the attribute information obtained is grouped according to the set criteria, and each group of attribute information is sequentially uploaded according to the first setting rule.
需要说明的是,对于设定标准本实施例中对此不作具体限制,可以设定成按照设定数量对属性信息进行分组,也可以设定成按照网页元素的类型进行分组,还可以设定成按照网页元素的标题等对网页元素的属性信息进行分组。It should be noted that, for the setting standard, the specific limitation is not limited in this embodiment, and the attribute information may be grouped according to the set quantity, or may be set to be grouped according to the type of the webpage element, and may also be set. The attribute information of the webpage elements is grouped according to the title of the webpage element or the like.
在具体实现过程中,第一设定规则也可以由本领域技术人员根据实际需求进行设置,本实施例中对此不作具体限制。例如:可以将第一设定规则设定成按照特定时间间隔上传每组属性信息,还可以设置成待第一组属性信息上传完毕后继而上传第二组属性信息。In the specific implementation process, the first setting rule may also be set by a person skilled in the art according to actual requirements, which is not specifically limited in this embodiment. For example, the first setting rule may be set to upload each group of attribute information according to a specific time interval, and may also be set to upload the second group of attribute information after the first group of attribute information is uploaded.
第三种,将获取的所有属性信息按照网页元素的类型进行分组、并按照第二设定规则依次上传每个类型的网页元素的属性信息。Thirdly, all the attribute information obtained is grouped according to the type of the webpage element, and the attribute information of each type of webpage element is sequentially uploaded according to the second setting rule.
例如:在步骤S206中获取了当前加载网页中的图片元素、视频元素以及音频元素的属性信 息,那么,在对获取到的所有属性信息按照类型进行分组时,将所图片元素的属性信息分为一组,将所有视频元素的属性信息分为一组,将所有音频元素的属性信息分为一组。For example, in step S206, the attribute information of the picture element, the video element, and the audio element in the currently loaded webpage is acquired. Interest, then, when all the attribute information obtained is grouped according to the type, the attribute information of the picture element is grouped into one group, the attribute information of all the video elements is grouped, and the attribute information of all the audio elements is divided into As a group.
需要说明的是,在实际实现过程中,第二设定规则也可以由本领域技术人员根据实际需求进行设置,例如:可以将第二设定规则设定成按照特定时间间隔(例如,每隔5秒)上传每组属性信息,还可以设置成待第一组属性信息上传完毕后继而上传第二组属性信息。It should be noted that, in the actual implementation process, the second setting rule may also be set by a person skilled in the art according to actual needs, for example, the second setting rule may be set to be at a specific time interval (for example, every 5 times). Second) upload each group of attribute information, and can also be set to upload the second group of attribute information after the first group of attribute information is uploaded.
第四种,在将当前获取的属性信息上传至服务器侧的同时,继续获取当前加载网页中剩余的网页元素的属性信息,并按照第三设定规则上传继续获取的网页元素的属性信息至服务器侧,直至当前加载网页中所有网页元素的属性信息全部上传至服务器侧。The fourth type, while uploading the currently obtained attribute information to the server side, continues to obtain the attribute information of the remaining webpage elements in the currently loaded webpage, and uploads the attribute information of the webpage element that continues to be acquired to the server according to the third setting rule. On the side, all attribute information of all webpage elements in the currently loaded webpage is uploaded to the server side.
其中,第三设定规则也可以由本领域技术人员根据实际需求进行设置,例如:设置成按照设定时间间隔、将获取的图片属性信息分组上传等等设置。第三设定规则的设置可以与第一设定规则、第二设定规则相同也可以不同。The third setting rule may also be set by a person skilled in the art according to actual needs, for example, set to set the acquired image attribute information according to the set time interval, and the like. The setting of the third setting rule may be the same as or different from the first setting rule and the second setting rule.
优选地,浏览器还可以获取当前用户帐号的信息,其中,用户帐号的信息包括与用户帐号相关联的至少一个其他用户帐号的信息。此时,接收服务器侧返回的与属性信息对应的关键字的步骤包括:接收服务器侧返回的与至少一个其他用户帐号对图片元素的点评信息和至少一个其他用户帐号的标识信息。Preferably, the browser can also obtain information about the current user account, wherein the information of the user account includes information of at least one other user account associated with the user account. At this time, the step of receiving the keyword corresponding to the attribute information returned by the server side includes: receiving the review information returned by the server side with the at least one other user account for the picture element and the identification information of the at least one other user account.
需要说明的是,浏览器获取当前帐号的信息的步骤可以在步骤S208之前执行,在步骤S208之后执行还可以与步骤S208并行执行。It should be noted that the step of the browser acquiring the information of the current account may be performed before step S208, and the execution after step S208 may also be performed in parallel with step S208.
步骤S210:浏览器将接收到的属性信息与关键字的对应关系存储在浏览器对应的内存中。Step S210: The browser stores the corresponding relationship between the received attribute information and the keyword in a memory corresponding to the browser.
在浏览器对应的内存中存储接收到的图片属性信息与图片关键字的对应关系,浏览器可以根据该对应关系,确定被触发的图片元素对应的图片关键字。The corresponding relationship between the received picture attribute information and the picture keyword is stored in the memory corresponding to the browser, and the browser can determine the picture keyword corresponding to the triggered picture element according to the correspondence.
当浏览器当前加载网页关闭时,浏览器将删除浏览器对应的内存中存储的该网页中的网页元素的属性信息与关键字的对应关系。When the browser currently loads the webpage to be closed, the browser deletes the correspondence between the attribute information of the webpage element and the keyword in the webpage stored in the memory corresponding to the browser.
需要说明的是,本步骤为可选步骤,浏览器将接收到的网页元素属性信息与关键字的对应关系存储在浏览器对应的内存中,一方面提高了方案执行效率,另一方面,在已获得了关键字的网页元素后续再次被触发时,不必再向服务器侧发送及获取相关数据,直接从浏览器对应的内存中获取即可,既提高了关键字的获取效率,也减轻了网络数据传输和交互负担。It should be noted that, this step is an optional step, and the browser stores the corresponding relationship between the attribute information of the webpage element and the keyword in the memory corresponding to the browser, thereby improving the efficiency of the scheme execution, and on the other hand, When the webpage element that has obtained the keyword is triggered again, it is no longer necessary to send and obtain related data to the server side, and it can be directly obtained from the memory corresponding to the browser, which not only improves the keyword acquisition efficiency, but also reduces the network. Data transfer and interaction burden.
步骤S212:浏览器监测到对至少一个网页元素中的部分或全部网页元素的第一触发操作。Step S212: The browser monitors a first triggering operation on some or all of the webpage elements in the at least one webpage element.
其中,第一触发操作可以是用户通过鼠标点击网页元素时生成的触发操作,也可以是用户将鼠标放置到网页元素上生成的触发操作,还可以是用户通过快捷键全选或选中部分网页元素时生成的触发操作,本实施例对此不作具体限制。The first triggering operation may be a triggering operation generated when the user clicks on the webpage element by the mouse, or may be a triggering operation generated by the user placing the mouse on the webpage element, or the user may select all or select some webpage elements through the shortcut key. The triggering operation generated at this time is not specifically limited in this embodiment.
步骤S214:浏览器判断是否已接收到服务器侧返回的被触发的所有网页元素对应的关键字;若是,则执行步骤S216,若否,则执行步骤S218。Step S214: The browser determines whether the keyword corresponding to all the webpage elements triggered by the server side has been received; if yes, step S216 is performed, and if no, step S218 is performed.
本实施例中由于在浏览器对应的内存中将接收到的属性信息与关键字的对应关系存储在浏览器的内存中,因此通过判断浏览器对应的内存中是否存在被触发的所有网页元素对应的关键字即可。In this embodiment, since the correspondence between the received attribute information and the keyword is stored in the memory of the browser in the memory corresponding to the browser, it is determined whether there is any triggered webpage element in the memory corresponding to the browser. The keyword can be.
步骤S216:当浏览器判断已接收到服务器侧返回的被触发的所有网页元素对应的关键字时,在被触发的网页元素的设定位置处显示对应的关键字的操作。然后,执行步骤S220。Step S216: When the browser determines that the keyword corresponding to all the triggered webpage elements returned by the server side has been received, the operation of displaying the corresponding keyword at the set position of the triggered webpage element. Then, step S220 is performed.
本实施例中由于浏览器对应的内存中存储有接收到的服务器侧返回的属性信息与关键字的对应关系,因此,在获取被触发的所有网页元素的对应的关键字时,先确定被触发的所有网页元素的属性信息,然后根据确定的属性信息和浏览器对应的内存中存储的网页元素的属性信息与关键字的对应关系,确定被触发的网页元素对应的关键字,并在被触发的网页元素的设定位置处显示确定的关键字。 In this embodiment, the corresponding relationship between the attribute information returned by the server and the keyword is stored in the memory corresponding to the browser. Therefore, when acquiring the corresponding keyword of all the webpage elements that are triggered, the first determination is triggered. The attribute information of all the webpage elements, and then determining the keyword corresponding to the triggered webpage element according to the determined attribute information and the correspondence between the attribute information of the webpage element stored in the memory corresponding to the browser and the keyword, and is triggered The determined keyword is displayed at the set position of the web page element.
除通过网页元素的属性信息确定网页元素对应的关键字外,还可以为每个网页元素设定标识信息,在浏览器对应的内存中存储网页元素的标识信息与关键字的对应的关系,在获取被触发的网页元素对应的关键字时,先确定被触发的网页元素对应的标识信息,再通过标识信息和浏览器对应的内存中存储的标识信息与关键字的对应关系查找对应的关键字。In addition to determining the keyword corresponding to the webpage element by using the attribute information of the webpage element, the identifier information may be set for each webpage element, and the corresponding relationship between the identifier information of the webpage element and the keyword is stored in the memory corresponding to the browser. When the keyword corresponding to the triggered webpage element is obtained, the identifier information corresponding to the triggered webpage element is determined, and the corresponding keyword is searched by the identifier information and the corresponding relationship between the identifier information and the keyword stored in the memory corresponding to the browser. .
步骤S218:当浏览器判断未接收到服务器侧返回的被触发的所有网页元素对应的关键字时,仅在已接收到的关键字对应的网页元素的设定位置处显示关键字,并按照第四设定规则继续向服务器侧发送未接收到关键字的网页元素的属性信息。Step S218: When the browser determines that the keyword corresponding to all the webpage elements that are triggered by the server side is not received, the keyword is displayed only at the set position of the webpage element corresponding to the received keyword, and according to the The fourth setting rule continues to send the attribute information of the webpage element that has not received the keyword to the server side.
第四设定规则可以由本领域技术人员根据实际需求进行设置,只要能保证获取到所有的被触发的网页元素对应的关键字即可,本实施例对此不作具体限制。The fourth setting rule can be set by a person skilled in the art according to actual needs, as long as the keywords corresponding to all the triggered webpage elements are obtained, which is not limited in this embodiment.
例如:将第四设定规则设置成将所有被触发的、但未接收到关键字的网页元素的属性信息一次性发送至服务器侧,接收服务器侧返回的关键字,判断是否接收到全部被触发的网页元素的图片关键字,如果仍未接收到全部的被触发的网页元素的关键字,则循环执行上述向服务器侧发送网页元素的属性信息、接收关键字、判断是否接收到全部被触发的网页元素的关键字操作,直至浏览器接收到所有被触发的网页元素的关键字为止。再例如:将被触发的、但未接收到关键字的网页元素的属性信息进行分组,按照设定的时间间隔依次发送每组网页元素的属性信息,直至接收到所有被触发的网页元素的关键字为止。For example, the fourth setting rule is set to send the attribute information of all the webpage elements that are triggered but not received the keyword to the server side, and receive the keyword returned by the server side to determine whether all the received messages are triggered. If the keyword of the webpage element is not received, the attribute information of the webpage element sent to the server side is received, the keyword is received, and whether all the triggers are received is determined. The keyword action of the page element until the browser receives the keywords of all the triggered page elements. For another example, the attribute information of the webpage element that is triggered but does not receive the keyword is grouped, and the attribute information of each group of webpage elements is sequentially sent according to the set time interval until the key of all the triggered webpage elements is received. So far.
需要说明的是,对于关键字的显示位置,可以设置成在每个网页元素的任意合适的位置显示其对应的关键字,例如:网页元素的左上角、右上角、左下角等位置,本实施例对此不作具体限制。而对于关键字的显示方式本实施例也不作具体限制,例如:可以直接在网页元素上显示,也可以生成一个气泡,在气泡中显示关键字,当然还有其他的显示方式本实施例不再一一列举。It should be noted that, for the display position of the keyword, the corresponding keyword may be displayed at any suitable position of each webpage element, for example, the upper left corner, the upper right corner, the lower left corner of the webpage element, etc., the implementation This example does not impose any specific restrictions. For the display manner of the keyword, the embodiment does not specifically limit, for example, it can be directly displayed on the webpage element, or a bubble can be generated, the keyword is displayed in the bubble, and of course, other display manners are no longer used in this embodiment. List one by one.
步骤S220:浏览器监测到对对应的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作。Step S220: The browser detects a second triggering operation on the corresponding keyword, and initiates a keyword-based preset operation on the browser side.
其中,关键字中可以包含电商网页网址、公众号、网页元素中的展示的对象的名称、网页元素中展示的对象的类型等信息。The keyword may include information such as an e-commerce webpage URL, a public number, a name of an object displayed in the webpage element, and an object type displayed in the webpage element.
预置操作包括以下至少之一:使用关键字进行网页搜索的操作、对关键字对应的公众号的访问操作、对关键字对应的电商网页网址的访问操作、以及对关键字所指示类型的图片进行搜索的操作。The preset operation includes at least one of: an operation of performing a webpage search using a keyword, an access operation of a public number corresponding to the keyword, an access operation of the e-commerce webpage URL corresponding to the keyword, and a type indicated by the keyword. The image is searched for.
第二触发操作可以是用户通过鼠标点击关键字中的某信息产生的触发操作,可以是用户通过外接设备选中某一关键字产生的触发操作,本实施例中对于第二触发操作的产生不作具体限定。The second triggering operation may be a triggering operation generated by the user clicking a certain information in the keyword by the mouse, and may be a triggering operation generated by the user selecting a certain keyword by using the external device, and the second triggering operation is not specifically performed in this embodiment. limited.
当预置操作为使用关键字进行网页搜索的操作时,监测到对对应的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作步骤包括:监测到对显示的任一关键字的第二触发操作,生成包含关键字的搜索请求;调用浏览器的搜索引擎,根据搜索请求进行搜索查询;接收并展示搜索查询的结果。例如:某音频元素对应的关键字为演唱该音频的演奏者的名字,用户对该关键字进行第二触发操作时,进行关于该演奏者的搜索,提供给关于该演奏者的详细信息。When the preset operation is an operation of searching for a webpage by using a keyword, monitoring a second triggering operation on the corresponding keyword, and performing a keyword-based preset operation step on the browser side includes: monitoring any of the displayed The second triggering operation of the keyword generates a search request containing the keyword; invoking the browser's search engine, performing a search query according to the search request; and receiving and displaying the result of the search query. For example, the keyword corresponding to an audio element is the name of the player who sings the audio, and when the user performs the second triggering operation on the keyword, a search for the player is performed, and detailed information about the player is provided.
当预置操作为对关键字对应的公众号的访问操作时,浏览器侧发起对该公众号的访问请,从而实现对该公众号的访问。When the preset operation is an access operation to the public number corresponding to the keyword, the browser side initiates access to the public number, thereby implementing access to the public number.
当预置操作为对关键字对应的电商网页网址的访问操作时,浏览器侧获取用户选择的电商网页网址,访问该网页网址并展示相应的网页。When the preset operation is an access operation to the e-commerce webpage URL corresponding to the keyword, the browser side obtains the e-commerce webpage URL selected by the user, accesses the webpage URL, and displays the corresponding webpage.
当预置操作为对关键字所指示类型的图片进行搜索的操作时,浏览器侧确定图片关键字所指示的类型,调用搜索引擎搜索该类型相关的图片,并展示搜索到的图片。例如:图片关键字指 示该图片为奥迪A6的外观图,那么关键字所指示的类型即为奥迪A6,浏览器在对图片关键字所指示类型的图片进行搜索时,则将与奥迪A6相关的图片搜索后展示,如奥迪A6的车灯图片、车内配置图片、发动机图片等。When the preset operation is an operation of searching for a picture of a type indicated by the keyword, the browser side determines the type indicated by the picture keyword, invokes a search engine to search for a picture related to the type, and displays the searched picture. For example: image keyword refers to The picture is the appearance of the Audi A6, then the type indicated by the keyword is the Audi A6. When the browser searches for the picture of the type indicated by the picture keyword, the image related to the Audi A6 is searched and displayed. Such as Audi A6's car lights pictures, car configuration pictures, engine pictures and so on.
当然,预置操作还可以为对音频元素对应的关键字所指示类型的音频进行搜索的操作,浏览器侧确定关键字所指示的类型,调用搜索引擎搜索该类型相关的音频,并展示搜索到的音频。例如:音频元素对应的关键字指示该音频为某演奏者的流行音乐,那么关键字所指示的类型即为该演奏者的流行音乐的音频,浏览在对音频对应的关键字所指示类型的音频进行搜索时,则将该演奏者演奏的流行音乐的音频搜索后展示。Of course, the preset operation may also be an operation of searching for the audio of the type indicated by the keyword corresponding to the audio element, the browser side determines the type indicated by the keyword, invokes the search engine to search for the audio related to the type, and displays the search. Audio. For example, if the keyword corresponding to the audio element indicates that the audio is pop music of a certain player, then the type indicated by the keyword is the audio of the player's popular music, and the audio of the type indicated by the keyword corresponding to the audio is browsed. When searching, the audio of the pop music played by the performer is displayed after the audio search.
预置操作还可以为对视频元素对应的关键字所指示类型的视频进行搜索的操作,浏览器侧确定关键字所指示的类型,调用搜索引擎搜索该类型相关的视频,并展示搜索到的视频。例如:视频元素对应的关键字指示该视频为某影星的动作片,那么关键字所指示的类型即为该影星的动作片的视频,浏览在对视频对应的关键字所指示类型的视频进行搜索时,则将该影星的动作片的视频频搜索后展示。The preset operation may also be an operation of searching for a video of a type indicated by a keyword corresponding to the video element, the browser side determines the type indicated by the keyword, invokes a search engine to search for the related video of the type, and displays the searched video. . For example, if the keyword corresponding to the video element indicates that the video is an action movie of a movie star, the type indicated by the keyword is the video of the action movie of the movie star, and the browsing searches for the video of the type indicated by the keyword corresponding to the video. At the time, the video of the movie star's action movie is searched for and displayed.
优选地,关键字中还可以设置成包含网页元素对应的电话号码信息,用户通过关键字中的电话号码信息可以实现通过移动终端一键拨打电商电话的效果。具体地拨打电话的过程包括:浏览器监测到对关键字中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打电话号码。Preferably, the keyword may also be set to include the phone number information corresponding to the webpage element, and the user may implement the effect of dialing the e-commerce call by the mobile terminal by using the phone number information in the keyword. Specifically, the process of making a call includes: the browser detects a trigger operation of the phone number indicated by the phone number information included in the keyword, and dials the phone number through the mobile terminal.
通过本实施例提供的在浏览器中搜索信息的方法,浏览器从服务器侧获取当前加载网页中至少一个网页元素对应的关键字,当监测到用户对某一网页元素的第一触发操作时,在被触发的网页元素的设定位置处展示网页元素对应的关键字,因此,能够解决现有的浏览器无法提供给用户除网页元素对应的链接外的其他相关信息的问题。同时,本发明提供的在浏览器中进行搜索信息的方案,还能够监测到对显示的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作,例如:使用关键字进行网页搜索,通过预置操作能够提供给用户关于关键字相关的网页信息,从而提供给用户关于网页元素更全面的信息。With the method for searching for information in the browser provided by the embodiment, the browser obtains, from the server side, a keyword corresponding to at least one webpage element in the currently loaded webpage, and when the first triggering operation of the webpage element by the user is detected, The keyword corresponding to the webpage element is displayed at the set position of the triggered webpage element, and therefore, the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element can be solved. In the meantime, the solution for searching for information in the browser provided by the present invention can also monitor the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using keywords. The webpage search can provide the user with information about the keyword related webpage through the preset operation, thereby providing the user with more comprehensive information about the webpage element.
实施例3Example 3
参照图3,示出了本发明实施例3的一种浏览器中进行图片信息处理方法的步骤流程图。Referring to FIG. 3, a flow chart of steps of a method for processing picture information in a browser according to Embodiment 3 of the present invention is shown.
本实施例的浏览器中进行图片信息处理方法包括以下步骤:The method for processing picture information in the browser of this embodiment includes the following steps:
步骤S302:获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。Step S302: Acquire image attribute information of at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
本实施例中的设定条件可以由本领域技术人员根据实际需求进行设定,例如:将设定条件设定为设定尺寸、设定大小、设定类型等等。优选地,可以获取浏览器的当前加载网页中满足设定尺寸的至少一个图片元素的图片属性信息。The setting conditions in this embodiment can be set by a person skilled in the art according to actual needs, for example, setting the setting conditions to the set size, the set size, the setting type, and the like. Preferably, the picture attribute information of the at least one picture element that satisfies the set size in the currently loaded webpage of the browser may be acquired.
获取的具体图片属性信息也可以由本领域技术人员在实际操作中根据需求进行设定。例如:设置成仅获取图片的统一资源定位符URL、或仅获取图片的标题,当然还可以设置成获取其他的属性信息,以保证获取的图片属性信息能够唯一标识一个图片元素。The specific picture attribute information obtained may also be set by a person skilled in the art according to requirements in actual operation. For example, it is set to obtain only the uniform resource locator URL of the picture, or only the title of the picture, and of course, it can also be set to obtain other attribute information, so as to ensure that the acquired picture attribute information can uniquely identify a picture element.
步骤S304:将获取的图片属性信息发送至服务器侧,并接收服务器侧返回的与图片属性信息对应的图片关键字。Step S304: Send the acquired picture attribute information to the server side, and receive the picture keyword corresponding to the picture attribute information returned by the server side.
服务器侧存储图片属性信息与图片关键字的对应的关系,服务器侧接收到图片属性信息后,通过查找对应关系获取图片属性信息对应的图片关键字,将图片关键字返回至浏览器。The server side stores the corresponding relationship between the picture attribute information and the picture keyword. After receiving the picture attribute information, the server side obtains the picture keyword corresponding to the picture attribute information by searching for the corresponding relationship, and returns the picture keyword to the browser.
步骤S306:监测到对至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示对应的图片关键字。 Step S306: The first triggering operation on some or all of the picture elements in the at least one picture element is monitored, and the corresponding picture keyword is displayed at the set position of the triggered picture element.
本实施例中,对至少一个图片元素中的部分或全部图片元素进行的第一触发操作包括但不限于:悬浮、点击、选择等等,例如:通过鼠标点选某一图片元素或者在某一图片元素上超过一定时间的悬浮,可以实现对该图片元素的第一触发操作,也可以通过快捷键一次选中多个图片元素,实现对多个图片元素的第一触发操作。In this embodiment, the first triggering operation performed on some or all of the picture elements in the at least one picture element includes, but is not limited to, suspension, clicking, selecting, and the like, for example, selecting a picture element by using a mouse or at a certain The suspension of the image element over a certain period of time may implement the first triggering operation on the image element, or may select multiple image elements at a time through the shortcut key to implement the first triggering operation on multiple image elements.
对于图片关键字的显示位置,可以设置成在图片元素的任意合适的位置显示,例如:图片元素的左上角、右上角、左下角等位置,本实施例对此不作具体限定。而对于关键字的显示方式本实施例也不作具体限制,例如:可以直接在图片元素上显示,也可以生成一个气泡,在气泡中显示图片关键字,当然还有其他的显示方式,在本实施例不再一一列举。The display position of the picture keyword may be set to be displayed at any suitable position of the picture element, for example, the upper left corner, the upper right corner, and the lower left corner of the picture element, which is not specifically limited in this embodiment. The display manner of the keyword is not specifically limited in this embodiment. For example, it can be displayed directly on the picture element, or a bubble can be generated, the picture keyword is displayed in the bubble, and of course, other display modes are used in this implementation. The examples are no longer listed one by one.
步骤S308:监测到对对应的图片关键字的第二触发操作,在浏览器侧发起基于图片关键字的预置操作。Step S308: The second triggering operation on the corresponding picture keyword is monitored, and the preset operation based on the picture keyword is initiated on the browser side.
通过本实施例提供的浏览器中进行图片信息处理方法,能够从服务器侧获取当前加载网页中满足设定条件的图片元素对应的关键字,当监测到用户对某一满足设定条件的图片元素的第一触发操作时,在被触发的图片元素的设定位置处展示图片元素对应的关键字,因此,能够解决现有的浏览器客户端无法提供给用户除图片展示的对象的外观外的其他相关信息的问题。同时,本实施例提供的浏览器中进行图片信息处理方法,还能够监测到对在图片元素设定位置展示的图片关键字的第二触发操作,在浏览器客户端侧发起基于图片关键字的预置操作,例如:使用图片关键字进行网页搜索、访问图片关键字对应的电商网页网址等预置操作,通过预置操作能够提供给用户关于图片关键字相关的网页信息、图片关键字对应的电商的信息等,从而提供给用户关于该图片元素更全面的信息。The method for processing the picture information in the browser provided in this embodiment can obtain, from the server side, a keyword corresponding to the picture element that satisfies the setting condition in the currently loaded web page, and when the user detects a certain picture element that satisfies the setting condition When the first triggering operation is performed, the keyword corresponding to the picture element is displayed at the set position of the triggered picture element, so that the existing browser client cannot provide the appearance of the object other than the image display. Other related information issues. In the meantime, the method for processing picture information in the browser provided in this embodiment can also detect the second triggering operation of the picture keyword displayed in the setting position of the picture element, and initiate the image keyword based on the browser client side. The preset operation, for example, using a picture keyword to perform a webpage search, accessing an e-commerce webpage URL corresponding to the image keyword, and the like, and providing a webpage information and a picture keyword corresponding to the image keyword through the preset operation. The e-commerce information, etc., thus providing the user with more comprehensive information about the picture element.
实施例4Example 4
参照图4,示出了本发明实施例4的一种浏览器中进行图片信息处理方法的步骤流程图。Referring to FIG. 4, a flow chart showing the steps of a method for processing picture information in a browser according to Embodiment 4 of the present invention is shown.
本实施例中的浏览器中进行图片信息处理方法具体包括以下步骤:The method for processing picture information in the browser in this embodiment specifically includes the following steps:
步骤S402:浏览器判断当前加载网页是否为安全网页;若是,则执行步骤S404,若否,则执行第一设定操作。Step S402: The browser determines whether the currently loaded webpage is a secure webpage; if yes, step S404 is performed, and if not, the first setting operation is performed.
其中,第一设定操作可以是本领域技术人员根据实际需求设置的任意适当操作,如终止对当前加载网页的操作。The first setting operation may be any appropriate operation set by a person skilled in the art according to actual needs, such as terminating the operation of loading the webpage currently.
在实现过程中,一种优选的判断当前加载网页是否为安全网页的步骤流程如下:In the implementation process, a preferred step of determining whether the currently loaded webpage is a secure webpage is as follows:
步骤S4022:浏览器获取当前加载网页的网页属性信息。Step S4022: The browser acquires webpage attribute information of the currently loaded webpage.
其中,网页属性信息可以为网页的URL和/或网页的标题信息。The webpage attribute information may be a URL of the webpage and/or title information of the webpage.
步骤S4024:浏览器将获取的网页属性信息发送至独立于浏览器的应用。Step S4024: The browser sends the acquired webpage attribute information to the browser-independent application.
其中,该独立于浏览器的应用可以是网盾,当然也可以是其他能够用于网页安全性判定的应用。The browser-independent application may be a network shield, and may of course be another application that can be used for web page security determination.
步骤S4026:浏览器接收独立于浏览器的应用返回的、与网页属性信息对应的安全标识,其中,安全标识用于指示当前加载网页是否为安全网页。Step S4026: The browser receives the security identifier corresponding to the webpage attribute information returned by the browser-independent application, where the security identifier is used to indicate whether the currently loaded webpage is a secure webpage.
浏览器通过上述步骤S4022至步骤S4026获得的安全标识来判定浏览器当前加载网页是否为安全网页。若获得的安全标识指示当前加载网页为安全网页,则执行步骤S404以及后续的获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息的步骤。若安全标识指示当前加载网页不是安全网页,则执行第一设定操作。The browser determines whether the webpage currently loaded by the browser is a secure webpage by using the security identifier obtained in the above steps S4022 to S4026. If the obtained security identifier indicates that the currently loaded webpage is a secure webpage, step S404 and subsequent steps of acquiring the image attribute information of the at least one picture element satisfying the set condition in the currently loaded webpage of the browser are performed. If the security identifier indicates that the currently loaded web page is not a secure web page, the first setting operation is performed.
步骤S404:当浏览器判断当前加载网页为安全网页时,进一步判断当前加载网页是否具有使服务器侧进行图片识别的权限;若是,则执行步骤S406,若否,则执行第二设定操作。Step S404: When the browser determines that the currently loaded webpage is a secure webpage, it further determines whether the currently loaded webpage has the authority to perform image recognition on the server side; if yes, step S406 is performed, and if not, the second setting operation is performed.
优选地,浏览器可以通过以下三种具体的方式来判断当前加载网页是否具有使服务器侧进 行图片识别的权限,分别如下:Preferably, the browser can determine whether the currently loaded webpage has the server side-in by the following three specific manners. The permissions for line image recognition are as follows:
第一种方式是通过独立于浏览器的应用来判断当前加载网页是否具有使服务器侧进行图片识别的权限,具体过程如下:The first way is to determine whether the currently loaded web page has the right to enable the server side to perform image recognition through a browser-independent application. The specific process is as follows:
浏览器获取当前加载网页的网页属性信息;将获取的网页属性信息发送至独立于浏览器的应用;接收独立于浏览器的应用返回的、与网页属性信息对应的权限标识,其中,权限标识用于指示当前加载网页是否具有使服务器侧对当前加载网页中的图片元素进行图片识别的权限;若权限标识指示当前加载网页具有使服务器侧进行图片识别的权限,则执行步骤S406:获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性识信息。The browser obtains the webpage attribute information of the currently loaded webpage; sends the obtained webpage attribute information to the browser-independent application; and receives the permission identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the permission identifier is used by the browser And indicating that the currently loaded webpage has the right to enable the server side to perform image recognition on the picture element in the currently loaded webpage; if the permission identifier indicates that the currently loaded webpage has the right to enable the server side to perform the image recognition, step S406 is performed: acquiring the browser The picture attribute identification information of at least one picture element that satisfies the set condition in the currently loaded webpage.
本方式中,服务器侧仅能支持对某些特定类型的网页中的图片元素进行图片识别,独立于浏览器的应用获取这些特定类型的相关信息,独立于浏览器的应用通过浏览器发送的网页属性信息判断出浏览器当前加载网页所属的类型,再判断当前加载网页所属的类型是否在特定类型中,若当前加载网页的类型在特定类型中,独立于浏览器的应用则生成一个用于指示当前加载网页是具有使服务器侧对当前加载网页中的图片元素进行图片识别的权限标识。若当前加载网页的类型不在服务器侧支持的特定类型中,则独立于浏览器的应用则生成一个用于指示当前加载网页不具有使服务器侧对当前加载网页中的图片元素进行图片识别权限的权限标识。浏览器接收到独立于浏览器的应用发送的权限标识后,根据权限标识的类型即可判定当前加载网页是否具有使服务器侧进行图片识别的权限。In this mode, the server side can only support image recognition of image elements in certain types of webpages, and the browser-independent application obtains these specific types of related information, and the webpages sent by the browser are independent of the browser application. The attribute information determines the type of the webpage currently loaded by the browser, and then determines whether the type of the currently loaded webpage is in a specific type. If the type of the currently loaded webpage is in a specific type, the application independent of the browser generates an indication. The current loading webpage is a permission identifier that causes the server side to perform image recognition on the picture elements in the currently loaded webpage. If the type of the currently loaded webpage is not in a specific type supported by the server side, the browser-independent application generates a permission to indicate that the currently loaded webpage does not have the right to enable the server side to perform image recognition permission on the picture element in the currently loaded webpage. Logo. After the browser receives the permission identifier sent by the browser-independent application, it can determine whether the currently loaded webpage has the right to enable the server side to perform image recognition according to the type of the permission identifier.
第二种方式是通过服务器侧来判断当前加载网页是否具有使服务器侧进行图片识别的权限,具体过程如下:The second way is to determine whether the currently loaded web page has the right to enable the server side to perform image recognition through the server side. The specific process is as follows:
浏览器获取当前加载网页的网页属性信息;将获取的网页属性信息发送至服务器侧,并接收服务器侧返回的判断结果,其中,判断结果中携带有服务器侧根据网页属性信息确定的、判断当前加载网页是否支持图片识别的网页的信息;若判断结果指示当前加载网页支持图片识别,则执行步骤S406:获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。The browser obtains the webpage attribute information of the currently loaded webpage; the obtained webpage attribute information is sent to the server side, and receives the judgment result returned by the server side, wherein the judgment result carries the server side determining according to the webpage attribute information, determining the current loading Whether the webpage supports the information of the webpage recognized by the image; if the result of the judgment indicates that the currently loaded webpage supports the image recognition, step S406 is performed: acquiring the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
第三种方式是通过浏览器是否能够接收到服务器侧发送的询问来判断当前加载网页是否具有使服务器侧进行图片识别的权限,具体过程如下:The third way is to determine whether the currently loaded web page has the right to enable the server side to perform image recognition by whether the browser can receive the query sent by the server side. The specific process is as follows:
浏览器接收服务器侧发送的询问是否对当前加载网页进行图片识别的消息;向服务器侧返回响应消息,在响应消息中携带指示是否接受服务器侧对当前网页进行图片识别的信息。The browser receives a message sent by the server side to query whether the picture is currently uploaded, and returns a response message to the server side. The response message carries information indicating whether to accept the picture recognition of the current web page by the server side.
该方式中服务器侧在判断浏览器当前加载网页具有使服务器侧进行图片识别的权限后,向浏览器侧发送询问消息。而如果服务器侧不向浏览器发送询问消息则证明浏览器当前加载的网页不具有使服务器侧进行图片识别的权限。浏览器通过是否接收到浏览器侧发送的询问信息可以判断当前加载的网页是否具有使服务器侧进行图片识别的权限。In this manner, the server side sends an inquiry message to the browser side after determining that the browser currently loading the webpage has the authority to perform the image recognition on the server side. If the server side does not send an inquiry message to the browser, it proves that the webpage currently loaded by the browser does not have the authority to make the image recognition on the server side. The browser can determine whether the currently loaded web page has the right to enable the server side to perform picture recognition by receiving the inquiry information sent by the browser side.
此时,浏览器在接收到服务器侧发送的询问消息后,可以通过向服务器侧返回携带指示是否接受服务器侧对当前加载网页进行图片识别的信息来主动控制是否接受服务器侧对当前加载网页进行图片识别。当浏览器在确定了向服务器侧返回了指示当前加载网页接受所述服务器侧进行图片识别的信息的响应消息后,则执行步骤S406:获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。At this time, after receiving the inquiry message sent by the server side, the browser may actively control whether to accept the server side to perform the picture on the currently loaded webpage by returning information indicating whether to accept the image recognition of the currently loaded webpage by the server side. Identification. After the browser determines to return to the server side a response message indicating that the currently loaded webpage accepts the information of the server side for performing picture recognition, step S406 is performed: acquiring at least one of the currently loaded webpages of the browser that satisfies the set condition. The picture attribute information of the picture element.
需要说明的是,上述是三种不同的判断当前加载网页是否具有使服务器侧进行图片识别的权限的实现方式,在实际实现过程中,本领域技术人员可以选择上述任一种、或多种方式组合来进行相关判断。并且,上述步骤S402至步骤S404均为可选步骤,在实际应用中,可以不对网页的安全性和图片识别权限进行区分,默认为均符合安全性和具有图片识别权限。当然,采用了上述步骤S402至步骤S404的方案,进一步提高了本发明实施例的图片信息处理方案的安全 性。It should be noted that, in the foregoing, three different methods for determining whether the currently loaded webpage has the right to perform image recognition on the server side may be selected by a person skilled in the art in the actual implementation process. Combine to make relevant judgments. Moreover, the above steps S402 to S404 are optional steps. In actual applications, the security of the webpage and the identity of the image recognition may not be distinguished. The default is that both the security and the image recognition permission are met. Certainly, the solution of the above steps S402 to S404 is adopted, which further improves the security of the picture information processing scheme of the embodiment of the present invention. Sex.
步骤S406:浏览器获取当前加载网页中满足设定条件的至少一个图片元素对应的图片属性信息。Step S406: The browser acquires the image attribute information corresponding to the at least one picture element that satisfies the setting condition in the currently loaded webpage.
通过上述步骤S402至步骤S404确定浏览器当前加载网页为安全网页、且具有使服务器侧进行图片识别的权限的基础上,浏览器可以在以下三种任一种情况下被触发执行步骤S406,具体如下:After determining that the browser currently loads the webpage as a secure webpage and has the authority to perform the image recognition on the server side, the browser may be triggered to perform step S406 in any of the following three situations, specifically, in step S402 to step S404. as follows:
第一种,在当前加载网页加载完成时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。The first type acquires the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser when the loading of the currently loaded webpage is completed.
第二种,在当前加载网页下接收到鼠标滚动指令时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。Secondly, when the mouse scrolling instruction is received under the currently loaded webpage, the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser is obtained.
第三种,当判断出当前加载网页中存在满足设定条件的图片元素时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。Thirdly, when it is determined that there is a picture element that satisfies the setting condition in the currently loaded webpage, the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser is obtained.
需要说明的是,本实施例中的满足的设定条件可以由本领域技术人员根据实际需求进行设定,例如:将设定条件设定为设定尺寸、设定类型、设定图片分辨率等。一种优选的设定方式为,以图片元素的尺寸作为设定条件来有选择性的获取当前加载网页中的图片元素对应的图片属性信息。即,浏览器获取当前加载网页中满足设定尺寸的至少一个图片元素对应的图片属性信息。It should be noted that the set condition that is satisfied in this embodiment can be set by a person skilled in the art according to actual needs, for example, setting the setting condition to the set size, the setting type, setting the picture resolution, and the like. . A preferred setting manner is to selectively obtain the picture attribute information corresponding to the picture element in the currently loaded webpage by using the size of the picture element as a setting condition. That is, the browser acquires image attribute information corresponding to at least one picture element that satisfies the set size in the currently loaded web page.
本实施例中以获取当前加载网页中满足设定尺寸的至少一个图片元素对应的图片属性信息为例对后续的步骤进行说明。需要说明的是,图片元素尺寸大小的设定可以本领域技术人员根据实际需求进行设置,本实施例中不作具体限定。In this embodiment, the following steps are taken as an example to obtain image attribute information corresponding to at least one picture element that meets the set size in the currently loaded web page. It should be noted that the setting of the size of the picture element may be set by a person skilled in the art according to actual needs, which is not specifically limited in this embodiment.
需要说明的是,浏览器在获取当前加载网页中满足设定尺寸的至少一个图片元素对应的图片属性信息时,可以根据实际需求设置获取的具体方式,例如:一次性获取当前加载网页中所有的满足设定尺寸的图片元素对应的图片属性信息,再例如:先获取一部分满足设定尺寸的图片元素对应的图片属性信息,将获取的这部分图片属性信息发送至服务器侧的同时获取其他剩余的图片元素。本实施例对于浏览器以何种方式获取当前加载网页中的图片元素的图片属性信息不作具体限制。It should be noted that, when the browser obtains the image attribute information corresponding to the at least one picture element of the set size in the currently loaded webpage, the browser may set the specific manner of obtaining according to actual requirements, for example, obtaining all the currently loaded webpages at one time. The image attribute information corresponding to the picture element of the set size is satisfied, for example, the image attribute information corresponding to the image element that meets the set size is obtained first, and the acquired image attribute information is sent to the server side to obtain other remaining Picture element. This embodiment does not specifically limit the manner in which the browser obtains the picture attribute information of the picture element in the currently loaded web page.
其中,图片属性信息可以包括URL、图片的标题、图片描述信息、图片所在网页的标记以及图片分辨率中至少之一,优选地,获取图片元素对应的URL作为图片属性信息,由于网页中的每个图片元素都对应有URL,因此获取图片元素对应的URL更便捷。本实施例中以获取图片的URL为例对后续的步骤进行说明。The image attribute information may include at least one of a URL, a title of the picture, a picture description information, a mark of the webpage where the picture is located, and a picture resolution. Preferably, the URL corresponding to the picture element is obtained as the picture attribute information, because each page in the webpage Each image element has a URL, so it is more convenient to get the URL corresponding to the image element. In this embodiment, the following steps are described by taking the URL of the acquired image as an example.
步骤S408:浏览器将获取的图片属性信息发送至服务器侧,并接收服务器侧返回的与图片属性信息对应的图片关键字。Step S408: The browser sends the acquired picture attribute information to the server side, and receives the picture keyword corresponding to the picture attribute information returned by the server side.
优选地,浏览器将获取的图片属性信息加密后发送至服务器侧,并接收服务器侧返回的加密后的、与图片属性信息对应的图片关键字。Preferably, the browser encrypts the acquired picture attribute information and sends it to the server side, and receives the encrypted picture keyword corresponding to the picture attribute information returned by the server side.
本实施例中,浏览器将获取的图片属性信息发送至服务器侧可以由本领域技术人员根据实际情况采用任意适当方式,优选地,可以设置成按照以下三种发送方式中的任一种将获取的图片属性信息发送至服务器侧,具体如下:In this embodiment, the browser sends the acquired image attribute information to the server side, which may be adopted by any person skilled in the art according to actual conditions, and may be set to be acquired according to any one of the following three transmission modes. The picture attribute information is sent to the server side as follows:
第一种,将获取的所有图片属性信息打包一次全部上传至服务器侧。The first type, all the acquired image attribute information is packaged and uploaded to the server side.
第二种,将获取的所有图片属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组图片属性信息。Secondly, all the acquired image attribute information are grouped according to the set criteria, and each set of picture attribute information is sequentially uploaded according to the first setting rule.
需要说明的是,对于设定标准本实施例中对此不作具体限制,可以设定成按照设定数量对图片属性信息进行分组,也可以设定成按照图片元素尺寸的大小进行分组,还可以设定成按照 图片属性信息、图片标题等对图片属性信息进行分组,也可以设定成按照上传图片数据量进行分组。It should be noted that, for the setting standard, this is not specifically limited in this embodiment, and may be set to group the picture attribute information according to the set quantity, or may be set to group according to the size of the picture element size, and may also be configured. Set to follow The picture attribute information, the picture title, and the like may be grouped into image attribute information, or may be set to be grouped according to the amount of uploaded picture data.
在具体实现过程中,第一设定规则也可以由本领域技术人员根据实际需求进行设置,本实施例中对此不作具体限制。例如:可以将第一设定规则设定成按照特定时间间隔上传每组图片属性信息,还可以设置成待第一组图片属性信息上传完毕后继而上传第二组图片属性信息。In the specific implementation process, the first setting rule may also be set by a person skilled in the art according to actual requirements, which is not specifically limited in this embodiment. For example, the first setting rule may be set to upload each group of image attribute information according to a specific time interval, and may also be configured to upload a second group of picture attribute information after the first group of picture attribute information is uploaded.
第三种,在将当前获取的图片属性信息上传至服务器侧的同时,继续获取当前加载网页中剩余的满足设定条件的图片元素的图片属性信息,并按照第二设定规则上传继续获取的图片元素的图片属性信息至服务器侧,直至当前加载网页中所有满足设定条件的图片元素的图片属性信息全部上传至服务器侧。The third type, after uploading the currently acquired picture attribute information to the server side, continues to obtain the picture attribute information of the picture element that satisfies the set condition remaining in the currently loaded webpage, and uploads and continues to acquire according to the second setting rule. The picture attribute information of the picture element is sent to the server side until all the picture attribute information of the picture element satisfying the setting condition in the currently loaded web page is uploaded to the server side.
其中,第二设定规则也可以由本领域技术人员根据实际需求进行设置,例如:设置成按照设定时间间隔、将获取的图片属性信息分组上传等等设置。第二设定规则的设置可以与第一设定规则相同也可以不同。The second setting rule may also be set by a person skilled in the art according to actual needs, for example, set to set the acquired image attribute information in groups according to the set time interval, and the like. The setting of the second setting rule may be the same as or different from the first setting rule.
优选地,浏览器还可以获取当前用户帐号的信息,其中,用户帐号的信息包括与用户帐号相关联的至少一个其他用户帐号的信息。此时,接收服务器侧返回的与图片属性信息对应的图片关键字的步骤包括:接收服务器侧返回的与至少一个其他用户帐号对图片元素的点评信息和至少一个其他用户帐号的标识信息。Preferably, the browser can also obtain information about the current user account, wherein the information of the user account includes information of at least one other user account associated with the user account. At this time, the step of receiving the picture keyword corresponding to the picture attribute information returned by the server side comprises: receiving the review information returned by the server side with the at least one other user account for the picture element and the identification information of the at least one other user account.
需要说明的是,浏览器获取当前帐号的信息的步骤可以在步骤S408之前执行,在步骤S408之后执行还可以与步骤S408并行执行。It should be noted that the step of the browser acquiring the information of the current account may be performed before step S408, and the execution after step S408 may also be performed in parallel with step S408.
步骤S410:浏览器将接收到的图片属性信息与图片关键字的对应关系存储在浏览器对应的内存中。Step S410: The browser stores the corresponding relationship between the received image attribute information and the picture keyword in a memory corresponding to the browser.
在浏览器对应的内存中存储接收到的图片属性信息与图片关键字的对应关系,浏览器可以根据该对应关系,确定被触发的图片元素对应的图片关键字。The corresponding relationship between the received picture attribute information and the picture keyword is stored in the memory corresponding to the browser, and the browser can determine the picture keyword corresponding to the triggered picture element according to the correspondence.
当浏览器当前加载网页关闭时,浏览器将删除浏览器对应的内存中存储的该网页中的图片元素的图片属性信息与图片关键字的对应关系。When the browser currently loads the webpage, the browser deletes the correspondence between the image attribute information of the picture element and the picture keyword in the webpage stored in the memory corresponding to the browser.
需要说明的是,本步骤为可选步骤,浏览器将接收到的图片属性信息与图片关键字的对应关系存储在浏览器对应的内存中,一方面提高了方案执行效率,另一方面,在已获得了图片关键字的图片后续再次被触发时,不必再向服务器侧发送及获取相关数据,直接从浏览器对应的内存中获取即可,既提高了图片关键字的获取效率,也减轻了网络数据传输和交互负担。It should be noted that, this step is an optional step, and the browser stores the corresponding relationship between the received image attribute information and the picture keyword in the memory corresponding to the browser, thereby improving the efficiency of the scheme execution, and on the other hand, When the image that has obtained the image keyword is triggered again, it is no longer necessary to send and obtain related data to the server side, and it can be directly obtained from the memory corresponding to the browser, which improves the efficiency of obtaining the image keyword and reduces the efficiency. Network data transmission and interaction burden.
步骤S412:浏览器监测到对至少一个图片元素中的部分或全部图片元素的第一触发操作。Step S412: The browser monitors a first triggering operation on some or all of the picture elements in the at least one picture element.
其中,所述第一触发操作可以是用户通过鼠标点击图片时生成的触发操作,也可以是用户将鼠标放置到图片上生成的触发操作,还可以是用户通过快捷键全选或选中部分图片时生成的触发操作,本实施例对此不作具体限制。The first triggering operation may be a triggering operation generated when the user clicks on the image by the mouse, or may be a triggering operation generated by the user placing the mouse on the image, or may be when the user selects or selects some of the images through the shortcut keys. The generated triggering operation is not specifically limited in this embodiment.
步骤S414:浏览器判断是否已接收到服务器侧返回的被触发的所有图片元素对应的图片关键字;若是,则执行步骤S416,若否,则执行步骤S418。Step S414: The browser determines whether the picture keyword corresponding to all the picture elements that are triggered by the server side has been received; if yes, step S416 is performed, and if no, step S418 is performed.
本实施例中由于在浏览器对应的内存中将接收到的图片属性信息与所述图片关键字的对应关系存储在所述浏览器的内存中,因此通过判断浏览器对应的内存中是否存在被触发的所有图片元素对应的图片关键字即可。In this embodiment, since the correspondence between the received picture attribute information and the picture keyword is stored in the memory of the browser in the memory corresponding to the browser, it is determined whether the memory corresponding to the browser exists. The image keyword corresponding to all the image elements triggered can be used.
步骤S416:当浏览器判断已接收到服务器侧返回的被触发的所有图片元素对应的图片关键字时,在被触发的图片元素的设定位置处显示对应的图片关键字的操作。然后,执行步骤S420。Step S416: When the browser determines that the picture keyword corresponding to all the picture elements triggered by the server side has been received, the operation of displaying the corresponding picture keyword at the set position of the triggered picture element is performed. Then, step S420 is performed.
本实施例中由于浏览器对应的内存中存储有接收到的服务器侧返回的图片属性信息与图片关键字的对应关系,因此,在获取被触发的所有图片元素的对应的图片关键字时,先确定被触发的所有图片元素的图片属性信息,然后根据确定的图片属性信息和浏览器对应的内存中存储 的图片属性信息与图片关键字的对应关系,确定被触发的图片元素对应的图片关键字,并在被触发的图片元素的设定位置处显示确定的图片关键字。In this embodiment, the corresponding relationship between the image attribute information returned by the server side and the picture keyword is stored in the memory corresponding to the browser. Therefore, when acquiring the corresponding picture keyword of all the picture elements that are triggered, Determining the picture attribute information of all the picture elements that are triggered, and then according to the determined picture attribute information and the in-memory storage corresponding to the browser The corresponding relationship between the picture attribute information and the picture keyword determines the picture keyword corresponding to the triggered picture element, and displays the determined picture keyword at the set position of the triggered picture element.
除通过图片属性信息确定图片元素对应的图片关键字外,还可以为每个图片元素设定标识信息,在浏览器对应的内存中存储图片元素的标识信息与图片关键字的对应的关系,在获取被触发的图片对应的图片关键字时,先确定被触发的图片元素对应的标识信息,再通过标识信息和浏览器对应的内存中存储的标识信息与图片关键字的对应关系查找对应的图片关键字。In addition to determining the picture keyword corresponding to the picture element by using the picture attribute information, the identifier information may be set for each picture element, and the corresponding relationship between the identification information of the picture element and the picture keyword is stored in the memory corresponding to the browser. When the picture keyword corresponding to the triggered picture is obtained, the identifier information corresponding to the triggered picture element is determined, and the corresponding picture is found by using the identification information and the correspondence between the identification information stored in the memory corresponding to the browser and the picture keyword. Keyword.
步骤S418:当浏览器判断未接收到服务器侧返回的被触发的所有图片元素对应的图片关键字时,仅在已接收到的图片关键字对应的图片元素的设定位置处显示图片关键字,并按照第三设定规则继续向服务器侧发送未接收到图片关键字的图片元素的图片属性信息。Step S418: When the browser determines that the picture keyword corresponding to all the picture elements that are triggered by the server side is not received, the picture keyword is displayed only at the set position of the picture element corresponding to the received picture keyword. And continuing to send the picture attribute information of the picture element that has not received the picture keyword to the server side according to the third setting rule.
第三设定规则可以由本领域技术人员根据实际需求进行设置,只要能保证获取到所有的被触发的图片元素对应的关键字即可,本实施例对此不作具体限制。例如:将第三设定规则设置成将所有被触发的、但未接收图片关键字的图片元素的图片属性信息一次性发送至服务器侧,接收服务器侧返回的图片关键字,判断是否接收到全部被触发的图片元素的图片关键字,如果仍未接收到全部的被触发的图片元素的图片关键字,则循环执行上述向服务器侧发送图片属性信息、接收图片关键字、判断是否接收到全部被触发的图片元素的图片关键字操作,直至浏览器接收到所有被触发的图片元素的图片关键字为止。再例如:将被触发的、但未接收图片关键字的图片元素的图片属性信息进行分组,按照设定的时间间隔依次发送每组图片属性信息,直至接收到所有被触发的图片元素的图片关键字为止。The third setting rule can be set by a person skilled in the art according to actual needs, as long as the keywords corresponding to all the triggered picture elements are obtained, which is not limited in this embodiment. For example, the third setting rule is set to send the picture attribute information of all the picture elements that are triggered but not received the picture keyword to the server side, and receive the picture keyword returned by the server side to determine whether all the messages are received. If the picture key of the triggered picture element is still not received, the image attribute information is sent to the server side, the picture keyword is received, and whether all the received pictures are received is cyclically executed. The picture key action of the triggered picture element until the browser receives the picture key of all the triggered picture elements. For example, the picture attribute information of the picture element that is triggered but does not receive the picture keyword is grouped, and each group of picture attribute information is sequentially sent according to the set time interval until the picture key of all the triggered picture elements is received. So far.
需要说明的是,对于图片关键字的显示位置,可以设置成在每个图片元素的任意合适的位置显示其对应的图片关键字,例如:图片元素的左上角、右上角、左下角等位置,本实施例对此不作具体限制。而对于图片关键字的显示方式本实施例也不作具体限制,例如:可以直接在图片元素上显示,也可以生成一个气泡,在气泡中显示图片关键字,当然还有其他的显示方式本实施例不再一一列举。It should be noted that, for the display position of the picture keyword, it may be set to display the corresponding picture keyword at any suitable position of each picture element, for example, the upper left corner, the upper right corner, the lower left corner and the like of the picture element, This embodiment does not specifically limit this. The display mode of the picture keyword is not limited in this embodiment. For example, the image element may be directly displayed on the picture element, or a bubble may be generated, and the picture keyword may be displayed in the bubble, and of course, other display modes are also used in this embodiment. No longer list them one by one.
步骤S420:浏览器监测到对对应的图片关键字的第二触发操作,在浏览器侧发起基于图片关键字的预置操作。Step S420: The browser detects a second triggering operation on the corresponding picture keyword, and initiates a preset operation based on the picture keyword on the browser side.
其中,图片关键字中可以包含电商网页网址、公众号、图片元素中的展示的对象的名称、图片元素中展示的对象的类型等信息。The image keyword may include information such as an e-commerce webpage URL, a public number, a name of an object displayed in the image element, and an object type displayed in the image element.
第二触发操作可以是用户通过鼠标点击关键字中的某信息产生的触发操作,可以是用户通过外接设备选中某一关键字产生的触发操作,本实施例中对于第二触发操作的产生不作具体限定。The second triggering operation may be a triggering operation generated by the user clicking a certain information in the keyword by the mouse, and may be a triggering operation generated by the user selecting a certain keyword by using the external device, and the second triggering operation is not specifically performed in this embodiment. limited.
预置操作包括以下至少之一:使用图片关键字进行网页搜索的操作、对图片关键字对应的公众号的访问操作、对图片关键字对应的电商网页网址的访问操作、以及对图片关键字所指示类型的图片进行搜索的操作。The preset operation includes at least one of: an operation of performing a webpage search using an image keyword, an access operation of a public number corresponding to the image keyword, an access operation of an e-commerce webpage URL corresponding to the image keyword, and an image keyword The operation of the indicated type of picture to perform a search.
当预置操作为使用图片关键字进行网页搜索的操作时,监测到对对应的图片关键字的第二触发操作,在浏览器侧发起基于图片关键字的预置操作步骤包括:监测到对显示的任一图片关键字的第二触发操作,生成包含图片关键字的搜索请求;调用浏览器的搜索引擎,根据搜索请求进行搜索查询;接收并展示搜索查询的结果。When the preset operation is an operation of performing webpage search using the image keyword, the second triggering operation for the corresponding image keyword is monitored, and the step of initializing the image keyword based on the browser side includes: monitoring the display The second triggering operation of any of the image keywords generates a search request including the image keyword; invokes a browser search engine to perform a search query according to the search request; and receives and displays the result of the search query.
当预置操作为对图片关键字对应的公众号的访问操作时,浏览器侧发起对该公众号的访问请,从而实现对该公众号的访问。When the preset operation is an access operation to the public number corresponding to the picture keyword, the browser side initiates access to the public number, thereby implementing access to the public number.
当预置操作为对图片关键字对应的电商网页网址的访问操作时,浏览器侧获取用户选择的电商网页网址,访问该网页网址并展示相应的网页。When the preset operation is an access operation to the e-commerce webpage URL corresponding to the image keyword, the browser side obtains the e-commerce webpage URL selected by the user, accesses the webpage URL, and displays the corresponding webpage.
当预置操作为对图片关键字所指示类型的图片进行搜索的操作时,浏览器侧确定图片关键 字所指示的类型,调用搜索引擎搜索该类型相关的图片,并展示搜索到的图片。例如:图片关键字指示该图片为奥迪A6的外观图,那么关键字所指示的类型即为奥迪A6,浏览器在对图片关键字所指示类型的图片进行搜索时,则将与奥迪A6相关的图片搜索后展示,如奥迪A6的车灯图片、车内配置图片、发动机图片等。When the preset operation is an operation of searching for a picture of the type indicated by the picture keyword, the browser side determines the picture key The type indicated by the word, the search engine is called to search for related images of the type, and the searched image is displayed. For example, the picture keyword indicates that the picture is an appearance picture of the Audi A6, and the type indicated by the keyword is the Audi A6. When the browser searches for the picture of the type indicated by the picture keyword, it will be related to the Audi A6. After the image search, such as the Audi A6's car lights, car configuration pictures, engine pictures and so on.
优选地,图片关键字中还可以设置成包含图片元素对应的电话号码信息,用户通过图片关键字中的电话号码信息可以实现通过移动终端一键拨打电商电话的效果。优选地,电话号码信息为图片中的电商、或是销售图片中的商品对应的电商的电话号码信息。具体地拨打电话的过程包括:浏览器监测到对关键字中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打电话号码。Preferably, the picture keyword may also be set to include the phone number information corresponding to the picture element, and the user may implement the effect of dialing the e-commerce phone through the mobile terminal by using the phone number information in the picture keyword. Preferably, the phone number information is an e-commerce in the picture or a phone number information of an e-commerce corresponding to the item in the sales picture. Specifically, the process of making a call includes: the browser detects a trigger operation of the phone number indicated by the phone number information included in the keyword, and dials the phone number through the mobile terminal.
通过本实施例提供的浏览器中进行图片信息处理方法,浏览器能够从服务器侧获取当前加载网页中满足设定条件的图片元素对应的关键字,当监测到用户对某一满足设定条件的图片元素的第一触发操作时,在被触发的图片元素的设定位置处展示图片元素对应的关键字,因此,能够解决现有的浏览器无法提供给用户除图片外观外的其他相关信息的问题。同时,本实施例提供的浏览器中进行图片信息处理方法,还能够监测到对在图片元素设定位置展示的图片关键字的第二触发操作,在浏览器侧发起基于图片关键字的预置操作,例如:使用图片关键字进行网页搜索、访问图片关键字对应的电商网页网址等预置操作,通过预置操作能够提供给用户关于图片关键字相关的网页信息、图片关键字对应的电商的信息等,从而提供给用户关于该图片元素更全面的信息。The browser performs the picture information processing method in the browser provided by the embodiment, and the browser can obtain, from the server side, a keyword corresponding to the picture element that meets the set condition in the currently loaded web page, and when the user is satisfied to meet the set condition When the first triggering operation of the picture element is performed, the keyword corresponding to the picture element is displayed at the set position of the triggered picture element, so that the existing browser cannot provide the user with other related information except the appearance of the picture. problem. In the meantime, the method for processing picture information in the browser provided in this embodiment can also detect the second triggering operation of the picture keyword displayed in the setting position of the picture element, and initiate the preset based on the picture keyword on the browser side. The operation, for example, using a picture keyword to perform a webpage search, accessing an e-commerce webpage URL corresponding to the image keyword, and the like, and providing a webpage information related to the image keyword and a photo keyword corresponding to the user through a preset operation The information of the quotient, etc., thus providing the user with more comprehensive information about the picture element.
实施例5Example 5
参照图5,示出了本发明实施例5的一种图片识别的方法的步骤流程图。Referring to FIG. 5, a flow chart of the steps of a method for picture recognition according to Embodiment 5 of the present invention is shown.
本实施例的图片识别方法包括以下步骤:The picture recognition method of this embodiment includes the following steps:
步骤S502:接收对图片进行识别的第一触发操作。Step S502: Receive a first triggering operation for identifying the picture.
其中,图片为浏览器的当前加载网页中的图片或浏览器获取的本地图片。The picture is the picture in the browser's currently loaded web page or the local picture obtained by the browser.
对图片进行识别的第一触发操作包括但不限于:将图片上传至浏览器的设定区域、将图片拖拽至浏览器设定区域等等。例如:在浏览器的地址栏中选择上传浏览器本地图片,或者将浏览器的当前加载网页中的某图片拖拽至浏览器地址栏的设定位置中,以及,直接对当前加载网页中的图片进行操作,如点击或鼠标悬浮一定时间等,均可以实现对图片进行识别的第一触发操作。The first triggering operation for recognizing the picture includes, but is not limited to, uploading the picture to a set area of the browser, dragging the picture to the browser setting area, and the like. For example, in the address bar of the browser, select uploading a browser local image, or dragging a picture in the browser's currently loaded webpage to the set location of the browser address bar, and directly loading the currently loaded webpage. When the picture is operated, such as clicking or hovering for a certain time, the first triggering operation for recognizing the picture can be realized.
步骤S504:将图片和/或图片的属性信息发送至服务器侧。Step S504: Send attribute information of the picture and/or picture to the server side.
需要说明的是,本领域技术人员可以根据实际需求设置向服务器侧发送的具体信息。可以设置成直接将图片发送至服务器侧,也可以设置成当图片为浏览器当前加载网页中的图片时,将图片对应的属性信息发送至服务器侧,还可以设置成同时将图片以及图片属性信息发送至服务器侧。It should be noted that a person skilled in the art can set specific information sent to the server side according to actual needs. It can be set to directly send the picture to the server side, or can be set to send the attribute information corresponding to the picture to the server side when the picture is the picture currently loaded by the browser, and can also be set to simultaneously display the picture and the picture attribute information. Send to the server side.
一种优选的设置方式为:当图片为浏览器所在终端的本地图片时,将图片通过浏览器上传至服务器侧,当图片为浏览器当前加载网页中的图片时,将图片的属性信息例如URL(Uniform Resource Locator,统一资源定位符)发送至服务器侧,直接将图片的属性信息发送至服务器侧能够减少传输的数据量。A preferred setting manner is: when the picture is a local picture of the terminal where the browser is located, uploading the picture to the server side through the browser, and when the picture is the picture currently loaded by the browser, the attribute information of the picture, such as a URL (Uniform Resource Locator) is sent to the server side, and directly transmitting the attribute information of the picture to the server side can reduce the amount of data transmitted.
步骤S506:接收并显示服务器侧返回的与图片对应的关键字。Step S506: Receive and display the keyword corresponding to the picture returned by the server side.
其中,关键字由服务器侧根据图片和/或图片对应的属性信息查找得到。The keyword is searched by the server side according to the attribute information corresponding to the picture and/or the picture.
对于服务器侧根据图片和/或图片对应的属性信息查找关键字的具体实现方式本实施例不作具体限制,可以由本领域技术人员根据实际需求选择任意适当的方式来实现关键字的查找。 The specific implementation manner of the keyword searching by the server side according to the attribute information corresponding to the picture and/or the picture is not specifically limited in this embodiment, and any suitable manner may be selected by a person skilled in the art according to actual needs to implement the keyword search.
通过本实施例提供的图片识别方法,浏览器接收到对图片进行识别的第一触发操作,将图片和/或图片的属性信息发送至服务器侧,接收并显示服务器侧返回的图片对应的关键字。因此,通过本实施例提供的图片识别方法,用户可以通过浏览器对感兴趣的图片进行识别,获得图片对应的关键字,以得到除图片外观外的其他相关信息。With the picture recognition method provided by the embodiment, the browser receives the first trigger operation for identifying the picture, and sends the attribute information of the picture and/or the picture to the server side, and receives and displays the keyword corresponding to the picture returned by the server side. . Therefore, with the picture recognition method provided by the embodiment, the user can identify the picture of interest through the browser, and obtain the keyword corresponding to the picture, so as to obtain other related information except the appearance of the picture.
实施例6Example 6
参照图6,示出了本发明实施例6的一种图片识别的方法的步骤流程图。Referring to FIG. 6, a flow chart of steps of a method for picture recognition according to Embodiment 6 of the present invention is shown.
本实施例的图片识别方法具体包括以下步骤:The picture recognition method in this embodiment specifically includes the following steps:
步骤S602:浏览器接收对图片进行识别的第一触发操作。Step S602: The browser receives a first triggering operation for identifying the picture.
其中,图片为浏览器的当前加载网页中的图片或浏览器获取的本地图片。The picture is the picture in the browser's currently loaded web page or the local picture obtained by the browser.
浏览器可以在以下任一种情况下被触发执行步骤S602,包括:The browser may be triggered to perform step S602 in any of the following cases, including:
第一种,浏览器接收到根据上传图片的指令将本地待上传的图片上传至浏览器的设定区域操作。First, the browser receives the uploading of the local image to be uploaded to the browser's setting area according to the instruction to upload the picture.
第二种,浏览器接收到根据上传图片的指令将本地待上传的图片上传至浏览器当前加载网页的设定位置中的操作。Secondly, the browser receives the operation of uploading the local image to be uploaded according to the instruction of uploading the image to the set position of the currently loaded webpage of the browser.
第三种,浏览器接收到将当前加载网页中的图片拖拽至浏览器的设定区域的操作。Third, the browser receives an operation of dragging and dropping a picture in the currently loaded web page to a set area of the browser.
第四种,浏览器接收到将当前加载网页中的图片拖拽至当前加载网页的设定位置中的操作。Fourth, the browser receives an operation of dragging and dropping a picture in the currently loaded web page to a set location of the currently loaded web page.
其中,设定区域可以是本领域技术人员根据实际需求设置的任意适当的区域,例如:地址栏中设定区域、菜单栏中设定区域、搜索栏中设定区域等。设定位置也可以是本领域技术人员根据实际需求设置的任意适当的位置,例如:网页右下角适当大小的区域、网页左上角适当大小的区域等。The setting area may be any suitable area set by a person skilled in the art according to actual needs, for example, a setting area in the address bar, a setting area in the menu bar, a setting area in the search bar, and the like. The setting position may also be any suitable position set by a person skilled in the art according to actual needs, for example, an appropriately sized area in the lower right corner of the web page, an appropriately sized area in the upper left corner of the web page, and the like.
当待识别的图片为当前加载网页中的图片时,一种优选的方式为在执行接收对图片进行识别的第一触发操作步骤之前,对当前加载网页的安全性进行判断,若当前加载网页为安全网页,则接收对图片进行识别的第一触发操作步骤,若当前加载的网页不是安全网页时,则执行第一设定操作。When the picture to be identified is the picture currently loaded in the webpage, a preferred manner is to determine the security of the currently loaded webpage before performing the first triggering operation step of identifying the image, if the currently loaded webpage is The secure webpage receives the first triggering operation step of identifying the image. If the currently loaded webpage is not a secure webpage, the first setting operation is performed.
其中,第一设定操作可以由本领域技术人员根据实际需求设置的任意适当操作,如:拒绝对当前加载网页中的图片进行图片识别的操作。The first setting operation may be any suitable operation set by a person skilled in the art according to actual needs, such as refusing to perform image recognition on the currently loaded picture in the webpage.
一种优选的浏览器判断当前加载网页是否为安全网页的具体方式如下:A preferred way for a browser to determine whether a currently loaded web page is a secure web page is as follows:
浏览器获取图片所在的网页属性信息;将获取的网页属性信息发送至独立于浏览器的应用;接收独立于浏览器的应用返回的、与网页属性信息对应的安全标识,其中,安全标识用于指示网页是否为安全网页。浏览器通过获得的安全标识来判定浏览器当前加载网页是否为安全网页。The browser obtains the webpage attribute information of the webpage; sends the obtained webpage attribute information to the browser-independent application; and receives the security identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the security identifier is used for Indicates if the page is a secure web page. The browser determines whether the browser currently loads the webpage as a secure webpage by obtaining the security identifier.
需要说明的是,在实际应用中,该步骤为可选步骤,可以不对当前加载网页的安全性进行区分,默认为当前加载网页符合安全性。当然,采用了该步骤的方案,进一步提高了本发明实施例的图片识别方案的安全生。It should be noted that, in an actual application, the step is an optional step, and the security of the currently loaded webpage may not be distinguished. The default is that the currently loaded webpage meets the security. Of course, the scheme of this step is adopted to further improve the security of the picture recognition scheme of the embodiment of the present invention.
步骤S604:浏览器将待识别的图片和/或图片的属性信息加密后发送至服务器侧。Step S604: The browser encrypts the attribute information of the picture and/or picture to be identified and sends it to the server side.
如实施例一中所述,浏览器可以选择将图片或图片属性信息发送至服务器侧,也可以将图片及图片属性信息均发送至服务器侧。浏览器还可以根据图片的类型的不同选择发送的信息,当图片为本地上传的图片时,将图片直接发送至服务器侧,当图片为当前加载网页中的图片时,将图片的属性信息发送至服务器侧。As described in the first embodiment, the browser may select to send the picture or picture attribute information to the server side, or send the picture and picture attribute information to the server side. The browser may also select the sent information according to the type of the image. When the image is a locally uploaded image, the image is directly sent to the server side. When the image is the currently loaded image in the webpage, the attribute information of the image is sent to Server side.
其中,图片的属性信息包括图片的URL、图片的标题、图片的描述信息以及图片所在网页的标记中至少之一。优选地,获取图片对应的URL作为当前加载网页中的图片的属性信息,由 于网页中的每个图片元素都对应有URL,因此获取图片对应的URL更便捷。The attribute information of the picture includes at least one of a URL of the picture, a title of the picture, a description information of the picture, and a mark of the webpage where the picture is located. Preferably, the URL corresponding to the picture is obtained as the attribute information of the picture currently loaded in the webpage, Each picture element in the web page has a URL, so it is more convenient to get the URL corresponding to the picture.
本实施例中以识别浏览器所在终端的本地图片为例,对后续的步骤进行说明。浏览器在接收到对获取的本地图片进行识别的第一触发操作后,将获取到的图片发送至服务器侧,由服务器根据接收到的图片查找图片对应的关键字。In this embodiment, the following steps are described by taking the local picture of the terminal where the browser is located as an example. After receiving the first triggering operation for identifying the acquired local image, the browser sends the acquired image to the server side, and the server searches for the keyword corresponding to the image according to the received image.
步骤S606:浏览器接收并显示服务器侧返回的加密后的、与图片对应的关键字。Step S606: The browser receives and displays the encrypted keyword corresponding to the picture returned by the server side.
其中,关键字由服务器侧根据图片和/或图片对应的属性信息查找得到。The keyword is searched by the server side according to the attribute information corresponding to the picture and/or the picture.
服务器侧设置有两个系统,在线查询系统以及离线处理系统。在线查询系统根据图片和/或图片的属性信息例如:图片的URL在缓存中查找对应的关键字,若服务器侧从缓存中查找得到图片或图片的属性信息对应的关键字,则直接返回给浏览器。There are two systems on the server side, an online query system and an offline processing system. The online query system searches for the corresponding keyword according to the attribute information of the picture and/or the picture, for example, the URL of the picture, and if the server side searches for the keyword corresponding to the attribute information of the picture or the picture from the cache, the system directly returns to the browsing. Device.
若服务器侧未从缓存中查到得到图片或图片的属性信息对应的关键字,则服务器侧可以通过离线处理系统获取图片和/或图片的属性信息对应的关键字,若服务器接收到的为图片的属性信息,则可以根据属性信息下载对应的图片,而服务器接收到的为图片则无需执行下载对应的图片的操作。服务器侧通过图片分析技术对图片进行分类和聚类,使得相同图片标签文本能够聚合起来,利用文本分析技术将聚合后的文本和图片分类信息进行综合分析计算得到图片对应的关键字,将得到关键字与图片和/或图片属性信息的对应关系缓存到服务器侧,以备服务器侧查找图片和/或图片的属性信息对应的关键字。服务器侧根据浏览器发送的图片和/或图片的属性信息查找到图片对应的关键字后,将关键字返回至浏览器。优选地,服务器侧将关键字加密后返回至浏览器,将关键字加密后返回能够保证传输数据的安全性。If the server side does not find the keyword corresponding to the attribute information of the picture or the picture, the server side may obtain the keyword corresponding to the attribute information of the picture and/or the picture through the offline processing system, if the server receives the picture The attribute information can be downloaded according to the attribute information, and the server receives the picture without performing the operation of downloading the corresponding picture. The server side classifies and clusters the pictures through image analysis technology, so that the same picture label texts can be aggregated, and the text analysis technology is used to comprehensively analyze and calculate the aggregated text and picture classification information to obtain the keywords corresponding to the pictures, and the key will be obtained. The correspondence between the word and the picture and/or the picture attribute information is cached on the server side, so that the server side searches for a keyword corresponding to the attribute information of the picture and/or the picture. After the server side finds the keyword corresponding to the picture according to the attribute information of the picture and/or picture sent by the browser, the keyword returns the keyword to the browser. Preferably, the server side encrypts the keyword and returns to the browser, and encrypts the keyword and returns to ensure the security of the transmitted data.
本实施例中,由于服务器接收到的是待识别图片的图片信息,因此,服务器采用上述方式直接根据图片查找对应的关键字。In this embodiment, since the server receives the picture information of the picture to be identified, the server directly searches for the corresponding keyword according to the picture in the above manner.
对于浏览器显示服务器侧返回的加密后的、与图片对应的关键字,有以下几种优选的显示方式:For the browser to display the encrypted keywords corresponding to the image returned by the server side, there are the following preferred display modes:
第一种,当图片为浏览器获取的本地图片时,浏览器接收服务器侧返回的与图片对应的关键字,在浏览器获取的图片的设定位置处显示接收到的关键字。First, when the picture is a local picture acquired by the browser, the browser receives the keyword corresponding to the picture returned by the server side, and displays the received keyword at the set position of the picture acquired by the browser.
其中,设定位置可以是图片的任意合适的位置例如:图片的左上角、右上角、左下角等位置,本实施例对此不作具体限制。The setting position may be any suitable position of the picture, for example, the upper left corner, the upper right corner, the lower left corner, and the like of the image, which is not specifically limited in this embodiment.
第二种,当图片为浏览器获取的本地图片时,浏览器接收服务器侧返回的与图片对应的关键字,在当前加载网页的设定位置处或新生成的网页的设定位置处显示本地图片和/或接收到的关键字。Secondly, when the picture is a local picture acquired by the browser, the browser receives the keyword corresponding to the picture returned by the server side, and displays the locality at the set position of the currently loaded web page or the set position of the newly generated web page. Images and/or received keywords.
第三种,当图片为浏览器的当前加载网页中的图片时,浏览器接收服务器侧返回的与图片对应的关键字,在浏览器的设定区域或当前加载网页的设定位置中的图片的设定位置处显示接收到的关键字。Thirdly, when the picture is a picture in the current loading webpage of the browser, the browser receives the keyword corresponding to the picture returned by the server side, and the picture in the setting area of the browser or the setting position of the currently loaded webpage. The received keyword is displayed at the set position.
第四种,当图片为浏览器的当前加载网页中的图片时,浏览器接收服务器侧返回的与图片对应的关键字,在当前加载网页中的图片的设定位置处显示接收到的关键字。Fourthly, when the picture is a picture in the browser currently loading the webpage, the browser receives the keyword corresponding to the picture returned by the server side, and displays the received keyword at the set position of the picture in the currently loaded webpage. .
步骤S608:浏览器将接收到的图片与关键字的对应关系、和/或、图片的属性信息与关键字的对应关系存储在浏览器对应的内存中。Step S608: The browser stores the correspondence between the received picture and the keyword, and/or the correspondence between the attribute information of the picture and the keyword in the memory corresponding to the browser.
在浏览器对应的内存中存储接收到的图片与关键字的对应关系和/或、图片的属性信息与关键字的对应关系,当再次接收对已完成图片识别操作的图片进行识别的第二触发操作时,浏览器能够通过图片和/或图片的属性信息从浏览器对应的内存中查找图片对应的关键字。The corresponding relationship between the received picture and the keyword and/or the correspondence between the attribute information of the picture and the keyword is stored in the memory corresponding to the browser, and the second trigger for identifying the picture that has completed the picture recognition operation is received again. During operation, the browser can search for the keyword corresponding to the image from the memory corresponding to the browser through the attribute information of the image and/or the image.
需要说明的是,本步骤为可选步骤,浏览器将接收到的图片与关键字的对应关系、和/或、图片的属性信息与关键字的对应关系存储在浏览器对应的内存中,一方面提高了方案执行效率,另一方面,在已获得了图片关键字的图片后续再次被触发时,不必再向服务器侧发送及获 取相关数据,直接从浏览器对应的内存中获取即可,既提高了图片关键字的获取效率,也减轻了网络数据传输和交互负担。It should be noted that, this step is an optional step, and the browser stores the corresponding relationship between the received picture and the keyword, and/or the corresponding relationship between the attribute information of the picture and the keyword in the memory corresponding to the browser. The aspect improves the efficiency of the scheme execution. On the other hand, when the image that has obtained the image keyword is triggered again, it is no longer necessary to send and obtain to the server side. The relevant data can be obtained directly from the memory corresponding to the browser, which not only improves the efficiency of image keyword acquisition, but also reduces the network data transmission and interaction burden.
步骤S610:浏览器接收对显示的关键字的第二触发操作,生成包含关键字的搜索请求。Step S610: The browser receives a second triggering operation on the displayed keyword, and generates a search request including the keyword.
其中,第二触发操作可以是用户通过鼠标点击关键字中的某信息产生的触发操作,可以是用户通过外接设备选中某一关键字产生的触发操作,本实施例中对于第二触发操作的产生不作具体限定。The second triggering operation may be a triggering operation generated by the user clicking a certain information in the keyword by using a mouse, and may be a triggering operation generated by the user selecting a certain keyword by using an external device, and the second triggering operation is generated in this embodiment. No specific limitation.
步骤S612:浏览器调用浏览器的搜索引擎,根据搜索请求进行搜索查询。Step S612: The browser invokes the browser's search engine to perform a search query according to the search request.
步骤S614:浏览器接收并展示搜索查询的结果。Step S614: The browser receives and displays the result of the search query.
例如:用户通过步骤S602至步骤S606对一张拍摄有绿萝的图片进行识别,浏览器接收并展示了服务器侧返回的该图片对应的关键字“绿萝”,当用户对关键字“绿萝”执行第二触发操作时,浏览器生成包含“绿萝”的搜索请求,并展示搜索的结果,搜索的结果中可能包含绿萝的生长习惯、功效等与图片有关的更详细的信息。For example, the user identifies a picture with green radish by step S602 to step S606, and the browser receives and displays the keyword "green radish" corresponding to the picture returned by the server side, when the user performs the first keyword on the keyword "green radish" In the second triggering operation, the browser generates a search request containing "green radish" and displays the result of the search. The search result may include more detailed information about the growing habits and effects of the green radish.
通过本实施例提供的图片识别方法,浏览器接收到对图片进行识别的第一触发操作,将图片和/或图片的属性信息发送至服务器侧,接收并显示服务器侧返回的图片对应的关键字。因此,通过本实施例提供的图片识别方法,用户可以通过浏览器对感兴趣的图片进行识别,获得图片对应的关键字,以得到除图片外观外的其他相关信息。同时,本实施例提供的图片识别方法,还能接收对展示的关键字的第二触发操作,生成包含关键字的搜索请求,展示给用户通过关键字搜索到的网页信息,由于网页信息中包含大量的与该图片相关的信息,因此,能够提供给用户关于该图片更全面的信息。With the picture recognition method provided by the embodiment, the browser receives the first trigger operation for identifying the picture, and sends the attribute information of the picture and/or the picture to the server side, and receives and displays the keyword corresponding to the picture returned by the server side. . Therefore, with the picture recognition method provided by the embodiment, the user can identify the picture of interest through the browser, and obtain the keyword corresponding to the picture, so as to obtain other related information except the appearance of the picture. In the meantime, the image recognition method provided in this embodiment can also receive a second triggering operation on the displayed keyword, generate a search request including the keyword, and display the webpage information that is searched by the user through the keyword, because the webpage information includes A large amount of information related to the picture, therefore, can provide the user with more comprehensive information about the picture.
实施例7Example 7
参照图7,示出了本发明实施例7的一种浏览器客户端的结构框图。Referring to FIG. 7, a block diagram of a browser client of Embodiment 7 of the present invention is shown.
本实施例的浏览器客户端包括:获取模块702,用于获取浏览器当前加载网页中的至少一个网页元素的属性信息;发送模块704,用于将获取的属性信息发送至服务器侧,并接收服务器侧返回的与属性信息对应的关键字;显示模块706,用于监测到对至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字;预置操作发起模块708,用于监测到对对应的关键字的第二触发操作,在浏览器侧发起基于所述关键字的预置操作。The browser client of the embodiment includes: an obtaining module 702, configured to acquire attribute information of at least one webpage element in a webpage currently loaded by the browser; and a sending module 704, configured to send the acquired attribute information to the server side, and receive a keyword corresponding to the attribute information returned by the server side; the display module 706 is configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element, and display at the set position of the triggered webpage element a corresponding keyword; a preset operation initiating module 708, configured to monitor a second triggering operation on the corresponding keyword, and initiate a preset operation based on the keyword on the browser side.
通过本实施例提供的浏览器客户端,能够从服务器侧获取当前加载网页中至少一个网页元素对应的关键字,当监测到用户对某一网页元素的第一触发操作时,在被触发的网页元素的设定位置处展示网页元素对应的关键字,因此,能够解决现有的浏览器无法提供给用户除网页元素对应的链接外的其他相关信息的问题。同时,本实施例提供的浏览器客户端,还能够监测到对显示的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作,例如:使用关键字进行网页搜索,通过预置操作能够提供给用户关于关键字相关的网页信息,从而提供给用户关于网页元素更全面的信息。The browser client provided in this embodiment can obtain, from the server side, a keyword corresponding to at least one webpage element in the currently loaded webpage, and when the first triggering operation of the webpage element by the user is detected, the triggered webpage is triggered. The keyword corresponding to the webpage element is displayed at the set position of the element, and therefore, the problem that the existing browser cannot provide the user with other related information except the link corresponding to the webpage element can be solved. In the meantime, the browser client provided in this embodiment can also detect the second triggering operation on the displayed keyword, and initiate a keyword-based preset operation on the browser side, for example, using a keyword to perform a webpage search, The preset operation can provide the user with information about the keyword related webpage, thereby providing the user with more comprehensive information about the webpage element.
实施例8Example 8
参照图8,示出了本发明实施例8的一种浏览器客户端的结构框图。Referring to FIG. 8, a block diagram of a browser client of Embodiment 8 of the present invention is shown.
本实施例对实施例三中的浏览器客户端进行了进一步优化,优化后的浏览器客户端包括:获取模块802,用于获取浏览器当前加载网页中的至少一个网页元素的属性信息;发送模块804,用于将获取的属性信息发送至服务器侧,并接收服务器侧返回的与属性信息对应的关键字;显示模块806,用于监测到对至少一个网页元素中的部分或全部网页元素的第一触发操作, 在被触发的网页元素的设定位置处显示对应的关键字;预置操作发起模块808,用于监测到对对应的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作。In this embodiment, the browser client in the third embodiment is further optimized. The optimized browser client includes: an obtaining module 802, configured to acquire attribute information of at least one webpage element in the currently loaded webpage of the browser; The module 804 is configured to send the acquired attribute information to the server side, and receive a keyword corresponding to the attribute information returned by the server side. The display module 806 is configured to monitor some or all of the webpage elements in the at least one webpage element. First triggering operation, Displaying a corresponding keyword at a set position of the triggered webpage element; a preset operation initiation module 808, configured to monitor a second triggering operation on the corresponding keyword, and initiate a keyword-based preset on the browser side operating.
优选地,获取模块802,用于获取浏览器当前加载网页中的音频的属性信息、和/或、视频的属性信息、和/或、图片的属性信息。Preferably, the obtaining module 802 is configured to acquire attribute information of audio in the webpage currently loaded by the browser, and/or attribute information of the video, and/or attribute information of the picture.
优选地,预置操作包括以下至少之一:使用关键字进行网页搜索的操作、对关键字对应的公众号的访问操作、对关键字对应的电商网页网址的访问操作、以及对关键字所指示类型的图片进行搜索的操作。Preferably, the preset operation includes at least one of: an operation of performing a webpage search using a keyword, an access operation of a public number corresponding to the keyword, an access operation of the e-commerce webpage URL corresponding to the keyword, and a keyword An operation that indicates the type of picture to search.
优选地,本实施例的浏览器客户端还包括:存储模块810,用于在发送模块接收服务器侧返回的与属性信息对应的关键字之后,将接收到的属性信息与关键字的对应关系存储在浏览器对应的内存中;显示模块806,用于监测到对至少一个网页元素中的部分或全部网页元素的第一触发操作,确定被触发的网页元素的属性信息;根据确定的属性信息和浏览器对应的内存中存储的属性信息与关键字的对应关系,确定被触发的网页元素对应的关键字,并在被触发的网页元素的设定位置处显示确定的关键字。Preferably, the browser client of the embodiment further includes: a storage module 810, configured to store, after the sending module receives the keyword corresponding to the attribute information returned by the server side, the corresponding relationship between the received attribute information and the keyword In the memory corresponding to the browser; the display module 806 is configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element, determine attribute information of the triggered webpage element; and according to the determined attribute information and The corresponding relationship between the attribute information and the keyword stored in the memory corresponding to the browser determines the keyword corresponding to the triggered webpage element, and displays the determined keyword at the set position of the triggered webpage element.
优选地,发送模块804将获取的属性信息发送至服务器侧时:将获取的所有属性信息打包一次全部上传至服务器侧;或者,将获取的所有属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组属性信息;或者,将获取的所有属性信息按照网页元素的类型进行分组、并按照第二设定规则依次上传每个类型的网页元素的属性信息;或者,在将当前获取的属性信息上传至服务器侧的同时,继续获取当前加载网页中剩余的网页元素的属性信息,并按照第三设定规则上传继续获取的网页元素的属性信息至服务器侧,直至当前加载网页中所有网页元素的属性信息全部上传至服务器侧。Preferably, when the sending module 804 sends the acquired attribute information to the server side, all the attribute information obtained is packaged and uploaded to the server side at one time; or all the attribute information obtained is grouped according to the setting standard, and according to the first The setting rule uploads each group of attribute information in turn; or, all the attribute information obtained is grouped according to the type of the webpage element, and the attribute information of each type of webpage element is sequentially uploaded according to the second setting rule; or, the current After the obtained attribute information is uploaded to the server side, the attribute information of the remaining webpage elements in the currently loaded webpage is continuously obtained, and the attribute information of the webpage element that continues to be acquired is uploaded to the server side according to the third setting rule until the currently loaded webpage is loaded. All attribute information of all webpage elements is uploaded to the server side.
优选地,获取模块802包括:第一获取模块8022,用于在当前网页加载完成时,获取浏览器当前加载网页中的至少一个网页元素的属性信息;或者,第二获取模块8024,用于在当前加载网页下接收到鼠标滚动指令时,获取浏览器当前加载网页中的至少一个网页元素的属性信息;或者,第三获取模块8026,用于当判断出当前加载网页中存在满足设定条件的网页元素时,获取浏览器当前加载网页中的至少一个网页元素的属性信息。Preferably, the obtaining module 802 includes: a first obtaining module 8022, configured to acquire, when the current webpage loading is completed, the attribute information of the at least one webpage element in the current loading webpage of the browser; or the second obtaining module 8024, Obtaining the attribute information of the at least one webpage element in the webpage currently loaded by the browser when the mouse scrolling instruction is received in the current loading webpage; or the third obtaining module 8026 is configured to determine that the setting condition is met in the currently loaded webpage When the webpage element is obtained, the attribute information of at least one webpage element in the currently loaded webpage of the browser is obtained.
优选地,本实施例的浏览器客户端还包括:第一网页属性信息获取模块812,用于在获取模块802获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,获取浏览器的当前加载网页的网页属性信息;第一网页属性信息发送模块814,用于将获取的网页属性信息发送至独立于浏览器的应用;安全标识接收模块816,用于接收独立于浏览器的应用返回的、与网页属性信息对应的安全标识,其中,安全标识用于指示当前加载网页是否为安全网页;第一调用模块818,用于若安全标识指示当前加载网页为安全网页,调用获取模块。Preferably, the browser client of the embodiment further includes: a first webpage attribute information obtaining module 812, configured to acquire the browser before the obtaining module 802 obtains the attribute information of the at least one webpage element in the currently loaded webpage of the browser The webpage attribute information of the current webpage is loaded; the first webpage attribute information sending module 814 is configured to send the obtained webpage attribute information to the browser-independent application; the security identifier receiving module 816 is configured to receive the browser-independent application return. The security identifier corresponding to the webpage attribute information, wherein the security identifier is used to indicate whether the currently loaded webpage is a secure webpage; the first invoking module 818 is configured to invoke the obtaining module if the security identifier indicates that the currently loaded webpage is a secure webpage.
优选地,本实施例的浏览器客户端还包括:第二网页属性信息获取模块820,用于在获取模块802获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,获取浏览器的当前加载网页的网页属性信息;第二网页属性信息发送模块822,用于将获取的网页属性信息发送至独立于浏览器的应用;权限标识接收模块824,用于接收独立于浏览器的应用返回的、与网页属性信息对应的权限标识,其中,权限标识用于指示当前加载网页是否具有使服务器对当前加载网页中的网页元素进行识别的权限;第二调用模块826,用于若权限标识指示当前加载网页具有使所述服务器进行网页元素识别的权限,则调用获取模块802。Preferably, the browser client of the embodiment further includes: a second webpage attribute information obtaining module 820, configured to acquire the browser before the obtaining module 802 obtains the attribute information of the at least one webpage element in the webpage currently loaded by the browser Currently, the webpage attribute information of the webpage is loaded; the second webpage attribute information sending module 822 is configured to send the obtained webpage attribute information to the browser-independent application; the permission identifier receiving module 824 is configured to receive the browser-independent application return. The permission identifier corresponding to the webpage attribute information, wherein the permission identifier is used to indicate whether the currently loaded webpage has the right to enable the server to identify the webpage element in the currently loaded webpage; the second invoking module 826 is configured to: The current loading web page has the right to enable the server to identify the web page element, and the acquisition module 802 is invoked.
优选地,本实施例的浏览器客户端还包括:第三网页属性信息获取模块828,用于在获取模块获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,获取浏览器的当前加载网页的网页属性信息;第三网页属性信息发送模块830,用于将获取的属性信息发送至服务器侧,并接收服务器侧返回的判断结果,其中,判断结果中携带有服务器侧根据网页属性信息确 定的、判断当前加载网页是否支持网页元素识别的信息;第三调用模块832,用于若判断结果指示当前加载网页支持网页元素识别,则调用获取模块802。Preferably, the browser client of the embodiment further includes: a third webpage attribute information obtaining module 828, configured to acquire a current browser before the obtaining module acquires attribute information of at least one webpage element in the currently loaded webpage of the browser Loading the webpage attribute information of the webpage; the third webpage attribute information sending module 830 is configured to send the obtained attribute information to the server side, and receive the judgment result returned by the server side, wherein the judgment result carries the server side according to the webpage attribute information Indeed And determining, by the third calling module 832, the acquiring module 802, if the determining result indicates that the currently loaded webpage supports the webpage element identification.
优选地,本实施例的浏览器客户端还包括:询问接收模块834,用于在获取模块802获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,接收服务器侧发送的询问是否对当前加载网页进行网页元素识别的消息;响应消息返回模块836,用于向服务器侧返回响应消息,在响应消息中携带指示是否接受服务器侧对当前加载网页进行网页元素识别的信息。Preferably, the browser client of the embodiment further includes: an inquiry receiving module 834, configured to: before the obtaining module 802 acquires the attribute information of the at least one webpage element in the webpage currently loaded by the browser, whether the inquiry sent by the server side is The message is currently loaded by the webpage to identify the webpage element. The response message returning module 836 is configured to return a response message to the server side, and the response message carries information indicating whether to accept the webpage element identification of the currently loaded webpage by the server side.
优选地,获取模块802,用于在确定了向服务器侧返回了指示当前网页接受服务器侧进行网页元素识别的信息的响应消息后,获取浏览器当前加载网页中的至少一个网页元素的属性信息。Preferably, the obtaining module 802 is configured to obtain, after returning the response message indicating that the current webpage accepts the information of the webpage element identification by the server side, to the server side, acquiring the attribute information of the at least one webpage element in the current loading webpage of the browser.
优选地,网页元素的属性信息包括网页元素的URL。Preferably, the attribute information of the webpage element includes the URL of the webpage element.
优选地,网页元素的属性信息还包括以下至少之一:网页元素的标题、网页元素的描述信息、网页元素所在网页的标记。Preferably, the attribute information of the webpage element further includes at least one of the following: a title of the webpage element, description information of the webpage element, and a mark of the webpage where the webpage element is located.
优选地,发送模块804,用于将获取的属性信息加密后发送至服务器侧,并接收服务器侧返回的加密后的、与属性信息对应的关键字。Preferably, the sending module 804 is configured to encrypt the acquired attribute information and send it to the server side, and receive the encrypted keyword corresponding to the attribute information returned by the server side.
优选地,显示模块806包括:接收判断模块8062,用于监测到对至少一个网页元素中的部分或全部网页元素的第一触发操作;判断是否已接收到服务器侧返回的被触发的所有网页元素对应的关键字;第一执行模块8064,用于若接收判断模块的判断结果为是,则执行在被触发的网页元素的设定位置处显示对应的关键字的操作;第二执行模块8066,用于若接收判断模块的判断结果为否,则仅在已接收到的关键字对应的网页元素的设定位置处显示关键字,并按照第四设定规则继续向服务器侧发送未接收到关键字的网页元素的属性信息。Preferably, the display module 806 includes: a receiving determining module 8062, configured to monitor a first triggering operation on some or all of the webpage elements in the at least one webpage element; and determine whether all of the triggered webpage elements returned by the server side have been received a corresponding keyword; a first execution module 8064, configured to: if the determination result of the receiving determination module is yes, perform an operation of displaying a corresponding keyword at a set position of the triggered webpage element; the second execution module 8066, If the result of the determination by the receiving judging module is no, the keyword is displayed only at the set position of the webpage element corresponding to the received keyword, and the sending of the key is not received to the server side according to the fourth setting rule. The attribute information of the page element of the word.
优选地,预置操作发起模块808包括:搜索请求接收模块8082,用于当预置操作为使用关键字进行网页搜索的操作时,监测到对显示的任一关键字的第二触发操作,生成包含关键字的搜索请求;搜索引擎调用模块8084,用于调用浏览器的搜索引擎,根据搜索请求进行搜索查询;搜索结果展示模块8086,用于接收并展示搜索查询的结果。Preferably, the preset operation initiating module 808 includes: a search request receiving module 8082, configured to monitor a second triggering operation on any keyword displayed when the preset operation is an operation of searching for a webpage using a keyword, and generate A search request including a keyword; a search engine invoking module 8084, which is used to invoke a search engine of the browser, performs a search query according to the search request; and a search result display module 8086 is configured to receive and display the result of the search query.
优选地,关键字中包含网页元素对应的电话号码信息,预置操作发起模块808,用于监测到对网页元素中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打电话号码。Preferably, the keyword includes the phone number information corresponding to the webpage element, and the preset operation initiating module 808 is configured to monitor the triggering operation of the phone number indicated by the phone number information included in the webpage element, and dial the phone number through the mobile terminal.
优选地,本实施例的浏览器客户端还包括:帐号信息获取模块838,用于获取浏览器的当前用户帐号的信息,其中,用户帐号的信息包括与所述用户帐号相关联的至少一个其他用户帐号的信息;发送模块804接收服务器侧返回的与属性信息对应的关键字时,接收服务器侧返回的与至少一个其他用户帐号对网页元素的点评信息和所述至少一个其他用户帐号的标识信息。Preferably, the browser client of the embodiment further includes: an account information obtaining module 838, configured to acquire information about a current user account of the browser, wherein the information of the user account includes at least one other associated with the user account. The information of the user account; the sending module 804, when receiving the keyword corresponding to the attribute information returned by the server side, receiving the review information returned by the server side with at least one other user account and the identification information of the at least one other user account .
优选地,本实施例中的浏览器客户端还包括界面绘制模块840,用于为浏览器客户端绘制交互界面,接收输入和输出显示与用户交互的信息;内核处理模块842,用于解析渲染后形成网页显示用窗口中可加载显示的网页数据,并通过界面绘制模块显示网页数据。Preferably, the browser client in this embodiment further includes an interface drawing module 840, configured to draw an interactive interface for the browser client, receive input and output information for interacting with the user, and a kernel processing module 842 for parsing and rendering. After the webpage display window is formed, the displayed webpage data can be loaded, and the webpage data is displayed through the interface drawing module.
例如:当开启浏览器客户端时,界面绘制模块840为浏览器客户端绘制交互界面,当用户点击加载某网页时,内核处理模块842解析当前加载网页对应的渲染数据,调用界面绘制模块840将解析得到的渲染数据绘制成相应的网页,即浏览器当前加载的网页。在界面绘制模块840绘制完网页后,获取模块802获取浏览器当前加载网页中的至少一个网页元素的属性信息,将其发送至发送模块804,发送模块804向服务器侧发送获取的属性信息,并接收服务器侧返回的与属性信息对应的关键字。存储模块810将发送模块接收到的属性信息与关键字的对应关系存储在浏览器对应的内存中,以供网页元素被触发第一操作时从浏览器对应的内存中查找对应的关键字。当接收到用户输入的对至少一个网页元素的交互信息时,内核处理模块842可以将接收到的交互信 息转换为第一触发操作发送至显示模块806,显示模块806监测到对至少一个网页元素中的部分或全部网页元素的第一触发操作,从浏览器对应的内存中存储的属性信息与关键字的对应关系中,获取第一触发操作触发的网页元素对应的关键字,在被触发的网页元素的设定位置处通过界面绘制模块840绘制显示对应的关键字。当接收到用户输入的对关键字的交互信息时,内核处理模块842将该交互信息转换为第二触发操作指令发送至预置操作发起模块808,预置操作发起模块808监测到对对应的关键字的第二触发操作,在浏览器侧发起基于关键字的预置操作。For example, when the browser client is started, the interface drawing module 840 draws an interactive interface for the browser client. When the user clicks to load a webpage, the kernel processing module 842 parses the rendering data corresponding to the currently loaded webpage, and invokes the interface rendering module 840. The parsed rendered data is drawn into a corresponding web page, that is, a web page currently loaded by the browser. After the interface drawing module 840 draws the webpage, the obtaining module 802 acquires the attribute information of the at least one webpage element in the webpage currently loaded by the browser, and sends the attribute information to the sending module 804, and the sending module 804 sends the acquired attribute information to the server side, and The keyword corresponding to the attribute information returned by the server side is received. The storage module 810 stores the corresponding relationship between the attribute information and the keyword received by the sending module in a memory corresponding to the browser, so that the corresponding keyword is searched from the memory corresponding to the browser when the webpage element is triggered by the first operation. When receiving user input of interaction information for at least one webpage element, the kernel processing module 842 may receive the received interactive letter. The information is converted into a first triggering operation and sent to the display module 806. The display module 806 monitors the first triggering operation on some or all of the webpage elements in the at least one webpage element, and stores the attribute information and the keyword from the memory corresponding to the browser. In the corresponding relationship, the keyword corresponding to the webpage element triggered by the first triggering operation is obtained, and the corresponding keyword is displayed and displayed by the interface drawing module 840 at the set position of the triggered webpage element. When receiving the interaction information of the keyword input by the user, the kernel processing module 842 converts the interaction information into a second trigger operation instruction and sends the message to the preset operation initiation module 808, and the preset operation initiation module 808 monitors the corresponding key. The second triggering operation of the word initiates a keyword-based preset operation on the browser side.
本实施例的浏览器客户端用于实现前述实施例1以及实施例2中相应的浏览器中进在浏览器中搜索信息方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The browser client of the embodiment is used to implement the method for searching for information in the browser in the corresponding browsers in the foregoing Embodiment 1 and Embodiment 2, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again. .
实施例9Example 9
参照图9,示出了本发明实施例9的浏览器客户端的结构框图。Referring to Figure 9, a block diagram of a browser client of Embodiment 9 of the present invention is shown.
本实施例的浏览器客户端包括:获取模块902,用于获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;发送模块904,用于将获取的所述图片属性信息发送至服务器侧,并接收所述服务器侧返回的与所述图片属性信息对应的图片关键字;显示模块906,用于监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示对应的图片关键字;预置操作发起模块908,用于监测到对所述对应的图片关键字的第二触发操作,在浏览器侧发起基于所述图片关键字的预置操作。The browser client of the embodiment includes: an obtaining module 902, configured to acquire image attribute information of at least one picture element that satisfies a set condition in a currently loaded webpage of the browser; and a sending module 904, configured to: acquire the obtained image The attribute information is sent to the server side, and receives the picture keyword corresponding to the picture attribute information returned by the server side; the display module 906 is configured to monitor some or all of the picture elements in the at least one picture element. a first triggering operation, displaying a corresponding picture keyword at a set position of the triggered picture element; a preset operation initiating module 908, configured to monitor a second triggering operation on the corresponding picture keyword, in browsing The device side initiates a preset operation based on the picture keyword.
通过本实施例提供的浏览器客户端,能够从服务器侧获取当前加载网页中满足设定条件的图片元素对应的关键字,当监测到用户对某一满足设定条件的图片元素的第一触发操作时,在被触发的图片元素的设定位置处展示图片元素对应的关键字,因此,能够解决现有的浏览器客户端无法提供给用户除图片外观外的其他相关信息的问题。同时,本实施例提供的浏览器客户端,还能够监测到对在图片元素设定位置展示的图片关键字的第二触发操作,在浏览器客户端侧发起基于图片关键字的预置操作,例如:使用图片关键字进行网页搜索、访问图片关键字对应的电商网页网址等预置操作,通过预置操作能够提供给用户关于图片关键字相关的网页信息、图片关键字对应的电商的信息等,从而提供给用户关于该图片元素更全面的信息。The browser client provided in this embodiment can obtain, from the server side, a keyword corresponding to the picture element that satisfies the set condition in the currently loaded webpage, and when the user triggers the first trigger on a certain picture element that satisfies the set condition During operation, the keyword corresponding to the picture element is displayed at the set position of the triggered picture element, and therefore, the problem that the existing browser client cannot provide the user with other related information except the appearance of the picture can be solved. In the meantime, the browser client provided in this embodiment can also detect the second triggering operation of the picture keyword displayed in the setting position of the picture element, and initiate a preset operation based on the picture keyword on the browser client side. For example, using a picture keyword to perform a webpage search, and accessing a preset operation such as an e-commerce webpage URL corresponding to an image keyword, the preset operation can provide the user with information about the webpage related to the image keyword and the e-commerce corresponding to the image keyword. Information, etc., to provide users with more comprehensive information about the picture elements.
实施例10Example 10
参照图10,示出了本发明实施例10的浏览器客户端的结构框图。Referring to FIG. 10, a block diagram showing the structure of a browser client according to Embodiment 10 of the present invention is shown.
本实施例对实施例三中的浏览器客户端进行了进一步优化,优化后的浏览器客户端包括:获取模块1002,用于获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;发送模块1004,用于将获取的所述图片属性信息发送至服务器侧,并接收所述服务器侧返回的与所述图片属性信息对应的图片关键字;显示模块1006,用于监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示对应的图片关键字;预置操作发起模块1008,用于监测到对所述对应的图片关键字的第二触发操作,在浏览器侧发起基于所述图片关键字的预置操作。In this embodiment, the browser client in the third embodiment is further optimized. The optimized browser client includes: an obtaining module 1002, configured to acquire at least one picture element that meets the set condition in the currently loaded webpage of the browser. a picture attribute information; a sending module 1004, configured to send the acquired picture attribute information to the server side, and receive a picture keyword corresponding to the picture attribute information returned by the server side; the display module 1006 is configured to: Monitoring a first triggering operation on some or all of the at least one picture element, displaying a corresponding picture keyword at a set position of the triggered picture element; and a preset operation initiation module 1008 for monitoring To a second triggering operation on the corresponding picture keyword, a preset operation based on the picture keyword is initiated on the browser side.
优选地,获取模块1002用于获取浏览器的当前加载网页中满足设定尺寸的至少一个图片元素对应的图片属性信息。Preferably, the obtaining module 1002 is configured to obtain image attribute information corresponding to the at least one picture element that meets the set size in the currently loaded webpage of the browser.
优选地,预置操作包括以下至少之一:使用图片关键字进行网页搜索的操作、对图片关键字对应的公众号的访问操作、对图片关键字对应的电商网页网址的访问操作、以及对图片关键字所指示类型的图片进行搜索的操作。Preferably, the preset operation includes at least one of: an operation of performing webpage search using a picture keyword, an access operation of a public number corresponding to the image keyword, an access operation of an e-commerce webpage URL corresponding to the image keyword, and An operation in which a picture of the type indicated by the picture keyword is searched.
优选地,本实施例中的浏览器客户端还包括:存储模块1010,用于在发送模块1004接收服务器侧返回的与图片属性信息对应的图片关键字之后,将接收到的图片属性信息与图片关键字 的对应关系存储在浏览器对应的内存中;显示模块1006用于监测到对至少一个图片元素中的部分或全部图片元素的第一触发操作,确定被触发的图片元素的图片属性信息;根据确定的图片属性信息和浏览器对应的内存中存储的图片属性信息与图片关键字的对应关系,确定被触发的图片元素对应的图片关键字,并在被触发的图片元素的设定位置处显示确定的图片关键字。Preferably, the browser client in this embodiment further includes: a storage module 1010, configured to: after the sending module 1004 receives the picture keyword corresponding to the picture attribute information returned by the server side, the received picture attribute information and the picture Keyword The corresponding relationship is stored in a memory corresponding to the browser; the display module 1006 is configured to monitor a first triggering operation on some or all of the picture elements in the at least one picture element, and determine picture attribute information of the triggered picture element; The picture attribute information and the corresponding relationship between the picture attribute information and the picture keyword stored in the memory corresponding to the browser, determining the picture keyword corresponding to the triggered picture element, and displaying the determined position at the set position of the triggered picture element Image keyword.
优选地,发送模块1004在将获取的图片属性信息发送至服务器侧时:将获取的所有图片属性信息打包一次全部上传至服务器侧;或者,将获取的所有图片属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组图片属性信息;或者,在将当前获取的图片属性信息上传至服务器侧的同时,继续获取当前加载网页中剩余的满足设定条件的图片元素的图片属性信息,并按照第二设定规则上传继续获取的图片元素的图片属性信息至服务器侧,直至当前加载网页中所有满足设定条件的图片元素的图片属性信息全部上传至服务器侧。Preferably, the sending module 1004 sends the acquired image attribute information to the server side: all the acquired image attribute information is all uploaded to the server side at one time; or all the acquired image attribute information is grouped according to the setting criteria. And uploading each group of image attribute information in sequence according to the first setting rule; or, while uploading the currently acquired picture attribute information to the server side, continuing to obtain the picture attribute of the picture element that satisfies the setting condition remaining in the currently loaded webpage The information is uploaded to the server side according to the second setting rule, and all the picture attribute information of the picture element that satisfies the setting condition in the currently loaded web page is uploaded to the server side.
优选地,获取模块1002包括:第一获取模块10022,用于在当前加载网页加载完成时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;或者,第二获取模块10024,用于在当前加载网页下接收到鼠标滚动指令时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;或者,第三获取模块10026,用于当判断出当前加载网页中存在满足设定条件的图片元素时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。Preferably, the obtaining module 1002 includes: a first obtaining module 10022, configured to acquire image attribute information of at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser when the currently loaded webpage loading is completed; or The obtaining module 10024 is configured to: when the mouse scrolling instruction is received under the current loading webpage, acquire the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser; or the third obtaining module 10026 is configured to: When it is determined that there is a picture element that satisfies the setting condition in the currently loaded webpage, the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser is obtained.
优选地,本实施例中的浏览器客户端还包括:第一网页属性信息获取模块1012,用于在获取模块1002获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息之前,获取浏览器的当前加载网页的网页属性信息;第一网页属性信息发送模块1014,用于将获取的网页属性信息发送至独立于浏览器的应用;安全标识接收模块1016,用于接收独立于浏览器的应用返回的、与网页属性信息对应的安全标识,其中,所述安全标识用于指示当前网页是否为安全网页;第一调用模块1018,用于在安全标识指示当前加载网页为安全网页,调用获取模块1002。Preferably, the browser client in this embodiment further includes: a first webpage attribute information obtaining module 1012, configured to acquire, in the acquiring module 1002, a picture attribute of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser. Before the information, the webpage attribute information of the currently loaded webpage of the browser is obtained; the first webpage attribute information sending module 1014 is configured to send the obtained webpage attribute information to the browser-independent application; the security identifier receiving module 1016 is configured to receive The security identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the security identifier is used to indicate whether the current webpage is a secure webpage, and the first calling module 1018 is configured to indicate that the currently loaded webpage is in the security identifier. The secure web page invokes the acquisition module 1002.
优选地,本实施例中的浏览器客户端还包括:第二网页属性信息获取模块1020,用于在获取模块1002获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息之前,获取浏览器的当前加载网页的网页属性信息;第二网页属性信息发送模块1022,用于将获取的网页属性信息发送至独立于浏览器的应用;权限标识接收模块1024,用于接收独立于浏览器的应用返回的、与网页属性信息对应的权限标识,其中,权限标识用于指示当前加载网页是否具有使服务器侧对当前加载网页中的图片元素进行图片识别的权限;第二调用模块1026,用于在权限标识指示当前加载网页具有使服务器侧进行图片识别的权限时,调用获取模块1002。Preferably, the browser client in this embodiment further includes: a second webpage attribute information obtaining module 1020, configured to acquire, in the obtaining module 1002, a picture attribute of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser. Before the information, the webpage attribute information of the currently loaded webpage of the browser is obtained; the second webpage attribute information sending module 1022 is configured to send the obtained webpage attribute information to the browser-independent application; the permission identifier receiving module 1024 is configured to receive The permission identifier corresponding to the webpage attribute information returned by the browser-independent application, wherein the permission identifier is used to indicate whether the currently loaded webpage has permission for the server side to perform image recognition on the picture element in the currently loaded webpage; The module 1026 is configured to invoke the obtaining module 1002 when the permission identifier indicates that the currently loaded webpage has the authority to perform image recognition on the server side.
优选地,本实施例中的浏览器客户端还包括:第三网页属性信息获取模块1028,用于在获取模块获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息之前,获取浏览器的当前加载网页的网页属性信息;第三网页属性信息发送模块1030,用于将获取的网页属性信息发送至服务器侧,并接收服务器侧返回的判断结果,其中,判断结果中携带有所述服务器侧根据网页属性信息确定的、判断当前加载网页是否支持图片识别的网页的信息;第三调用模块1032,用于若判断结果指示当前加载网页支持图片识别,则调用获取模块1002。Preferably, the browser client in this embodiment further includes: a third webpage attribute information obtaining module 1028, configured to acquire, in the acquiring module, the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser. Previously, the webpage attribute information of the currently loaded webpage of the browser is obtained; the third webpage attribute information sending module 1030 is configured to send the obtained webpage attribute information to the server side, and receive the judgment result returned by the server side, wherein the judgment result is And carrying the information that is determined by the server side according to the webpage attribute information to determine whether the currently loaded webpage supports the webpage of the image recognition. The third invoking module 1032 is configured to invoke the obtaining module 1002 if the judgment result indicates that the currently loaded webpage supports the image recognition. .
优选地,本实施例中的浏览器客户端还包括:询问接收模块1034,用于在获取模块1002获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息之前,接收服务器侧发送的询问是否对当前加载网页进行图片识别的消息;响应消息返回模块1036,用于向服务器侧返回响应消息,在响应消息中携带指示是否接受服务器侧对所述当前加载网页进行图片识别的信息。Preferably, the browser client in this embodiment further includes: an inquiry receiving module 1034, configured to receive before the obtaining module 1002 obtains the picture attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser. The message sent by the server side is a message for identifying the currently loaded webpage. The response message returning module 1036 is configured to return a response message to the server side, where the response message carries a message indicating whether to accept the server side to perform image recognition on the currently loaded webpage. Information.
优选地,获取模块1002,用于在确定了响应消息返回模块向服务器侧返回了指示当前加载 网页接受服务器侧进行图片识别的信息的响应消息后,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。Preferably, the obtaining module 1002 is configured to: after determining that the response message returning module returns to the server side, indicating that the current loading is performed After receiving the response message of the information for identifying the image on the server side, the webpage obtains the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser.
优选地,图片属性信息包括图片的URL。Preferably, the picture attribute information includes a URL of the picture.
优选地,图片属性信息还包括:图片的标题、图片描述信息、图片所在网页的标记以及图片分辨率至少之一。Preferably, the picture attribute information further includes: at least one of a title of the picture, a picture description information, a mark of the web page where the picture is located, and a picture resolution.
优选地,发送模块1004,用于将获取的图片属性信息加密后发送至服务器侧,并接收服务器侧返回的加密后的、与图片属性信息对应的图片关键字。Preferably, the sending module 1004 is configured to encrypt the acquired picture attribute information and send it to the server side, and receive the encrypted picture keyword corresponding to the picture attribute information returned by the server side.
优选地,显示模块1006包括:接收判断模块10062,用于监测到对至少一个图片元素中的部分或全部图片元素的第一触发操作;判断是否已接收到服务器侧返回的被触发的所有图片元素对应的图片关键字;第一执行模块10064,用于若接收判断模块10062的判断结果为是,则执行在被触发的图片元素的设定位置处显示对应的图片关键字的操作;第二执行模块10066,用于若接收判断模块10062的判断结果为否,则仅在已接收到的图片关键字对应的图片元素的设定位置处显示图片关键字,并按照第三设定规则继续向服务器侧发送未接收到图片关键字的图片元素的图片属性信息。Preferably, the display module 1006 includes: a receiving determining module 10062, configured to monitor a first triggering operation on some or all of the at least one picture element; and determine whether all the picture elements that are triggered by the server side are received. Corresponding picture keyword; the first execution module 10064 is configured to: if the determination result of the receiving determination module 10062 is YES, perform an operation of displaying a corresponding picture keyword at a set position of the triggered picture element; The module 10066 is configured to: if the determination result of the receiving determining module 10062 is negative, display the picture keyword only at the setting position of the picture element corresponding to the received picture keyword, and continue to the server according to the third setting rule. The side sends the picture attribute information of the picture element that has not received the picture keyword.
优选地,预置操作发起模块1008包括:搜索请求接收模块10082,用于当预置操作为使用图片关键字进行网页搜索的操作时,监测到对显示的任一图片关键字的第二触发操作,生成包含图片关键字的搜索请求;搜索引擎调用模块10084,用于调用浏览器的搜索引擎,根据搜索请求进行搜索查询;搜索结果展示模块10086,用于接收并展示搜索查询的结果。Preferably, the preset operation initiating module 1008 includes: a search request receiving module 10082, configured to monitor a second triggering operation on any of the displayed picture keywords when the preset operation is an operation of performing a webpage search using the picture keyword a search request including a picture keyword is generated; a search engine calling module 10084 is configured to invoke a browser search engine to perform a search query according to the search request; and a search result display module 10086 is configured to receive and display the result of the search query.
优选地,图片关键字中包含图片元素对应的电话号码信息,预置操作发起模块1008用于监测到对图片元素中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打电话号码。Preferably, the picture keyword includes the phone number information corresponding to the picture element, and the preset operation initiation module 1008 is configured to monitor the trigger operation of the phone number indicated by the phone number information included in the picture element, and dial the phone number through the mobile terminal.
优选地,本实施例中的浏览器客户端还包括:帐号信息获取模块1038,用于获取浏览器的当前用户帐号的信息,其中,用户帐号的信息包括与用户帐号相关联的至少一个其他用户帐号的信息;发送模块1004接收服务器侧返回的与图片属性信息对应的图片关键字时,接收服务器侧返回的与至少一个其他用户帐号对所述图片元素的点评信息和所述至少一个其他用户帐号的标识信息。Preferably, the browser client in this embodiment further includes: an account information obtaining module 1038, configured to acquire information about a current user account of the browser, where the information of the user account includes at least one other user associated with the user account. The information of the account; the sending module 1004 receives the picture keyword corresponding to the picture attribute information returned by the server side, and receives the review information of the picture element and the at least one other user account returned by the server side with at least one other user account. Identification information.
本实施例的浏览器客户端用于实现前述实施例3以及实施例4中相应的浏览器中进行图片信息处理的方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The browser client of this embodiment is used to implement the method for performing picture information processing in the corresponding browsers in the foregoing Embodiment 3 and Embodiment 4, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again.
实施例11Example 11
参照图11,示出了本发明实施例11的一种浏览器客户端。Referring to Figure 11, a browser client of embodiment 11 of the present invention is shown.
本实施例的浏览器客户端包括:接收模块1102,用于接收对图片进行识别的第一触发操作,其中,图片为浏览器的当前加载网页中的图片或浏览器获取的本地图片;发送模块1104,用于将图片和/或图片的属性信息发送至服务器侧;显示模块1106,用于接收并显示服务器侧返回的、与图片对应的关键字,其中,关键字由服务器侧根据图片和/或图片对应的属性信息查找得到。The browser client of the embodiment includes: a receiving module 1102, configured to receive a first triggering operation for identifying a picture, where the picture is a picture in a currently loaded webpage of the browser or a local picture acquired by the browser; 1104, for sending the attribute information of the picture and/or the picture to the server side; the display module 1106 is configured to receive and display a keyword corresponding to the picture returned by the server side, where the keyword is determined by the server side according to the picture and/or Or the attribute information corresponding to the picture is found.
通过本实施例提供的浏览器客户端,能够接收到对图片进行识别的第一触发操作,将图片和/或图片的属性信息发送至服务器侧,接收并显示服务器侧返回的图片对应的关键字。可见,通过本实施例提供的浏览器客户端能够对用户感兴趣的图片进行图片识别,获得图片对应的关键字,以提供给用户除图片外观外的其他相关信息。The browser client provided by the embodiment can receive the first triggering operation for identifying the picture, and send the attribute information of the picture and/or the picture to the server side, and receive and display the keyword corresponding to the picture returned by the server side. . It can be seen that the browser client provided by the embodiment can perform image recognition on the image that is of interest to the user, and obtain a keyword corresponding to the image, so as to provide the user with other related information except the appearance of the image.
实施例12 Example 12
参照图12,示出了本发明实施例12的一种浏览器客户端。Referring to Figure 12, a browser client of embodiment 12 of the present invention is shown.
本实施例对实施例三中的浏览器客户端进行了进一步优化,优化后的浏览器客户端包括:接收模块1202,用于接收对图片进行识别的第一触发操作,其中,图片为浏览器的当前加载网页中的图片或浏览器获取的本地图片;发送模块1204,用于将图片和/或图片的属性信息发送至服务器侧;显示模块1206,用于接收并显示服务器侧返回的、与图片对应的关键字,其中,关键字由服务器侧根据图片和/或图片对应的属性信息查找得到。In this embodiment, the browser client in the third embodiment is further optimized. The optimized browser client includes: a receiving module 1202, configured to receive a first triggering operation for identifying a picture, where the image is a browser. The current image of the webpage or the local image acquired by the browser; the sending module 1204 is configured to send the attribute information of the image and/or the image to the server side; the display module 1206 is configured to receive and display the return of the server side, and The keyword corresponding to the picture, wherein the keyword is searched by the server side according to the attribute information corresponding to the picture and/or the picture.
优选地,接收模块1202包括:第一指令接收模块12022,用于接收根据上传图片的指令将本地待上传的图片上传至浏览器的设定区域或当前加载网页的设定位置中的操作;或者,第二指令接收模块12024,用于接收将当前加载网页中的图片拖拽至浏览器的设定区域或当前网页的设定位置中的操作。Preferably, the receiving module 1202 includes: a first instruction receiving module 12022, configured to receive an operation of uploading a local image to be uploaded to a setting area of the browser or a setting position of the currently loaded webpage according to an instruction for uploading a picture; or The second instruction receiving module 12024 is configured to receive an operation of dragging a picture in the currently loaded webpage to a setting area of the browser or a setting position of the current webpage.
优选地,显示模块1206包括:第一显示模块12062,用于当图片为浏览器获取的本地图片时,接收服务器侧返回的与图片对应的关键字,在浏览器获取的图片的设定位置处显示接收到的关键字;或者,第二显示模块12064,用于当图片为浏览器获取的本地图片时,接收服务器侧返回的与图片对应的关键字,在当前加载网页的设定位置或新生成的网页的设定位置处显示本地图片和/或接收到的关键字。Preferably, the display module 1206 includes: a first display module 12062, configured to: when the picture is a local picture acquired by the browser, receive a keyword corresponding to the picture returned by the server side, where the position of the picture acquired by the browser is Displaying the received keyword; or, the second display module 12064 is configured to: when the image is a local image acquired by the browser, receive a keyword corresponding to the image returned by the server, and set the location of the currently loaded webpage or new The local image and/or the received keyword are displayed at the set location of the generated web page.
优选地,显示模块1206包括:第三显示模块12066,用于当图片为浏览器的当前加载网页中的图片时,接收服务器侧返回的与所述图片对应的关键字,在浏览器的设定区域或当前加载网页的设定位置中的图片的设定位置处显示接收到的关键字;或者,第四显示模块12068,用于当图片为浏览器的当前加载网页中的图片时,接收服务器侧返回的与图片对应的关键字,在当前加载网页中的图片的设定位置处显示接收到的关键字。Preferably, the display module 1206 includes: a third display module 1206, configured to: when the picture is a picture in the browser currently loading the webpage, receive a keyword corresponding to the picture returned by the server side, in the browser setting The received keyword is displayed at the setting position of the image in the setting position of the current or loaded webpage; or the fourth display module 12068 is configured to receive the server when the image is a picture in the browser currently loading the webpage The keyword corresponding to the picture returned by the side displays the received keyword at the set position of the picture in the currently loaded web page.
优选地,本实施例的浏览器客户端还包括:搜索请求接收模块1208,用于在显示模块1206接收并显示服务器侧返回的与图片对应的关键字之后,接收对显示的关键字的第二触发操作,生成包含关键字的搜索请求;搜索引擎调用模块1210,用于调用浏览器的搜索引擎,根据搜索请求进行搜索查询;展示模块1212,用于接收并展示搜索查询的结果。Preferably, the browser client of the embodiment further includes: a search request receiving module 1208, configured to receive a second keyword for the displayed keyword after the display module 1206 receives and displays the keyword corresponding to the image returned by the server side. The triggering operation generates a search request including a keyword; the search engine calling module 1210 is configured to invoke a browser search engine to perform a search query according to the search request; and the display module 1212 is configured to receive and display the result of the search query.
优选地,本实施例的浏览器客户端还包括:存储模块1214,用于在显示模块1206接收服务器返回的、与图片对应的关键字之后,将接收到的图片与关键字的对应关系、和/或、图片的属性信息与关键字的对应关系存储在浏览器对应的内存中。Preferably, the browser client of the embodiment further includes: a storage module 1214, configured to: after the display module 1206 receives the keyword corresponding to the image returned by the server, the correspondence between the received image and the keyword, and / or, the correspondence between the attribute information of the picture and the keyword is stored in the memory corresponding to the browser.
优选地,本实施例的浏览器客户端还包括:第二接收模块1216,用于在存储模块1214将接收到的图片与关键字的对应关系、和/或、图片的属性信息与关键字的对应关系存储在浏览器对应的内存中之后,再次接收对图片进行识别的第二触发操作;查找模块1218,用于通过图片和/或图片的属性信息从浏览器对应的内存中查找图片对应的关键字。Preferably, the browser client of the embodiment further includes: a second receiving module 1216, configured to, in the storage module 1214, the correspondence between the received picture and the keyword, and/or the attribute information of the picture and the keyword After the corresponding relationship is stored in the memory corresponding to the browser, the second triggering operation for identifying the image is received again. The searching module 1218 is configured to search for the corresponding image from the memory corresponding to the browser through the attribute information of the image and/or the image. Keyword.
优选地,本实施例的浏览器客户端还包括:网页属性信息获取模块1220,用于当图片为浏览器的当前加载网页中的图片时,在接收模块接收对图片进行识别的第一触发操作之前,获取图片所在的网页属性信息;网页属性信息发送模块1222,用于将获取的网页属性信息发送至独立于所述浏览器的应用;安全标识接收模块1224,用于接收独立于所述浏览器的应用返回的、与网页属性信息对应的安全标识,其中,安全标识用于指示网页是否为安全网页;第一执行模块1226,用于若安全标识指示网页为安全网页,则调用接收模块1202。Preferably, the browser client of the embodiment further includes: a webpage attribute information obtaining module 1220, configured to receive, during the current loading of the webpage of the browser, the first triggering operation for identifying the image in the receiving module. The webpage attribute information sending module 1222 is configured to send the obtained webpage attribute information to an application independent of the browser, and the security identifier receiving module 1224 is configured to receive the browsing independent of the browsing. The security identifier corresponding to the webpage attribute information returned by the application, wherein the security identifier is used to indicate whether the webpage is a secure webpage; the first execution module 1226 is configured to invoke the receiving module 1202 if the security identifier indicates that the webpage is a secure webpage. .
优选地,图片的属性信息包括图片的URL。Preferably, the attribute information of the picture includes the URL of the picture.
优选地,图片的属性信息还包括以下至少之一:图片的标题、图片的描述信息以及图片所在网页的标记。Preferably, the attribute information of the picture further includes at least one of the following: a title of the picture, description information of the picture, and a mark of the webpage where the picture is located.
优选地,发送模块1204用于将图片和/或图片的属性信息加密后发送至服务器侧;显示模块1206用于接收并显示服务器侧返回的加密后的、与图片对应的关键字。 Preferably, the sending module 1204 is configured to encrypt the attribute information of the picture and/or the picture and send it to the server side; the display module 1206 is configured to receive and display the encrypted keyword corresponding to the picture returned by the server side.
本实施例的浏览器客户端用于实现前述实施例5以及实施例6中相应的浏览器中进行图片识别的方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The browser client of this embodiment is used to implement the method for performing picture recognition in the corresponding browsers in the foregoing Embodiment 5 and Embodiment 6, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again.
在此提供的在浏览器中搜索信息的方案不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造具有本发明方案的系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The schemes provided herein for searching for information in a browser are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems can also be used with the teaching based on the teachings herein. According to the above description, it is obvious that the structure required to construct the system having the solution of the present invention is obvious. Moreover, the invention is not directed to any particular programming language. It is to be understood that the invention may be embodied in a variety of programming language, and the description of the specific language has been described above in order to disclose the preferred embodiments of the invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the invention are sometimes grouped together into a single embodiment, in the above description of the exemplary embodiments of the invention, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects lie in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present invention. Different embodiments are formed and formed. For example, in the claims, any one of the claimed embodiments can be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的在浏览器中搜索信息的方案中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of some or all of the components of the search for information in a browser in accordance with an embodiment of the present invention. Features. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图13示出了可以实现根据本发明的在浏览器中搜索信息的方法、浏览器中进行图片信息处理的方法或的图片识别的方法的终端设备。该终端设备传统上包括处理器1310和以存储器1320形式的程序产品或者可读介质。存储器1320可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM或者ROM之类的电子存储器。存储器1320具有配置为执行上述方法中的任何方法步骤的程序代码1331的存储空间1330。例如,配置为程序代码的存储空间1330可以包括分别配置为实现上面的方法中的各种步骤的各个程序代码1331。这些程序代码可以从一个或者多个程序产品中读出或者写入到这一个或者多个程序产品中。这些程序产品包括诸如存储卡 之类的程序代码载体。这样的程序产品通常为如参考图14所述的便携式或者固定存储单元。该存储单元可以具有与图13的终端设备中的存储器1320类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括可读代码1331’,即可以由例如诸如1310之类的处理器读取的代码,这些代码当由终端设备运行时,导致该终端设备执行上面所描述的方法中的各个步骤。For example, FIG. 13 shows a terminal device that can implement a method of searching for information in a browser, a method of performing picture information processing in a browser, or a method of picture recognition according to the present invention. The terminal device conventionally includes a processor 1310 and a program product or readable medium in the form of a memory 1320. The memory 1320 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, or a ROM. Memory 1320 has a storage space 1330 of program code 1331 configured to perform any of the method steps described above. For example, the storage space 1330 configured as program code may include respective program codes 1331 that are respectively configured to implement various steps in the above method. These program codes can be read from or written to one or more program products. These program products include such as memory cards A program code carrier such as that. Such a program product is typically a portable or fixed storage unit as described with reference to FIG. The storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1320 in the terminal device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit includes readable code 1331', ie, code that can be read by a processor, such as, for example, 1310, which when executed by the terminal device causes the terminal device to perform various steps in the methods described above .
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。 It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Claims (96)

  1. 一种在浏览器中搜索信息的方法,包括:A method of searching for information in a browser, including:
    获取浏览器当前加载网页中的至少一个网页元素的属性信息;Obtaining attribute information of at least one webpage element in the webpage currently loaded by the browser;
    将获取的所述属性信息发送至服务器侧,并接收所述服务器侧返回的与所述属性信息对应的关键字;Sending the obtained attribute information to the server side, and receiving a keyword corresponding to the attribute information returned by the server side;
    监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字;Monitoring a first triggering operation on some or all of the at least one webpage element, displaying a corresponding keyword at a set location of the triggered webpage element;
    监测到对所述对应的关键字的第二触发操作,在浏览器侧发起基于所述关键字的预置操作。A second triggering operation on the corresponding keyword is detected, and a preset operation based on the keyword is initiated on the browser side.
  2. 根据权利要求1所述的方法,其中,所述获取浏览器当前加载网页中的至少一个网页元素的属性信息步骤,包括:The method of claim 1, wherein the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser comprises:
    获取浏览器当前加载网页中的音频的属性信息、和/或、视频的属性信息、和/或、图片的属性信息。Obtaining attribute information of the audio currently loaded in the webpage of the browser, and/or attribute information of the video, and/or attribute information of the picture.
  3. 根据权利要求1或2所述的方法,其中,所述预置操作包括以下至少之一:使用所述关键字进行网页搜索的操作、对所述关键字对应的公众号的访问操作、对所述关键字对应的电商网页网址的访问操作、以及对所述关键字所指示类型的图片进行搜索的操作。The method according to claim 1 or 2, wherein the preset operation comprises at least one of: an operation of performing a webpage search using the keyword, an access operation of a public number corresponding to the keyword, and a The access operation of the e-commerce webpage URL corresponding to the keyword, and the operation of searching for the image of the type indicated by the keyword.
  4. 根据权利要求1或2所述的方法,其中,在所述接收所述服务器侧返回的与所述属性信息对应的关键字步骤之后,还包括:The method according to claim 1 or 2, wherein after the step of receiving the keyword corresponding to the attribute information returned by the server side, the method further comprises:
    将接收到的所述属性信息与所述关键字的对应关系存储在所述浏览器对应的内存中;Storing the received correspondence between the attribute information and the keyword in a memory corresponding to the browser;
    所述监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字的步骤包括:The step of monitoring the first triggering operation on some or all of the at least one webpage element, and displaying the corresponding keyword at the set location of the triggered webpage element includes:
    监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,确定被触发的网页元素的属性信息;Detecting a first triggering operation on some or all of the at least one webpage element, determining attribute information of the triggered webpage element;
    根据确定的所述属性信息和所述浏览器对应的内存中存储的属性信息与关键字的对应关系,确定所述被触发的网页元素对应的关键字,并在所述被触发的网页元素的设定位置处显示确定的所述关键字。Determining, according to the determined attribute information and the correspondence between the attribute information and the keyword stored in the memory corresponding to the browser, the keyword corresponding to the triggered webpage element, and in the triggered webpage element The determined keyword is displayed at the set position.
  5. 根据权利要求1或2所述的方法,其中,所述将获取的所述属性信息发送至服务器侧步骤包括:The method according to claim 1 or 2, wherein the step of transmitting the acquired attribute information to the server side comprises:
    将获取的所有属性信息打包一次全部上传至所述服务器侧;All the attribute information obtained is packaged and uploaded to the server side at one time;
    或者,or,
    将获取的所有属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组属性信息;All the attribute information obtained is grouped according to a set standard, and each group of attribute information is sequentially uploaded according to the first setting rule;
    或者,or,
    将获取的所有属性信息按照网页元素的类型进行分组、并按照第二设定规则依次上传每个类型的网页元素的属性信息;All the attribute information obtained is grouped according to the type of the webpage element, and the attribute information of each type of webpage element is sequentially uploaded according to the second setting rule;
    或者,or,
    在将当前获取的属性信息上传至服务器侧的同时,继续获取所述当前加载网页中剩余的网页元素的属性信息,并按照第三设定规则上传所述继续获取的网页元素的属性信息至服务器侧,直至所述当前加载网页中所有网页元素的属性信息全部上传至所述服务器侧。And uploading the currently acquired attribute information to the server side, and continuing to acquire the attribute information of the remaining webpage elements in the currently loaded webpage, and uploading the attribute information of the webpage element that is continuously acquired to the server according to the third setting rule. On the side, all the attribute information of all the webpage elements in the currently loaded webpage is uploaded to the server side.
  6. 根据权利要求1或2所述的方法,其中,所述获取浏览器当前加载网页中的至少一个网页元素的属性信息步骤包括:The method according to claim 1 or 2, wherein the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser comprises:
    在当前网页加载完成时,获取浏览器当前加载网页中的至少一个网页元素的属性信息;Obtaining attribute information of at least one webpage element in the webpage currently loaded by the browser when the current webpage loading is completed;
    或者, Or,
    在当前加载网页下接收到鼠标滚动指令时,获取浏览器当前加载网页中的至少一个网页元素的属性信息;Obtaining attribute information of at least one webpage element in the currently loaded webpage of the browser when the mouse scrolling instruction is received under the currently loaded webpage;
    或者,or,
    当判断出当前加载网页中存在满足设定条件的网页元素时,获取浏览器当前加载网页中的至少一个网页元素的属性信息。When it is determined that there is a webpage element that satisfies the setting condition in the currently loaded webpage, the attribute information of at least one webpage element in the webpage currently loaded by the browser is obtained.
  7. 根据权利要求1或2所述的方法,其中,在所述获取浏览器当前加载网页中的至少一个网页元素的属性信息步骤之前,还包括:The method according to claim 1 or 2, wherein before the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser, the method further comprises:
    获取浏览器的当前加载网页的网页属性信息;Obtaining webpage attribute information of a currently loaded webpage of the browser;
    将获取的所述网页属性信息发送至独立于所述浏览器的应用;Sending the acquired webpage attribute information to an application independent of the browser;
    接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的安全标识,其中,所述安全标识用于指示当前加载网页是否为安全网页;Receiving, by the browser-independent application, a security identifier corresponding to the webpage attribute information, where the security identifier is used to indicate whether the currently loaded webpage is a secure webpage;
    若所述安全标识指示当前加载网页为安全网页,则执行所述获取浏览器当前加载网页中的至少一个网页元素的属性信息的步骤。And if the security identifier indicates that the currently loaded webpage is a secure webpage, performing the step of acquiring attribute information of at least one webpage element in the currently loaded webpage of the browser.
  8. 根据权利要求1或2所述的方法,其中,在所述获取浏览器当前加载网页中的至少一个网页元素的属性信息步骤之前,还包括:The method according to claim 1 or 2, wherein before the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser, the method further comprises:
    获取浏览器的当前加载网页的网页属性信息;Obtaining webpage attribute information of a currently loaded webpage of the browser;
    将获取的所述网页属性信息发送至独立于所述浏览器的应用;Sending the acquired webpage attribute information to an application independent of the browser;
    接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的权限标识,其中,所述权限标识用于指示当前加载网页是否具有使所述服务器对所述当前加载网页中的网页元素进行识别的权限;Receiving, by the browser-independent application, a permission identifier corresponding to the webpage attribute information, where the permission identifier is used to indicate whether the currently loaded webpage has the server to be in the currently loaded webpage The right to identify the web page element;
    若所述权限标识指示所述当前加载网页具有使所述服务器进行网页元素识别的权限,则执行所述获取浏览器当前加载网页中的至少一个网页元素的属性信息的步骤。And if the permission identifier indicates that the currently loaded webpage has the right to enable the server to identify the webpage element, performing the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser.
  9. 根据权利要求1或2所述的方法,其中,在所述获取浏览器当前加载网页中的至少一个网页元素的属性信息步骤之前,还包括:The method according to claim 1 or 2, wherein before the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser, the method further comprises:
    获取浏览器的当前加载网页的网页属性信息;Obtaining webpage attribute information of a currently loaded webpage of the browser;
    将获取的所述属性信息发送至所述服务器侧,并接收所述服务器侧返回的判断结果,其中,所述判断结果中携带有所述服务器侧根据所述网页属性信息确定的、判断所述当前加载网页是否支持网页元素识别的信息;Sending the obtained attribute information to the server side, and receiving a determination result returned by the server side, where the determination result carries the determination by the server side according to the webpage attribute information Whether the currently loaded web page supports information recognized by the web page element;
    若所述判断结果指示所述当前加载网页支持网页元素识别,则执行所述获取浏览器当前加载网页中的至少一个网页元素的属性信息的步骤。And if the determining result indicates that the currently loaded webpage supports webpage element identification, performing the step of acquiring attribute information of at least one webpage element in the currently loaded webpage of the browser.
  10. 根据权利要求1或2所述的方法,其中,在所述获取浏览器当前加载网页中的至少一个网页元素的属性信息步骤之前,还包括:The method according to claim 1 or 2, wherein before the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser, the method further comprises:
    接收所述服务器侧发送的询问是否对当前加载网页进行网页元素识别的消息;Receiving a message sent by the server side whether the query for the webpage element is currently performed on the currently loaded webpage;
    向所述服务器侧返回响应消息,在所述响应消息中携带指示是否接受所述服务器侧对所述当前加载网页进行网页元素识别的信息。Returning a response message to the server side, where the response message carries information indicating whether to accept the webpage element identification of the currently loaded webpage by the server side.
  11. 根据权利要求1或2所述的方法,其中,所述获取浏览器当前加载网页中的至少一个网页元素的属性信息的步骤包括:The method according to claim 1 or 2, wherein the step of acquiring the attribute information of the at least one webpage element in the webpage currently loaded by the browser comprises:
    在确定了向所述服务器侧返回了指示所述当前网页接受所述服务器侧进行网页元素识别的信息的响应消息后,获取浏览器当前加载网页中的至少一个网页元素的属性信息。After determining that the response message indicating that the current webpage accepts the information of the webpage element identification by the server side is returned to the server side, the attribute information of the at least one webpage element in the webpage currently loaded by the browser is obtained.
  12. 根据权利要求1所述的方法,其中,所述网页元素的属性信息包括网页元素的统一资源定位符URL。The method of claim 1, wherein the attribute information of the web page element comprises a uniform resource locator URL of a web page element.
  13. 根据权利要求12所述的方法,其中,所述网页元素的属性信息还包括以下至少之一: 网页元素的标题、网页元素的描述信息、网页元素所在网页的标记。The method of claim 12, wherein the attribute information of the webpage element further comprises at least one of the following: The title of the page element, the description of the page element, and the tag of the page where the page element is located.
  14. 根据权利要求1或2所述的方法,其中,The method according to claim 1 or 2, wherein
    所述将获取的所述属性信息发送至服务器侧,并接收所述服务器侧返回的与所述属性信息对应的关键字步骤包括:The step of transmitting the obtained attribute information to the server side, and receiving the keyword corresponding to the attribute information returned by the server side includes:
    将获取的所述属性信息加密后发送至所述服务器侧,并接收所述服务器侧返回的加密后的、与所述属性信息对应的关键字。The obtained attribute information is encrypted and sent to the server side, and the encrypted keyword corresponding to the attribute information returned by the server side is received.
  15. 根据权利要求1或2所述的方法,其中,所述监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字步骤包括:The method according to claim 1 or 2, wherein the monitoring of a first triggering operation on some or all of the webpage elements of the at least one webpage element displays a corresponding correspondence at a set position of the triggered webpage element The keyword steps include:
    监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作;Monitoring a first triggering operation on some or all of the at least one webpage element;
    判断是否已接收到所述服务器侧返回的被触发的所有网页元素对应的关键字;Determining whether a keyword corresponding to all triggered webpage elements returned by the server side has been received;
    若是,则执行所述在被触发的网页元素的设定位置处显示对应的关键字的操作;If yes, performing the operation of displaying the corresponding keyword at the set position of the triggered webpage element;
    若否,则仅在已接收到的关键字对应的网页元素的设定位置处显示所述关键字,并按照第四设定规则继续向所述服务器侧发送未接收到关键字的网页元素的属性信息。If not, the keyword is displayed only at the set position of the webpage element corresponding to the received keyword, and the webpage element that does not receive the keyword is continuously sent to the server side according to the fourth setting rule. Attribute information.
  16. 根据权利要求3所述的方法,其中,当所述预置操作为使用所述关键字进行网页搜索的操作时,所述监测到对所述对应的关键字的第二触发操作,在浏览器侧发起基于所述关键字的预置操作步骤包括:The method according to claim 3, wherein when the preset operation is an operation of performing webpage search using the keyword, the monitoring of the second triggering operation on the corresponding keyword is performed in a browser The preset operation steps initiated by the side based on the keyword include:
    监测到对显示的任一所述关键字的第二触发操作,生成包含所述关键字的搜索请求;Monitoring a second triggering operation on any of the keywords displayed, generating a search request including the keyword;
    调用所述浏览器的搜索引擎,根据所述搜索请求进行搜索查询;Calling a search engine of the browser to perform a search query according to the search request;
    接收并展示所述搜索查询的结果。Receive and present the results of the search query.
  17. 根据权利要求1所述的方法,其中,所述关键字中包含网页元素对应的电话号码信息,所述监测到对所述对应的关键字的第二触发操作,在浏览器侧发起基于所述关键字的预置操作步骤包括:The method according to claim 1, wherein the keyword includes phone number information corresponding to the webpage element, and the monitoring of the second triggering operation on the corresponding keyword is initiated on the browser side. The preset steps for keywords include:
    监测到对网页元素中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打所述电话号码。The triggering operation of the telephone number indicated by the telephone number information contained in the webpage element is monitored, and the telephone number is dialed through the mobile terminal.
  18. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    获取所述浏览器的当前用户帐号的信息,其中,所述用户帐号的信息包括与所述用户帐号相关联的至少一个其他用户帐号的信息;Obtaining information about a current user account of the browser, where the information of the user account includes information of at least one other user account associated with the user account;
    所述接收所述服务器侧返回的与所述属性信息对应的关键字的步骤包括:接收所述服务器侧返回的与所述至少一个其他用户帐号对所述网页元素的点评信息和所述至少一个其他用户帐号的标识信息。Receiving, by the server side, a keyword corresponding to the attribute information returned by the server side, comprising: receiving, by the server side, the review information and the at least one of the webpage element and the at least one other user account Identification information of other user accounts.
  19. 一种浏览器中进行图片信息处理的方法,包括:A method for processing picture information in a browser, comprising:
    获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;Obtaining image attribute information of at least one picture element that satisfies the set condition in the currently loaded webpage of the browser;
    将获取的所述图片属性信息发送至服务器侧,并接收所述服务器侧返回的与所述图片属性信息对应的图片关键字;Sending the acquired image attribute information to the server side, and receiving a picture keyword corresponding to the picture attribute information returned by the server side;
    监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示所述对应的图片关键字;Detecting a first triggering operation on some or all of the at least one picture element, displaying the corresponding picture keyword at a set position of the triggered picture element;
    监测到对所述对应的图片关键字的第二触发操作,在浏览器侧发起基于所述图片关键字的预置操作。A second triggering operation on the corresponding picture keyword is detected, and a preset operation based on the picture keyword is initiated on the browser side.
  20. 根据权利要求19所述的方法,其中,所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息步骤包括:The method according to claim 19, wherein the step of acquiring picture attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser comprises:
    获取浏览器的当前加载网页中满足设定尺寸的至少一个图片元素对应的图片属性信息。 Obtaining image attribute information corresponding to at least one picture element that meets the set size in the currently loaded webpage of the browser.
  21. 根据权利要求19所述的方法,其中,所述预置操作包括以下至少之一:使用所述图片关键字进行网页搜索的操作、对所述图片关键字对应的公众号的访问操作、对所述图片关键字对应的电商网页网址的访问操作、以及对所述图片关键字所指示类型的图片进行搜索的操作。The method according to claim 19, wherein the preset operation comprises at least one of: an operation of performing a webpage search using the image keyword, an access operation of a public number corresponding to the image keyword, and a location An access operation of the e-commerce webpage URL corresponding to the image keyword, and an operation of searching for the image of the type indicated by the image keyword.
  22. 根据权利要求19或20所述的方法,其中,在所述接收所述服务器侧返回的与所述图片属性信息对应的图片关键字步骤之后,还包括:The method according to claim 19 or 20, wherein after the step of receiving the picture keyword corresponding to the picture attribute information returned by the server side, the method further comprises:
    将接收到的所述图片属性信息与所述图片关键字的对应关系存储在所述浏览器对应的内存中;Storing the received correspondence between the picture attribute information and the picture keyword in a memory corresponding to the browser;
    所述监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示所述对应的图片关键字的步骤包括:The step of monitoring the first triggering operation on some or all of the at least one picture element, and displaying the corresponding picture keyword at the set position of the triggered picture element includes:
    监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,确定被触发的图片元素的图片属性信息;Detecting a first triggering operation on some or all of the at least one picture element, determining picture attribute information of the triggered picture element;
    根据确定的所述图片属性信息和所述浏览器对应的内存中存储的图片属性信息与图片关键字的对应关系,确定所述被触发的图片元素对应的图片关键字,并在所述被触发的图片元素的设定位置处显示确定的所述图片关键字。Determining, according to the determined relationship between the picture attribute information and the picture attribute information stored in the memory corresponding to the browser and the picture keyword, the picture keyword corresponding to the triggered picture element, and being triggered in the The determined picture keyword is displayed at the set position of the picture element.
  23. 根据权利要求19所述的方法,其中,所述将获取的所述图片属性信息发送至服务器侧步骤包括:The method according to claim 19, wherein the step of transmitting the acquired picture attribute information to the server side comprises:
    将获取的所有图片属性信息打包一次全部上传至所述服务器侧;All the obtained image attribute information is packaged and uploaded to the server side at one time;
    或者,or,
    将获取的所有图片属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组图片属性信息;All the obtained image attribute information are grouped according to a set standard, and each set of picture attribute information is sequentially uploaded according to the first setting rule;
    或者,or,
    在将当前获取的图片属性信息上传至服务器侧的同时,继续获取所述当前加载网页中剩余的满足设定条件的图片元素的图片属性信息,并按照第二设定规则上传所述继续获取的图片元素的图片属性信息至服务器侧,直至所述当前加载网页中所有满足设定条件的图片元素的图片属性信息全部上传至所述服务器侧。And uploading the currently acquired picture attribute information to the server side, and continuing to acquire the picture attribute information of the picture element that satisfies the setting condition remaining in the currently loaded webpage, and uploading the continued acquisition according to the second setting rule. The picture attribute information of the picture element is sent to the server side until all the picture attribute information of the picture element satisfying the setting condition in the currently loaded web page is uploaded to the server side.
  24. 根据权利要求19所述的方法,其中,所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息的步骤包括:The method according to claim 19, wherein the step of obtaining the picture attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser comprises:
    在当前加载网页加载完成时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;Obtaining, in the currently loaded webpage loading, the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser;
    或者,or,
    在当前加载网页下接收到鼠标滚动指令时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;Obtaining the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser when the mouse scrolling instruction is received under the currently loaded webpage;
    或者,or,
    当判断出当前加载网页中存在满足设定条件的图片元素时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。When it is determined that there is a picture element that satisfies the setting condition in the currently loaded webpage, the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser is obtained.
  25. 根据权利要求19所述的方法,其中,在所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息步骤之前,还包括:The method according to claim 19, wherein before the step of acquiring the picture attribute information of the at least one picture element of the setting condition in the currently loaded webpage of the browser, the method further comprises:
    获取浏览器的当前加载网页的网页属性信息;Obtaining webpage attribute information of a currently loaded webpage of the browser;
    将获取的所述网页属性信息发送至独立于所述浏览器的应用;Sending the acquired webpage attribute information to an application independent of the browser;
    接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的安全标识,其中,所述安全标识用于指示当前加载网页是否为安全网页;Receiving, by the browser-independent application, a security identifier corresponding to the webpage attribute information, where the security identifier is used to indicate whether the currently loaded webpage is a secure webpage;
    若所述安全标识指示当前加载网页为安全网页,则执行所述获取浏览器的0前加载网页中 满足设定条件的至少一个图片元素的图片属性信息的步骤。If the security identifier indicates that the currently loaded webpage is a secure webpage, executing the pre-zero loading webpage of the acquiring browser The step of satisfying picture attribute information of at least one picture element of the set condition.
  26. 根据权利要求19所述的方法,其中,在所述获取浏览器的0前加载网页中满足设定条件的至少一个图片元素的图片属性信息步骤之前,还包括:The method according to claim 19, wherein before the step of acquiring the picture attribute information of the at least one picture element that satisfies the set condition in the web page before the acquiring the zero of the browser, the method further comprises:
    获取浏览器的当前加载网页的网页属性信息;Obtaining webpage attribute information of a currently loaded webpage of the browser;
    将获取的所述网页属性信息发送至独立于所述浏览器的应用;Sending the acquired webpage attribute information to an application independent of the browser;
    接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的权限标识,其中,所述权限标识用于指示当前加载网页是否具有使所述服务器侧对所述当前加载网页中的图片元素进行图片识别的权限;Receiving, by the browser-independent application, a permission identifier corresponding to the webpage attribute information, where the permission identifier is used to indicate whether the currently loaded webpage has the server side to the currently loaded webpage The picture element in the picture is used for image recognition;
    若所述权限标识指示所述当前加载网页具有使所述服务器侧进行图片识别的权限,则执行所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性识信息的步骤。If the permission identifier indicates that the currently loaded webpage has the right to enable the server side to perform the image recognition, the obtaining the image attribute identification information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser is performed. step.
  27. 根据权利要求19所述的方法,其中,在所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息步骤之前,还包括:The method according to claim 19, wherein before the step of acquiring the picture attribute information of the at least one picture element of the setting condition in the currently loaded webpage of the browser, the method further comprises:
    获取浏览器的当前加载网页的网页属性信息;Obtaining webpage attribute information of a currently loaded webpage of the browser;
    将获取的所述网页属性信息发送至所述服务器侧,并接收所述服务器侧返回的判断结果,其中,所述判断结果中携带有所述服务器侧根据所述网页属性信息确定的、判断所述当前加载网页是否支持图片识别的网页的信息;Sending the acquired webpage attribute information to the server side, and receiving the judgment result returned by the server side, where the judgment result carries the judgment center determined by the server side according to the webpage attribute information Describe whether the currently loaded webpage supports the information of the webpage for image recognition;
    若所述判断结果指示所述当前加载网页支持图片识别,则执行所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息的步骤。And if the determining result indicates that the currently loaded webpage supports the image recognition, the step of acquiring the image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser is performed.
  28. 根据权利要求19所述的方法,其中,在所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息步骤之前,还包括:The method according to claim 19, wherein before the step of acquiring the picture attribute information of the at least one picture element of the setting condition in the currently loaded webpage of the browser, the method further comprises:
    接收所述服务器侧发送的询问是否对当前加载网页进行图片识别的消息;Receiving a message sent by the server side whether the inquiry is performed on the currently loaded webpage;
    向所述服务器侧返回响应消息,在所述响应消息中携带指示是否接受所述服务器侧对所述当前加载网页进行图片识别的信息。Returning a response message to the server side, where the response message carries information indicating whether to accept the image recognition of the currently loaded webpage by the server side.
  29. 根据权利要求19所述的方法,其中,所述获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息的步骤包括:The method according to claim 19, wherein the step of obtaining the picture attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser comprises:
    在确定了向所述服务器侧返回了指示所述当前加载网页接受所述服务器侧进行图片识别的信息的响应消息后,获取所述浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。After determining, by returning to the server side, a response message indicating that the currently loaded webpage accepts the information of the server side for performing picture recognition, acquiring at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser. Image attribute information.
  30. 根据权利要求19所述的方法,其中,所述图片属性信息包括图片的统一资源定位符URL。The method of claim 19, wherein the picture attribute information comprises a uniform resource locator URL of the picture.
  31. 根据权利要求30所述的方法,其中,所述图片属性信息还包括:图片的标题、图片描述信息、图片所在网页的标记以及图片分辨率至少之一。The method according to claim 30, wherein the picture attribute information further comprises: at least one of a title of the picture, picture description information, a mark of the web page where the picture is located, and a picture resolution.
  32. 根据权利要求19所述的方法,其中,所述将获取的所述图片属性信息发送至服务器侧,并接收所述服务器侧返回的与所述图片属性信息对应的图片关键字步骤包括:The method according to claim 19, wherein the step of transmitting the acquired picture attribute information to the server side, and receiving the picture keyword corresponding to the picture attribute information returned by the server side comprises:
    将获取的所述图片属性信息加密后发送至所述服务器侧,并接收所述服务器侧返回的加密后的、与所述图片属性信息对应的图片关键字。The obtained picture attribute information is encrypted and sent to the server side, and the encrypted picture key corresponding to the picture attribute information returned by the server side is received.
  33. 根据权利要求19所述的方法,其中,所述监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示对应的图片关键字步骤包括:The method according to claim 19, wherein said monitoring a first triggering operation on some or all of said at least one picture element, displaying a corresponding picture at a set position of the triggered picture element Keyword steps include:
    监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作;Detecting a first triggering operation on some or all of the at least one picture element;
    判断是否已接收到所述服务器侧返回的被触发的所有图片元素对应的图片关键字; Determining whether the picture keyword corresponding to all the picture elements that are triggered by the server side has been received;
    若是,则执行所述在被触发的图片元素的设定位置处显示对应的图片关键字的操作;If yes, performing the operation of displaying the corresponding picture keyword at the set position of the triggered picture element;
    若否,则仅在已接收到的图片关键字对应的图片元素的设定位置处显示所述图片关键字,并按照第三设定规则继续向所述服务器侧发送未接收到图片关键字的图片元素的图片属性信息。If not, the picture keyword is displayed only at the setting position of the picture element corresponding to the received picture keyword, and continues to send the picture keyword not received to the server side according to the third setting rule. The picture attribute information of the picture element.
  34. 根据权利要求21所述的方法,其中,当所述预置操作为使用所述图片关键字进行网页搜索的操作时,所述监测到对所述对应的图片关键字的第二触发操作,在浏览器侧发起基于所述图片关键字的预置操作步骤包括:The method according to claim 21, wherein when the preset operation is an operation of performing a webpage search using the picture keyword, the monitoring of the second triggering operation on the corresponding picture keyword is The preset operation steps initiated by the browser side based on the picture keyword include:
    监测到对显示的任一所述图片关键字的第二触发操作,生成包含所述图片关键字的搜索请求;Monitoring a second triggering operation on any of the displayed picture keywords to generate a search request including the picture keyword;
    调用所述浏览器的搜索引擎,根据所述搜索请求进行搜索查询;Calling a search engine of the browser to perform a search query according to the search request;
    接收并展示所述搜索查询的结果。Receive and present the results of the search query.
  35. 根据权利要求19所述的方法,其中,所述图片关键字中包含图片元素对应的电话号码信息,所述监测到对所述对应的图片关键字的第二触发操作,在浏览器侧发起基于所述图片关键字的预置操作步骤包括:The method according to claim 19, wherein the picture keyword includes phone number information corresponding to the picture element, and the monitoring of the second triggering operation on the corresponding picture keyword is initiated on the browser side. The preset operation steps of the picture keyword include:
    监测到对图片元素中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打所述电话号码。The triggering operation of the telephone number indicated by the telephone number information contained in the picture element is monitored, and the telephone number is dialed through the mobile terminal.
  36. 根据权利要求19所述的方法,其中,The method of claim 19, wherein
    所述方法还包括:获取所述浏览器的当前用户帐号的信息,其中,所述用户帐号的信息包括与所述用户帐号相关联的至少一个其他用户帐号的信息;The method further includes: acquiring information about a current user account of the browser, where the information of the user account includes information of at least one other user account associated with the user account;
    所述接收所述服务器侧返回的与所述图片属性信息对应的图片关键字的步骤包括:接收所述服务器侧返回的与所述至少一个其他用户帐号对所述图片元素的点评信息和所述至少一个其他用户帐号的标识信息。The step of receiving the picture keyword corresponding to the picture attribute information returned by the server side includes: receiving, by the server side, the review information of the picture element with the at least one other user account and the Identification information of at least one other user account.
  37. 一种图片识别的方法,包括:A method of image recognition, comprising:
    接收对图片进行识别的第一触发操作,其中,所述图片为浏览器的当前加载网页中的图片或所述浏览器获取的本地图片;Receiving a first triggering operation for identifying a picture, where the picture is a picture in a currently loaded webpage of the browser or a local picture acquired by the browser;
    将所述图片和/或所述图片的属性信息发送至服务器侧;Sending the attribute information of the picture and/or the picture to the server side;
    接收并显示所述服务器侧返回的与所述图片对应的关键字,其中,所述关键字由所述服务器侧根据所述图片和/或所述图片对应的属性信息查找得到。Receiving and displaying a keyword corresponding to the picture returned by the server side, where the keyword is searched by the server side according to the picture and/or attribute information corresponding to the picture.
  38. 根据权利要求37所述的方法,其中,所述接收对图片进行识别的第一触发操作的步骤包括:The method of claim 37, wherein the step of receiving a first triggering operation to identify a picture comprises:
    接收根据上传图片的指令将本地待上传的图片上传至浏览器的设定区域或当前加载网页的设定位置中的操作;Receiving an operation of uploading a local image to be uploaded according to an instruction for uploading a picture to a setting area of the browser or a setting position of the currently loaded web page;
    或者,or,
    接收将当前加载网页中的图片拖拽至所述浏览器的设定区域或当前加载网页的设定位置中的操作。Receiving an operation of dragging a picture in the currently loaded web page to a set area of the browser or a set position of the currently loaded web page.
  39. 根据权利要求38所述的方法,其中,当所述图片为所述浏览器获取的本地图片时,所述接收并显示所述服务器侧返回的与所述图片对应的关键字步骤包括:The method of claim 38, wherein the step of receiving and displaying the keyword corresponding to the picture returned by the server side when the picture is a local picture acquired by the browser comprises:
    接收所述服务器侧返回的与所述图片对应的关键字,在所述浏览器获取的所述图片的设定位置处显示接收到的所述关键字;Receiving a keyword corresponding to the picture returned by the server side, and displaying the received keyword at a set position of the picture acquired by the browser;
    或者,or,
    接收所述服务器侧返回的与所述图片对应的关键字,在当前加载网页的设定位置处或新生 成的网页的设定位置处显示所述本地图片和/或接收到的所述关键字。Receiving a keyword corresponding to the picture returned by the server side, at a set location of the currently loaded webpage or a new student The local picture and/or the received keyword are displayed at a set location of the web page.
  40. 根据权利要求38所述的方法,其中,当所述图片为浏览器的当前加载网页中的图片时,所述接收并显示所述服务器侧返回的与所述图片对应的关键字步骤包括:The method of claim 38, wherein the step of receiving and displaying the keyword corresponding to the picture returned by the server side when the picture is a picture in a browser currently loading a webpage comprises:
    接收所述服务器侧返回的与所述图片对应的关键字,在所述浏览器的设定区域或当前加载网页的设定位置中的所述图片的设定位置处显示接收到的所述关键字;Receiving a keyword corresponding to the picture returned by the server side, and displaying the received key at a setting position of the picture in a setting area of the browser or a setting position of a currently loaded web page word;
    或者,or,
    接收所述服务器侧返回的与所述图片对应的关键字,在当前加载网页中的所述图片的设定位置处显示接收到的所述关键字。Receiving a keyword corresponding to the picture returned by the server side, and displaying the received keyword at a set position of the picture in the currently loaded web page.
  41. 根据权利要求39或40所述的方法,其中,在所述接收并显示所述服务器侧返回的与所述图片对应的关键字步骤之后,还包括:The method according to claim 39 or 40, wherein after the step of receiving and displaying the keyword corresponding to the picture returned by the server side, the method further comprises:
    接收对显示的所述关键字的第二触发操作,生成包含所述关键字的搜索请求;Receiving a second triggering operation on the displayed keyword, generating a search request including the keyword;
    调用所述浏览器的搜索引擎,根据所述搜索请求进行搜索查询;Calling a search engine of the browser to perform a search query according to the search request;
    接收并展示所述搜索查询的结果。Receive and present the results of the search query.
  42. 根据权利要求39或40所述的方法,其中,在所述接收所述服务器侧返回的与所述图片对应的关键字步骤之后,还包括:The method according to claim 39 or 40, wherein after the step of receiving the keyword corresponding to the picture returned by the server side, the method further comprises:
    将接收到的所述图片与所述关键字的对应关系、和/或、所述图片的属性信息与所述关键字的对应关系存储在所述浏览器对应的内存中。The corresponding relationship between the received picture and the keyword, and/or the correspondence between the attribute information of the picture and the keyword is stored in a memory corresponding to the browser.
  43. 根据权利要求42所述的方法,其中,在所述将接收到的所述图片与所述关键字的对应关系、和/或、所述图片的属性信息与所述关键字的对应关系存储在所述浏览器对应的内存中步骤之后,还包括:The method according to claim 42, wherein the correspondence between the received picture and the keyword, and/or the correspondence between the attribute information of the picture and the keyword is stored in After the in-memory step corresponding to the browser, the method further includes:
    再次接收对所述图片进行识别的第二触发操作;Receiving a second triggering operation for identifying the picture again;
    通过所述图片和/或所述图片的属性信息从所述浏览器对应的内存中查找所述图片对应的关键字。Searching, by the attribute information of the picture and/or the picture, a keyword corresponding to the picture from a memory corresponding to the browser.
  44. 根据权利要求37所述的方法,其中,当所述图片为浏览器的当前加载网页中的图片时,在所述接收对图片进行识别的第一触发操作步骤之前,还包括:The method according to claim 37, wherein, when the picture is a picture in the current loading webpage of the browser, before the step of receiving the first triggering operation for identifying the picture, the method further includes:
    获取所述图片所在的网页属性信息;Obtaining the attribute information of the webpage where the picture is located;
    将获取的所述网页属性信息发送至独立于所述浏览器的应用;Sending the acquired webpage attribute information to an application independent of the browser;
    接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的安全标识,其中,所述安全标识用于指示所述网页是否为安全网页;Receiving, by the browser-independent application, a security identifier corresponding to the webpage attribute information, where the security identifier is used to indicate whether the webpage is a secure webpage;
    若所述安全标识指示所述网页为安全网页,则执行所述接收对图片进行识别的第一触发操作的步骤。And if the security identifier indicates that the webpage is a secure webpage, performing the step of receiving a first triggering operation for identifying a picture.
  45. 根据权利要求37所述的方法,其中,所述图片的属性信息包括图片的统一资源定位符URL。The method of claim 37, wherein the attribute information of the picture comprises a uniform resource locator URL of the picture.
  46. 根据权利要求45所述的方法,其中,所述图片的属性信息还包括以下至少之一:图片的标题、图片的描述信息以及图片所在网页的标记。The method according to claim 45, wherein the attribute information of the picture further comprises at least one of the following: a title of the picture, description information of the picture, and a mark of the web page where the picture is located.
  47. 根据权利要求37所述的方法,其中,The method of claim 37, wherein
    所述将所述图片和/或所述图片的属性信息发送至服务器侧,接收并显示所述服务器侧返回的与所述图片对应的关键字的步骤包括:The step of transmitting the attribute information of the picture and/or the picture to the server side, and receiving and displaying the keyword corresponding to the picture returned by the server side includes:
    将所述图片和/或所述图片的属性信息加密后发送至服务器侧,接收并显示所述服务器侧返回的加密后的、与所述图片对应的关键字。Encrypting the attribute information of the picture and/or the picture to the server side, and receiving and displaying the encrypted keyword corresponding to the picture returned by the server side.
  48. 一种浏览器客户端,包括: A browser client that includes:
    获取模块,用于获取浏览器当前加载网页中的至少一个网页元素的属性信息;An obtaining module, configured to obtain attribute information of at least one webpage element in a webpage currently loaded by the browser;
    发送模块,用于将获取的所述属性信息发送至服务器侧,并接收所述服务器侧返回的与所述属性信息对应的关键字;a sending module, configured to send the acquired attribute information to the server side, and receive a keyword that is returned by the server side and corresponding to the attribute information;
    显示模块,用于监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,在被触发的网页元素的设定位置处显示对应的关键字;a display module, configured to monitor a first triggering operation on some or all of the at least one webpage element, and display a corresponding keyword at a set location of the triggered webpage element;
    预置操作发起模块,用于监测到对所述对应的关键字的第二触发操作,在浏览器侧发起基于所述关键字的预置操作。The preset operation initiating module is configured to monitor a second triggering operation on the corresponding keyword, and initiate a preset operation based on the keyword on the browser side.
  49. 根据权利要求48所述的浏览器客户端,其中,所述获取模块,用于获取浏览器当前加载网页中的音频的属性信息、和/或、视频的属性信息、和/或、图片的属性信息。The browser client according to claim 48, wherein the obtaining module is configured to acquire attribute information of audio in a webpage currently loaded by the browser, and/or attribute information of the video, and/or attributes of the image. information.
  50. 根据权利要求48或49所述的浏览器客户端,其中,所述预置操作包括以下至少之一:使用所述关键字进行网页搜索的操作、对所述关键字对应的公众号的访问操作、对所述关键字对应的电商网页网址的访问操作、以及对所述关键字所指示类型的图片进行搜索的操作。The browser client according to claim 48 or 49, wherein the preset operation comprises at least one of: an operation of performing a webpage search using the keyword, and an access operation of a public number corresponding to the keyword And an operation of accessing the e-commerce webpage URL corresponding to the keyword and searching for a photo of the type indicated by the keyword.
  51. 根据权利要求48或49所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client according to claim 48 or 49, wherein the browser client further comprises:
    存储模块,用于在所述发送模块接收所述服务器侧返回的与所述属性信息对应的关键字之后,将接收到的所述属性信息与所述关键字的对应关系存储在所述浏览器对应的内存中;a storage module, configured to: after the sending module receives the keyword corresponding to the attribute information returned by the server side, store the received correspondence between the attribute information and the keyword in the browser Corresponding memory;
    所述显示模块,用于监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发操作,确定被触发的网页元素的属性信息;根据确定的所述属性信息和所述浏览器对应的内存中存储的属性信息与关键字的对应关系,确定所述被触发的网页元素对应的关键字,并在所述被触发的网页元素的设定位置处显示确定的所述关键字。The display module is configured to monitor a first triggering operation on a part or all of the at least one webpage element, and determine attribute information of the triggered webpage element; and according to the determined attribute information and the browsing Corresponding to the corresponding relationship between the attribute information and the keyword stored in the memory, determining a keyword corresponding to the triggered webpage element, and displaying the determined keyword at the set position of the triggered webpage element .
  52. 根据权利要求48或49所述的浏览器客户端,其中,所述发送模块将获取的所述属性信息发送至服务器侧时:The browser client according to claim 48 or 49, wherein the sending module sends the acquired attribute information to the server side:
    将获取的所有属性信息打包一次全部上传至所述服务器侧;All the attribute information obtained is packaged and uploaded to the server side at one time;
    或者,or,
    将获取的所有属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组属性信息;All the attribute information obtained is grouped according to a set standard, and each group of attribute information is sequentially uploaded according to the first setting rule;
    或者,or,
    将获取的所有属性信息按照网页元素的类型进行分组、并按照第二设定规则依次上传每个类型的网页元素的属性信息;All the attribute information obtained is grouped according to the type of the webpage element, and the attribute information of each type of webpage element is sequentially uploaded according to the second setting rule;
    或者,or,
    在将当前获取的属性信息上传至服务器侧的同时,继续获取所述当前加载网页中剩余的网页元素的属性信息,并按照第三设定规则上传所述继续获取的网页元素的属性信息至服务器侧,直至所述当前加载网页中所有网页元素的属性信息全部上传至所述服务器侧。And uploading the currently acquired attribute information to the server side, and continuing to acquire the attribute information of the remaining webpage elements in the currently loaded webpage, and uploading the attribute information of the webpage element that is continuously acquired to the server according to the third setting rule. On the side, all the attribute information of all the webpage elements in the currently loaded webpage is uploaded to the server side.
  53. 根据权利要求48或49所述的浏览器客户端,其中,所述获取模块包括:The browser client according to claim 48 or 49, wherein the obtaining module comprises:
    第一获取模块,用于在当前网页加载完成时,获取浏览器当前加载网页中的至少一个网页元素的属性信息;a first obtaining module, configured to acquire, when the current webpage is loaded, the attribute information of the at least one webpage element in the current loading webpage of the browser;
    或者,or,
    第二获取模块,用于在当前加载网页下接收到鼠标滚动指令时,获取浏览器当前加载网页中的至少一个网页元素的属性信息;a second obtaining module, configured to acquire attribute information of at least one webpage element in a currently loaded webpage of the browser when the mouse scrolling instruction is received under the currently loaded webpage;
    或者,or,
    第三获取模块,用于当判断出当前加载网页中存在满足设定条件的网页元素时,获取浏览器当前加载网页中的至少一个网页元素的属性信息。The third obtaining module is configured to: when it is determined that the webpage element that satisfies the setting condition exists in the currently loaded webpage, obtain the attribute information of the at least one webpage element in the current loading webpage of the browser.
  54. 根据权利要求48或49所述的浏览器客户端,其中,所述浏览器客户端还包括: The browser client according to claim 48 or 49, wherein the browser client further comprises:
    第一网页属性信息获取模块,用于在所述获取模块获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,获取浏览器的当前加载网页的网页属性信息;a first webpage attribute information obtaining module, configured to acquire webpage attribute information of a currently loaded webpage of the browser before the obtaining module acquires attribute information of at least one webpage element in the webpage currently loaded by the browser;
    第一网页属性信息发送模块,用于将获取的所述网页属性信息发送至独立于所述浏览器的应用;a first webpage attribute information sending module, configured to send the obtained webpage attribute information to an application independent of the browser;
    安全标识接收模块,用于接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的安全标识,其中,所述安全标识用于指示当前加载网页是否为安全网页;a security identifier receiving module, configured to receive the security identifier corresponding to the webpage attribute information returned by the browser-independent application, where the security identifier is used to indicate whether the currently loaded webpage is a secure webpage;
    第一调用模块,用于若所述安全标识指示当前加载网页为安全网页,调用所述获取模块。The first calling module is configured to invoke the obtaining module if the security identifier indicates that the currently loaded webpage is a secure webpage.
  55. 根据权利要求48或49所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client according to claim 48 or 49, wherein the browser client further comprises:
    第二网页属性信息获取模块,用于在所述获取模块获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,获取浏览器的当前加载网页的网页属性信息;a second webpage attribute information obtaining module, configured to acquire webpage attribute information of a currently loaded webpage of the browser before the obtaining module acquires attribute information of at least one webpage element in the currently loaded webpage of the browser;
    第二网页属性信息发送模块,用于将获取的所述网页属性信息发送至独立于所述浏览器的应用;a second webpage attribute information sending module, configured to send the obtained webpage attribute information to an application independent of the browser;
    权限标识接收模块,用于接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的权限标识,其中,所述权限标识用于指示当前加载网页是否具有使所述服务器对所述当前加载网页中的网页元素进行识别的权限;The privilege identifier receiving module is configured to receive the privilege identifier corresponding to the webpage attribute information returned by the browser-independent application, where the privilege identifier is used to indicate whether the currently loaded webpage has the server Permission to identify the webpage elements in the currently loaded webpage;
    第二调用模块,用于若所述权限标识指示所述当前加载网页具有使所述服务器进行网页元素识别的权限,则调用所述获取模块。And a second calling module, configured to invoke the acquiring module if the permission identifier indicates that the currently loaded webpage has permission to enable the server to perform webpage element identification.
  56. 根据权利要求48或49所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client according to claim 48 or 49, wherein the browser client further comprises:
    第三网页属性信息获取模块,用于在所述获取模块获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,获取浏览器的当前加载网页的网页属性信息;a third webpage attribute information obtaining module, configured to acquire webpage attribute information of a currently loaded webpage of the browser before the obtaining module acquires attribute information of at least one webpage element in the currently loaded webpage of the browser;
    第三网页属性信息发送模块,用于将获取的所述属性信息发送至所述服务器侧,并接收所述服务器侧返回的判断结果,其中,所述判断结果中携带有所述服务器侧根据所述网页属性信息确定的、判断所述当前加载网页是否支持网页元素识别的信息;a third webpage attribute information sending module, configured to send the obtained attribute information to the server side, and receive a judgment result returned by the server side, where the judgment result carries the server side according to the Determining, by the webpage attribute information, information indicating whether the currently loaded webpage supports webpage element identification;
    第三调用模块,用于若所述判断结果指示所述当前加载网页支持网页元素识别,则调用所述获取模块。And a third calling module, configured to invoke the acquiring module if the determining result indicates that the currently loaded webpage supports webpage element identification.
  57. 根据权利要求48或49所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client according to claim 48 or 49, wherein the browser client further comprises:
    询问接收模块,用于在获取模块获取浏览器当前加载网页中的至少一个网页元素的属性信息之前,接收所述服务器侧发送的询问是否对当前加载网页进行网页元素识别的消息;The query receiving module is configured to receive, before the obtaining module acquires the attribute information of the at least one webpage element in the currently loaded webpage of the browser, the message sent by the server side whether the webpage element is identified by the currently loaded webpage;
    响应消息返回模块,用于向所述服务器侧返回响应消息,在所述响应消息中携带指示是否接受所述服务器侧对所述当前加载网页进行网页元素识别的信息。The response message returning module is configured to return a response message to the server side, where the response message carries information indicating whether to accept the webpage element identification of the currently loaded webpage by the server side.
  58. 根据权利要求48或49所述的浏览器客户端,其中,所述获取模块,用于在确定了向所述服务器侧返回了指示所述当前网页接受所述服务器侧进行网页元素识别的信息的响应消息后,获取浏览器当前加载网页中的至少一个网页元素的属性信息。The browser client according to claim 48 or 49, wherein the obtaining module is configured to, after determining to return to the server side, information indicating that the current web page accepts the server side to perform webpage element identification. After the response message, the attribute information of at least one webpage element in the webpage currently loaded by the browser is obtained.
  59. 根据权利要求48所述的浏览器客户端,其中,所述网页元素的属性信息包括网页元素的统一资源定位符URL。The browser client of claim 48, wherein the attribute information of the web page element comprises a uniform resource locator URL of a web page element.
  60. 根据权利要求59所述的浏览器客户端,其中,所述网页元素的属性信息还包括以下至少之一:网页元素的标题、网页元素的描述信息、网页元素所在网页的标记。The browser client according to claim 59, wherein the attribute information of the webpage element further comprises at least one of: a title of the webpage element, description information of the webpage element, and a mark of the webpage where the webpage element is located.
  61. 根据权利要求48或49所述的浏览器客户端,其中,所述发送模块,用于将获取的所述属性信息加密后发送至所述服务器侧,并接收所述服务器侧返回的加密后的、与所述属性信息对应的关键字。The browser client according to claim 48 or 49, wherein the sending module is configured to encrypt the acquired attribute information and send it to the server side, and receive the encrypted back returned by the server side. a keyword corresponding to the attribute information.
  62. 根据权利要求48或49所述的浏览器客户端,其中,所述显示模块包括:The browser client according to claim 48 or 49, wherein the display module comprises:
    接收判断模块,用于监测到对所述至少一个网页元素中的部分或全部网页元素的第一触发 操作;判断是否已接收到所述服务器侧返回的被触发的所有网页元素对应的关键字;a receiving determining module, configured to monitor a first trigger on some or all of the at least one webpage element An operation of determining whether a keyword corresponding to all triggered webpage elements returned by the server side has been received;
    第一执行模块,用于若所述接收判断模块的判断结果为是,则执行所述在被触发的网页元素的设定位置处显示对应的关键字的操作;a first execution module, configured to: if the determination result of the receiving determination module is yes, perform an operation of displaying a corresponding keyword at a set position of the triggered webpage element;
    第二执行模块,用于若所述接收判断模块的判断结果为否,则仅在已接收到的关键字对应的网页元素的设定位置处显示所述关键字,并按照第四设定规则继续向所述服务器侧发送未接收到关键字的网页元素的属性信息。a second execution module, configured to: if the determination result of the receiving determination module is negative, display the keyword only at a set position of a webpage element corresponding to the received keyword, and follow the fourth setting rule The attribute information of the webpage element that has not received the keyword is continuously sent to the server side.
  63. 根据权利要求50所述的浏览器客户端,其中,所述预置操作发起模块包括:The browser client according to claim 50, wherein the preset operation initiation module comprises:
    搜索请求接收模块,用于当所述预置操作为使用所述关键字进行网页搜索的操作时,监测到对显示的任一所述关键字的第二触发操作,生成包含所述关键字的搜索请求;a search request receiving module, configured to: when the preset operation is an operation of performing a webpage search using the keyword, monitor a second triggering operation on any of the displayed keywords, and generate a keyword including the keyword Search request
    搜索引擎调用模块,用于调用所述浏览器的搜索引擎,根据所述搜索请求进行搜索查询;a search engine calling module, configured to invoke a search engine of the browser, and perform a search query according to the search request;
    搜索结果展示模块,用于接收并展示所述搜索查询的结果。A search result display module for receiving and presenting results of the search query.
  64. 根据权利要求48所述的浏览器客户端,其中,所述关键字中包含网页元素对应的电话号码信息,所述预置操作发起模块,用于监测到对网页元素中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打所述电话号码。The browser client according to claim 48, wherein the keyword includes phone number information corresponding to the webpage element, and the preset operation initiating module is configured to monitor the phone number information indication included in the webpage element. The triggering operation of the phone number is made by the mobile terminal to dial the phone number.
  65. 根据权利要求48所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client of claim 48, wherein the browser client further comprises:
    帐号信息获取模块,用于获取所述浏览器的当前用户帐号的信息,其中,所述用户帐号的信息包括与所述用户帐号相关联的至少一个其他用户帐号的信息;An account information obtaining module, configured to obtain information about a current user account of the browser, where the information of the user account includes information of at least one other user account associated with the user account;
    所述发送模块接收所述服务器侧返回的与所述属性信息对应的关键字时,接收所述服务器侧返回的与所述至少一个其他用户帐号对所述网页元素的点评信息和所述至少一个其他用户帐号的标识信息。Receiving, by the server side, the keyword corresponding to the attribute information returned by the server side, receiving, by the server side, the review information and the at least one of the webpage element returned by the server side and the at least one other user account Identification information of other user accounts.
  66. 一种浏览器客户端,包括:A browser client that includes:
    获取模块,用于获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;An obtaining module, configured to acquire image attribute information of at least one picture element that satisfies a set condition in a currently loaded webpage of the browser;
    发送模块,用于将获取的所述图片属性信息发送至服务器侧,并接收所述服务器侧返回的与所述图片属性信息对应的图片关键字;a sending module, configured to send the acquired image attribute information to the server side, and receive a picture keyword corresponding to the picture attribute information returned by the server side;
    显示模块,用于监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,在被触发的图片元素的设定位置处显示对应的图片关键字;a display module, configured to monitor a first triggering operation on some or all of the at least one picture element, and display a corresponding picture keyword at a set position of the triggered picture element;
    预置操作发起模块,用于监测到对所述对应的图片关键字的第二触发操作,在浏览器侧发起基于所述图片关键字的预置操作。The preset operation initiating module is configured to monitor a second triggering operation on the corresponding picture keyword, and initiate a preset operation based on the picture keyword on the browser side.
  67. 根据权利要求66所述的浏览器客户端,其中,所述获取模块用于获取浏览器的当前加载网页中满足设定尺寸的至少一个图片元素对应的图片属性信息。The browser client according to claim 66, wherein the obtaining module is configured to acquire image attribute information corresponding to at least one picture element that meets a set size in a currently loaded webpage of the browser.
  68. 根据权利要求66或67所述的浏览器客户端,其中,所述预置操作包括以下至少之一:使用所述图片关键字进行网页搜索的操作、对所述图片关键字对应的公众号的访问操作、对所述图片关键字对应的电商网页网址的访问操作、以及对所述图片关键字所指示类型的图片进行搜索的操作。The browser client according to claim 66 or 67, wherein the preset operation comprises at least one of: an operation of performing a webpage search using the image keyword, and a public number corresponding to the image keyword. An access operation, an access operation to an e-commerce webpage URL corresponding to the picture keyword, and an operation of searching for a picture of a type indicated by the picture keyword.
  69. 根据权利要求66或67所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client according to claim 66 or 67, wherein the browser client further comprises:
    存储模块,用于在所述发送模块接收所述服务器侧返回的与所述图片属性信息对应的图片关键字之后,将接收到的所述图片属性信息与所述图片关键字的对应关系存储在所述浏览器对应的内存中;a storage module, configured to: after the sending module receives the picture keyword corresponding to the picture attribute information returned by the server side, store the corresponding relationship between the received picture attribute information and the picture keyword The browser corresponds to the memory;
    所述显示模块用于监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作,确定被触发的图片元素的图片属性信息;根据确定的所述图片属性信息和所述浏览器对应的内 存中存储的图片属性信息与图片关键字的对应关系,确定所述被触发的图片元素对应的图片关键字,并在所述被触发的图片元素的设定位置处显示确定的所述图片关键字。The display module is configured to monitor a first triggering operation on a part or all of the at least one picture element, and determine picture attribute information of the triggered picture element; according to the determined picture attribute information and the Inside the browser Corresponding relationship between the picture attribute information stored in the file and the picture keyword, determining a picture keyword corresponding to the triggered picture element, and displaying the determined picture key at the set position of the triggered picture element word.
  70. 根据权利要求66所述的浏览器客户端,其中,所述发送模块在将获取的所述图片属性信息发送至服务器侧时:The browser client according to claim 66, wherein said transmitting module transmits the acquired picture attribute information to the server side:
    将获取的所有图片属性信息打包一次全部上传至所述服务器侧;All the obtained image attribute information is packaged and uploaded to the server side at one time;
    或者,or,
    将获取的所有图片属性信息按照设定标准进行分组、并按照第一设定规则依次上传每组图片属性信息;All the obtained image attribute information are grouped according to a set standard, and each set of picture attribute information is sequentially uploaded according to the first setting rule;
    或者,or,
    在将当前获取的图片属性信息上传至服务器侧的同时,继续获取所述当前加载网页中剩余的满足设定条件的图片元素的图片属性信息,并按照第二设定规则上传所述继续获取的图片元素的图片属性信息至服务器侧,直至所述当前加载网页中所有满足设定条件的图片元素的图片属性信息全部上传至所述服务器侧。And uploading the currently acquired picture attribute information to the server side, and continuing to acquire the picture attribute information of the picture element that satisfies the setting condition remaining in the currently loaded webpage, and uploading the continued acquisition according to the second setting rule. The picture attribute information of the picture element is sent to the server side until all the picture attribute information of the picture element satisfying the setting condition in the currently loaded web page is uploaded to the server side.
  71. 根据权利要求66所述的浏览器客户端,其中,所述获取模块包括:The browser client of claim 66, wherein the obtaining module comprises:
    第一获取模块,用于在当前加载网页加载完成时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;a first obtaining module, configured to acquire image attribute information of at least one picture element that satisfies the set condition in the currently loaded webpage of the browser when the currently loaded webpage loading is completed;
    或者,or,
    第二获取模块,用于在当前加载网页下接收到鼠标滚动指令时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息;a second acquiring module, configured to acquire image attribute information of at least one picture element that satisfies the set condition in the currently loaded webpage of the browser when the mouse scrolling instruction is received under the currently loaded webpage;
    或者,or,
    第三获取模块,用于当判断出当前加载网页中存在满足设定条件的图片元素时,获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。And a third acquiring module, configured to: when it is determined that the picture element that meets the setting condition exists in the currently loaded webpage, obtain image attribute information of the at least one picture element that satisfies the setting condition in the currently loaded webpage of the browser.
  72. 根据权利要求66所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client of claim 66, wherein the browser client further comprises:
    第一网页属性信息获取模块,用于在所述获取模块获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息之前,获取浏览器的当前加载网页的网页属性信息;a first webpage attribute information obtaining module, configured to acquire webpage attribute information of a currently loaded webpage of the browser before the obtaining module obtains the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser;
    第一网页属性信息发送模块,用于将获取的所述网页属性信息发送至独立于所述浏览器的应用;a first webpage attribute information sending module, configured to send the obtained webpage attribute information to an application independent of the browser;
    安全标识接收模块,用于接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的安全标识,其中,所述安全标识用于指示当前网页是否为安全网页;a security identifier receiving module, configured to receive the security identifier corresponding to the webpage attribute information returned by the browser-independent application, where the security identifier is used to indicate whether the current webpage is a secure webpage;
    第一调用模块,用于在所述安全标识指示当前加载网页为安全网页,调用所述获取模块。The first calling module is configured to invoke the acquiring module when the security identifier indicates that the currently loaded webpage is a secure webpage.
  73. 根据权利要求66所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client of claim 66, wherein the browser client further comprises:
    第二网页属性信息获取模块,用于在所述获取模块获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息之前,获取浏览器的当前加载网页的网页属性信息;a second webpage attribute information obtaining module, configured to acquire webpage attribute information of a currently loaded webpage of the browser before the obtaining module obtains the image attribute information of the at least one picture element that meets the set condition in the currently loaded webpage of the browser;
    第二网页属性信息发送模块,用于将获取的所述网页属性信息发送至独立于所述浏览器的应用;a second webpage attribute information sending module, configured to send the obtained webpage attribute information to an application independent of the browser;
    权限标识接收模块,用于接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的权限标识,其中,所述权限标识用于指示当前加载网页是否具有使所述服务器侧对所述当前加载网页中的图片元素进行图片识别的权限;The privilege identifier receiving module is configured to receive the privilege identifier corresponding to the webpage attribute information returned by the browser-independent application, where the privilege identifier is used to indicate whether the currently loaded webpage has the server The right to perform picture recognition on the picture element in the currently loaded webpage;
    第二调用模块,用于在所述权限标识指示所述当前加载网页具有使所述服务器侧进行图片识别的权限时,调用所述获取模块。And a second calling module, configured to invoke the acquiring module when the permission identifier indicates that the currently loaded webpage has permission to perform image recognition on the server side.
  74. 根据权利要求66所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client of claim 66, wherein the browser client further comprises:
    第三网页属性信息获取模块,用于在所述获取模块获取浏览器的当前加载网页中满足设定 条件的至少一个图片元素的图片属性信息之前,获取浏览器的当前加载网页的网页属性信息;a third webpage attribute information obtaining module, configured to satisfy a setting in the current loading webpage of the acquiring module acquiring the browser Obtaining webpage attribute information of a currently loaded webpage of the browser before the image attribute information of the at least one picture element of the condition;
    第三网页属性信息发送模块,用于将获取的所述网页属性信息发送至所述服务器侧,并接收所述服务器侧返回的判断结果,其中,所述判断结果中携带有所述服务器侧根据所述网页属性信息确定的、判断所述当前加载网页是否支持图片识别的网页的信息;a third webpage attribute information sending module, configured to send the obtained webpage attribute information to the server side, and receive a judgment result returned by the server side, where the judgment result carries the server side according to the Determining, by the webpage attribute information, information of a webpage that determines whether the currently loaded webpage supports image recognition;
    第三调用模块,用于若所述判断结果指示所述当前加载网页支持图片识别,则调用所述获取模块。And a third calling module, configured to invoke the acquiring module if the determining result indicates that the currently loaded webpage supports image recognition.
  75. 根据权利要求66所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client of claim 66, wherein the browser client further comprises:
    询问接收模块,用于在所述获取模块获取浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息之前,接收所述服务器侧发送的询问是否对当前加载网页进行图片识别的消息;The query receiving module is configured to: before the obtaining module acquires the image attribute information of the at least one picture element that meets the set condition in the currently loaded webpage of the browser, receive the query sent by the server side to perform image recognition on the currently loaded webpage News
    响应消息返回模块,用于向所述服务器侧返回响应消息,在所述响应消息中携带指示是否接受所述服务器侧对所述当前加载网页进行图片识别的信息。The response message returning module is configured to return a response message to the server side, where the response message carries information indicating whether to accept the image recognition of the currently loaded webpage by the server side.
  76. 根据权利要求66所述的浏览器客户端,其中,所述获取模块,用于在确定了所述响应消息返回模块向所述服务器侧返回了指示所述当前加载网页接受所述服务器侧进行图片识别的信息的响应消息后,获取所述浏览器的当前加载网页中满足设定条件的至少一个图片元素的图片属性信息。The browser client according to claim 66, wherein the obtaining module is configured to: after determining that the response message returning module returns to the server side, indicating that the currently loaded webpage accepts the server side to perform a picture After the response message of the identified information, the image attribute information of the at least one picture element that satisfies the set condition in the currently loaded webpage of the browser is obtained.
  77. 根据权利要求66所述的浏览器客户端,其中,所述图片属性信息包括图片的URL。The browser client of claim 66, wherein the picture attribute information comprises a URL of a picture.
  78. 根据B30所述的浏览器客户端,其中,所述图片属性信息还包括:图片的标题、图片描述信息、图片所在网页的标记以及图片分辨率至少之一。The browser client according to B30, wherein the picture attribute information further includes: at least one of a title of the picture, a picture description information, a mark of the web page where the picture is located, and a picture resolution.
  79. 根据权利要求66所述的浏览器客户端,其中,所述发送模块,用于将获取的所述图片属性信息加密后发送至所述服务器侧,并接收所述服务器侧返回的加密后的、与所述图片属性信息对应的图片关键字。The browser client according to claim 66, wherein the sending module is configured to encrypt the acquired image attribute information and send the image attribute information to the server side, and receive the encrypted A picture keyword corresponding to the picture attribute information.
  80. 根据权利要求66所述的浏览器客户端,其中,所述显示模块包括:The browser client of claim 66, wherein the display module comprises:
    接收判断模块,用于监测到对所述至少一个图片元素中的部分或全部图片元素的第一触发操作;判断是否已接收到所述服务器侧返回的被触发的所有图片元素对应的图片关键字;a receiving determining module, configured to detect a first triggering operation on a part or all of the picture elements in the at least one picture element; determining whether the picture keyword corresponding to all the picture elements that are triggered by the server side has been received ;
    第一执行模块,用于若所述接收判断模块的判断结果为是,则执行所述在被触发的图片元素的设定位置处显示对应的图片关键字的操作;a first execution module, configured to: if the determination result of the receiving determination module is yes, perform an operation of displaying a corresponding picture keyword at a set position of the triggered picture element;
    第二执行模块,用于若所述接收判断模块的判断结果为否,则仅在已接收到的图片关键字对应的图片元素的设定位置处显示所述图片关键字,并按照第三设定规则继续向所述服务器侧发送未接收到图片关键字的图片元素的图片属性信息。a second execution module, configured to: if the determination result of the receiving determination module is negative, display the picture keyword only at a setting position of a picture element corresponding to the received picture keyword, and according to the third setting The rule continues to send the picture attribute information of the picture element that has not received the picture keyword to the server side.
  81. 根据权利要求68所述的浏览器客户端,其中,所述预置操作发起模块包括:The browser client according to claim 68, wherein the preset operation initiation module comprises:
    搜索请求接收模块,用于当所述预置操作为使用所述图片关键字进行网页搜索的操作时,监测到对显示的任一所述图片关键字的第二触发操作,生成包含所述图片关键字的搜索请求;a search request receiving module, configured to: when the preset operation is an operation of performing a webpage search using the image keyword, monitor a second triggering operation on any of the displayed image keywords, and generate the image including the image Search request for keywords;
    搜索引擎调用模块,用于调用所述浏览器的搜索引擎,根据所述搜索请求进行搜索查询;a search engine calling module, configured to invoke a search engine of the browser, and perform a search query according to the search request;
    搜索结果展示模块,用于接收并展示所述搜索查询的结果。A search result display module for receiving and presenting results of the search query.
  82. 根据权利要求66所述的浏览器客户端,其中,所述图片关键字中包含图片元素对应的电话号码信息,所述预置操作发起模块用于监测到对图片元素中包含的电话号码信息指示的电话号码的触发操作,通过移动终端拨打所述电话号码。The browser client according to claim 66, wherein the picture keyword includes phone number information corresponding to the picture element, and the preset operation initiation module is configured to monitor the phone number information indication included in the picture element. The triggering operation of the phone number is made by the mobile terminal to dial the phone number.
  83. 根据权利要求66所述的浏览器客户端,其中,所述浏览器客户端还包括:The browser client of claim 66, wherein the browser client further comprises:
    帐号信息获取模块,用于获取所述浏览器的当前用户帐号的信息,其中,所述用户帐号的信息包括与所述用户帐号相关联的至少一个其他用户帐号的信息;An account information obtaining module, configured to obtain information about a current user account of the browser, where the information of the user account includes information of at least one other user account associated with the user account;
    所述发送模块接收所述服务器侧返回的与所述图片属性信息对应的图片关键字时,接收所 述服务器侧返回的与所述至少一个其他用户帐号对所述图片元素的点评信息和所述至少一个其他用户帐号的标识信息。Receiving, when the sending module receives the picture keyword corresponding to the picture attribute information returned by the server side, the receiving station The comment information returned by the server side and the at least one other user account for the picture element and the identification information of the at least one other user account.
  84. 一种浏览器客户端,包括:A browser client that includes:
    接收模块,用于接收对图片进行识别的第一触发操作,其中,所述图片为浏览器的当前加载网页中的图片或所述浏览器获取的本地图片;a receiving module, configured to receive a first triggering operation for identifying a picture, where the picture is a picture in a currently loaded webpage of the browser or a local picture acquired by the browser;
    发送模块,用于将所述图片和/或所述图片的属性信息发送至服务器侧;a sending module, configured to send the attribute information of the picture and/or the picture to a server side;
    显示模块,用于接收并显示所述服务器侧返回的、与所述图片对应的关键字,其中,所述关键字由所述服务器侧根据所述图片和/或所述图片对应的属性信息查找得到。a display module, configured to receive and display a keyword that is returned by the server side and corresponding to the picture, where the keyword is searched by the server side according to the picture and/or attribute information corresponding to the picture get.
  85. 根据权利要求84所述的客户端,其中,所述接收模块包括:The client of claim 84, wherein the receiving module comprises:
    第一指令接收模块,用于接收根据上传图片的指令将本地待上传的图片上传至浏览器的设定区域或当前加载网页的设定位置中的操作;a first instruction receiving module, configured to receive an operation of uploading a local image to be uploaded according to an instruction for uploading a picture to a setting area of the browser or a setting position of the currently loaded webpage;
    或者,or,
    第二指令接收模块,用于接收将当前加载网页中的图片拖拽至所述浏览器的设定区域或当前网页的设定位置中的操作。The second instruction receiving module is configured to receive an operation of dragging a picture in the currently loaded webpage to a setting area of the browser or a setting position of the current webpage.
  86. 根据权利要求85所述的客户端,其中,所述显示模块包括:The client of claim 85, wherein the display module comprises:
    第一显示模块,用于当所述图片为所述浏览器获取的本地图片时,接收所述服务器侧返回的与所述图片对应的关键字,在所述浏览器获取的所述图片的设定位置处显示接收到的所述关键字;a first display module, configured to: when the picture is a local picture acquired by the browser, receive a keyword corresponding to the picture returned by the server side, and set the picture acquired by the browser Displaying the received keyword at a fixed position;
    或者,or,
    第二显示模块,用于当所述图片为所述浏览器获取的本地图片时,接收所述服务器侧返回的与所述图片对应的关键字,在当前加载网页的设定位置或新生成的网页的设定位置处显示所述本地图片和/或接收到的所述关键字。a second display module, configured to: when the picture is a local picture acquired by the browser, receive a keyword corresponding to the picture returned by the server side, where the currently loaded web page is set or newly generated The local picture and/or the received keyword are displayed at a set location of the web page.
  87. 根据权利要求85所述的客户端,其中,所述显示模块包括:The client of claim 85, wherein the display module comprises:
    第三显示模块,用于当所述图片为浏览器的当前加载网页中的图片时,接收所述服务器侧返回的与所述图片对应的关键字,在所述浏览器的设定区域或当前加载网页的设定位置中的所述图片的设定位置处显示接收到的所述关键字;a third display module, configured to: when the picture is a picture in a browser currently loading a webpage, receive a keyword corresponding to the picture returned by the server side, in a setting area or current of the browser Displaying the received keyword at a set position of the picture in a set location of the loaded webpage;
    或者,or,
    第四显示模块,用于当所述图片为浏览器的当前加载网页中的图片时,接收所述服务器侧返回的与所述图片对应的关键字,在当前加载网页中的所述图片的设定位置处显示接收到的所述关键字。The fourth display module is configured to: when the picture is a picture in the currently loaded webpage of the browser, receive a keyword corresponding to the picture returned by the server side, and set the picture in the currently loaded webpage The received keyword is displayed at a fixed position.
  88. 根据权利要求84所述的客户端,其中,所述浏览器客户端还包括:The client of claim 84, wherein the browser client further comprises:
    搜索请求接收模块,用于在所述显示模块接收并显示所述服务器侧返回的与所述图片对应的关键字之后,接收对显示的所述关键字的第二触发操作,生成包含所述关键字的搜索请求;a search request receiving module, configured to receive, after the display module receives and displays a keyword corresponding to the picture returned by the server side, receive a second triggering operation on the displayed keyword, and generate the key including the key Word search request;
    搜索引擎调用模块,用于调用所述浏览器的搜索引擎,根据所述搜索请求进行搜索查询;a search engine calling module, configured to invoke a search engine of the browser, and perform a search query according to the search request;
    展示模块,用于接收并展示所述搜索查询的结果。a presentation module for receiving and presenting results of the search query.
  89. 根据权利要求84所述的客户端,其中,所述浏览器客户端还包括:The client of claim 84, wherein the browser client further comprises:
    存储模块,用于在所述显示模块接收所述服务器返回的、与所述图片对应的关键字之后,将接收到的所述图片与所述关键字的对应关系、和/或、所述图片的属性信息与所述关键字的对应关系存储在所述浏览器对应的内存中。a storage module, configured to: after the display module receives the keyword that is returned by the server and corresponding to the picture, the corresponding relationship between the received picture and the keyword, and/or the picture The correspondence between the attribute information and the keyword is stored in a memory corresponding to the browser.
  90. 根据权利要求89所述的客户端,其中,所述浏览器客户端还包括:The client of claim 89, wherein the browser client further comprises:
    第二接收模块,用于在所述存储模块将接收到的所述图片与所述关键字的对应关系、和/ 或、所述图片的属性信息与所述关键字的对应关系存储在所述浏览器对应的内存中之后,再次接收对所述图片进行识别的第二触发操作;a second receiving module, configured to, in the storage module, a correspondence between the received picture and the keyword, and/ Or after the corresponding relationship between the attribute information of the picture and the keyword is stored in the memory corresponding to the browser, receiving a second triggering operation for identifying the picture again;
    查找模块,用于通过所述图片和/或所述图片的属性信息从所述浏览器对应的内存中查找所述图片对应的关键字。And a search module, configured to search for a keyword corresponding to the picture from a memory corresponding to the browser by using the image and/or attribute information of the picture.
  91. 根据权利要求84所述的客户端,其中,所述浏览器客户端还包括:The client of claim 84, wherein the browser client further comprises:
    网页属性信息获取模块,用于当所述图片为浏览器的当前加载网页中的图片时,在所述接收模块接收对图片进行识别的第一触发操作之前,获取所述图片所在的网页属性信息;The webpage attribute information obtaining module is configured to: when the image is a currently loaded webpage of the browser, obtain the webpage attribute information of the webpage before the receiving module receives the first triggering operation for identifying the image ;
    网页属性信息发送模块,用于将获取的所述网页属性信息发送至独立于所述浏览器的应用;a webpage attribute information sending module, configured to send the obtained webpage attribute information to an application independent of the browser;
    安全标识接收模块,用于接收所述独立于所述浏览器的应用返回的、与所述网页属性信息对应的安全标识,其中,所述安全标识用于指示所述网页是否为安全网页;a security identifier receiving module, configured to receive the security identifier corresponding to the webpage attribute information returned by the browser-independent application, where the security identifier is used to indicate whether the webpage is a secure webpage;
    第一执行模块,用于若所述安全标识指示所述网页为安全网页,则调用所述接收模块。The first execution module is configured to invoke the receiving module if the security identifier indicates that the webpage is a secure webpage.
  92. 根据权利要求84所述的客户端,其中,所述图片的属性信息包括图片的统一资源定位符URL。The client of claim 84, wherein the attribute information of the picture comprises a uniform resource locator URL of the picture.
  93. 根据权利要求92所述的客户端,其中,所述图片的属性信息还包括以下至少之一:图片的标题、图片的描述信息以及图片所在网页的标记。The client according to claim 92, wherein the attribute information of the picture further comprises at least one of the following: a title of the picture, description information of the picture, and a mark of the web page where the picture is located.
  94. 根据权利要求84所述的客户端,其中,A client according to claim 84, wherein
    所述发送模块用于将所述图片和/或所述图片的属性信息加密后发送至服务器侧;The sending module is configured to encrypt the attribute information of the picture and/or the picture and send it to the server side;
    所述显示模块用于接收并显示所述服务器侧返回的加密后的、与所述图片对应的关键字。The display module is configured to receive and display the encrypted keyword corresponding to the picture returned by the server side.
  95. 一种程序,包括可读代码,当所述可读代码在终端设备上运行时,导致所述终端设备执行根据权利要求1-18任一个所述的在浏览器中搜索信息的方法、19-36任一个所述的浏览器中进行图片信息处理的方法或37-47中的任一个所述的图片识别的方法。A program comprising readable code, when the readable code is run on a terminal device, causing the terminal device to perform a method of searching for information in a browser according to any one of claims 1-18, 19- A method of performing picture information processing in any of the browsers described in any one of 36 or 47 or a method of picture recognition according to any one of 37 to 47.
  96. 一种可读介质,其中存储了如权利要求95所述的程序。 A readable medium storing the program of claim 95.
PCT/CN2015/095819 2014-12-03 2015-11-27 Method for searching for information and processing and identifying picture in browser, and browser client WO2016086797A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201410728492.6 2014-12-03
CN201410728494.5A CN104536975B (en) 2014-12-03 2014-12-03 The method and browser client of pictorial information processing are carried out in browser
CN201410727981.XA CN104536973B (en) 2014-12-03 2014-12-03 The method and browser client of picture recognition
CN201410727981.X 2014-12-03
CN201410728494.5 2014-12-03
CN201410728492.6A CN104536974B (en) 2014-12-03 2014-12-03 The method and browser client of information are searched in a browser

Publications (1)

Publication Number Publication Date
WO2016086797A1 true WO2016086797A1 (en) 2016-06-09

Family

ID=56091004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095819 WO2016086797A1 (en) 2014-12-03 2015-11-27 Method for searching for information and processing and identifying picture in browser, and browser client

Country Status (1)

Country Link
WO (1) WO2016086797A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7620622B1 (en) * 2001-03-08 2009-11-17 Yahoo! Inc. Method and system for indexing information and providing results for a search including objects having predetermined attributes
CN102855273A (en) * 2012-07-16 2013-01-02 宇龙计算机通信科技(深圳)有限公司 Terminal and information acquisition method
CN103136206A (en) * 2011-11-23 2013-06-05 阿里巴巴集团控股有限公司 Information display method and information display device
CN103455587A (en) * 2013-08-29 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for obtaining push contents as well as method and device for receiving push contents
CN103703483A (en) * 2011-06-24 2014-04-02 乐天株式会社 Information providing device, information providing method, information providing program, information display program, and computer-readable recording medium for storing information providing program
CN103984727A (en) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 Webpage interaction method device based on browser
CN104536973A (en) * 2014-12-03 2015-04-22 北京奇虎科技有限公司 Picture identification method and browser client
CN104536975A (en) * 2014-12-03 2015-04-22 北京奇虎科技有限公司 Method for processing picture information in browser and browser client
CN104536974A (en) * 2014-12-03 2015-04-22 北京奇虎科技有限公司 Method for searching information in browser and client side of browser

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7620622B1 (en) * 2001-03-08 2009-11-17 Yahoo! Inc. Method and system for indexing information and providing results for a search including objects having predetermined attributes
CN103703483A (en) * 2011-06-24 2014-04-02 乐天株式会社 Information providing device, information providing method, information providing program, information display program, and computer-readable recording medium for storing information providing program
CN103136206A (en) * 2011-11-23 2013-06-05 阿里巴巴集团控股有限公司 Information display method and information display device
CN102855273A (en) * 2012-07-16 2013-01-02 宇龙计算机通信科技(深圳)有限公司 Terminal and information acquisition method
CN103455587A (en) * 2013-08-29 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for obtaining push contents as well as method and device for receiving push contents
CN103984727A (en) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 Webpage interaction method device based on browser
CN104536973A (en) * 2014-12-03 2015-04-22 北京奇虎科技有限公司 Picture identification method and browser client
CN104536975A (en) * 2014-12-03 2015-04-22 北京奇虎科技有限公司 Method for processing picture information in browser and browser client
CN104536974A (en) * 2014-12-03 2015-04-22 北京奇虎科技有限公司 Method for searching information in browser and client side of browser

Similar Documents

Publication Publication Date Title
US11750683B2 (en) Computer application promotion
JP6814298B2 (en) Methods and equipment for warning
KR101667344B1 (en) Method and system for providing search results
JP5656204B2 (en) A method of customizing content displayed to a user based on other user preferences
US20160259818A1 (en) Searching for Software Applications Based on Application Attributes
US11244352B2 (en) Selecting content associated with a collection of entities
US8725849B1 (en) Browser cache pre-population
US9679309B2 (en) Placement attribute targeting
US20120265607A1 (en) Click-to-reveal content
CN103577595B (en) Keyword method for pushing and device based on current browse webpage
US10445753B1 (en) Determining popular and trending content characteristics
CN106528657A (en) Control method and device for browser skipping to application program
JP2015191655A (en) Method and apparatus for generating recommendation page
WO2015103938A1 (en) Method for loading website commenting information, and browser client
CN103577544B (en) A kind of method and device for providing information to be sent
WO2020044096A1 (en) Information searching method and apparatus, and device/terminal/server
US8515931B1 (en) Techniques for search optimization
CN110929183A (en) Data processing method, device and machine readable medium
CN102760157B (en) A kind of for generating the method that release news, device and the equipment corresponding with mobile terminal
CN104536974A (en) Method for searching information in browser and client side of browser
US20080033918A1 (en) Systems, methods and computer program products for supplemental data communication and utilization
WO2024019753A1 (en) Category recommendation with implicit item feedback
JP5094953B2 (en) Information distribution apparatus, method, and program
WO2016086797A1 (en) Method for searching for information and processing and identifying picture in browser, and browser client
CN115017437A (en) Information display method, device, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15865270

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15865270

Country of ref document: EP

Kind code of ref document: A1