Category navigation method and electronic device

By adopting the image-based category navigation method in the field of encyclopedia classification and using the map display area to aggregate and display representative images of multiple sub-categories, the problem of unintuitive information in traditional category trees is solved and user screening efficiency is improved.

CN113779435BActive Publication Date: 2024-09-17SHANGHAI HEMA ZHIYAN TECHNOLOGY CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202110939713.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-16
Publication Date
2024-09-17
Estimated Expiration
2041-08-16

AI Technical Summary

Technical Problem

In the field of traditional encyclopedia classification, although the category tree filtering method can list professional knowledge, the information is not intuitive enough, resulting in low efficiency for users in category filtering.

Method used

Using the image-based category navigation method, the representative images of multiple sub-categories are aggregated and displayed by setting the map display area in the target page. Each representative image corresponds to an operable area. According to the child categories under the parent category Personalized layout based on the number and characteristics of categories, supporting multiple parent categories sharing the same map display area.

Benefits of technology

It achieves a more intuitive and flexible category navigation, avoids the size limit of the label bar, can better highlight the characteristics of sub-categories, and improves the user's efficiency in category screening and filtering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113779435B
    Figure CN113779435B
Patent Text Reader

Abstract

The embodiment of the present application discloses a category navigation method and an electronic device, the method comprising: displaying a target page, the target page including a graph display area; wherein the graph display area is used to aggregate and display representative images of multiple sub-categories under a target parent category, each representative image corresponding to an operable area; after receiving a category selection operation from a user through a target operable area corresponding to one of the target representative images, the sub-category corresponding to the target representative image is determined as the selected target sub-category; and detailed information about the target sub-category is provided. Through the embodiment of the present application, more intuitive and flexible category navigation based on images can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of category navigation technology, and in particular to a category navigation method and electronic equipment. Background Art

[0002] "Encyclopedia" information systems are knowledge-based information systems that serve Internet users. They can cover all fields of knowledge or only cover a certain professional field. For example, specific professional fields may include real estate, automobiles, animals, plants, and so on.

[0003] Since "encyclopedia" information is usually quite extensive, in order to facilitate viewing, various information can usually be organized by category, and can also be divided into multiple categories, including primary categories, secondary categories, tertiary categories, etc. During the page display process, category navigation information can be provided, and users can filter categories through this multi-level category navigation information.

[0004] In the traditional encyclopedia classification field, category navigation information is mainly provided through category trees. For example, a vertical category tree with a left-right structure is used to filter tags from the left in a list format, and the content corresponding to the rotating tags is displayed on the right, etc. This category tree filtering method can list professional knowledge information, but the information is not intuitive enough. Therefore, users are less efficient when filtering categories. Summary of the invention

[0005] The present application provides a category navigation method and an electronic device, which can realize more intuitive and flexible category navigation based on images.

[0006] This application provides the following solutions:

[0007] A category navigation method, comprising:

[0008] Displaying a target page, wherein the target page includes a graph display area; wherein the graph display area is used to aggregate and display representative images of multiple sub-categories under the target parent category, and each representative image corresponds to an operable area;

[0009] After receiving a category selection operation from the user through the target operable area corresponding to one of the target representative images, determining the sub-category corresponding to the target representative image as the selected target sub-category;

[0010] Provide detailed information about the target sub-category.

[0011] Among them, the target page also includes a first tab bar, which is used to display labels of multiple parent categories, so as to switch and display different parent categories in the target page, and multiple different parent categories share the same map display area to aggregate and display representative images of sub-categories.

[0012] Among them, when the representative images of sub-categories of different parent categories are aggregated and displayed through the atlas display area, each representative image is personalized in layout according to the number of multiple sub-categories under the parent category and / or the characteristics of the representative images.

[0013] The representative image includes: a representative image obtained by photographing a physical object corresponding to the sub-category in the real world;

[0014] The personalized layout includes: designing the size of each representative image, the placement position and / or direction in the atlas display area.

[0015] In the atlas display area, representative images corresponding to multiple subcategories under the same parent category may have different sizes and / or directions.

[0016] The multiple sub-categories include: multiple sub-categories divided according to multiple different parts of the same main object;

[0017] The representative image of each sub-category includes: a geometric figure drawn according to the shape of the physical object corresponding to the sub-category in the real world;

[0018] The personalized layout includes: arranging and displaying various geometric figures according to the outline diagram of the main object and the part information corresponding to each sub-category.

[0019] Wherein, the area within the circumscribed rectangle of the outline of the representative image is used as the operable area corresponding to the representative image; or,

[0020] An area within the contour curve range of the representative image is used as the operable area corresponding to the representative image.

[0021] The target page to be displayed includes:

[0022] Obtaining page data of the target page, the page data including: structured data corresponding to the target parent category, the structured data including a plurality of data entries, each data entry corresponding to an identifier of one of the child categories, network location mark information of the representative image, and location information of the operable area in a design base map; the design base map is used to design a layout of a plurality of representative images corresponding to the plurality of child categories;

[0023] When displaying the target page, the network location mark information and the position information are obtained by parsing the structured data, and the representative image is obtained according to the network location mark information. According to the position information, the corresponding position information of the representative image and the operable area in the atlas display area is determined.

[0024] Among them, when the area within the circumscribed rectangle of the outline of the representative image is used as the operable area corresponding to the representative image, the position information of the operable area in the design base map includes: the width and height of the circumscribed rectangle, and the coordinates of the upper left corner of the circumscribed rectangle relative to the origin of the design base map.

[0025] Among them, when the area within the contour curve of the representative image is used as the operable area corresponding to the representative image, if the figure enclosed by the contour curve is an irregular figure, then the position information of the operable area in the design base map includes: the coordinate information of multiple pixel points on the contour curve in the design base map.

[0026] Wherein, the atlas data also includes: resolution information of the design base map;

[0027] The determining of the position information corresponding to the representative image and the operable area in the atlas display area includes:

[0028] According to the resolution information of the design base map and the resolution information of the current terminal device, the position information of the design base map is converted into corresponding position information in the atlas display area.

[0029] After receiving a category selection operation of a user through a target operable area corresponding to one of the target representative images, the method further includes:

[0030] Modify the image display attributes within the target operable area.

[0031] The target page also includes a detail display area for displaying detail information of the selected target sub-category.

[0032] The target page also includes a second tab bar, and the second tab bar is used to display the labels of the multiple sub-categories.

[0033] A method for providing food knowledge information, comprising:

[0034] After receiving a request for accessing food knowledge, a target page is provided, wherein the target page includes a first tab bar, a second tab bar, a map display area, and a detail display area; the first tab bar is used to display labels of multiple parent food categories;

[0035] Determine the target parent ingredient category that is in a selected state in the first tab bar;

[0036] The labels of multiple sub-level ingredient categories under the target parent-level ingredient category are displayed in the second label column, and representative images of the multiple sub-level ingredient categories are aggregated and displayed in the map display area, each representative image corresponding to an operable area;

[0037] After receiving a category selection operation from the user through the target operable area corresponding to one of the target representative images, determining the sub-level ingredient category corresponding to the target representative image as the selected target sub-level ingredient category;

[0038] The knowledge detail information about the target sub-level ingredient category is provided in the detail display area.

[0039] Among them, it also includes:

[0040] When displaying the knowledge detail information of the target sub-level ingredient category, recommendation information of the commodity objects corresponding to the target sub-level ingredient category and an operation control for adding the commodity objects to the to-be-purchased collection are provided, so that the selection of the target commodity objects and the operation of adding them to the to-be-purchased collection can be performed through the target page.

[0041] A food material knowledge information page,

[0042] The food knowledge information page includes a first tab bar, a second tab bar, a map display area, and a details display area; the first tab bar is used to display labels of multiple parent food categories; when the target parent food category in the first tab bar is selected, the second tab bar is used to display labels of multiple child food categories under the target parent food category, and the map display area is used to aggregate and display representative images of the multiple child food categories; wherein each representative image corresponds to an operable area for receiving a category selection operation performed by a user on a child food category; when the target child food category is selected, the details display area is used to display detailed information of the target child category.

