Picture browsing method and device

文档序号:1042892 发布日期:2020-10-09 浏览:8次 中文

阅读说明:本技术 一种图片浏览方法及装置 (Picture browsing method and device ) 是由 陈军利 王玲玲 徐哲 于 2019-03-27 设计创作,主要内容包括:本发明提供了一种图片浏览方法及装置,所述方法包括:在浏览器指定页面监测到用户针对任意一张目标图片触发浏览操作时,在浏览器中新建浏览页面;获取所述目标图片以及在指定页面中与所述目标图片连续的多张目标同类图片;基于所述浏览页面创建瀑布流式第一浏览区,在瀑布流式第一浏览区中载入所述目标图片以及所述多张目标同类图片,并基于用户的第一浏览行为进行滚动显示。基于本发明提供的图片浏览方法,以瀑布流的方式将目标图片以及与其连续的多张目标同类图片载入到新建的浏览页面中基于用户的浏览行为进行滚动显示,使得用户在浏览图片时更加便捷;另外,还可以基于用户所关注的目标图片实时推荐相关图片,深入满足用户的浏览需求。(The invention provides a picture browsing method and a picture browsing device, wherein the method comprises the following steps: when monitoring that a user triggers browsing operation aiming at any target picture on a browser appointed page, newly building a browsing page in the browser; acquiring the target picture and a plurality of target similar pictures which are continuous with the target picture in a designated page; and creating a waterfall flow type first browsing area based on the browsing page, loading the target picture and the plurality of target similar pictures in the waterfall flow type first browsing area, and performing rolling display based on the first browsing behavior of the user. Based on the picture browsing method provided by the invention, the target picture and a plurality of continuous target similar pictures are loaded into a newly-built browsing page in a waterfall flow mode and are displayed in a rolling mode based on the browsing behavior of the user, so that the user can browse the pictures more conveniently; in addition, related pictures can be recommended in real time based on the target picture concerned by the user, and the browsing requirements of the user are deeply met.)

1. A picture browsing method comprises the following steps:

when monitoring that a user triggers browsing operation aiming at any target picture on a browser appointed page, newly building a browsing page in the browser;

acquiring the target picture and a plurality of target similar pictures which are continuous with the target picture in the designated page;

and creating a waterfall flow type first browsing area based on the browsing page, loading the target picture and the plurality of target similar pictures in the waterfall flow type first browsing area, and performing rolling display based on a first browsing behavior of a user.

2. The method of claim 1, wherein the creating a waterfall-like first browsing area based on the browsing page, loading the target picture and the plurality of target homogeneous pictures in the waterfall-like first browsing area, and performing a scrolling display based on a first browsing behavior of a user comprises:

creating a waterfall flow type first browsing area based on the browsing page, and loading a complete picture of the target picture in a main browsing area in the waterfall flow type first browsing area;

and carrying out streaming loading on the multiple target similar pictures below the target pictures, and carrying out scrolling display based on a first browsing behavior of a user.

3. The method of claim 1, wherein the creating a waterfall-like first browsing area based on the browsing page, loading the target picture and the plurality of target homogeneous pictures in the waterfall-like first browsing area, and performing scrolling based on a first browsing behavior of a user further comprises:

creating a waterfall flow type second browsing area which is displayed in parallel with the first browsing area based on the browsing page;

and selecting a plurality of first recommended pictures in a preset picture database according to the main content of the target picture and/or the attention information of the user, loading the plurality of first recommended pictures into the second browsing area in a streaming mode, and performing scroll display based on the second browsing behavior of the user.

4. The method of claim 3, wherein after creating a waterfall-like second browsing area displayed alongside the first browsing area based on the browsing page, further comprising:

and scrolling and displaying streaming pictures in a main browsing area of the first browsing area based on the first browsing behavior of the user, and if the situation that the user stays for viewing the pictures is monitored, correspondingly scrolling and displaying streaming recommended pictures related to the pictures in the main browsing area in the second browsing area.

5. The method according to claim 4, wherein if it is monitored that the user stops viewing pictures, correspondingly scrolling and displaying a streaming recommendation picture related to the picture in the main browsing area in the second browsing area comprises:

if the picture in the main browsing area is monitored to be changed in the process of displaying the picture in the first browsing area in a rolling mode, re-confirming a new target picture displayed in the main browsing area based on a preset rule;

and selecting a plurality of second recommended pictures in the preset picture database according to the main content of the new target picture and/or the attention information of the user, and dynamically loading the plurality of second recommended pictures into the second browsing area.

6. The method according to claim 5, wherein the re-confirming the new target picture displayed in the main browsing area based on the preset rule comprises:

judging whether the main browsing area comprises a completely displayed first picture or not;

if the main browsing area comprises a completely displayed first picture, taking the first picture as a new target picture displayed in the main browsing area;

and if the main browsing area does not comprise the completely displayed first picture, acquiring a plurality of second pictures displayed in the main browsing area, and selecting a new target picture displayed in the main browsing area based on the plurality of second pictures.

7. The method of claim 6, wherein the selecting a new target picture displayed in the main browsing area based on the plurality of second pictures comprises:

calculating the display area of each second picture in the plurality of second pictures in the main browsing area, and taking the second picture with the largest display area as a new target picture displayed in the main browsing area;

and if the display areas of the plurality of second pictures in the main browsing area are equal, taking the second picture positioned above the main browsing area as a new target picture displayed in the main browsing area.

8. A picture browsing apparatus comprising:

the system comprises a page newly building module, a page setting module and a browsing module, wherein the page newly building module is configured to newly build a browsing page in a browser when the browser monitors that a user triggers a browsing operation aiming at any target picture;

the image acquisition module is configured to acquire the target image and a plurality of target similar images which are continuous with the target image in the designated page;

the first loading module is configured to create a waterfall-flow-type first browsing area based on the browsing page, load the target picture and the multiple target similar pictures into the waterfall-flow-type first browsing area, and perform scrolling display based on a first browsing behavior of a user.

