Commodity object information display method and electronic device
By loading a 3D space container in the target page and controlling the position of the virtual camera, the user can parse the sliding operation into a translation, simulate the information flow and display the 3D models of multiple commodity objects, solving the problems of low browsing efficiency and difficult comparison in the existing technology. Fast and efficient comparison of product objects is achieved.
Patent Information
- Application Number
- PCT/CN2024/087127
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-15
- Filing Date
- 2024-04-11
- Publication Date
- 2024-10-24
AI Technical Summary
In the existing technology, users need to visit the detail pages of product objects one by one to view 3D models, which results in a long path to view 3D models of different product objects, affecting browsing efficiency and difficulty in comparison.
By loading a 3D space container in the target page, placing the 3D models of multiple product objects in the same target plane, and controlling the position of the virtual camera for rendering and display, users can parse the sliding operation into a translation operation and simulate the information flow. The display effect of the form enables the simultaneous display and comparison of multiple product objects.
It improves the browsing efficiency of 3D models of product objects, allows you to view the details of multiple product objects on the same screen, facilitates comparison of 3D models of different product objects, and reduces the time for purchasing decisions.
Smart Images

Figure CN2024087127_24102024_PF_FP_ABST
Abstract
Description
Commodity object information display method and electronic device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 15, 2023, with application number 202310420794.6 and application name “Method and electronic device for displaying commodity object information”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of information display technology, and in particular to a method for displaying commodity object information and an electronic device. Background Art
[0003] With the continuous development of 3D technology, its application in the display of commodity objects has also been continuously improved. For example, in some commodity object information service systems, traditional commodity object display methods usually include pictures, texts, short videos, etc. However, due to the frequent color differences and size discrepancies in the display of pictures, texts, and short videos, consumers will have doubts about the inconsistency between the pictures and the real objects, and consumers need to spend a lot of energy reading and comparing before making a purchase decision. The display of commodity objects based on 3D models allows consumers to actively interact with the commodity objects and fully understand the materials, details, structure, etc. of the commodity objects, thereby reducing the time taken to make purchase decisions and increasing the speed of purchase. Therefore, compared with the display forms such as pictures, texts, and short videos used in traditional commodity object displays, the 3D dynamic interactive form of commodity object display is more attractive to consumers and is more conducive to helping users make purchase decisions.
[0004] In the prior art, for product objects with 3D models, an entrance for viewing the 3D model can usually be provided on pages such as the product object details page. Through this entrance, the 3D model can be rendered and displayed, and the user can interact with the 3D model by performing sliding actions on the screen, including changing the perspective to view more details of the product object, etc.
[0005] However, with this existing technology, the path for users to view the 3D model of a product object is relatively long. If the user needs to view the 3D models of different product objects, the path will be even longer. For example, suppose a user enters a keyword to search, and is interested in both product object A and product object B in the search results, and needs to compare them in detail by viewing their respective 3D models. The user must first select to access the details page of product object A from the product object search results list page, and click to view the 3D model of product object A on the details page to view and interact with it; then, return to the product object search results list page and select to access the details page of product object B, and then click to view the 3D model of product object B on the details page of product object B, and so on.
[0006] Summary of the Invention
[0007] The present application provides a method and electronic device for displaying product object information, which can improve the browsing efficiency of the 3D models of product objects, and can also view the details of product objects through the 3D models of multiple product objects on the same screen, making it easier to compare different product objects through 3D models.
[0008] This application provides the following solutions:
[0009] A method for displaying commodity object information, comprising:
[0010] Obtaining 3D models of multiple product objects to be displayed;
[0011] Loading a 3D space container in a target page, and placing the 3D models of the multiple product objects in a same target plane in the 3D space container;
[0012] By controlling the position of the virtual camera in the 3D space container, 3D models of multiple commodity objects that enter the shooting range of the virtual camera are rendered and displayed;
[0013] In the process of responding to the user interaction operation, by parsing the sliding operation in the first target direction into a translation operation, the effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction is simulated.
[0014] The step of analyzing the sliding operation in the first target direction as a translation operation to simulate the effect of displaying the 3D models of the plurality of commodity objects in the form of an information flow in the first target direction includes:
[0015] By interpreting the sliding operation in the first target direction as a translation operation performed on the virtual camera in the first target direction, an effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction is simulated.
[0016] Among them, also include:
[0017] The multiple product objects are divided into multiple product object groups; the target page includes multiple label options, each label option corresponds to a product object group;
[0018] Placing the 3D models of the plurality of commodity objects in a same target plane in the 3D space container includes:
[0019] Dividing the same target plane into a plurality of different areas, each corresponding to the plurality of commodity object groups, so as to place the 3D models of the plurality of commodity objects in the areas where the commodity object groups belong;
[0020] The rendering and displaying of the 3D models of the plurality of commodity objects by controlling the position of the virtual camera in the 3D space container includes:
[0021] In the initial state, the virtual camera is moved to the area where the product object group corresponding to the default selected label option is located, so as to render and display the 3D models of multiple product objects in the product object group;
[0022] In response to an operation request to switch to other label options for display, the virtual camera is moved to the area where the product object group corresponding to the other label options is located, so as to render and display the 3D models of multiple product objects in the product object group corresponding to the other label options.
[0023] Among them, also include:
[0024] By controlling the placement of the 3D models of multiple product objects on the target plane, the imaging method during the projection process, and / or the viewing angle of the virtual camera, the 3D models displayed on the target page are placed in an easy-to-observe state.
[0025] Among them, also include:
[0026] In response to an event that the sliding operation in the first target direction ends, calculating a distance range of inertial motion generated in the target direction according to a current translation speed of the virtual camera;
[0027] By reducing the translation speed of the virtual camera, an inertial motion effect with resistance within the distance range is simulated.
[0028] Among them, also include:
[0029] Displaying a foreground atmosphere element in the target page, wherein the foreground atmosphere element is realized by a 3D model;
[0030] In the process of responding to the interactive operation in the first target direction performed by the user, the sliding operation in the first target direction is interpreted as a translation operation on the foreground atmosphere element, and the different translation speeds generated by the virtual camera and the foreground atmosphere element are controlled to perform parallax scrolling on the 3D models of the multiple commodity objects and the foreground atmosphere element.
[0031] Among them, also include:
[0032] In response to a sliding operation in a second target direction, the 3D models of the plurality of commodity objects are controlled to rotate synchronously by interpreting the sliding operation in the second target direction as a rotation operation performed on the virtual camera.
[0033] Among them, also include:
[0034] If the size span of the 3D models of the multiple commodity objects is greater than a threshold, the 3D models of the multiple commodity objects are scaled before being rendered and displayed.
[0035] The step of obtaining 3D models of multiple commodity objects to be displayed includes:
[0036] Provides an operation portal for aggregated display of 3D models of multiple product objects by category or theme;
[0037] After receiving an access request through the operation entrance corresponding to the target category or target theme, 3D models of multiple commodity objects corresponding to the target category or target theme are obtained.
[0038] The step of obtaining 3D models of multiple commodity objects to be displayed includes:
[0039] After receiving a product object search request initiated by a target keyword, determining a target category or target theme based on the target keyword;
[0040] Providing an operation entry for aggregated display of 3D models of multiple product objects corresponding to the target category or target theme on the product object search result page;
[0041] After receiving the access request through the operation portal, 3D models of multiple commodity objects corresponding to the target category or target theme are obtained.
[0042] A commodity object information display device, comprising:
[0043] A model acquisition unit, configured to acquire 3D models of multiple commodity objects to be displayed;
[0044] a model placement unit, configured to load a 3D space container into a target page and place the 3D models of the plurality of commodity objects into a same target plane in the 3D space container;
[0045] a rendering and display unit, configured to render and display 3D models of a plurality of commodity objects that enter a shooting range of the virtual camera by controlling the position of the virtual camera in the 3D space container;
[0046] The interactive response unit is used to simulate the effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction by interpreting the sliding operation in the first target direction as a translation operation in the process of responding to the user's interactive operation.
[0047] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of any of the aforementioned methods.
[0048] An electronic device, comprising:
[0049] one or more processors; and
[0050] 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 aforementioned methods.
[0051] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0052] Through the embodiment of the present application, it is possible to utilize 3D technology to load a 3D space container in the target page, and place the 3D models of the multiple commodity objects in the same target plane in the 3D space container. Afterwards, by controlling the position of the virtual camera in the 3D space container, the 3D models of the multiple commodity objects that enter the shooting range of the virtual camera can be rendered and displayed. Afterwards, in response to the user performing an interactive operation by sliding the screen, the sliding operation in the first target direction can be interpreted as a translation operation. Through the above method, the effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction can be simulated. In this way, the browsing efficiency of the 3D models of the commodity objects can be improved, and the details of the commodity objects can also be viewed through the 3D models of multiple commodity objects on the same screen, which facilitates the comparison of different commodity objects through 3D models.
[0053] 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
[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. 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 any creative work.
[0055] FIG1 is a schematic diagram of a system architecture provided in an embodiment of the present application;
[0056] FIG2 is a flow chart of a method provided in an embodiment of the present application;
[0057] FIG3 is a schematic diagram of a first interface provided in an embodiment of the present application;
[0058] FIG4 is a schematic diagram of a second interface provided in an embodiment of the present application;
[0059] FIG5 is a schematic diagram of a third interface provided in an embodiment of the present application;
[0060] FIG6 is a schematic diagram of a fourth interface provided in an embodiment of the present application;
[0061] FIG7 is a schematic diagram of a device provided in an embodiment of the present application;
[0062] FIG8 is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0064] First of all, it should be noted that the inventors of the present application discovered in the process of realizing the present application that when the commodity object information is displayed in the form of information flow (for example, Feeds flow, waterfall flow, etc.), it has the advantages of high display efficiency and is convenient for users to compare and select between multiple commodity objects. Among them, the so-called display in the form of information flow refers to a content display form in which the information of multiple commodity objects is aggregated into one page and presented to the user. Taking the Feeds flow as an example, Feed is the smallest unit of information aggregation, and each status or message is a Feed. In the field of commodity object information display, each commodity object can correspond to a Feed. When recommending commodity object information to users on some pages, this form of information flow is often used, that is, a set of commodity objects to be recommended can be generated according to the user's personalized preferences, and then the information of these commodity objects is displayed on the page in the form of Feeds flow for users to browse.
[0065] However, in the prior art, the product information displayed in such feeds is typically 2D images, text, and short videos. For information such as 3D models of product objects, users are typically required to select the product object through pages such as product recommendations, product search, and category display, and then access the product object details page to view the 3D model. Alternatively, dedicated 3D themes or channels can be provided, allowing users to select and view the 3D model of a specific product object on the theme or channel page. However, on such theme or channel pages, the product object information is still 2D images and text, and the 3D model is not directly displayed.
[0066] Based on the above situation, in an embodiment of the present application, a method of simulating the information flow in a 2D page based on 3D technology is provided to aggregate and display the 3D models of multiple commodity objects, so as to achieve the purpose of improving the rendering efficiency of 3D models in the process of displaying the 3D models of commodity objects to users. In specific implementation, multiple commodity objects with 3D models can be organized together in various ways, for example, by dividing them by category, or clustering commodity objects by theme, etc. Afterwards, the 3D models of these commodity objects can be aggregated and displayed in the same target page. When displaying, a 3D space container can be loaded in the target page, and the 3D models of the multiple commodity objects can be placed in the same target plane in the 3D space container (so that these 3D models can look like they are uniformly placed on the desktop of an invisible table). Then, the position of the virtual camera in the 3D space container can be controlled, and the 3D models of the multiple commodity objects can be rendered and displayed. In an optional manner, the 3D model of a specific commodity object can present an automatic rotation effect in the default state, so that the user can observe the 3D models of multiple commodity objects from multiple angles on the same page.
[0067] In addition, users can also perform interactive operations by sliding the screen, including sliding the screen up and down or horizontally. During this process, the sliding operation in the first target direction (for example, sliding up and down) can be interpreted as a translation operation to simulate the effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction. That is to say, since the embodiment of the present application displays the 3D model of the product object in a 3D space container, in this case, when interacting by sliding the screen, there can be multiple specific corresponding methods. For example, a sliding operation in each direction can trigger a change in the camera perspective, or trigger the rotation of a certain 3D model separately, and so on; however, in the embodiment of the present application, it is necessary to simulate a display effect similar to the Feeds stream in the 2D page. Therefore, the specific response method for the user's interactive operation can be controlled so that the user's sliding operation in a specific direction can be interpreted as a translation operation in that direction. In this way, when the user performs a sliding operation in that direction, it can present an effect similar to scrolling multiple product object information cards on a 2D page (for example, in the form of a "double-column flow"), of course, in the embodiment of the present application, what is displayed on the page is no longer a 2D product object information card, but a 3D model.
[0068] From a system perspective, the embodiments of the present application can be implemented in a commodity object information service system. Specifically, referring to FIG1 , the system can involve a server and a client. Specifically, the server can be run in a server (including an independent server or a cloud server, etc.), and the client can be run mainly in a user's terminal device, including a mobile terminal, etc. The server can be mainly used to provide relevant data, including a 3D model of a specific commodity object in the embodiments of the present application. In addition, the aggregation method of commodity objects, including how to aggregate commodity objects according to categories and themes, etc., can also be completed in advance on the server. The client is mainly used for displaying the front-end page. In the embodiments of the present application, since it is necessary to display the 3D model of the commodity object in the target page and to simulate the display form of the Feeds stream in the 2D page, the target page can be pre-layouted in 3D. Specifically, a 3D space container can be embedded in the target page so as to render and display the 3D model of the commodity object based on the 3D space container. After the client obtains the 3D model data of multiple product objects, it can place the 3D models of the specific product objects into the same target plane in the 3D space container. In addition, it can also control the position of the virtual camera in the 3D space container to render and display the 3D models of the multiple product objects. Finally, the client can also control the response method during the specific interactive operation, including interpreting the sliding operation in the first target direction as a translation operation, etc., to achieve the effect of simulating the scrolling display of the feed stream in the 2D page. In other words, the specific display and processing during the interactive process can be completed on the client side.
[0069] The specific implementation scheme provided in the embodiments of this application is introduced in detail below.
[0070] First, from the perspective of the aforementioned client, the embodiment of the present application provides a method for displaying product object information. Referring to FIG2 , the method may specifically include:
[0071] S201: Acquire 3D models of multiple commodity objects to be displayed.
[0072] The so-called multiple product objects are multiple product objects whose 3D models need to be aggregated and displayed on the same page. In specific implementation, multiple product objects with 3D models can be aggregated in advance on the server according to specific categories, themes, etc., and then this target page for aggregated display of the 3D models of multiple product objects can be delivered through various channels. In this way, after receiving a request to display an aggregate page corresponding to a certain category or theme, the client can obtain the 3D models of the specific multiple product objects from the server.
[0073] In specific implementation, there can be multiple channels for delivering the target page. For example, in one method, the target page can be delivered to a traffic distribution page such as the client homepage or its secondary page. When delivering the target page, multiple aggregated pages of different categories or themes can be packaged and delivered, for example, collectively referred to as "3D Experience". Users enter the "3D Experience" page through the client homepage, and then multiple specific categories or theme names can be displayed on the page. These categories or theme names can serve as operation entrances for aggregated display of 3D models of multiple product objects by category or theme. For example, as shown at 31 in Figure 3(A), the "3D Experience" entrance can be delivered to the "Category" page under the client homepage. In this way, users can obtain the entrance on the "Category" page, and from the entrance page, they can view entrances to multiple 3D aggregated display pages of different categories or themes. For example, the "Sky Curtain" and "Electronic Mechanical Watches" shown in Figure 3(A) all correspond to different categories. After receiving an access request through the operation entry corresponding to the target category or target theme, the client can obtain 3D models of multiple commodity objects corresponding to the target category or target theme.
[0074] Alternatively, in another approach, an entrance to a 3D aggregate display page can be placed in scenarios such as search. In this case, after receiving a product object search request initiated using a target keyword, a matching target category or target theme can be determined based on the target keyword. Then, an operation entrance can be provided on the product object search result page for aggregated display of 3D models of multiple product objects corresponding to the target category or target theme. After receiving an access request through the operation entrance, the client can obtain the 3D models of multiple product objects corresponding to the target category or target theme.
[0075] For example, assuming that the user enters the keyword "watch" in the search box on the client's homepage, as shown at 32 in Figure 3(B), an access entrance to a 3D aggregation page of related categories or themes such as "Watch Hall" can be provided at the top of the search results page. If the user clicks on the access entrance, the client can obtain 3D models of multiple product objects corresponding to the category or theme, so as to facilitate rendering and display in subsequent steps.
[0076] It should be noted here that the 3D model of the commodity object can be pre-stored on the server side, specifically provided by the merchant, or generated by relevant tools provided in the commodity object information service system, etc., which is not limited here. In addition, since the 3D model of the commodity object may usually have a large amount of data and is not suitable for storage in the client's local cache, the client can specifically request to load the 3D models of multiple commodity objects from the server after receiving a specific access request. In addition, in the specific implementation, the multiple commodity objects aggregated in the same target page can also be divided into multiple commodity object groups. For example, a specific category can include multiple subcategories, a theme can include multiple sub-themes, or the same theme can include multiple categories, and so on. Each subcategory or sub-theme can correspond to a commodity object group. For example, under the theme of "Watch Hall", multiple specific categories such as women's watches, children's watches, electronic mechanical watches, etc. can be included. In this case, when displaying the 3D models of multiple commodity objects in the target page, multiple label options (tabs) can also be provided in the target page, and each label option can correspond to a commodity object group. In this way, the 3D models can be aggregated and displayed in units of commodity object groups. That is to say, at the same time, the 3D models of multiple commodity objects under only one tab can be displayed in the target page. In this case, the client can first load the 3D models of multiple commodity objects under the commodity object group corresponding to the default displayed tab, and then load the 3D models of multiple commodity objects under the commodity object group corresponding to other tabs when a specific tab switching request is received to avoid wasting resources. Alternatively, the 3D models of multiple commodity objects under the commodity object groups corresponding to several tabs with relatively high historical access rates can be loaded in advance to improve the response speed, and so on.
[0077] S202: Loading a 3D space container in a target page, placing the 3D models of the multiple product objects in a same target plane in the 3D space container, and rendering and displaying the 3D models of the multiple product objects.
[0078] The target page is used to aggregate and display the 3D models of multiple product objects. Since the 3D models of the product objects need to be displayed on the page, when obtaining the 3D models of the multiple product objects, a 3D spatial container can also be loaded into the target page to display the 3D models through the 3D spatial container.
[0079] In the embodiment of the present application, since it is necessary to simulate the display effect of the feeds flow in the 2D page, it is not necessary to pre-make a complex 3D scene model (mainly used to serve as a background setting, etc.), that is, before placing the 3D model of the specific product object, the 3D space container can be empty. After loading the 3D space container, the 3D models of multiple product objects to be displayed can be placed in the same target plane in the 3D space container. The target plane can be any plane in the 3D space container, for example, it can be the plane where the X-axis and Z-axis of the 3D space container are located at the same time, and so on. In this way, the effect of placing multiple product objects on a specific plane in three-dimensional space can be simulated, so as to facilitate the comparison of the 3D models of multiple different product objects. Specifically, when placing the 3D model, you can choose to place it horizontally or vertically according to the characteristics of the specific 3D model. The specific placement method can also be pre-configured, and you can configure a suitable placement method according to the characteristics of the categories to which the multiple product objects to be aggregated belong, and then complete the placement process according to the corresponding configuration information.
[0080] S203: Rendering and displaying 3D models of multiple commodity objects that enter the shooting range of the virtual camera by controlling the position of the virtual camera in the 3D space container.
[0081] After the placement of the 3D model is completed, the 3D models of the multiple commodity objects can be rendered and displayed. Specifically, during the rendering process, in a specific implementation method, the position of the virtual camera in the 3D space container can be controlled first, and then rendering can be performed according to the position of the virtual camera. The virtual camera is a concept in 3D rendering. In the 3D display system, a virtual camera object will be created. The area facing the virtual camera is the rendering area, so by adjusting the position of the camera, renderings of different angles and orientations can be obtained (the virtual camera can be understood as a real-world camera, and the rendered image is equivalent to the photo taken by this camera).
[0082] Specifically, when controlling the position of the virtual camera, a suitable viewing angle can be determined for the virtual camera based on the characteristics of the 3D models of the multiple commodity objects, so as to display the 3D models in a state that is easy to observe. That is to say, the 3D models of some commodity objects are usually more suitable for looking down, while the 3D models of other commodity objects may be more suitable for looking straight ahead, or looking from the side with a certain tilt angle, and so on. Therefore, the control of the virtual camera viewing angle is mainly to restore the user's observation experience of different objects when viewing specific commodity objects in life scenes. For example, for items such as books, it is more intuitive to place them flat on the table and look from top to bottom, while for items such as cups, when placed on the table, it is more intuitive to look from the side, and so on. Of course, in the embodiments of the present application, the 3D models of the merchandise objects aggregated for display on the same page generally belong to the same category or theme, and the same category or theme generally share common characteristics when selecting an appropriate perspective. Therefore, in a specific implementation, it is possible to pre-configure appropriate perspectives for a variety of different categories or themes. In this way, during the display process, the client can determine the appropriate perspective based on the categories or themes to which the multiple merchandise objects currently need to be displayed, and configure the specific virtual camera. In terms of technical implementation, in addition to being able to adjust the perspective of the virtual camera, it is also possible to combine various placement methods, such as placing merchandise objects horizontally or vertically, and various imaging methods, such as orthogonal projection and perspective projection, to achieve the above-mentioned purpose.
[0083] After determining the position of the virtual camera, the 3D models of multiple product objects can be rendered, allowing them to be displayed simultaneously on the target page. In specific implementations, the 3D models of multiple product objects can be laid out in a variety of ways. For example, in one approach, they can be arranged vertically in a row of two columns, filling the entire screen horizontally. Of course, if multiple tabs are involved, each tab can be arranged vertically in a row of two columns, filling the entire screen horizontally, and so on.
[0084] In an optional mode, the 3D model of a specific product object can automatically rotate by default, allowing users to observe the 3D models of multiple product objects from multiple angles on the same target page. For example, as shown in Figure 4(A), it shows the effect of the 3D models of multiple product objects in the "Electronic Mechanical Watch" category being aggregated and displayed on the target page at time t1. At time t2, the observed effect can be shown in Figure 4(B). It can be seen that at different times, the 3D models of the product objects automatically rotate to different angles, allowing users to observe the 3D models of multiple product objects from multiple angles without any user operation.
[0085] It should be noted that in actual applications, the multiple commodity objects aggregated from some pages may have more complex categories. For example, for the aggregated theme of "outdoors", the commodity objects may be tents, gas stoves, etc. At this time, the size span of the corresponding 3D models of the multiple commodity objects that need to be aggregated and displayed on the same page may be relatively large. If they are displayed directly according to the original size ratio, the 3D models of some commodity objects on the same page may be too large or too small, which is not conducive to page layout and inconvenient for users to browse. Therefore, in the specific implementation, if the size span of the 3D models of multiple commodity objects is greater than a certain threshold, the 3D models of the multiple commodity objects can also be scaled before rendering and displaying. Specifically, the bounding box of the 3D model Mesh of the commodity object can be calculated. For example, the specific bounding box can be the circumscribed rectangular block of the 3D model, and the length, width and height of the rectangular block are used to represent the length, width and height of the 3D model. In this way, the diagonal length and height of the rectangular block can be used to adapt the longest side when placed on the same plane, and then the scaling ratio of the model can be calculated, so that the size of the 3D models of multiple different commodity objects presented on the same page will not be too different. Of course, for the case where the categories of the multiple aggregated commodity objects are relatively single, the above-mentioned scaling process is not necessary, so that users can compare different commodity objects in terms of model size.
[0086] In addition, during specific implementation, it is also possible to add information such as titles and prices to the 3D models of specific commodity objects. At this time, the 3D model and 2D text content can be mixed and displayed through the 3D space container. During specific implementation, 2D text content can be added to the corresponding commodity object near the location of the 3D model in the specific target plane. Of course, since the perspective of the virtual camera may be straight or sideways, the placement angle of the text content and / or the distance between the text content and the 3D model can also be determined according to the perspective of the virtual camera to avoid deformation of the text content.
[0087] S204: In the process of responding to the user interaction operation, by interpreting the sliding operation in the first target direction as a translation operation, an effect of displaying the 3D models of the multiple commodity objects in the form of an information flow in the first target direction is simulated.
[0088] After displaying the 3D models of multiple commodity objects, specifically in the process of responding to the user's interactive operation, the specific response method can also be controlled to simulate the effect of scrolling display of the information flow in the 2D page. Among them, the user's interactive operation can usually be completed by a sliding operation performed with the help of a touch screen or a touchpad. In ordinary 3D model display scenarios, the user's sliding operations in the up, down, left, and right directions are usually interpreted as changing the viewing angle, either changing the angle of the virtual camera or changing the rotation angle of the 3D model itself. However, in an embodiment of the present application, in order to simulate the effect of scrolling display of the information flow in a 2D page in a 3D scene, the user's sliding operation in a target direction can be interpreted as a translation operation, that is, the 3D models of multiple commodity objects are translated in the target direction, rather than changing the angle of the virtual camera or the rotation angle of the 3D model in the target direction. For example, the specific target direction may be vertical. Assuming that in the state shown in FIG4(A), the user slides upward on the screen for a distance, the state shown in FIG4(C) may be presented. It can also be seen that the 3D models of some of the commodity objects shown in 4(A) have moved out of the visible range of the window, while the 3D models of other commodity objects have entered the visible range of the window, thereby presenting an effect of scrolling display of the 3D models of multiple commodity objects in the form of information flow in the vertical direction (of course, the so-called scrolling display here mainly refers to the 3D models within the visible range of the window constantly changing, with new 3D models of commodity objects constantly entering the visible range and 3D models originally within the visible range constantly leaving the visible range. In this process, the specific 3D models do not rotate in the vertical direction).
[0089] It should be noted that in the process of responding to user interactive operations, in one way, the user's interactive operation can be directly applied to the 3D model of the commodity object, and in another way, the user's interactive operation can be applied to the virtual camera, and the angle, position, etc. of the virtual camera can be changed to present the motion effect of the 3D model of the commodity object. In the embodiment of the present application, since it is necessary to display the 3D models of multiple different commodity objects on the same page, if the user's interactive operation is applied to the 3D model of a specific commodity object, the memory usage of the terminal device will be relatively large; on the other hand, in the scenario of the embodiment of the present application, when the user performs an interactive operation, it can be defaulted to performing the operation on multiple 3D models on the page, rather than on the 3D model of a specific commodity object. Therefore, this can be achieved by applying the user's interactive operation to the virtual camera. Specifically, the sliding operation in the first target direction can be interpreted as a translation operation performed on the virtual camera in the first target direction, simulating the effect of displaying the 3D models of the multiple commodity objects in the first target direction in the form of an information flow. That is to say, assuming that the first target direction is vertical, if the user performs a vertical sliding operation, the virtual camera can be controlled to perform a translation movement in the vertical direction. In this way, the 3D models of multiple product objects can be presented in an information flow-like display in the vertical direction (without causing the 3D models of the product objects to rotate in the vertical direction).
[0090] In addition, if the user performs a sliding operation in the second target direction (for example, horizontally), the sliding operation in the second target direction can be interpreted as a rotation operation performed on the virtual camera, controlling the 3D models of the multiple commodity objects to rotate synchronously. In other words, if the user performs a horizontal sliding operation, the virtual camera can be controlled to rotate horizontally, and accordingly, the 3D models of the multiple commodity objects on the page will also rotate synchronously in the horizontal direction. In this way, the feeds stream scrolling display effect that is only available in traditional 2D pages can be achieved through 3D technology, so that in the vertical direction, the browsing efficiency of the feeds stream scrolling display form can be obtained, and at the same time, the 3D model can be rotated by sliding left and right on the same screen, so as to view the details of the commodity objects from multiple angles.
[0091] It should be noted that in the embodiments of the present application, in order to simulate an effect similar to the scrolling display of information flow in a 2D page in the first target direction, the rotation response in the first target direction is ignored. Therefore, as described above, during the specific rendering process, the perspective of the virtual camera may have multiple different modes, such as looking down, looking straight, and looking sideways. For different perspectives, the display effect may be different during the above-mentioned information flow simulation process. For example, in the process of aggregated display of the 3D models of multiple product objects of "electronic mechanical watches" in Figure 4 (A), the specific perspective selected is a top-down perspective, that is, the virtual camera is suspended above the area where the 3D models of the multiple product objects are located in the target plane and shoots vertically downward. This allows the size of the 3D models of the multiple product objects to remain substantially unchanged during the scrolling display process. If the virtual camera shoots the 3D models of the multiple product objects in the target plane from a straight or oblique perspective, then during the scrolling display in the form of information flow, the specific 3D models can show a dynamic effect of larger near objects and smaller far objects. For example, as shown at 51 in FIG5(A), it is the size of the 3D model of a certain product object when it just enters the visible range of the window. When the page slides upward to the state shown in FIG5(B), the 3D model of the product object is about to leave the visible range of the window, and its size can be as shown at 52 in FIG5(B). It can be seen that its size is reduced compared with that shown at 51 in FIG5(A).
[0092] It should be noted that, in a specific implementation, multiple product objects aggregated in the same target page can also be divided into multiple product object groups. In this case, the specific target page can include multiple tabs, each corresponding to a product object group. The user can browse the 3D models of product objects in different product object groups by switching tabs. In this case, the same target plane can also be divided into multiple different areas, each corresponding to the multiple product object groups, so that the 3D models of the multiple product objects are placed in the area where the product object groups belong. In other words, the 3D models of multiple product objects corresponding to multiple tabs can all be placed in the same plane, but different tabs are located in different areas. In this way, specifically in the process of controlling the position of the virtual camera in the 3D space container, in the initial state, the virtual camera can be moved to the area where the product object group corresponding to the default selected tab option is located, so as to render and display the 3D models of the multiple product objects in the product object group. Later, if the user switches by clicking a specific tab option, the virtual camera can be moved to the area where the product object group corresponding to the other tab option is located, so as to render and display the 3D models of the multiple product objects in the product object group corresponding to the other tab option. For example, as shown at 41 in the example shown in Figure 4(A), specific label options may include "Recommendations," "Electronic Mechanical Watches," "Smart Watches," etc. In the default state, "Electronic Mechanical Watches" is selected, and the virtual camera can be first aimed at the area where the product object group corresponding to the tab is located; then, if the user clicks "Smart Watches," the virtual camera can be aimed at the area where the product object group corresponding to the "Smart Watches" tab is located. The specific label option to be displayed by default can be determined in a variety of ways, such as pre-configuring the label option to be displayed by default on each page, or determining it based on the current user's personalized preference information, etc.
[0093] Of course, there are other ways to implement the above-mentioned multi-tab display. For example, the 3D models in the product object groups corresponding to different label options can also be placed in different planes. When switching label options, the rendering results can be switched by moving the virtual camera between different planes.
[0094] It should be noted that in the process of simulating the scrolling display of the feeds stream in the 2D page, the simulation of inertial motion can also be achieved. Among them, the so-called inertial motion means that when the user slides in the first target direction (for example, the vertical direction of the screen), when the user slides the page on the screen or touchpad and then moves his finger away, the page will not stop immediately but continue to maintain a certain distance of scrolling effect, and the speed, distance and duration of the scrolling are proportional to the intensity of the sliding gesture before it stops. In 2D pages, there are usually related functions to implement this inertial motion. In the embodiment of the present application, since 3D technology is used for simulation, the implementation of inertial motion can also be achieved through simulation. Specifically, at the end of the sliding operation in the first target direction, the distance range of the inertial motion generated in the first target direction can be calculated according to the current translation speed of the virtual camera. Then, the translation speed of the virtual camera can be slowed down to simulate the inertial motion effect with resistance within the distance range.
[0095] It should also be noted that in the embodiments of this application, pre-production of a 3D scene model is not required. Therefore, when the 3D model of a product object is placed in a 3D spatial container, its background may be transparent or a specific color predefined in the 3D spatial container. In a specific implementation, to enhance the page display effect, a background image may be provided for the page. This background image can be implemented in the form of a 2D image, and the specific background image can be determined based on the category or theme of the product objects aggregated on the specific page. For example, in the example shown in Figure 4(A), the background of the "Watch Gallery" page can be an image of a starry sky background, while the background of the "Outdoor Cookware" page can be an image of a grassy background, and so on. Furthermore, to further enhance the 3D atmosphere, in a specific implementation, in addition to providing the aforementioned background image, some foreground atmosphere elements can be provided. These atmosphere elements can be implemented as 3D models, specifically corresponding to the background image. When displaying the 3D model of a specific product object on the page, these foreground atmosphere elements can also be displayed. For example, the "meteorite" shown at 42 in Figure 4(A) is such an atmosphere element, which can echo the starry sky background image. In addition, during the vertical sliding of the screen, this foreground atmosphere element can also undergo vertical movement. However, in order to further enhance the display effect, the movement of the foreground atmosphere element and the movement of the 3D model of the product object on the page may not be completely synchronized (otherwise, if the two are completely synchronized, including the distance and speed of movement, the three-dimensional sense of the page will be reduced). In order to achieve this goal, the movement control of the foreground atmosphere element can be independent of the control of the specific 3D model of the product object. As mentioned above, the control process of the 3D model of the product object can be that the virtual camera is moving, while the control of the atmosphere element can be that the atmosphere element itself is moving. In this way, when the user performs a vertical interactive operation, the virtual camera and the atmosphere element can be controlled to produce different translation speeds, so that the foreground atmosphere element and the 3D model of the product object can achieve a parallax scrolling effect.
[0096] In addition, in a specific implementation, the user can also interact by clicking on the 3D model of a specific product object in the target page. At this time, the 3D model of the product object can be enlarged and displayed on the page, and the 3D model can be viewed 720 degrees by sliding up, down, left, and right to obtain more detailed information. For example, in the state shown in Figure 4 (A), since the vertical sliding operation is interpreted as a translation movement, the 3D model of each product object can be viewed 360 degrees in this state, that is, the 3D model can be rotated 360 degrees in the horizontal direction, or rotated 360 degrees when triggered by the user's horizontal sliding operation, but cannot be flipped vertically; then, assuming that the user clicks on the 3D model of a watch in Figure 4 (A), the 3D model of the watch can be enlarged and displayed as shown in Figure 6. At this time, since only the 3D model of the same product object needs to be displayed, and the aggregate display of multiple 3D models is not involved, the user can view the 3D model 720 degrees. That is, not only can it be rotated 360 degrees horizontally, but it can also be reversed 360 degrees vertically, so that the details of the watch can be viewed from more perspectives. More text information about the watch can also be viewed on the page, or the product object details page can be jumped to, etc. In addition, if the same product object includes multiple SKUs (Stock Keeping Units), an entry for switching between different SKUs for display can also be displayed on the page. For example, as shown at 61 in Figure 6, two different SKUs of the same watch are displayed. After the user clicks on other SKUs, the 3D models corresponding to the other SKUs can be displayed on the page, and so on.
[0097] In summary, through the embodiments of the present application, it is possible to utilize 3D technology to load a 3D space container in the target page, place the 3D models of the multiple commodity objects in the same target plane in the 3D space container, and then, by controlling the position of the virtual camera in the 3D space container, the 3D models of the multiple commodity objects that enter the shooting range of the virtual camera can be rendered and displayed. Afterwards, in response to the user performing an interactive operation by sliding the screen, the sliding operation in the first target direction can be interpreted as a translation operation. Through the above method, the effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction can be simulated. In this way, browsing efficiency can be guaranteed, and the details of the commodity objects can be viewed through the 3D models of multiple commodity objects on the same screen, which facilitates comparison of different commodity objects through 3D models.
[0098] 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.).
[0099] Corresponding to the aforementioned method embodiment, the embodiment of the present application further provides a commodity object information display device, as shown in FIG7 , which may include:
[0100] The model acquisition unit 701 is used to acquire 3D models of multiple commodity objects to be displayed;
[0101] The model placement unit 702 is configured to load a 3D space container into a target page and place the 3D models of the plurality of commodity objects into a same target plane in the 3D space container;
[0102] A rendering and display unit 703 is configured to render and display 3D models of multiple commodity objects that enter a shooting range of the virtual camera by controlling the position of the virtual camera in the 3D space container;
[0103] The interactive response unit 704 is used to simulate the effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction by interpreting the sliding operation in the first target direction as a translation operation in response to the user performing an interactive operation by sliding the screen.
[0104] In a default state, the 3D models of the multiple commodity objects displayed by the rendering may be in a state of automatic synchronous rotation.
[0105] Specifically, the interactive response unit can be used to:
[0106] By interpreting the sliding operation in the first target direction as a translation operation performed on the virtual camera in the first target direction, an effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction is simulated.
[0107] In a specific implementation, the multiple commodity objects may be divided into multiple commodity object groups; the target page includes multiple label options, each label option corresponding to a commodity object group;
[0108] The model placement unit can be specifically used for:
[0109] Dividing the same target plane into a plurality of different areas, each corresponding to the plurality of commodity object groups, so as to place the 3D models of the plurality of commodity objects in the areas where the commodity object groups belong;
[0110] The rendering and display unit may specifically include:
[0111] In the initial state, the virtual camera is moved to the area where the product object group corresponding to the default selected label option is located, so as to render and display the 3D models of multiple product objects in the product object group;
[0112] In response to an operation request to switch to other label options for display, the virtual camera is moved to the area where the product object group corresponding to the other label options is located, so as to render and display the 3D models of multiple product objects in the product object group corresponding to the other label options.
[0113] In addition, the device may further include:
[0114] The control unit is used to control the placement of the 3D models of multiple commodity objects on the target plane, the imaging method during the projection process, and / or the viewing angle of the virtual camera, so that the 3D models displayed on the target page are in an easy-to-observe state.
[0115] Furthermore, the device may further include:
[0116] an inertial motion distance determining unit, configured to calculate a distance range of inertial motion generated in the target direction according to a current translation speed of the virtual camera when the sliding operation in the first target direction ends;
[0117] The speed reduction processing unit is used to simulate the inertial motion effect with resistance within the distance range by reducing the translation speed of the virtual camera.
[0118] In order to improve the page display effect, the device may further include:
[0119] An atmosphere element display unit, configured to display a foreground atmosphere element in the target page, wherein the foreground atmosphere element is implemented in the form of a 3D model;
[0120] A speed control unit is used to interpret the sliding operation in the first target direction as a translation operation on the foreground atmosphere element in response to the interactive operation in the first target direction performed by the user, and control the different translation speeds generated by the virtual camera and the foreground atmosphere element to perform parallax scrolling on the 3D models of the multiple commodity objects and the foreground atmosphere element.
[0121] Specifically, the device may further include:
[0122] The rotation response unit is configured to, upon receiving a sliding operation in a second target direction, interpret the sliding operation in the second target direction as a rotation operation performed on the virtual camera, thereby controlling the 3D models of the plurality of commodity objects to rotate synchronously.
[0123] In addition, the device may further include:
[0124] The model scaling processing unit is configured to scale the 3D models of the plurality of commodity objects before rendering and displaying the 3D models if the size span of the 3D models of the plurality of commodity objects is greater than a threshold.
[0125] Specifically, the model acquisition unit can be used to:
[0126] Provides an operation portal for aggregated display of 3D models of multiple product objects by category or theme;
[0127] After receiving an access request through the operation entrance corresponding to the target category or target theme, 3D models of multiple commodity objects corresponding to the target category or target theme are obtained.
[0128] Alternatively, after receiving a product object search request initiated by a target keyword, a target category or target theme is determined based on the target keyword;
[0129] Providing an operation entry for aggregated display of 3D models of multiple product objects corresponding to the target category or target theme on the product object search result page;
[0130] After receiving the access request through the operation portal, 3D models of multiple commodity objects corresponding to the target category or target theme are obtained.
[0131] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of any one of the methods in the aforementioned method embodiments are implemented.
[0132] And an electronic device comprising:
[0133] one or more processors; and
[0134] 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.
[0135] 8 exemplarily shows the architecture of an electronic device. For example, device 800 may 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.
[0136] 8 , device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0137] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 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 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
[0138] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 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.
[0139] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.
[0140] The multimedia component 808 includes a screen that provides an output interface between the device 800 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 touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0141] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0142] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0143] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect changes in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and temperature changes of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 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 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0144] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 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 816 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 816 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.
[0145] In an exemplary embodiment, the device 800 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.
[0146] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions. The instructions can be executed by the processor 820 of the device 800 to perform 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.
[0147] Through the description of the above embodiments, it can be seen 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 this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied 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 a number of 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 various embodiments of the present application or certain parts of the embodiments.
[0148] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, 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 can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.
[0149] The above is a detailed introduction to the commodity object information display method and electronic device provided by this application. Specific examples are used herein to illustrate the principles and implementation methods of this application. The description of the above embodiments is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the contents of this specification should not be understood as limiting this application.
Claims
1. A method for displaying commodity object information, characterized in that: include: Obtaining 3D models of multiple commodity objects to be displayed; Loading a 3D space container in a target page, and placing the 3D models of the multiple commodity objects in a same target plane in the 3D space container; By controlling the position of the virtual camera in the 3D space container, 3D models of multiple commodity objects that enter the shooting range of the virtual camera are rendered and displayed; In the process of responding to the user interaction operation, by parsing the sliding operation in the first target direction as a translation operation, the effect of displaying the 3D models of the multiple commodity objects in the first target direction in the form of information flow is simulated.
2. The method according to claim 1, characterized in that The step of analyzing the sliding operation in the first target direction as a translation operation to simulate the effect of displaying the 3D models of the plurality of commodity objects in the first target direction in the form of an information flow includes: By parsing the sliding operation in the first target direction into a translation operation performed on the virtual camera in the first target direction, an effect of displaying the 3D models of the multiple commodity objects in the form of information flow in the first target direction is simulated.
3. The method according to claim 2, characterized in that Also includes: The multiple commodity objects are divided into multiple commodity object groups; the target page includes multiple label options, each label option corresponds to a commodity object group; Placing the 3D models of the plurality of commodity objects in a same target plane in the 3D space container includes: Dividing the same target plane into a plurality of different regions, respectively corresponding to the plurality of commodity object groups, so as to place the 3D models of the plurality of commodity objects in the regions where the commodity object groups belong; The rendering and displaying of the 3D models of the plurality of commodity objects by controlling the position of the virtual camera in the 3D space container includes: In the initial state, the virtual camera is moved to the area where the commodity object group corresponding to the default selected label option is located, so as to render and display the 3D models of multiple commodity objects in the commodity object group; In response to an operation request to switch to other label options for display, the virtual camera is moved to the area where the commodity object group corresponding to the other label options is located, so as to render and display the 3D models of multiple commodity objects in the commodity object group corresponding to the other label options.
4. The method according to claim 2, characterized in that: Also includes: By controlling the placement of the 3D models of multiple commodity objects on the target plane, the imaging method during the projection process, and / or the viewing angle of the virtual camera, the 3D models displayed on the target page are placed in an easy-to-observe state. state.
5. The method according to claim 2, characterized in that: Also includes: In response to a sliding operation end event in the first target direction, calculating a distance range of inertial motion generated in the target direction according to a current translation speed of the virtual camera; By reducing the translation speed of the virtual camera, an inertial motion effect with resistance within the distance range is simulated.
6. The method according to claim 2, characterized in that Also includes: Displaying a foreground atmosphere element in the target page, wherein the foreground atmosphere element is implemented by means of a 3D model; In the process of responding to the interactive operation in the first target direction performed by the user, the sliding operation in the first target direction is interpreted as a translation operation on the foreground atmosphere element, and the different translation speeds generated by the virtual camera and the foreground atmosphere element are controlled to perform parallax scrolling on the 3D models of the multiple commodity objects and the foreground atmosphere element.
7. The method according to claim 2, characterized in that Also includes: In response to a sliding operation in a second target direction, the 3D models of the plurality of commodity objects are controlled to rotate synchronously by interpreting the sliding operation in the second target direction as a rotation operation performed on the virtual camera.
8. The method according to claim 1, characterized in that Also includes: If the size span of the 3D models of the multiple commodity objects is greater than a threshold, the 3D models of the multiple commodity objects are scaled before being rendered and displayed.
9. The method according to any one of claims 1 to 8, characterized in that: The step of obtaining 3D models of multiple commodity objects to be displayed includes: Provides an operation portal for aggregated display of 3D models of multiple commodity objects by category or theme; After receiving an access request through the operation entrance corresponding to the target category or target theme, 3D models of multiple commodity objects corresponding to the target category or target theme are obtained.
10. The method according to any one of claims 1 to 8, characterized in that: The step of obtaining 3D models of multiple commodity objects to be displayed includes: After receiving a product object search request initiated by a target keyword, determining a target category or a target theme according to the target keyword; Providing an operation entry for aggregately displaying 3D models of multiple commodity objects corresponding to the target category or target theme on the commodity object search result page; After receiving the access request through the operation portal, multiple products corresponding to the target category or target theme are obtained A 3D model of an object.
11. 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 10 are implemented.
12. 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 10.
Citation Information
Patent Citations
Systems and methods for providing a 3-d shopping experience to online shopping environments
CN107077695A
User-commodity interaction method, apparatus, device and storage medium
CN108876563A
Information display method and electronic equipment
CN115527014A
Commodity information display method and device and electronic equipment
CN115545818A
Commodity object information display method and electronic equipment
CN116596611A