[0043] A visual graphics editing method, comprising:

[0044] Receiving an imported design base map, wherein the design base map includes a plurality of representative images, and the plurality of representative images correspond to a plurality of child categories under the same parent category;

[0045] respectively acquiring contour curves of the plurality of representative images, and generating a coordinate sequence by taking position coordinates of a plurality of points on the contour curves;

[0046] Receive network location tag information and sub-category identifications corresponding to the plurality of representative images respectively through a labeling operation option;

[0047] According to a pre-configured structured data template, the correspondence between the network positioning mark information, the sub-class object identification and the coordinate sequence is saved as structured data;

[0048] The structured data and the corresponding parent category identifier are uploaded to the target content server so that when a user's access request to the target page is received, the structured data is returned to the client. The client parses the structured data and aggregates and displays representative images corresponding to multiple child categories under the parent category in the map display area of ​​the target page.

[0049] Wherein, respectively obtaining the contour curves of the plurality of representative images comprises:

[0050] The edge detection is performed on the design base map by using an edge detection algorithm, and the contour curves of the multiple representative images are determined according to the edge detection result.

[0051] Among them, it also includes:

[0052] By configuring the operation options, the operation of configuring the display properties of the contour curve is received to generate special effect information for the detected contour curve. After receiving the user's category selection operation through the corresponding operable area, the contour curve is drawn and the special effect information is displayed.

[0053] A category navigation device, comprising:

[0054] A page display unit, used to display a target page, wherein the target page includes a graph display area; wherein the graph display area is used to aggregate and display representative images of multiple sub-categories under the target parent category, and each representative image corresponds to an operable area;

[0055] A category selection operation receiving unit, configured to determine a sub-category corresponding to one of the target representative images as a selected target sub-category after receiving a category selection operation from a user through a target operable area corresponding to one of the target representative images;

[0056] The detailed information providing unit is used to provide detailed information about the target sub-category.

[0057] A device for providing food knowledge information, comprising:

[0058] A page providing unit, configured to provide a target page after receiving a request for accessing food knowledge, wherein the target page includes a first tab bar, at least one second tab bar, a map display area, and a detail display area; the first tab bar is used to display labels of multiple parent food categories;

[0059] A parent ingredient category selection unit, used to determine the target parent ingredient category in the selected state in the first tab bar;

[0060] A map display unit, used to display labels of multiple sub-level food categories under the target parent food category in the second label column, and aggregate and display representative images of the multiple sub-level food categories in the map display area, each representative image corresponding to an operable area;

[0061] A sub-level ingredient category selection unit, configured to determine the sub-level ingredient category corresponding to one of the target representative images as a selected target sub-level ingredient category after receiving a category selection operation from a user through a target operable area corresponding to one of the target representative images;

[0062] The knowledge detail information display unit is used to provide the knowledge detail information about the target sub-level ingredient category in the detail display area.

[0063] A visual graphics editing device, comprising:

[0064] A design base drawing receiving unit, used to receive an imported design base drawing, wherein the design base drawing includes a plurality of representative images, and the plurality of representative images correspond to a plurality of child categories under the same parent category;

[0065] A coordinate sequence generating unit, used to respectively obtain the contour curves of the plurality of representative images, and generate a coordinate sequence by taking the position coordinates of a plurality of points on the contour curves;

[0066] A labeling unit, configured to receive network location tag information and sub-category identifications respectively corresponding to the plurality of representative images through a labeling operation option;

[0067] A structured data generating unit, configured to save the correspondence between the network positioning mark information, the sub-class object identification and the coordinate sequence as structured data according to a pre-configured structured data template;

[0068] A data submission unit is used to upload the structured data and the identifier of the corresponding parent category to the target content server, so that when a user's access request to the target page is received, the structured data is returned to the client. The client parses the structured data and aggregates and displays representative images corresponding to multiple sub-categories under the parent category in the map display area of ​​the target page.

[0069] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of any of the methods described above.

[0070] An electronic device, comprising:

[0071] one or more processors; and

[0072] A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of any of the methods described above.

[0073] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0074] In the embodiment of the present application, an image-based category navigation solution can be used. Specifically, in the target page for displaying category navigation information, a graph display area can be provided. This graph display area can be used to aggregate and display representative images of multiple sub-categories under the same parent category. In addition, each representative image can also correspond to an operable area. After receiving the user's category selection operation through the target operable area corresponding to one of the target representative images, the sub-category corresponding to the target representative image can be determined as the selected target sub-category, and detailed information about the target sub-category can be provided. Through this solution, the representative images of multiple sub-categories can be intuitively compared and displayed through the graph display area, and because the specific representative image does not need to be displayed through the tab bar, it will not be limited by the size and other aspects of the specific label unit in the tab bar. Therefore, the representative images of each sub-category can be displayed more flexibly.

[0075] In addition, since the specific map display area has the above-mentioned flexibility, multiple parent categories can share the same map display area, and when the representative images of sub-categories of different parent categories are aggregated and displayed, each representative image can be personalized according to the number of multiple sub-categories under the specific parent category and / or the characteristics of the representative images. Even for each sub-category under the same parent category, the corresponding representative images can have different sizes, placement directions, etc., so that the displayed representative images can better highlight the characteristics of the sub-category.

[0076] Furthermore, in order to facilitate the realization of the above-mentioned personalized layout, the embodiment of the present application also defines structured data, and the designer can design the layout of the specific representative image through the offline design tool to generate the design base map. Afterwards, the position of the operable area corresponding to the specific representative image in the design base map can be marked and converted into the corresponding structured data. In addition, a visual image editing tool can also be provided, through which structured data can be automatically generated according to the input design base map. Moreover, through this image editing tool, the recognition of the representative image contour curve can also be realized through edge detection algorithms, and multiple points are extracted from the contour curve to form a coordinate sequence, which can be used as the position information of the operable area of ​​the specific representative image. In this way, the area within the range of the irregular contour curve can be determined as the operable area, avoiding the situation that the operable areas of multiple representative images overlap each other, and even if more representative images are displayed within the limited map display area, it is unlikely to cause the induction error or sensitivity reduction of the user operation.

[0077] Of course, any product implementing the present application does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0079] Figure 1 It is a schematic diagram of the system architecture provided by the embodiment of the present application;

[0080] Figure 2 is a flow chart of the first method provided in an embodiment of the present application;

[0081] Figures 3-1 to 3-3 It is a schematic diagram of various personalized display methods in the atlas display area provided in the embodiment of the present application;

[0082] Figure 4 It is a schematic diagram from design base map to page display provided by an embodiment of the present application;

[0083] Figure 5 It is a schematic diagram of the composition structure of a page provided in an embodiment of the present application;

[0084] Figure 6 is a flow chart of the second method provided in an embodiment of the present application;

[0085] Figure 7 is a flowchart of the third method provided in an embodiment of the present application;

[0086] Figure 8 is a schematic diagram of a first device provided in an embodiment of the present application;

[0087] Fig. 9 is a schematic diagram of a second device provided in an embodiment of the present application;

[0088] Fig.10 is a schematic diagram of a third device provided in an embodiment of the present application;

[0089] Fig.11 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0090] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0091] In an embodiment of the present application, an implementation scheme for category navigation based on images is provided. It should be noted here first that in the prior art, in the category navigation page, there is an implementation scheme for providing corresponding pictures for each specific category tag. However, the specific picture is displayed in the tag bar together with the text label of the category. In other words, the traditional plain text label is replaced with a label expressed by text and pictures. Compared with plain text labels, this method can convey richer information to users and facilitate users to filter categories. However, since the area of ​​the tag bar is usually very limited, the area of ​​each tag unit is even more limited, and each tag unit is usually designed according to a standard size and arrangement. Therefore, it is often difficult to fully reflect the characteristics of the specific object by displaying pictures in such a tag unit.