9. A computer storage medium having computer program code stored thereon which, when run on a computing device, causes the computing device to perform the picture browsing method of any one of claims 1-7.

10. A computing device, comprising:

a processor;

a memory storing computer program code;

the computer program code, when executed by the processor, causes the computing device to perform the picture browsing method of any of claims 1-7.

Technical Field

The invention relates to the technical field of picture searching, in particular to a picture browsing method and device.

Background

At present, after a user searches pictures, a single-picture display method is often adopted for the pictures clicked and browsed by the user, and when the user needs to check the next picture based on a single-picture display interface, the user can turn over the pictures in a left-right clicking mode; and when the user needs to compare and check a plurality of pictures, the user needs to click a plurality of picture links and newly open a page for comparison. In addition, when the user has a further appeal to the current picture, the traditional scheme only simply uses a single picture mode, and cannot meet the deep-level requirements of the user on the picture.

Disclosure of Invention

The present invention provides a method and apparatus for browsing pictures to overcome the above problems or at least partially solve the above problems.

According to an aspect of the present invention, there is provided a picture browsing method, including:

when monitoring that a user triggers browsing operation aiming at any target picture on a browser appointed page, newly building a browsing page in the browser;

acquiring the target picture and a plurality of target similar pictures which are continuous with the target picture in the designated page;

and creating a waterfall flow type first browsing area based on the browsing page, loading the target picture and the plurality of target similar pictures in the waterfall flow type first browsing area, and performing rolling display based on a first browsing behavior of a user.

Optionally, the creating a waterfall-flow-type first browsing area based on the browsing page, loading the target picture and the multiple target similar pictures in the waterfall-flow-type first browsing area, and performing scrolling display based on a first browsing behavior of a user includes:

creating a waterfall flow type first browsing area based on the browsing page, and loading a complete picture of the target picture in a main browsing area in the waterfall flow type first browsing area;

and carrying out streaming loading on the multiple target similar pictures below the target pictures, and carrying out scrolling display based on a first browsing behavior of a user.

Optionally, after creating a waterfall-type first browsing area based on the browsing page, loading the target picture and the multiple target similar pictures in the waterfall-type first browsing area, and performing scroll display based on a first browsing behavior of a user, the method further includes:

creating a waterfall flow type second browsing area which is displayed in parallel with the first browsing area based on the browsing page;

and selecting a plurality of first recommended pictures in a preset picture database according to the main content of the target picture and/or the attention information of the user, loading the plurality of first recommended pictures into the second browsing area in a streaming mode, and performing scroll display based on the second browsing behavior of the user.

Optionally, after the creating of the waterfall-type second browsing area displayed in parallel with the first browsing area based on the browsing page, the method further includes:

and scrolling and displaying streaming pictures in a main browsing area of the first browsing area based on the first browsing behavior of the user, and if the situation that the user stays for viewing the pictures is monitored, correspondingly scrolling and displaying streaming recommended pictures related to the pictures in the main browsing area in the second browsing area.

Optionally, if it is monitored that the user stops viewing the picture, the streaming recommended picture related to the picture in the main browsing area is correspondingly scrolled and displayed in the second browsing area, where the scrolling recommended picture includes:

if the picture in the main browsing area is monitored to be changed in the process of displaying the picture in the first browsing area in a rolling mode, re-confirming a new target picture displayed in the main browsing area based on a preset rule;

and selecting a plurality of second recommended pictures in the preset picture database according to the main content of the new target picture and/or the attention information of the user, and dynamically loading the plurality of second recommended pictures into the second browsing area.

Optionally, the re-confirming the new target picture displayed in the main browsing area based on the preset rule includes:

judging whether the main browsing area comprises a completely displayed first picture or not;

if the main browsing area comprises a completely displayed first picture, taking the first picture as a new target picture displayed in the main browsing area;

and if the main browsing area does not comprise the completely displayed first picture, acquiring a plurality of second pictures displayed in the main browsing area, and selecting a new target picture displayed in the main browsing area based on the plurality of second pictures.

Optionally, the selecting a new target picture displayed in the main browsing area based on the plurality of second pictures includes:

calculating the display area of each second picture in the plurality of second pictures in the main browsing area, and taking the second picture with the largest display area as a new target picture displayed in the main browsing area;

and if the display areas of the plurality of second pictures in the main browsing area are equal, taking the second picture positioned above the main browsing area as a new target picture displayed in the main browsing area.

Optionally, if it is monitored that the user stops viewing the picture, the streaming recommended picture related to the picture in the main browsing area is correspondingly scrolled and displayed in the second browsing area, where the scrolling recommended picture includes:

and if the fact that the stay time of the target picture in the main browsing area on the browsing page is longer than the preset time is monitored, correspondingly displaying the streaming recommended picture related to the target picture in a rolling mode in the second browsing area.

Optionally, after the creating of the waterfall-type second browsing area displayed in parallel with the first browsing area based on the browsing page, the method further includes:

and setting a first scroll bar and a second scroll bar based on the browsing page, and respectively controlling the first browsing area and the second browsing area to perform scroll browsing through the first scroll bar and the second scroll bar.

Optionally, the creating a waterfall-type first browsing area based on the browsing page, and after loading the target picture and the multiple target similar pictures in the waterfall-type first browsing area, further includes:

analyzing the main content of the target picture, and adding at least one commodity recommendation component related to the main content of the target picture in the first browsing area based on the main content of the target picture and the user information of the user;

and creating a hyperlink based on the commodity recommending component, and linking to a corresponding commodity detail page when the user triggers the commodity recommending component.

Optionally, when the browser-specific page monitors that the user triggers the browsing operation for any target picture, before a browsing page is newly created in the browser, the method further includes:

receiving a search keyword input by the user based on the browser, and acquiring a plurality of pictures related to the search keyword in a preset picture database based on the search keyword;

displaying the plurality of pictures on the current page of the browser or on the basis of the newly-built page of the browser;