[0092] Therefore, in an embodiment of the present application, a special atlas display area can be opened up in the category navigation area of ​​the target page, and the representative images of multiple sub-categories under the same parent category can be aggregated and centrally displayed in the atlas display area, and each representative image corresponds to an operable area. That is to say, in an embodiment of the present application, the representative images of the sub-categories can be used to navigate the categories for the user. Such representative images are not displayed in the label bar together with the category label text, but can be displayed in a larger atlas display area. Moreover, the representative images of multiple sub-categories under the same parent category can be aggregated and displayed. In this way, not only can the characteristics of the objects corresponding to the specific sub-categories be reflected through a larger display area, but also the representative images can be used to form a clear and intuitive contrast between different sub-categories, so as to help users obtain richer information, thereby more conducive to helping them to screen and filter categories.

[0093] In a preferred embodiment, an operation control for switching between different parent categories (for example, multiple tabs in a tab bar, etc.) can also be provided in the same target page, and multiple different parent categories can share the same graph display area. At this time, when switching between different parent categories, the representative images can be personalized in the graph display area according to the characteristics of the multiple sub-categories under the specific parent category. That is, for different parent categories, the representative images corresponding to each specific sub-category can have different layouts, and even under the same parent category, the representative images of each sub-category can have different sizes, placement directions (for example, some are placed horizontally, and some are placed vertically), etc. Through this personalized layout, the characteristics of the corresponding sub-category can be better highlighted through the representative image. On the other hand, the number of subcategories included in various parent categories, the shape and size of the representative image corresponding to each subcategory may be different; however, the area of ​​the map display area is usually fixed or can only change within a limited range. Therefore, this personalized layout method is also conducive to better adapting to different situations under various parent categories within the limited map display area. Designers can choose a suitable layout method based on the specific situation of the specific parent category.

[0094] In order to facilitate the transformation from the designer's design process to the machine recognition process, the embodiment of the present application can also provide a structured data template. The designer can use offline graphic design tools to design the layout of the representative images under each parent category and generate a design base map. Then, by marking the position of each representative image in the design base map, the corresponding sub-category identification, etc., and converting it into corresponding structured data (which can be a text in a specific computer language format, such as Json text, etc.). When the specific front end is displayed, multiple renderable objects can be created by parsing the specific structured data and displayed in the atlas display area. In addition, regarding the operable area of ​​each representative image, in general, it can be simply represented by the circumscribed rectangle representing the image outline. At this time, in the structured data, the height, width, coordinates in the design base map of the circumscribed rectangle can be used to express the position of the operable area. Alternatively, in the case of a large number of sub-category categories, the area within the contour curve range of the representative image can also be used as the operable area, so as to reduce the overlap between the operable areas of different representative images, and the occurrence of problems such as the decrease in user operation sensitivity or accuracy. In this case, in the structured data, the positions of multiple pixel points in the design base map representing the image contour curve can be used to express the position of the operable area, etc. In addition, in this case, a visual graphic editor can be provided to the designer, and the designer can import the design base map based on the editor to realize the automatic generation of structured data, etc.

[0095] In addition, a tab bar is provided in the specific category navigation area to display the labels of each sub-category. When a specific representative image is selected, the representative image in the atlas display area and the label corresponding to the tab bar can be highlighted synchronously, so that the representative image and label text can be used to provide users with clearer sub-category information. Furthermore, more tab bars can be provided in the category navigation area to display the labels of categories at other levels, so as to achieve the same scene switching of multiple different levels of categories on the same page, avoid frequent switching between multiple pages, and provide users with an immersive browsing experience.

[0096] From the perspective of system architecture, see Figure 1, the technical solution provided by the embodiment of the present application can be used in an information system with a category navigation function. For example, a category navigation function module can be provided in the information system, and the function module can include a content server and a client. The specific client can be used to provide a front-end page display. Specifically, a map display area can be provided in the target page of the information system, and in the map display area, the representative images corresponding to multiple sub-categories under the same parent category are displayed. The user can select a specific sub-category by clicking on the operable area of ​​the specific representative image in the map display area. The content server can be used to save specific page data. In the embodiment of the present application, the layout of each specific representative image in the map display area can be described in the form of structured data. In an optional manner, as described above, the automatic generation of structured data can be achieved through a visual image editor, and the generated structured data can be uploaded to the content server. The content server provides services such as https to the outside world. The client obtains structured data from the content server through a network request, and realizes the display of each representative image by parsing this structured data, and responds to the user's operation through the operable area of ​​the representative object.

[0097] It should be noted that the image-based category navigation solution provided in the embodiment of the present application can be used in a variety of category navigation scenarios. For example, one typical scenario may be: in an information service system based on fresh commodity objects, in order to solve the problem of "I don't know what to eat today" for users, an "Ingredient Encyclopedia" channel can be provided for users. In this channel page, introductions, cooking methods and other information of various ingredients can be provided. Among them, due to the large number of ingredients, various ingredients can be organized in a multi-level category manner. In this process, the image-based category navigation solution provided in the embodiment of the present application can be used to achieve more intuitive category navigation.

[0098] The specific implementation scheme provided in the embodiments of the present application is described in detail below.

[0099] Embodiment 1

[0100] This embodiment 1 mainly provides a category navigation method from the perspective of the aforementioned client, see Figure 2 , the method may specifically include:

[0101] S201: Display a target page, wherein the target page includes a graph display area; wherein the graph display area is used to aggregate and display representative images of multiple sub-categories under a target parent category, and each representative image corresponds to operable area information.

[0102] The target page may be a page provided in an associated information system for displaying certain information in a classified manner, for example, it may be a page of an "Ingredient Encyclopedia" channel, etc. It should be noted that in a specific implementation, since a specific category system may include multiple levels of categories, and information of each level of categories may be carried through multiple pages. In the embodiment of the present application, pages of each level may adopt the solution provided in the embodiment of the present application to perform image-based category navigation. For example, Figure 3-1 As shown in (A), the homepage of the "Ingredients Encyclopedia" channel can mainly display multiple first-level categories, and can also display multiple second-level categories under the first-level categories. After selecting a second-level category under a certain first-level category, Figure 3-1 As shown in (B), more sub-category information under the secondary category can be displayed in the secondary page, etc. At this time, the solution provided by the embodiment of the present application can be used in the secondary page to perform image-based category navigation, etc.

[0103] Among them, Figure 3-1 As shown in (B), a specific target page may provide a graph display area 31, in which representative images of multiple sub-categories under the same parent category may be displayed in an aggregated manner. That is to say, in an embodiment of the present application, an area is provided for a dedicated user to display representative images of each sub-category, which is called a graph display area. Unlike directly providing corresponding pictures for specific category tags in the tab bar, this graph display area is another area independent of the tab bar, and the area of ​​this area may generally be larger than the area of ​​the tab bar, and there is no need to divide the label units like the tab bar (of course, in the case of a graph display area, it is not even necessary to configure a tab bar). In this way, the representative images of each sub-category can be displayed more freely and flexibly. Among them, the so-called aggregate display means that multiple representative images are displayed in the same graph display area. In this way, the representative images of multiple different sub-categories can also be intuitively compared through the graph display area.

[0104] Among them, the specific target page can also include a first tab bar, and the first tab bar can be used to display the labels of multiple parent categories, so that different parent categories can be switched and displayed in the target page, and multiple different parent categories share the same graph display area to aggregate and display representative images of sub-categories. That is to say, in the same target page, different parent categories can be switched, and these parent categories can share the same graph display area to aggregate and display representative images corresponding to their respective sub-categories. Of course, in specific implementation, at the same time, the graph display area only needs to display representative images corresponding to multiple sub-categories under the same parent category.

[0105] In the above case, the flexibility in the aggregated display of representative images can be reflected in the following: in the process of multiple different parent categories sharing the same graph display area, each representative image can be personalized according to the number of multiple subcategories under the parent category and / or the characteristics of the representative image. That is to say, in an embodiment of the present application, multiple parent categories can share the same graph display area, and when switching to a different parent category, the representative images of each subcategory under the different parent category can be displayed in the graph display area, and when corresponding to different parent categories, although multiple representative images are displayed in the graph display area, the layout of the representative images can be different. For example, if the number of subcategories under a parent category is relatively small, the representative images can be relatively scattered, so as to reduce the occurrence of mutual interference between different representative images. If there are many sub-categories under a parent category, the representative images can be relatively clustered. In addition, the placement position, direction and other layout methods of each representative image can also be designed more carefully so that multiple representative images can be displayed more clearly in a limited map display area as much as possible. At the same time, the display results can be made beautiful and the characteristics of specific sub-categories can be more easily highlighted.

[0106] For example, Figure 3-2 As shown in (A) and (B), when displaying different parent categories "root vegetables" and "tomatoes", the number, position, size, and orientation of the representative images in the atlas display area can be different. In addition, even under the same parent category, the representative images corresponding to multiple child categories can have different sizes and / or orientations. For example, Figure 3-2 As shown in (B), the "bunched tomatoes" under the "tomato" category can be placed vertically, and the corresponding representative images of other subcategories, including "Momotaro pink tomatoes" and "lemon yellow tomatoes", can be placed horizontally, and so on.

[0107] Among them, the representative image corresponding to the specific sub-category can be obtained in a variety of ways. For example, in one way, the representative image can be obtained by photographing the physical object corresponding to the sub-category in the real world. For example, it can be a photo, video, animated picture, etc. of a specific ingredient. At this time, the specific personalized layout can be reflected in the design of the size of each representative image, the placement position and / or direction in the atlas display area, etc. Among them, in the specific implementation, in order to obtain a better display effect, the specific physical object can be photographed from a bird's-eye view. Alternatively, regarding the specific shooting method, placement position, direction, etc., you can also refer to the placement of physical objects in specific stalls in physical stores, etc., so as to more effectively highlight the characteristics of specific sub-categories.

[0108] Or, in another way, the specific multiple sub-categories may include: multiple sub-categories divided according to multiple different parts of the same main object. For example, for meat ingredients, the second-level category may include cattle, pork, chicken, etc., and the "beef" category may include sub-categories such as beef tendon, beef brisket, beef tripe, and beef tripe. These sub-categories correspond to the multiple different parts of the main object "cow". At this time, when performing image-based category navigation, the representative image of each specific sub-category can be: a geometric figure drawn according to the shape of the physical object corresponding to the sub-category in the real world. At this time, when performing personalized layout, the geometric figures can be arranged and displayed according to the outline diagram of the main object and the part information corresponding to each sub-category. For example, such as Figure 3-3 As shown, the illustrations of various parts of the "cow" in various sub-categories can enable users to have a more intuitive understanding of specific sub-categories, and then decide whether to click on a certain part to further understand the corresponding sub-category, and so on.

[0109] In addition to personalizing the display of specific representative images, category navigation can also be performed based on such representative images. That is, operations such as clicking on a specific representative image can be performed directly to obtain detailed information about the corresponding sub-category (which may be information about a lower-level sub-category, or in the case of a leaf category, directly displaying the corresponding introduction and other knowledge content). Therefore, a corresponding operable area can be provided for the specific representative image, so that user operations within the specific operable area can be identified as selections of the corresponding sub-category.

[0110] There are many ways to determine the specific operable area. For example, in a relatively simple way, the area within the circumscribed rectangle of the outline of the representative image can be directly used as the operable area corresponding to the representative image. At this time, each specific representative image can actually be a rectangular picture. However, when displaying the representative image in the atlas display area, since multiple representative images need to be displayed in the same atlas display area, in order to ensure the beauty of the display result, the background color of each representative image can be set to transparent. In this way, from the user's perspective, only the main image of each representative image can be displayed in the atlas display area. However, when responding to user operations, as long as the user operation falls within the circumscribed rectangle of the main image, it can be identified as an operation on the representative image.

[0111] In the above method, if the number of sub-categories under the same parent category is not large, it is feasible. Even because the operable area is larger than the area of ​​the main image, even if the user does not click accurately on the main image of the specific representative image, a response can be made. However, if the number of sub-categories under the same parent category is relatively large, this method of using the bounding rectangle as the operable area may not be suitable. For example, Figure 3-3 As shown, there are a large number of specific food categories under the "cow" category, and each representative image needs to be arranged and displayed according to the corresponding part of the food on the "cow", so the distance between each representative image will be very close. At this time, if the bounding rectangle of each representative image is directly used as the operable area, the operable areas of different representative images will overlap. At this time, in the process of responding to user operations, it may not be accurate or sensitive enough. For example, the user wants to click on a certain part, but because it overlaps with the bounding rectangle of another part, it may be recognized as another part, and so on.

[0112] Therefore, in another implementation, the area within the contour curve of the specific representative image can also be determined as the operable area corresponding to the specific representative image. That is to say, in this case, as long as there is no overlap between the representative images, the corresponding operable areas will not overlap, and accordingly, as long as the click operation performed by the user falls within the area where the main image of the specific representative image is located, correct recognition can be performed.

[0113] Specifically from a technical point of view, in order to better support the personalized layout of the specific atlas display area, and the configuration of the operable range corresponding to each representative image, and to facilitate the conversion between the designer's layout design and the machine-recognizable digital information, the embodiment of the present application can also express the specific layout information through structured data. The client can display the specific atlas and respond to user operations by parsing this structured data. In the specific implementation, the designer can use specific mapping tools, etc. to layout the representative images of each sub-category under the same parent category and generate a design base map, that is, the specific design base map, which can be the display effect expected to be obtained in the atlas display area. After completing the design base map, the design base map is converted into structured data. Specifically, the structured data may correspond to a parent category, that is, a parent category may correspond to a piece of structured data, which may include multiple data entries, each of which may be used to express information about one of the child categories, including the identifier of the specific child category, network location tag information representing the image (for example, a URL, etc.), and the location information of the operable area in the design base map. In specific implementation, the structured data may be text described in a language such as Json.

[0114] Specifically, there are multiple ways to convert the design base map into structured data. For example, in one way, Figure 4 As shown in (A), the designer user can mark the height, width, coordinates of the upper left corner relative to the origin of the design base map of each representative image in the design base map. Then, the code engineer converts the design base map with the marked information into structured data that can be recognized by the computer. For example, for Figure 4 The design base map shown in (A) can be converted into partial structured data as follows:

[0115] {"cateBackgroundImage":"https: / / 11111111.jpg", / / Background image address

[0116] "titleBarColor":"#43444A", / / title bar color

[0117] "width":"1000", / / The overall width of the design base map

[0118] "height":"1000", / / Design the overall height of the base map

[0119] "items":[ / / The following are the specific items, corresponding to each representative image

[0120] {

[0121] "cateId":"10016", / / Sub-category ID

[0122] "cateScopeImg":"https: / / 2222222.png", / / represents the address of the image

[0123] "height":"300", / / represents the height of the image in the design base map

[0124] "width":"300", / / represents the width of the image in the design base map

[0125] "x":"0", / / X-axis coordinate of the upper left corner relative to the origin of the design base map

[0126] "y":"0" / / Y-axis coordinate of the upper left corner relative to the origin of the design base map

[0127] },

[0128] {

[0129] "cateId":"10010", / / Sub-category ID

[0130] "cateScopeImg":"https: / / 33333333.png", / / represents the address of the image

[0131] "height":"220", / / represents the height of the image in the design base map

[0132] "width":"380", / / represents the width of the image in the design base map

[0133] "x":"300", / / The X-axis coordinate of the upper left corner relative to the origin of the design base map

[0134] "y":"0" / / Y-axis coordinate of the upper left corner relative to the origin of the design base map

[0135] },

[0136] …

[0137] It should be noted that information such as the ID of each sub-category in the above data, the address of the representative image, etc. can be supplemented through other instruction documents, etc., or can be determined after communicating with the designer user through other means, etc.

[0138] In the above examples, information such as the position of each representative image in the design base map is represented by the position of the circumscribed rectangle of the representative image. Correspondingly, such circumscribed rectangle can also be directly determined as the operable area of ​​the representative image.

[0139] However, if the area within the contour curve representing the image needs to be used as the operable area, it will be difficult to generate structured data through manual annotation. This is because the contour curve is usually irregular, and the coordinates of multiple points on the curve are required to draw a specific contour curve and determine the specific operable area. If manual annotation is still used, the number of annotation points may be very limited, and the degree of restoration of the actual contour of the drawn curve may be relatively low.

[0140] To this end, in an embodiment of the present application, a visual image editing tool can also be provided. When it is necessary to determine the area range of the main body image within the contour curve representing the image as an operable area, this editing tool can be used to achieve more efficient and accurate contour curve extraction and restoration. Specifically, the design of the design base map can still be completed in advance by the designer user, that is, the layout method of each representative image, etc. can be expressed in the design base map. Afterwards, the design base map can be imported into the editing tool, and the editing tool can provide the ability to extract contour curves. Specifically, the contour curves of multiple representative images can be automatically detected from the design base map through edge detection algorithms, and then the contour curves are sampled by pixel points to obtain a coordinate sequence for representing the position of a specific contour curve. Alternatively, in another way, a tool for manually drawing contour curves can also be provided in the editing tool, and the user can use the tool to roughly draw the contour curves of each representative image, and then the editing tool generates a specific coordinate sequence based on the manual drawing results.

[0141] Alternatively, the above two methods can be combined. For example, the algorithm is first used to automatically detect the contour curve, and then the contour curve is manually checked. If there are errors in the algorithm detection, the specific contour curve can be drawn by manual drawing tools, and so on. For example, a certain type of shrimp is relatively small, so its representative image is displayed by placing three specific shrimp images side by side, that is, the images of these three shrimps are combined together as the representative image of the shrimp category. However, when the edge detection is performed directly by the algorithm, these three shrimps may be detected as three representative images. At this time, the user can also manually cancel the edge detection results corresponding to the three shrimps, and use the manual drawing tool to draw the overall contour curve of the three shrimps, and then use the editing tool to generate a specific coordinate sequence, and so on.

[0142] In addition, a function for configuring the contour curve can be provided in the editing tool, so that special effects such as color, fill color, shadow, etc. can be added to the contour curve representing the specific image according to the needs of the actual scene. In this way, after receiving the user's category selection operation through the corresponding operable area, the contour curve can be drawn and the special effect information can be displayed.

[0143] Furthermore, the editing tool can also provide an operation option for adding associated sub-class identifications to the detected coordinate sequence, as well as representative image address information. In this way, not only can the contour curve be extracted and the coordinate sequence be generated through the editing tool, but also the information on other fields required in the structured data can be configured directly through the editing tool. In addition, the template of the structured data can be configured in advance in the editing tool, and the template can include the field names of each field, etc. After the contour curve of the specific representative image is extracted, the sub-class identification and the configuration of the representative image address information are completed, the corresponding structured data can be automatically generated.

[0144] The specific structured data can be submitted to the associated content server, and the corresponding relationship between it and the specific parent category is used as a data entry. Other parent categories can also generate structured data in a similar manner, so that multiple data entries can be included in the content server, which are the corresponding relationships between multiple parent categories and structured data.

[0145] In this way, when it is necessary to display the target page, the page data obtained can include the above structured data, and each structured data can also include multiple data entries, each data entry corresponds to the identifier of one of the sub-categories, the network positioning mark information of the representative image, and the position information of the operable area in the design base map. In this way, when displaying the target page, the above structured data can be parsed, and the representative image can be obtained according to the network positioning mark information, and the corresponding positions of the representative image and the operable area in the atlas display area can be determined according to the position information.

[0146] Among them, as mentioned above, when the area within the circumscribed rectangle of the outline of the representative image is used as the operable area corresponding to the representative image, the position information of the specific operable area in the design base map may include: the width and height of the circumscribed rectangle, and the coordinates of the upper left corner of the circumscribed rectangle relative to the origin of the design base map.

[0147] When the area within the contour curve of the representative image is used as the operable area corresponding to the representative image, if the shape enclosed by the contour curve is an irregular shape, the position information of the operable area in the design base map may include: the coordinate information of multiple pixel points on the contour curve in the design base map.

[0148] It should be noted here that, in actual implementation, the position of the specific operable area in the design base map is related to the resolution of the design base map. Figure 4 The circumscribed rectangle of the first representative image shown in (A) is 340 pixels wide and 500 pixels high, and the overall width of the design base map is 1000 pixels. However, when the atlas display area is displayed in the actual target page, the size of the specific atlas display area is related to the screen resolution of the actual terminal device. Therefore, the specific structured data may also include: the resolution information of the design base map. At this time, when displaying each representative image in the atlas display area, the position information in the design base map can also be converted into the corresponding position information in the atlas display area according to the resolution information of the design base map and the resolution information of the current terminal device, and then displayed.

[0149] For example, the scaling ratio scale = terminal device screen width / design base map width can be calculated based on the design base map width and the terminal device screen width (both are represented by pixel values); then, the coordinates, width, height, etc. corresponding to the representative image are multiplied by the above scale, so as to obtain the actual position and size of the representative image on the screen. Then, each representative image is added to the parent container (corresponding to the specific map display area) one by one through the drawing control, and finally displayed on the screen.

[0150] S202: After receiving a category selection operation from a user through a target operable area corresponding to one of the target representative images, a sub-category corresponding to the target representative image is determined as a selected target sub-category.

[0151] After the display of multiple representative images is completed in the atlas display area, the user can interact with the user through the operable area corresponding to each representative image in the atlas display area. That is, the user can complete the selection of the sub-category corresponding to the specific representative image by performing operations such as clicking within the operable area corresponding to the specific representative image. Specifically, since the correspondence between the specific sub-category identification, representative image and operable area has been known in the process of parsing the page data, after the user completes operations such as clicking within a certain operable area, the target sub-category that the user needs to further view can be determined based on the above correspondence.

[0152] In an optional implementation, after a target sub-category is selected, the image display properties within the target operable area can also be modified. For example, the image within the target operable area can be highlighted, etc. In this way, the user can perceive the system's response to his operation.

[0153] In addition, in addition to highlighting the image within the operable area, the center point of the operable area and other positions may be determined based on the position information of the specific operable area, and a dot mark representing the operation focus may be added at the position, and so on.

[0154] S203: Provide detailed information about the target sub-category.

[0155] After the target sub-category is selected, detailed information about the target sub-category can also be provided as another part of the response information. For example, if the target sub-category is a leaf category, the specific detailed information can be specific knowledge content such as an introduction to the specific target sub-category. If the target sub-category is not a leaf category, the information of the sub-category at a lower level can continue to be provided, and so on.

[0156] In a specific implementation, the target page may further include a detail display area for displaying the detail information of the selected target sub-category. That is, after a specific target sub-category is selected, it is not necessary to jump to a new page to display the detail information, but it can be displayed directly in the current target page, reducing the sense of pop-up during the information display process.

[0157] In addition, the target page may also include a second tab bar, which is used to display the labels of the multiple sub-categories. The specific category label can describe the category name in text form. Moreover, after the target sub-category is selected, the display properties of the label corresponding to the target sub-category can also be modified, for example, the corresponding label is also highlighted, and so on. In this way, the user can obtain information about the target sub-category from both image and text aspects through the representative image highlighted in the atlas display area and the label highlighted in the second tab bar. For example, Figure 5 As shown, 51 is the map display area, 53 is the first tab bar for displaying parent category labels as described above, and 52 is the second tab bar. After a parent category is selected, in addition to displaying the representative images corresponding to each sub-category under the parent category in the map display area, the labels of each sub-category can also be displayed in the second tab bar, and so on.

[0158] In specific implementation, the target page may also have a detail display area and multiple tab bars corresponding to different levels, for example: Figure 5 In the example shown, tab bars 52 and 53, etc., can be included at the same time. In this way, the same scene switching of multiple categories such as the second level, the third level, and the fourth level can be expressed in the same target page at the same time, without switching back and forth between multiple different pages, thereby providing an immersive browsing experience for users.

[0159] For example, when a user clicks on a recommended method of "Salmon" to enter the details, the methods can only be displayed in a list in the traditional way. However, through the solution provided by the embodiment of the present application, when a user enters the "Salmon" category in an encyclopedia aggregation entrance, he can also see the visual images of various marine fish and freshwater fish in aquatic products, as well as the knowledge popularization of the corresponding ingredients. The bottom lists the various methods recommended for salmon. After reading "Salmon", the user can continue to browse other fish without jumping out of the page or quickly switch between the second and fourth level categories to see the information and methods of all ingredients respectively, and achieve the goal of content browsing depth. In addition, when a specific "Ingredients Encyclopedia" and other pages are provided in the commodity object information system, IPv-uv conversion (conversion rate from store to commodity details page) can also be achieved through information cards of ingredient commodities, etc.

[0160] In summary, in the embodiment of the present application, an image-based category navigation solution can be used. Specifically, in the target page for displaying category navigation information, a graph display area can be provided. This graph display area can be used to aggregate and display representative images of multiple sub-categories under the same parent category. In addition, each representative image can also correspond to an operable area. After receiving the user's category selection operation through the target operable area corresponding to one of the target representative images, the sub-category corresponding to the target representative image can be determined as the selected target sub-category, and detailed information about the target sub-category can be provided. Through this solution, the representative images of multiple sub-categories can be intuitively compared and displayed through the graph display area, and since the specific representative image does not need to be displayed through the tab bar, it will not be limited by the size and other aspects of the specific label unit in the tab bar. Therefore, the representative images of each sub-category can be displayed more flexibly.

[0161] In addition, since the specific map display area has the above-mentioned flexibility, multiple parent categories can share the same map display area, and when the representative images of sub-categories of different parent categories are aggregated and displayed, each representative image can be personalized according to the number of multiple sub-categories under the specific parent category and / or the characteristics of the representative images. Even for each sub-category under the same parent category, the corresponding representative images can have different sizes, placement directions, etc., so that the displayed representative images can better highlight the characteristics of the sub-category.

[0162] Furthermore, in order to facilitate the realization of the above-mentioned personalized layout, the embodiment of the present application also defines structured data, and the designer can design the layout of the specific representative image through the offline design tool to generate the design base map. Afterwards, the position of the operable area corresponding to the specific representative image in the design base map can be marked and converted into the corresponding structured data. In addition, a visual image editing tool can also be provided, through which structured data can be automatically generated according to the input design base map. Moreover, through this image editing tool, the recognition of the representative image contour curve can also be realized through edge detection algorithms, and multiple points are extracted from the contour curve to form a coordinate sequence, which can be used as the position information of the operable area of ​​the specific representative image. In this way, the area within the range of the irregular contour curve can be determined as the operable area, avoiding the situation that the operable areas of multiple representative images overlap each other, and even if more representative images are displayed within the limited map display area, it is unlikely to cause the induction error or sensitivity reduction of the user operation.

[0163] Embodiment 2

[0164] This second embodiment is a specific application of the solution provided in the embodiment of the present application in the "food encyclopedia" scenario, and provides a method for providing food knowledge information, see Figure 6 , the method may include:

[0165] S601: After receiving a request for accessing ingredient knowledge, a target page is provided, wherein the target page includes a first tab bar, a second tab bar, a map display area, and a details display area; the first tab bar is used to display labels of multiple parent ingredient categories.

[0166] The target page here can be Figure 3-1(B), that is, after the user selects a specific secondary category in the primary page shown in 3-1 (A), the user can enter the secondary page for display, and provide the user with an immersive browsing experience according to the solution provided in the embodiment of the present application. Of course, in specific implementation, the solution provided in the embodiment of the present application can also be used directly in the primary page, which is not limited here.

[0167] S602: Determine the target parent ingredient category that is in a selected state in the first tab bar.

[0168] If the target page is the above-mentioned secondary page, the secondary food category selected by the user in the primary page can be determined as the target parent food category in the first tab bar in the secondary page. Of course, in the process of browsing the secondary page, the user can also select other parent food categories in the first tab bar to switch between multiple different parent food categories in the same target page.

[0169] S603: Displaying labels of multiple sub-level ingredient categories under the target parent ingredient category in the second label bar, and displaying representative images of the multiple sub-level ingredient categories in an aggregated manner in the map display area, each representative image corresponding to an operable area.

[0170] S604: After receiving a category selection operation from the user through the target operable area corresponding to one of the target representative images, the sub-level ingredient category corresponding to the target representative image is determined as the selected target sub-level ingredient category.

[0171] S605: Providing knowledge detail information about the target sub-level ingredient category in the detail display area.

[0172] In addition, in actual applications, the specific "Ingredients Encyclopedia" page can be implemented in the functional module provided in the associated commodity object information system. Therefore, in the process of determining the selected target sub-level ingredient category and displaying the knowledge details information of the target sub-level ingredient category, it is also possible to provide commodity object recommendation information corresponding to the target sub-level ingredient category, as well as an operation control for adding commodity objects to the to-be-purchased set. In this way, in addition to obtaining knowledge information related to ingredients through the above-mentioned target page, users can also directly select target commodity objects and add them to the to-be-purchased set through the target page, without having to obtain commodity objects that meet the requirements through search or other methods. In this way, when users view the ingredient knowledge information and have the idea of ​​purchasing the corresponding commodity object, the user's operation path can be shortened.

[0173] Embodiment 3

[0174] This third embodiment corresponds to the second embodiment, and provides an ingredient knowledge information page, which includes a first tab bar, a second tab bar, a map display area, and a details display area; the first tab bar is used to display labels of multiple parent ingredient categories; when the target parent ingredient category in the first tab bar is selected, the second tab bar is used to display labels of multiple child ingredient categories under the target parent ingredient category, and the map display area is used to aggregate and display representative images of the multiple child ingredient categories; wherein each representative image corresponds to an operable area for receiving a category selection operation performed by a user on a child ingredient category; when the target child ingredient category is selected, the details display area is used to display detailed information of the target child category.

[0175] That is to say, the food knowledge information page can have multiple tabs corresponding to different levels, as well as a map display area and a detail display area. In this way, not only can image-based category navigation be achieved, but also the same scene switching of multiple categories such as the second level, third level, and fourth level can be expressed on the same target page at the same time, and the detailed information can be displayed directly on the page, including the knowledge content of specific ingredients, cooking methods, matching recommendations, etc., without having to switch back and forth between multiple different pages, thereby providing users with an immersive browsing experience.

[0176] Embodiment 4

[0177] This fourth embodiment provides a visual graphics editing method from the perspective of the aforementioned visual editing tool, see Figure 7 , the method may include:

[0178] S701: receiving an imported design base map, wherein the design base map includes a plurality of representative images, and the plurality of representative images correspond to a plurality of child categories under the same parent category;

[0179] S702: respectively obtaining the contour curves of the plurality of representative images, and generating a coordinate sequence by taking position coordinates of a plurality of points on the contour curves;

[0180] S703: receiving network location tag information and sub-category identifications respectively corresponding to the plurality of representative images through a labeling operation option;

[0181] S704: According to a pre-configured structured data template, the correspondence between the network positioning mark information, the sub-category identification and the coordinate sequence is saved as structured data;

[0182] S705: Upload the structured data and the corresponding parent category identifier to the target content server, so that when a user's access request to the target page is received, the structured data is returned to the client. The client parses the structured data and aggregates and displays representative images corresponding to multiple child categories under the parent category in the map display area of ​​the target page.

[0183] In a specific implementation, edge detection can be performed on the design base map using an edge detection algorithm, and the contour curves of the multiple representative images can be determined based on the edge detection result.

[0184] In addition, by configuring operation options, it is also possible to receive operations for configuring the display properties of the contour curve so as to generate special effect information for the detected contour curve. After receiving the user's category selection operation through the corresponding operable area, the contour curve is drawn and the special effect information is displayed.

[0185] For the parts not described in detail in the aforementioned embodiments 2 to 4, please refer to the description in the aforementioned embodiment 1, which will not be repeated here.

[0186] It should be noted that the embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).

[0187] Corresponding to the first embodiment, the present application embodiment also provides a category navigation device, see Figure 8 , the device may include:

[0188] The page display unit 801 is used to display a target page, wherein the target page includes a graph display area; wherein the graph display area is used to aggregate and display representative images of multiple sub-categories under the target parent category, and each representative image corresponds to an operable area;

[0189] The category selection operation receiving unit 802 is configured to determine the sub-category corresponding to the target representative image as the selected target sub-category after receiving the category selection operation of the user through the target operable area corresponding to one of the target representative images;

[0190] The detail information providing unit 803 is used to provide detail information about the target sub-category.

[0191] Among them, the target page also includes a first tab bar, which is used to display labels of multiple parent categories, so as to switch and display different parent categories in the target page, and multiple different parent categories share the same map display area to aggregate and display representative images of sub-categories.

[0192] In specific implementation, when the representative images of sub-categories of different parent categories are aggregated and displayed through the map display area, each representative image can be personalized according to the number of multiple sub-categories under the parent category and / or the characteristics of the representative images.

[0193] The representative image includes: a representative image obtained by photographing a physical object corresponding to the sub-category in the real world;

[0194] The personalized layout includes: designing the size of each representative image, the placement position and / or direction in the atlas display area.

[0195] In the atlas display area, representative images corresponding to multiple subcategories under the same parent category may have different sizes and / or directions.

[0196] Specifically, the multiple sub-categories include: multiple sub-categories divided according to multiple different parts of the same main object;

[0197] The representative image of each sub-category includes: a geometric figure drawn according to the shape of the physical object corresponding to the sub-category in the real world;

[0198] The personalized layout includes: arranging and displaying various geometric figures according to the outline diagram of the main object and the part information corresponding to each sub-category.

[0199] The area within the circumscribed rectangle of the outline of the representative image may be used as the operable area corresponding to the representative image.

[0200] Alternatively, the area within the contour curve range of the representative image is used as the operable area corresponding to the representative image.

[0201] Specifically, the page display unit may include:

[0202] A page data acquisition subunit is used to acquire page data of the target page, wherein the page data includes: structured data corresponding to the parent category, the structured data includes a plurality of data entries, each data entry corresponds to an identifier of one of the child categories, network location mark information of the representative image, and position information of the operable area in a design base map; the design base map is used to design a layout of a plurality of representative images corresponding to the plurality of child categories;

[0203] The data parsing subunit is used to parse the structured data to obtain the network location mark information and the location information when displaying the target page, and obtain the representative image according to the network location mark information, and determine the corresponding location information of the representative image and the operable area in the map display area according to the location information.

[0204] Among them, when the area within the circumscribed rectangle of the outline of the representative image is used as the operable area corresponding to the representative image, the position information of the operable area in the design base map includes: the width and height of the circumscribed rectangle, and the coordinates of the upper left corner of the circumscribed rectangle relative to the origin of the design base map.

[0205] When the area within the contour curve of the representative image is used as the operable area corresponding to the representative image, if the figure enclosed by the contour curve is an irregular figure, the position information of the operable area in the design base map includes: the coordinate information of multiple pixel points on the contour curve in the design base map.

[0206] In addition, the atlas data may also include: resolution information of the design base map;

[0207] The data parsing subunit may specifically include:

[0208] The position information conversion subunit is used to convert the position information in the design base map into corresponding position information in the map display area according to the resolution information of the design base map and the resolution information of the current terminal device.

[0209] In addition, the device may also include:

[0210] The display attribute modification unit is used to modify the image display attribute in the target operable area after receiving a category selection operation from the user through the target operable area corresponding to one of the target representative images.

[0211] In a specific implementation, the target page also includes a detail display area for displaying detail information of the selected target sub-category.

[0212] In addition, the target page may further include a second tab bar, and the second tab bar is used to display the labels of the multiple sub-categories.

[0213] Corresponding to the second embodiment, the present application embodiment also provides a device for providing food knowledge information, see Fig. 9 , the device may include:

[0214] The page providing unit 901 is used to provide a target page after receiving a request for accessing food knowledge, wherein the target page includes a first tab bar, a second tab bar, a map display area, and a detail display area; the first tab bar is used to display labels of multiple parent food categories;

[0215] A parent ingredient category selection unit 902, used to determine a target parent ingredient category in a selected state in the first tab bar;

[0216] A map display unit 903 is used to display the labels of multiple sub-level food categories under the target parent food category in the second label column, and aggregate and display representative images of the multiple sub-level food categories in the map display area, each representative image corresponding to an operable area;

[0217] The sub-level ingredient category selection unit 904 is configured to determine the sub-level ingredient category corresponding to one of the target representative images as the selected target sub-level ingredient category after receiving a category selection operation from the user through the target operable area corresponding to one of the target representative images;

[0218] The knowledge detail information display unit 905 is used to provide the knowledge detail information about the target sub-level ingredient category in the detail display area.

[0219] In a specific implementation, the device may further include:

[0220] A commodity object information providing unit is used to provide commodity object recommendation information corresponding to the target sub-level ingredient category when displaying the knowledge detail information of the target sub-level ingredient category, and an operation control for adding the commodity object to the to-be-purchased collection, so as to perform the selection of the target commodity object and the operation of adding it to the to-be-purchased collection through the target page.

[0221] Corresponding to the fourth embodiment, the present application embodiment also provides a visual graphics editing device, see Fig.10 , the device may include:

[0222] A design base drawing receiving unit 1001 is used to receive an imported design base drawing, wherein the design base drawing includes a plurality of representative images, and the plurality of representative images correspond to a plurality of child categories under the same parent category;

[0223] A coordinate sequence generating unit 1002 is used to respectively obtain the contour curves of the plurality of representative images, and generate a coordinate sequence by taking the position coordinates of a plurality of points on the contour curves;

[0224] A labeling unit 1003, configured to receive network location tag information and sub-category identifications respectively corresponding to the plurality of representative images through a labeling operation option;

[0225] The structured data generating unit 1004 is used to save the correspondence between the network positioning mark information, the sub-class object identification and the coordinate sequence as structured data according to a pre-configured structured data template;

[0226] The data submission unit 1005 is used to upload the structured data and the identifier of the corresponding parent category to the target content server, so as to return the structured data to the client when receiving a user's access request to the target page. The client parses the structured data and aggregates and displays representative images corresponding to multiple child categories under the parent category in the map display area of ​​the target page.

[0227] The coordinate sequence generating unit may be specifically used for:

[0228] The edge detection is performed on the design base map by using an edge detection algorithm, and the contour curves of the multiple representative images are determined according to the edge detection result.

[0229] In addition, the device may also include:

[0230] A curve attribute configuration unit is used to receive an operation for configuring the display attributes of the contour curve by configuring operation options, so as to generate special effect information for the detected contour curve, and after receiving a category selection operation from the user through the corresponding operable area, draw the contour curve and display the special effect information.

[0231] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods in the aforementioned method embodiments are implemented.

[0232] And an electronic device, comprising:

[0233] one or more processors; and

[0234] A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of the aforementioned method embodiments.

[0235] in, Fig.11 The architecture of an electronic device is exemplarily shown. For example, device 1100 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an aircraft, etc.

[0236] Reference Fig.11 , device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , and a communication component 1116 .

[0237] The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to complete all or part of the steps of the method provided by the technical solution of the present disclosure. In addition, the processing component 1102 may include one or more modules to facilitate the interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate the interaction between the multimedia component 1108 and the processing component 1102.

[0238] The memory 1104 is configured to store various types of data to support operations on the device 1100. Examples of such data include instructions for any application or method operating on the device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0239] The power supply component 1106 provides power to the various components of the device 1100. The power supply component 1106 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1100.