when monitoring that a user triggers browsing operation for any target picture on a browser-specified page, newly building a browsing page in the browser, including:

and when monitoring that the user triggers browsing operation aiming at any target picture in the current page or the newly-built page of the browser, newly building a browsing page in the browser.

According to another aspect of the present invention, there is also provided a picture browsing apparatus, including:

the system comprises a page newly building module, a page setting module and a browsing module, wherein the page newly building module is configured to newly build a browsing page in a browser when the browser monitors that a user triggers a browsing operation aiming at any target picture;

the image acquisition module is configured to acquire the target image and a plurality of target similar images which are continuous with the target image in the designated page;

the first loading module is configured to create a waterfall-flow-type first browsing area based on the browsing page, load the target picture and the multiple target similar pictures into the waterfall-flow-type first browsing area, and perform scrolling display based on a first browsing behavior of a user.

Optionally, the first loading module is further configured to:

creating a waterfall flow type first browsing area based on the browsing page, and loading a complete picture of the target picture in a main browsing area in the waterfall flow type first browsing area;

and carrying out streaming loading on the multiple target similar pictures below the target pictures, and carrying out scrolling display based on a first browsing behavior of a user.

Optionally, the apparatus further comprises:

the second loading module is configured to create a waterfall flow type second browsing area which is displayed in parallel with the first browsing area based on the browsing page;

and selecting a plurality of first recommended pictures in a preset picture database according to the main content of the target picture and/or the attention information of the user, loading the plurality of first recommended pictures into the second browsing area in a streaming mode, and performing scroll display based on the second browsing behavior of the user.

Optionally, the apparatus further comprises:

and the streaming recommendation module is configured to scroll and display streaming pictures in a main browsing area of the first browsing area based on the first browsing behavior of the user, and correspondingly scroll and display streaming recommendation pictures related to the pictures in the main browsing area in the second browsing area when the situation that the user stops to view the pictures is monitored.

Optionally, the streaming recommendation module is further configured to:

when the picture in the main browsing area is monitored to be changed in the process of displaying the picture in the first browsing area in a rolling mode, re-confirming a new target picture displayed in the main browsing area based on a preset rule;

and selecting a plurality of second recommended pictures in the preset picture database according to the main content of the new target picture and/or the attention information of the user, and dynamically loading the plurality of second recommended pictures into the second browsing area.

Optionally, the streaming recommendation module is further configured to:

judging whether the main browsing area comprises a completely displayed first picture or not;

when the main browsing area comprises a completely displayed first picture, taking the first picture as a new target picture displayed in the main browsing area;

and when the main browsing area does not comprise the completely displayed first picture, acquiring a plurality of second pictures displayed in the main browsing area, and selecting a new target picture displayed in the main browsing area based on the plurality of second pictures.

Optionally, the streaming recommendation module is further configured to:

calculating the display area of each second picture in the plurality of second pictures in the main browsing area, and taking the second picture with the largest display area as a new target picture displayed in the main browsing area;

and when the display areas of the plurality of second pictures in the main browsing area are equal, taking the second picture positioned above the main browsing area as a new target picture displayed in the main browsing area.

Optionally, the streaming recommendation module is further configured to:

and when the fact that the stay time of the target picture in the main browsing area on the browsing page is longer than the preset time is monitored, correspondingly displaying the streaming recommended picture related to the target picture in a rolling mode in the second browsing area.

Optionally, the apparatus further comprises:

and the setting module is configured to set a first scroll bar and a second scroll bar based on the browsing page, and the first scroll bar and the second scroll bar respectively control the first browsing area and the second browsing area to perform scroll browsing.

Optionally, the apparatus further comprises:

the commodity recommendation module is configured to analyze the main content of the target picture, and add at least one commodity recommendation component related to the main content of the target picture in the first browsing area based on the main content of the target picture and the user information of the user;

and creating a hyperlink based on the commodity recommending component, and linking to a corresponding commodity detail page when the user triggers the commodity recommending component.

Optionally, the apparatus further comprises:

the search module is configured to receive a search keyword input by the user based on the browser and acquire a plurality of pictures related to the search keyword in a preset picture database based on the search keyword; displaying the plurality of pictures on the current page of the browser or the newly-built page of the browser;

the page new building module is further configured to build a new browsing page in the browser when it is monitored that the user triggers a browsing operation for any one target picture in the current page or the new built page of the browser.

According to another aspect of the present invention, there is also provided a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform any of the above-described picture browsing methods.

According to another aspect of the present invention, there is also provided a computing device comprising:

a processor;

a memory storing computer program code;

the computer program code, when executed by the processor, causes the computing device to perform any of the picture browsing methods described above.

In the picture browsing scheme provided by the invention, when a browser appointed page monitors that a user triggers a browsing operation aiming at any one target picture, a browsing page can be newly established and a first browsing area is created to load the target picture for displaying. Based on the picture browsing method provided by the invention, the target picture and a plurality of continuous target similar pictures are loaded into the newly-built browsing page in a waterfall flow mode and are displayed in a rolling mode based on the browsing behavior of the user, the traditional mode of page turning and picture viewing is abandoned, and a flow type picture reading mode is adopted, so that the user can browse the pictures more conveniently.

The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.

The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.

Drawings

Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:

FIG. 1 is a flowchart illustrating a method for browsing pictures according to an embodiment of the present invention;

FIG. 2 is a flowchart illustrating a method for browsing pictures according to a preferred embodiment of the present invention;

FIG. 3 is a schematic view of a browse page according to an embodiment of the present invention;

FIG. 4 is a diagram of a picture search page in accordance with a preferred embodiment of the present invention;

FIG. 5 is a schematic view of a browse page according to a preferred embodiment of the present invention;

FIG. 6 is a schematic view of another browsing page in accordance with a preferred embodiment of the present invention;

FIG. 7 is a schematic structural diagram of a picture browsing apparatus according to an embodiment of the present invention;

fig. 8 is a schematic structural diagram of a picture browsing apparatus according to a preferred embodiment of 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 exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