[0240] The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front camera and / or a rear camera. When the device 1100 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0241] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the device 1100 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.

[0242] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0243] The sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for the device 1100. For example, the sensor assembly 1114 can detect the open / closed state of the device 1100, the relative positioning of components, such as the display and keypad of the device 1100, and the sensor assembly 1114 can also detect the position change of the device 1100 or a component of the device 1100, the presence or absence of user contact with the device 1100, the orientation or acceleration / deceleration of the device 1100, and the temperature change of the device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0244] The communication component 1116 is configured to facilitate wired or wireless communication between the device 1100 and other devices. The device 1100 can access a wireless network based on a communication standard, such as WiFi, or a mobile communication network such as 2G, 3G, 4G / LTE, 5G, etc. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0245] In an exemplary embodiment, device 1100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0246] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the above instructions can be executed by a processor 1120 of the device 1100 to complete the method provided by the technical solution of the present disclosure. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0247] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0248] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0249] The above is a detailed introduction to the category navigation method and electronic device provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.

Claims

1. A category navigation method, characterized in that: include: A target page is displayed, wherein the target page includes a map display area; wherein the map display area is used to aggregate and display representative images of multiple sub-categories under a target parent category, and each representative image corresponds to an operable area; wherein the representative image includes: an image obtained by photographing a physical object corresponding to the sub-category in the real world, or a geometric figure drawn according to the shape of the physical object corresponding to the sub-category in the real world, and the background color of the representative image is transparent, so that only the main body image of the physical object corresponding to the representative image is displayed in the map display area; multiple different parent categories share the same map display area, and each representative image is personalized in the map display area according to the number of multiple sub-categories under a specific parent category and / or the shape and size characteristics of the main body image in the representative image; the personalized layout includes: when displaying representative images corresponding to multiple sub-categories under the same parent category, each corresponds to a different size, placement position and / or direction in the map display area; After receiving a category selection operation from the user through the target operable area corresponding to one of the target representative images, determining the sub-category corresponding to the target representative image as the selected target sub-category; Provide detailed information about the target sub-category.