Fig. 1 shows a schematic flow chart of a picture browsing method according to an embodiment of the present invention, and as can be seen from fig. 1, the picture browsing method according to the embodiment of the present invention may include:

step S102, when a browser appointed page monitors that a user triggers browsing operation aiming at any target picture, a browsing page is newly built in the browser;

step S104, acquiring a target picture and a plurality of target similar pictures which are continuous with the target picture in a specified page;

and step S106, creating a waterfall flow type first browsing area based on the browsing page, loading the target picture and a plurality of target similar pictures in the waterfall flow type first browsing area, and performing rolling display based on the first browsing behavior of the user.

In the image browsing method provided by the embodiment of the invention, when a browser appointed page monitors that a user triggers a browsing operation aiming at any one target image, a browsing page can be newly established and a first browsing area is established to load the target image for amplified display. Based on the picture browsing method provided by the embodiment of the invention, the target picture and a plurality of continuous target similar pictures are loaded into the newly-built browsing page in a waterfall flow mode and are displayed in a rolling mode based on the browsing behavior of the user, the traditional mode of turning pages and looking at pictures is abandoned, and a flow-type picture reading mode is adopted, so that the user can browse the pictures more conveniently. Moreover, when the user needs to compare a plurality of pictures, the user only needs to slide up and down. It should be noted that the target picture and multiple similar target pictures in the first browsing area are displayed as large pictures, and the specific display scale may be set according to the window size of the browsing page.

In the above embodiment, the first browsing behavior of the user may be a browsing behavior of sliding up and down in a browsing page controlled by a mouse wheel, or a browsing behavior based on dragging up and down by a mouse, or a browsing behavior of scrolling and browsing pictures in a browsing page based on a keyboard or in other manners. When the target picture and other target similar pictures are loaded and displayed in the first browsing area, the display scale can be automatically adjusted based on the current window size of the browser, so that the user experience is further improved.

Referring to step S102, the browsing page is newly created when the user triggers a browsing operation on a target picture in a specified page of the browser, where the specified page may be a page including multiple pictures, such as a picture search interface provided based on a search keyword input by the user. That is, before the step S102, the method may further include: receiving a search keyword input by a user based on a browser, and acquiring a plurality of pictures related to the search keyword in a preset picture database based on the search keyword; and displaying the plurality of pictures on the current page of the browser or the newly-built page based on the browser. The preset picture database is a pre-established picture database containing massive picture data. Step S102 may further include creating a new browsing page in the browser when it is monitored that the user triggers a browsing operation for any one target picture in the current page or the newly created page of the browser. That is to say, the method provided by the embodiment of the present invention may be a further browsing behavior of any one picture in the existing picture presentation interface after the user performs the picture search.

In the step S106, after the target picture and the multiple continuous target similar pictures are obtained, the target picture and the multiple continuous target similar pictures are displayed in the waterfall-flow-type first browsing area, in practical application, when the target picture and the multiple continuous target similar pictures are displayed, a waterfall-flow-type first browsing area may be created based on a browsing page, and a complete picture of the target picture is loaded in a main browsing area in the waterfall-flow-type first browsing area; and carrying out streaming loading on a plurality of target similar pictures below the target picture, and performing rolling display based on the first browsing behavior of the user.

Fig. 3 shows a schematic view of a browsing page according to an embodiment of the present invention, and as can be seen from fig. 3, a main browsing area is set in a first browsing area created based on the browsing page, and the main browsing area is an area that can be visually browsed by a user on the current browsing page. The experience of the user in reading the pictures is improved.

In this embodiment, the complete target picture is loaded into the main browsing area of the first browsing area, so that the browsing requirement of the user on the target picture selected by the user can be met, the complete target picture is larger than the pixel of the complete target picture in the designated page, and the complete target picture can be specifically adjusted according to the window size of the main browsing area, which is not limited in the present invention. In addition, when a new browsing page is displayed for a target similar picture continuous to the target picture, the sequence of the target similar picture and the target picture in a designated page can be used as a scrolling browsing sequence in the new browsing page, that is, if the target similar picture is located in front of the target picture in the designated page, the target similar picture is loaded above the target picture in the browsing page, and if the target similar picture is located in back of the target picture in the designated page, the target similar picture is loaded below the target picture, which of course can be sorted in other ways.

In an alternative embodiment of the present invention, as shown in fig. 2, after the step S106, the method may further include:

step S108, a waterfall flow type second browsing area displayed in parallel with the first browsing area is created based on the browsing page;

step S110, selecting a plurality of first recommended pictures from a preset picture database according to the main content of the target picture and/or the attention information of the user, loading the plurality of first recommended pictures into a second browsing area in a streaming mode, and performing scroll display based on a second browsing behavior of the user.

In the above description, the main browsing area is set in the first browsing area to load and display the target picture in the designated page and the multiple continuous target similar pictures. With continued reference to fig. 3, the embodiment of the present invention may further create a second browsing area based on the browsing page, and display the recommended pictures related to the target picture in real time, so as to further meet the requirement of the user for a deeper level of the target picture in the current main browsing area. Optionally, the recommended pictures in the second browsing area are also loaded in a waterfall flow type manner, so that the users can read the pictures more conveniently and experience better. Optionally, the related recommended picture in the second browsing area may be selected from a preset picture database based on the subject content in the current target picture and/or the attention information of the user.

When the recommended picture is selected according to the main content in the target picture, a picture with similarity greater than a certain threshold value with the target picture can be selected from a preset picture database as the recommended picture. When the user-concerned information is selected, the historical browsing information of the user, the user portrait information existing in the user and the interest tag actively added by the user can be acquired and selected in the picture database, and the proportion of all the modes of selecting the recommended picture can be set based on the social attributes of the user or different requirements of the user on the picture, and the requirements of the user on the current picture can be met in a deeper way by combining intelligent image recognition similarity measurement and a user personalized content analysis strategy. The second browsing behavior of the user may be a browsing behavior of sliding up and down controlled in the second browsing area by a mouse wheel, or a browsing behavior based on dragging up and down by a mouse, or a browsing behavior of scrolling and browsing the picture in the second browsing area based on a keyboard or other manners, which is not limited in the present invention.

The first browsing area and the second browsing area in the embodiment of the present invention may be independently controlled, and the first browsing area and the second browsing area may be controlled by the first scroll bar and the second scroll bar respectively to perform scrolling browsing by setting the first scroll bar and the second scroll bar based on the browsing page. On the other hand, the second browsing area may also be scrolled as the first browsing area is scrolled. That is, the second browsing area can be independently displayed in a scrolling manner in the first browsing area, or can be displayed in a follow-up manner in real time based on the first browsing area.

Optionally, after the step S108, the method may further include: and displaying streaming pictures in a rolling mode in a main browsing area of the first browsing area based on the first browsing behavior of the user, and if the situation that the user stops viewing the pictures is monitored, displaying streaming recommended pictures related to the pictures in the main browsing area in a corresponding rolling mode in the second browsing area. In practical application, the user is dynamic, that is, continuously scrolling to browse the pictures in the first browsing area, and accordingly, the streaming recommended pictures related to the pictures in the main browsing area can also be correspondingly scrolled and displayed in the second browsing area. The proportion of the second browsing area in the browsing page is preferentially smaller than that of the first browsing area, the size of the recommended picture in the second browsing area can also be smaller than that of the target picture in the main browsing area, the layout of the recommended picture in the second browsing area mainly corresponds to the target picture and is displayed in parallel, and the number of the recommended pictures can be set based on the size of the second browsing area, so that the user can browse conveniently. Optionally, in the embodiment of the present invention, no matter the picture in the first browsing area or the recommended picture in the second browsing area, a corresponding text description may be configured for each picture, so as to further improve user experience.

According to the embodiment of the invention, when the recommended pictures are loaded in the second browsing area, the recommendation of the related contents is preferentially carried out on the pictures which are really concerned by the user. The above-mentioned corresponding scrolling display of the streaming recommendation picture related to the picture in the main browsing area in the second browsing area may further include: and if the fact that the stay time of the target picture in the main browsing area in the browsing page is longer than the preset time is monitored, correspondingly displaying the streaming recommended picture related to the target picture in a rolling mode in the second browsing area. The preset time is preferably a time threshold between 400ms and 1s, for example, 600ms, and the specific value may also be set in combination with different application scenarios and the current network environment, which is not limited in the present invention.

Generally, the attention of a user to a picture can be judged by the stay time of the picture on a page, and the longer the stay time of the picture on the currently browsed page is, the higher the attention of the user to the picture can be considered. Therefore, whether the display of the related recommended pictures is carried out or not is judged according to the stay time of the target pictures in the main browsing area on the browsing page, the recommendation of the related contents can be carried out based on the attention of the user, the browsing requirement of the user on the target pictures in the main browsing area is deeply met, the access speed and the response efficiency of the browsing page can be further improved, and the network resources are prevented from being occupied due to the loading of the redundant pictures.

Further, if the picture in the main browsing area is monitored to be changed in the process of displaying the picture in the first browsing area in a rolling manner, a new target picture displayed in the main browsing area is confirmed again based on a preset rule; and selecting a plurality of second recommended pictures from a preset picture database according to the main content of the new target picture and/or the attention information of the user, and dynamically loading the plurality of second recommended pictures into the second browsing area. The picture browsing method provided by the embodiment of the invention can monitor the picture in the main browsing area in real time or at certain intervals, and when the picture in the main browsing area is judged to be changed, the new target picture in the main browsing area can be determined again, so that corresponding recommendation is provided in the second browsing area.

The new target picture displayed in the reconfirming main browsing area can be confirmed by the following modes based on the preset rule:

1. judging whether the main browsing area comprises a first picture which is completely displayed;

2. if the main browsing area comprises a completely displayed first picture, taking the first picture as a new target picture displayed in the main browsing area;

3. and if the main browsing area does not comprise the completely displayed first picture, acquiring a plurality of second pictures displayed in the main browsing area, and selecting a new target picture displayed in the main browsing area based on the plurality of second pictures.

Specifically, when the second picture is selected, the display area of each second picture in the plurality of second pictures in the main browsing area can be calculated, and the second picture with the largest display area is used as a new target picture displayed in the main browsing area; and if the display areas of the plurality of second pictures in the main browsing area are equal, taking the second picture positioned above the main browsing area as a new target picture displayed in the browsed area.

In another optional embodiment of the present invention, the step S106 is to create a waterfall-flow first browsing area based on the browsing page, and after loading the target picture and the multiple target similar pictures in the waterfall-flow first browsing area, the method may further include: analyzing the main content of the target picture, and adding at least one commodity recommendation component related to the main content of the target picture in the first browsing area based on the main content of the target picture and the user information of the user; and creating a hyperlink based on the commodity recommendation component, and linking to a corresponding commodity detail page when the user triggers the commodity recommendation component. The commodity recommending component recommends commodity contents concerned by a user based on pictures in the browsing page, and when the commodity recommending component is selected, besides recommending related contents based on target pictures in a main browsing area of the browsing page, the commodity recommending component can also recommend related commodity contents concerned by the user by analyzing user information, so that the commercial appeal of the user is friendly and satisfied.

The following describes the picture browsing method described in the above embodiment in detail by a preferred embodiment. The picture browsing method provided by the embodiment may include:

1. acquiring a search keyword 'rose beauty map' input by a user in a search bar of a current page of a browser, searching a related picture in a preset picture database based on the 'rose beauty map', and displaying the picture in the current page of the browser, wherein the picture is shown in fig. 4;

2. when it is monitored that a user triggers a browsing operation on a picture x in the page shown in fig. 4, a browsing page shown in fig. 5 is newly created, the picture x is used as a target picture, and a plurality of target similar pictures continuous to the picture x are simultaneously obtained, that is, pictures x-n to x + n (n is a set arbitrary natural number);