2. The method according to claim 1, characterized in that The target page also includes a first tab bar, which is used to display multiple parent category labels so as to switch and display different parent categories in the target page.

3. The method according to claim 2, characterized in that The multiple sub-categories include: multiple sub-categories divided according to multiple different parts of the same main object; The personalized layout includes: arranging and displaying various geometric figures according to the outline diagram of the main object and the part information corresponding to each sub-category.

4. The method according to claim 1, characterized in that: The area within the circumscribed rectangle of the outline of the representative image is used as the operable area corresponding to the representative image; or An area within the contour curve range of the representative image is used as the operable area corresponding to the representative image.

5. The method according to claim 1, characterized in that The display target page includes: Obtaining page data of the target page, the page data including: structured data corresponding to the target parent category, the structured data including a plurality of data entries, each data entry corresponding to an identifier of one of the child categories, network location mark information of the representative image, and location information of the operable area in a design base map; the design base map is used to design a layout of a plurality of representative images corresponding to the plurality of child categories; When displaying the target page, the network location mark information and the position information are obtained by parsing the structured data, and the representative image is obtained according to the network location mark information. According to the position information, the corresponding position information of the representative image and the operable area in the atlas display area is determined.

6. The method according to any one of claims 1 to 5, characterized in that: The target page also includes a detail display area for displaying detail information of the selected target sub-category.