3. creating a waterfall-type first browsing area 51 and a second browsing area 52 which are displayed in parallel in the page shown in fig. 5, and respectively setting scroll bars for the first browsing area 51 and the second browsing area 53 so as to respectively control the first browsing area 51 and the second browsing area 53 to perform scroll browsing;

4. loading the picture x-n, the picture x and the picture x + n into the first browsing area 51, wherein the picture x is located in the main browsing area 511 of the first browsing area 51;

5. selecting a plurality of recommended pictures related to the picture x from a preset picture database based on the main content of the picture x and the attention information (such as flower arrangement, flower ring, flower basket and the like) of the user, and displaying the recommended pictures in the second browsing area 52; when the recommended pictures are displayed in the second browsing area 52, multiple columns may be laid out, and the pictures in each column are displayed in a cross-corresponding manner;

6. adding at least one commodity recommending component related to the main content of the target picture in the first browsing area based on the main content of the picture x and the user information of the user, such as a commodity recommending component 1, a commodity recommending component 2 and a commodity recommending component 3 shown in fig. 5, and enabling the user to enter a relevant connection to purchase a relevant commodity after triggering any one commodity recommending component;

7. when the picture in the first browsing area is browsed in a sliding mode based on the browsing behavior of the user for the first browsing area, correspondingly scrolling and displaying a streaming recommended picture related to the picture in the main browsing area in the second browsing area; when a new target picture in the main browsing area is judged, as shown in fig. 6, a picture 3 is completely displayed in the main browsing area, at this time, the picture 3 is taken as the new target picture, and a plurality of recommended pictures related to the picture 3 are obtained from a preset picture database and are loaded into the second browsing area in a streaming manner, so that the user can browse in a rolling manner.

Based on the same inventive concept, an embodiment of the present invention further provides a picture browsing apparatus, as shown in fig. 7, the picture browsing apparatus provided in the embodiment of the present invention may include:

the page new building module 710 is configured to build a new browsing page in the browser when the browser monitors that the user triggers a browsing operation for any one target picture;

the picture acquiring module 720 is configured to acquire a target picture and a plurality of target similar pictures which are continuous with the target picture in a designated page;

the first loading module 730 is configured to create a waterfall-flow-type first browsing area based on the browsing page, load the target picture and the multiple target similar pictures in the waterfall-flow-type first browsing area, and perform scrolling display based on the first browsing behavior of the user.

In an optional embodiment of the present invention, the first loading module 730 may be further configured to:

creating a waterfall flow type first browsing area based on the browsing page, and loading a complete picture of a target picture in a main browsing area in the waterfall flow type first browsing area;

and the plurality of target similar pictures are loaded below the target picture in a streaming mode, and scrolling display is carried out based on the first browsing behavior of the user.

In an alternative embodiment of the present invention, as shown in fig. 8, the apparatus may further include:

the second loading module 740 is configured to create a waterfall-type second browsing area displayed in parallel with the first browsing area based on the browsing page;

and selecting a plurality of first recommended pictures from a preset picture database according to the main content of the target picture and/or the attention information of the user, loading the plurality of first recommended pictures into a second browsing area in a streaming mode, and performing scrolling display based on a second browsing behavior of the user.

In an alternative embodiment of the present invention, as shown in fig. 8, the apparatus may further include:

and the streaming recommendation module 750 is configured to scroll and display streaming pictures in a main browsing area of the first browsing area based on a first browsing behavior of the user, and when it is monitored that the user stops viewing the pictures, scroll and display streaming recommendation pictures related to the pictures in the main browsing area in a second browsing area correspondingly.

In an optional embodiment of the present invention, the streaming recommendation module 750 may be further configured to:

when the picture in the main browsing area is monitored to be changed in the process of displaying the picture in the first browsing area in a rolling mode, a new target picture displayed in the main browsing area is confirmed again based on a preset rule;

and selecting a plurality of second recommended pictures from a preset picture database according to the main content of the new target picture and/or the attention information of the user, and dynamically loading the plurality of second recommended pictures into a second browsing area.

In an optional embodiment of the present invention, the streaming recommendation module 750 may be further configured to:

judging whether the main browsing area comprises a first picture which is completely displayed;

when the main browsing area comprises a completely displayed first picture, taking the first picture as a new target picture displayed in the main browsing area;

and when the main browsing area does not comprise the completely displayed first picture, acquiring a plurality of second pictures displayed in the main browsing area, and selecting a new target picture displayed in the main browsing area based on the plurality of second pictures.

In an optional embodiment of the present invention, the streaming recommendation module 750 may be further configured to:

calculating the display area of each second picture in the plurality of second pictures in the main browsing area, and taking the second picture with the largest display area as a new target picture displayed in the main browsing area;

and when the display areas of the plurality of second pictures in the main browsing area are equal, taking the second picture positioned above the main browsing area as a new target picture displayed in the main browsing area.

In an optional embodiment of the present invention, the streaming recommendation module 750 may be further configured to:

and when the fact that the stay time of the target picture in the main browsing area on the browsing page is longer than the preset time is monitored, correspondingly displaying the streaming recommended picture related to the target picture in a rolling mode in the second browsing area.

In an alternative embodiment of the present invention, as shown in fig. 8, the apparatus may further include:

the setting module 760 is configured to set a first scroll bar and a second scroll bar based on the browsing page, and the first scroll bar and the second scroll bar respectively control the first browsing area and the second browsing area to perform scrolling browsing.

In an alternative embodiment of the present invention, as shown in fig. 8, the apparatus may further include:

the commodity recommendation module 770 is configured to analyze the main content of the target picture, and add at least one commodity recommendation component related to the main content of the target picture in the first browsing area based on the main content of the target picture and the user information of the user;

and creating a hyperlink based on the commodity recommendation component, and linking to a corresponding commodity detail page when the user triggers the commodity recommendation component.

In an alternative embodiment of the present invention, as shown in fig. 8, the apparatus may further include:

a search module 780 configured to receive a search keyword input by a user based on a browser, and obtain a plurality of pictures related to the search keyword in a preset picture database based on the search keyword; displaying the plurality of pictures on the current page of the browser or the newly-built page of the browser;

the page new creation module 710 may also be configured to create a new browsing page in the browser when it is monitored that the user triggers a browsing operation for any one target picture in the current page or the new created page of the browser.

Based on the same inventive concept, an embodiment of the present invention further provides a computer storage medium, where a computer program code is stored, and when the computer program code runs on a computing device, the computing device is caused to execute the picture browsing method according to any of the above embodiments.

Based on the same inventive concept, an embodiment of the present invention further provides a computing device, including:

a processor;

a memory storing computer program code;

the computer program code, when executed by a processor, causes a computing device to perform a picture browsing method as described in any of the above embodiments.

In the image browsing method provided by the embodiment of the invention, when a browser appointed page monitors that a user triggers a browsing operation aiming at any target image, a browsing page can be newly established and a first browsing area is established to load the target image for displaying. Based on the picture browsing method provided by the embodiment of the invention, the traditional mode of page turning and picture viewing is abandoned, and a stream type picture reading mode is adopted, so that a user can browse pictures more conveniently. Moreover, when the user needs to compare a plurality of pictures, the user only needs to slide up and down.

In addition, a second browsing area can be created, corresponding to the target picture in the first browsing area, the related recommended picture is displayed in a rolling mode in real time, the browsing requirement of the user on the current picture is met in a deeper level by combining intelligent image recognition similarity measurement and a user personalized content analysis strategy, browsing efficiency is improved, and meanwhile time cost of the user is saved. Besides the above description, a commodity recommendation component related to the target picture can be added, so as to further meet the commodity requirements of the user.

It is clear to those skilled in the art that the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.

In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.

Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.

Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.

According to an aspect of the embodiments of the present invention, a1. a picture browsing method is provided, including:

when monitoring that a user triggers browsing operation aiming at any target picture on a browser appointed page, newly building a browsing page in the browser;

acquiring the target picture and a plurality of target similar pictures which are continuous with the target picture in the designated page;

and creating a waterfall flow type first browsing area based on the browsing page, loading the target picture and the plurality of target similar pictures in the waterfall flow type first browsing area, and performing rolling display based on a first browsing behavior of a user.

A2. The method according to a1, wherein the creating a waterfall-type first browsing area based on the browsing page, loading the target picture and the multiple target homogeneous pictures in the waterfall-type first browsing area, and performing scrolling display based on a first browsing behavior of a user includes:

creating a waterfall flow type first browsing area based on the browsing page, and loading a complete picture of the target picture in a main browsing area in the waterfall flow type first browsing area;

and carrying out streaming loading on the multiple target similar pictures below the target pictures, and carrying out scrolling display based on a first browsing behavior of a user.

A3. The method according to a1, wherein the creating a waterfall-type first browsing area based on the browsing page, loading the target picture and the multiple target homogeneous pictures in the waterfall-type first browsing area, and performing scrolling display based on a first browsing behavior of a user further includes:

creating a waterfall flow type second browsing area which is displayed in parallel with the first browsing area based on the browsing page;

and selecting a plurality of first recommended pictures in a preset picture database according to the main content of the target picture and/or the attention information of the user, loading the plurality of first recommended pictures into the second browsing area in a streaming mode, and performing scroll display based on the second browsing behavior of the user.

A4. The method according to a3, wherein after creating a waterfall type second browsing area displayed in parallel with the first browsing area based on the browsing page, the method further comprises:

and scrolling and displaying streaming pictures in a main browsing area of the first browsing area based on the first browsing behavior of the user, and if the situation that the user stays for viewing the pictures is monitored, correspondingly scrolling and displaying streaming recommended pictures related to the pictures in the main browsing area in the second browsing area.

A5. The method according to a4, wherein if it is monitored that the user stops viewing pictures, correspondingly scrolling and displaying a streaming recommendation picture related to the picture in the main browsing area in the second browsing area includes:

if the picture in the main browsing area is monitored to be changed in the process of displaying the picture in the first browsing area in a rolling mode, re-confirming a new target picture displayed in the main browsing area based on a preset rule;

and selecting a plurality of second recommended pictures in the preset picture database according to the main content of the new target picture and/or the attention information of the user, and dynamically loading the plurality of second recommended pictures into the second browsing area.

A6. The method according to a5, wherein the reconfirming of the new target picture displayed in the main browsing area based on the preset rule includes:

judging whether the main browsing area comprises a completely displayed first picture or not;

if the main browsing area comprises a completely displayed first picture, taking the first picture as a new target picture displayed in the main browsing area;

and if the main browsing area does not comprise the completely displayed first picture, acquiring a plurality of second pictures displayed in the main browsing area, and selecting a new target picture displayed in the main browsing area based on the plurality of second pictures.

A7. The method according to a6, wherein the selecting a new target picture displayed in the main browsing area based on the plurality of second pictures comprises:

calculating the display area of each second picture in the plurality of second pictures in the main browsing area, and taking the second picture with the largest display area as a new target picture displayed in the main browsing area;

and if the display areas of the plurality of second pictures in the main browsing area are equal, taking the second picture positioned above the main browsing area as a new target picture displayed in the main browsing area.

A8. The method according to any one of a4-a7, wherein if it is monitored that the user stops viewing pictures, correspondingly scrolling and displaying streaming recommendation pictures related to the pictures in the main browsing area in the second browsing area comprises:

and if the fact that the stay time of the target picture in the main browsing area on the browsing page is longer than the preset time is monitored, correspondingly displaying the streaming recommended picture related to the target picture in a rolling mode in the second browsing area.

A9. The method of any of A3-A7, wherein after creating a waterfall-like second browsing area displayed alongside the first browsing area based on the browse page, further comprising:

and setting a first scroll bar and a second scroll bar based on the browsing page, and respectively controlling the first browsing area and the second browsing area to perform scroll browsing through the first scroll bar and the second scroll bar.

A10. The method according to any one of a1-a7, wherein the creating a waterfall-like first browsing area based on the browse page, after loading the target picture and the plurality of target homogeneous pictures in the waterfall-like first browsing area, further comprises:

analyzing the main content of the target picture, and adding at least one commodity recommendation component related to the main content of the target picture in the first browsing area based on the main content of the target picture and the user information of the user;

and creating a hyperlink based on the commodity recommending component, and linking to a corresponding commodity detail page when the user triggers the commodity recommending component.

A11. The method according to any one of A1-A7, wherein when a browser-specific page detects that a user triggers a browsing operation for any one target picture, before a browser page is newly created in the browser, the method further comprises:

receiving a search keyword input by the user based on the browser, and acquiring a plurality of pictures related to the search keyword in a preset picture database based on the search keyword;

displaying the plurality of pictures on the current page of the browser or on the basis of the newly-built page of the browser;

when monitoring that a user triggers browsing operation for any target picture on a browser-specified page, newly building a browsing page in the browser, including:

and when monitoring that the user triggers browsing operation aiming at any target picture in the current page or the newly-built page of the browser, newly building a browsing page in the browser.

According to another aspect of the embodiments of the present invention, there is also provided a picture browsing apparatus, including:

the system comprises a page newly building module, a page setting module and a browsing module, wherein the page newly building module is configured to newly build a browsing page in a browser when the browser monitors that a user triggers a browsing operation aiming at any target picture;

the image acquisition module is configured to acquire the target image and a plurality of target similar images which are continuous with the target image in the designated page;

the first loading module is configured to create a waterfall-flow-type first browsing area based on the browsing page, load the target picture and the multiple target similar pictures into the waterfall-flow-type first browsing area, and perform scrolling display based on a first browsing behavior of a user.

B13. The apparatus of B11, wherein the first load module is further configured to:

creating a waterfall flow type first browsing area based on the browsing page, and loading a complete picture of the target picture in a main browsing area in the waterfall flow type first browsing area;

and carrying out streaming loading on the multiple target similar pictures below the target pictures, and carrying out scrolling display based on a first browsing behavior of a user.

B14. The apparatus of B11, further comprising:

the second loading module is configured to create a waterfall flow type second browsing area which is displayed in parallel with the first browsing area based on the browsing page;

and selecting a plurality of first recommended pictures in a preset picture database according to the main content of the target picture and/or the attention information of the user, loading the plurality of first recommended pictures into the second browsing area in a streaming mode, and performing scroll display based on the second browsing behavior of the user.

B15. The apparatus of B13, further comprising:

and the streaming recommendation module is configured to scroll and display streaming pictures in a main browsing area of the first browsing area based on the first browsing behavior of the user, and correspondingly scroll and display streaming recommendation pictures related to the pictures in the main browsing area in the second browsing area when the situation that the user stops to view the pictures is monitored.

B16. The apparatus of B15, wherein the streaming recommendation module is further configured to:

when the picture in the main browsing area is monitored to be changed in the process of displaying the picture in the first browsing area in a rolling mode, re-confirming a new target picture displayed in the main browsing area based on a preset rule;

and selecting a plurality of second recommended pictures in the preset picture database according to the main content of the new target picture and/or the attention information of the user, and dynamically loading the plurality of second recommended pictures into the second browsing area.

B17. The apparatus of B16, wherein the streaming recommendation module is further configured to:

judging whether the main browsing area comprises a completely displayed first picture or not;

when the main browsing area comprises a completely displayed first picture, taking the first picture as a new target picture displayed in the main browsing area;

and when the main browsing area does not comprise the completely displayed first picture, acquiring a plurality of second pictures displayed in the main browsing area, and selecting a new target picture displayed in the main browsing area based on the plurality of second pictures.

B18. The apparatus of B17, wherein the streaming recommendation module is further configured to:

calculating the display area of each second picture in the plurality of second pictures in the main browsing area, and taking the second picture with the largest display area as a new target picture displayed in the main browsing area;

and when the display areas of the plurality of second pictures in the main browsing area are equal, taking the second picture positioned above the main browsing area as a new target picture displayed in the main browsing area.

B19. The apparatus of any of B15-B18, wherein the streaming recommendation module is further configured to:

and when the fact that the stay time of the target picture in the main browsing area on the browsing page is longer than the preset time is monitored, correspondingly displaying the streaming recommended picture related to the target picture in a rolling mode in the second browsing area.

B20. The apparatus of any one of B14-B18, further comprising:

and the setting module is configured to set a first scroll bar and a second scroll bar in a horizontal relation based on the browsed page, and the first scroll bar and the second scroll bar respectively and independently control the first browsing area and the second browsing area to perform scrolling browsing.

B21. The apparatus of any one of B12-B18, further comprising:

the commodity recommendation module is configured to analyze the main content of the target picture, and add at least one commodity recommendation component related to the main content of the target picture in the first browsing area based on the main content of the target picture and the user information of the user;

and creating a hyperlink based on the commodity recommending component, and linking to a corresponding commodity detail page when the user triggers the commodity recommending component.

B22. The apparatus of any one of B12-B18, further comprising:

the search module is configured to receive a search keyword input by the user based on the browser and acquire a plurality of pictures related to the search keyword in a preset picture database based on the search keyword; displaying the plurality of pictures on the current page of the browser or the newly-built page of the browser;

the page new building module is further configured to build a new browsing page in the browser when it is monitored that the user triggers a browsing operation for any one target picture in the current page or the new built page of the browser.

There is also provided, in accordance with another aspect of an embodiment of the present invention, c23 a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform the picture browsing method of any one of a1-a 11.

There is also provided, according to another aspect of an embodiment of the present invention, a computing device, including:

a processor;

a memory storing computer program code;

the computer program code, when executed by the processor, causes the computing device to perform the picture browsing method of any of a1-a 11.

25页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图像预标注方法、装置及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!