7. The method according to any one of claims 1 to 5, characterized in that: The target page also includes a second tab bar, which is used to display the labels of the multiple sub-categories.

8. A method for providing food knowledge information, characterized in that: include: After receiving a request for accessing food material knowledge, providing a target page, the target page including a first tab bar, a second tab bar, a map display area, and a detail display area; The first label bar is used to display labels of multiple parent ingredient categories; Determine the target parent ingredient category that is in a selected state in the first tab bar; The labels of multiple sub-level food categories under the target parent food category are displayed in the second label column, and the representative images of the multiple sub-level food categories are aggregated and displayed in the map display area, and each representative image corresponds to an operable area; wherein the representative image includes: an image obtained by photographing the physical object corresponding to the sub-level food category in the real world, or a geometric figure drawn according to the shape of the physical object corresponding to the sub-level food category in the real world, and the background color of the representative image is transparent, so that only the main body image of the physical object corresponding to the representative image is displayed in the map display area; multiple different parent food categories share the same map display area, and each representative image is personalized in the map display area according to the number of multiple sub-level food categories under a specific parent food category and / or the shape and size characteristics of the main body image in the representative image; the personalized layout includes: when displaying the representative images corresponding to multiple sub-level food categories under the same parent food category, each corresponds to a different size, placement position and / or direction in the map display area; After receiving a category selection operation from the user through the target operable area corresponding to one of the target representative images, determining the sub-level ingredient category corresponding to the target representative image as the selected target sub-level ingredient category; The knowledge detail information about the target sub-level ingredient category is provided in the detail display area.

9. The method according to claim 8, characterized in that Also includes: When displaying the knowledge detail information of the target sub-level ingredient category, recommendation information of the commodity objects corresponding to the target sub-level ingredient category and an operation control for adding the commodity objects to the to-be-purchased collection are provided, so that the selection of the target commodity objects and the operation of adding them to the to-be-purchased collection can be performed through the target page.

10. A food material knowledge information page, characterized in that: The food knowledge information page includes a first tab bar, a second tab bar, a map display area, and a details display area; The first label bar is used to display labels of multiple parent ingredient categories; When the target parent ingredient category in the first tab bar is selected, the second tab bar is used to display the labels of multiple sub-ingredient categories under the target parent ingredient category, and the atlas display area is used to aggregate and display representative images of the multiple sub-ingredient categories; wherein each representative image corresponds to an operable area for receiving a category selection operation performed by a user on the sub-ingredient category; when the target sub-ingredient category is selected, the detail display area is used to display detailed information of the target sub-ingredient category; wherein the representative image includes: an image obtained by photographing the physical object corresponding to the sub-ingredient category in the real world, or A geometric figure is drawn in the shape of the physical object corresponding to the parent ingredient category in the real world, and the background color of the representative image is transparent, so that only the main body image of the physical object corresponding to the representative image is displayed in the atlas display area; multiple different parent ingredient categories share the same atlas display area, and each representative image is personalized in the atlas display area according to the number of multiple child ingredient categories under the specific parent ingredient category and / or the shape and size characteristics of the main body image in the representative image; the personalized layout includes: when displaying the representative images corresponding to multiple child ingredient categories under the same parent ingredient category, each corresponds to a different size, placement position and / or direction in the atlas display area.

11. A visual graphics editing method, characterized in that: include: Receiving an imported design base map, wherein the design base map includes a plurality of representative images, and the plurality of representative images correspond to a plurality of child categories under the same parent category; respectively acquiring contour curves of the plurality of representative images, and generating a coordinate sequence by taking position coordinates of a plurality of points on the contour curves; Receive network location tag information and sub-category identifications corresponding to the plurality of representative images respectively through a labeling operation option; According to a pre-configured structured data template, the correspondence between the network positioning mark information, the sub-class object identification and the coordinate sequence is saved as structured data; The structured data and the identifier of the corresponding parent category are uploaded to the target content server, so that when a user's access request to the target page is received, the structured data is returned to the client, and the client parses the structured data and aggregates and displays the representative images corresponding to the multiple sub-categories under the parent category in the map display area of ​​the target page; wherein the representative image includes: an image obtained by photographing the physical object corresponding to the sub-category in the real world, or a geometric figure drawn according to the shape of the physical object corresponding to the sub-category in the real world, and the background color of the representative image is transparent, so that only the main body image of the physical object corresponding to the representative image is displayed in the map display area; multiple different parent categories share the same map display area, and each representative image is personalized in the map display area according to the number of multiple sub-categories under the specific parent category and / or the shape and size characteristics of the main body image in the representative image; the personalized layout includes: when displaying the representative images corresponding to the multiple sub-categories under the same parent category, each corresponding to a different size, placement position and / or direction in the map display area.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 11 are implemented.

13. An electronic device, characterized in that: include: one or more processors; as well as A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Method and device for providing service object information in page

    CN105653545A

  • Business object information processing publishing method and business object information processing publishing device

    CN105787737A

  • Photographing prompt message providing and business object search method and device

    CN106649296A

  • Dynamic page display method and device, electronic device and storage medium

    CN110096277A

  • Visual chart operation method and device, electronic equipment and storage medium

    CN111914017A