Commodity purchase interaction method and device based on live broadcast room

By establishing a virtual three-dimensional environment model in the live broadcast room and using object detection algorithm to identify products, users can intuitively select and add shopping carts in the virtual environment, solving the problem of low efficiency in the existing technology, improving user experience and adding Purchase efficiency.

CN119052586APending Publication Date: 2024-11-29MIGU DIGITAL MEDIA CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411087475.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

When users watch live shopping, the existing methods of purchasing goods require a long operating link, which is less efficient in purchasing and has low user experience.

Method used

By obtaining spatial environment image information in the live broadcast room, establishing a virtual three-dimensional environment model, displaying products on sale, and using pre-trained object detection algorithms to identify and match product images, users can intuitively select and add them to shopping carts in the virtual environment.

Benefits of technology

It improves the interactive experience and purchase efficiency of shopping, lowers the user's usage threshold, and improves the operation experience and order efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052586A_ABST
    Figure CN119052586A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of virtual reality, and provides a live broadcast room-based commodity purchase interaction method and device, and the method comprises the steps: obtaining the space environment image information of a live broadcast room; based on the space environment image information, a virtual three-dimensional environment model of the live broadcast room is established, the virtual three-dimensional environment model is sent to the client, and on-sale commodities are displayed in the virtual three-dimensional environment model; a first instruction from the client is received, and the first instruction is used for indicating a target commodity selected by a user in the commodities in sale; adding the target commodity into a shopping cart according to the first instruction; and sending the updated shopping cart information to the client, wherein the updated shopping cart information comprises the target commodity. Therefore, not only is the interaction interestingness improved, but also the commodity purchasing efficiency of the user is improved, the use threshold of the user is reduced, and the operation experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of virtual reality technology, and more particularly to a method and device for interactively adding products to a shopping cart based on a live broadcast room. Background Art

[0002] At present, when users are watching live shopping, the way they add the selected products to the shopping cart usually depends on the live shopping platform and its design. There are three specific ways: 1. Directly click to add: There is an "Add to Cart" button in the product display list area of ​​the live platform. Users only need to click the button and the corresponding product will be automatically added to the shopping cart. 2. Add through the product details page: Users need to click on the product to enter the product details page first, and then find the "Add to Cart" option on the page and click it. 3. Add to the shopping cart area: A shopping cart icon is displayed on the live screen. Users can click on the icon to view the list of products that have been added to the shopping cart and continue to add other products. In addition, different platforms may have some unique ways of adding products to the cart, such as gesture operations, voice control, etc.

[0003] In summary, when users want to add their favorite products to the shopping cart while watching a live broadcast, the existing method of adding products to the cart requires a long operation link, has low efficiency, and has a poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a method and device for interactively adding products to a shopping cart based on a live broadcast room, so as to solve the technical problem in the related art that when a user wants to add a desired product to a shopping cart while watching a live broadcast, the existing method of adding products to a shopping cart requires a long operation link, has low efficiency, and provides a poor user experience.

[0005] To solve the above technical problems, the embodiments of the present application provide the following aspects:

[0006] In a first aspect, an embodiment of the present application provides a method for interactively adding products to a shopping cart based on a live broadcast room, the method comprising:

[0007] Obtain spatial environment image information of the live broadcast room;

[0008] Based on the spatial environment image information, a virtual three-dimensional environment model of the live broadcast room is established, and the virtual three-dimensional environment model is sent to the client, and the virtual three-dimensional environment model displays the goods on sale;

[0009] receiving a first indication from a client, wherein the first indication is used to indicate a target product selected by a user among the products on sale;

[0010] According to the first instruction, add the target product to the shopping cart;

[0011] The updated shopping cart information is sent to the client, and the updated shopping cart information includes the target product.

[0012] Optionally, after establishing the virtual three-dimensional environment model of the live studio based on the spatial environment image information, the method further includes:

[0013] Get the live video stream of the live broadcast room, and extract the live video frames from the live video stream;

[0014] Identify product images in live video frames based on pre-trained object detection algorithms;

[0015] Matching the product image with the standard product image stored in a preset product database, and determining the product corresponding to the product image that successfully matches the standard product image as the product on sale;

[0016] The product information of the goods on sale is determined and sent to the client, wherein the product information of the goods on sale is used to indicate that the corresponding goods on sale are displayed in the virtual three-dimensional environment model, wherein the target product is the product selected by the user from the goods on sale.

[0017] Optionally, matching the product image with a standard product image stored in a preset product database, and determining the product corresponding to the product image that successfully matches the standard product image as a product on sale includes:

[0018] Comparing the product image with the standard product image to determine the similarity of the product image to the standard product image;

[0019] If the similarity is greater than or equal to the first preset threshold, the product image corresponding to the similarity is determined to be successfully matched with the standard product image, and the product corresponding to the product image corresponding to the similarity is determined as a product on sale.

[0020] In a second aspect, an embodiment of the present application provides a method for interactively adding products to a shopping cart based on a live broadcast room, the method comprising:

[0021] receiving a virtual three-dimensional environment model of the live broadcast room sent by the server, wherein the virtual three-dimensional environment model is generated based on the spatial environment image information of the live broadcast room, and the virtual three-dimensional environment model displays the goods on sale;

[0022] Obtaining the user's purchase order for the target product among the products on sale;

[0023] According to the add-to-cart instruction, a first instruction is sent to the server, where the first instruction is used to instruct to add the target product to the shopping cart;

[0024] Receive updated shopping cart information from the server, where the updated shopping cart information includes the target product;

[0025] Display the updated shopping cart information.

[0026] Optionally, the target product is displayed in a preset area in the virtual three-dimensional environment model, and obtaining a user's purchase instruction for the target product includes:

[0027] Get the user's first click operation in the preset area;

[0028] A display interface pops up according to the first click operation, wherein the display interface includes a plurality of commodities for sale displayed in a preset area;

[0029] Obtain a user's additional purchase instruction for a target product among multiple products on sale.

[0030] Optionally, the purchase instruction includes at least one of the following:

[0031] The user performs a pressing operation on the target product, and the duration of the pressing operation is greater than or equal to a second preset threshold;

[0032] A second click operation by the user on the target product and a drag operation of dragging the target product to the icon of the shopping cart;

[0033] The user performs a third click operation on the target product and a fourth click operation on the icon of the shopping cart, and an interval time between the third click operation and the fourth click operation is less than or equal to a third preset threshold.

[0034] Optionally, when the target product is not fully displayed in the virtual three-dimensional environment model, the method further includes:

[0035] Receiving a sliding instruction from a user with respect to a virtual three-dimensional environment model;

[0036] Sending a second instruction to the server according to the sliding instruction, where the second instruction is used to instruct to adjust the virtual three-dimensional environment model;

[0037] The adjusted virtual three-dimensional environment model is received and displayed, and the target product is fully displayed in the adjusted virtual three-dimensional environment model.

[0038] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of an interactive method for adding products to a shopping cart based on a live broadcast room are implemented as described in the first aspect or the second aspect.

[0039] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of an interactive method for adding merchandise to a shopping cart based on a live broadcast room as described in the first aspect or the second aspect are implemented.

[0040] In a fifth aspect, an embodiment of the present application provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of an interactive method for adding products to a shopping cart based on a live broadcast room as described in the first aspect or the second aspect.

[0041] In summary, the server will obtain the spatial environment image information of the live broadcast room, and then establish a virtual three-dimensional environment model based on this information. In this virtual three-dimensional environment model, the goods on sale will be displayed. When the user selects the target product on the client, the server will receive this instruction (first instruction) and add the target product to the shopping cart. As a result, users can intuitively browse and select products in the virtual three-dimensional environment model, thereby enhancing the interactive shopping experience and increasing user participation. It not only improves the fun of interaction, but also improves the efficiency of users' product purchases, indirectly improves the efficiency of placing orders, lowers the user's usage threshold, and improves the user's operating experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0043] Figure 1 A flowchart of a method for interactively adding products to a live broadcast room provided in an embodiment of the present application;

[0044] Figure 2 A flowchart of a method for interactively adding products to a live broadcast room provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of an interface for dragging a product to a shopping cart based on a live broadcast room provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of an interface when a product is temporarily out of the picture provided in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of an interface for adding products to a purchase when multiple products overlap, provided in an embodiment of the present application;

[0048] Figure 6A flowchart of a method for interactively adding products to a live broadcast room provided in an embodiment of the present application;

[0049] Figure 7 A structural block diagram of a commodity purchase interaction device based on a live broadcast room provided in an embodiment of the present application;

[0050] Figure 8 A structural block diagram of a commodity purchase interaction device based on a live broadcast room provided in an embodiment of the present application;

[0051] Fig. 9 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] 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 part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] Figure 1 A method for interactively adding products to a live broadcast room is shown according to an embodiment of the present application. The method is applied to a server, such as Figure 1 As shown, the method includes:

[0054] Step S101, obtaining spatial environment image information of the live broadcast room;

[0055] Step S102: Building a virtual three-dimensional environment model of the live studio based on the spatial environment image information, and sending the virtual three-dimensional environment model to the client;

[0056] Among them, the virtual three-dimensional environment model displays the goods for sale;

[0057] Step S103: receiving a first instruction from the client;

[0058] The first indication is used to indicate the target product selected by the user among the products on sale;

[0059] Step S104, adding the target product to the shopping cart according to the first instruction;

[0060] Step S105: Send the updated shopping cart information to the client, where the updated shopping cart information includes the target product.

[0061] In step S101 to step S102, a camera or other sensor device may be used to capture the real-time spatial environment image information of the live broadcast room. This information may include the layout and items of the live broadcast room, so as to subsequently build a virtual three-dimensional environment model and send the virtual three-dimensional environment model to the client. In this model, the products on sale in the live broadcast room will be displayed, allowing users to browse and select products in the virtual environment.

[0062] In a possible implementation, after establishing a virtual three-dimensional environment model of the live broadcast room based on the spatial environment image information in step S102, the method further includes: obtaining a live video stream of the live broadcast room, and extracting live video frames from the live video stream; identifying product images in the live video frames according to a pre-trained target detection algorithm; matching the product images with standard product images stored in a preset product database, and determining the product corresponding to the product image that successfully matches the standard product image as a product on sale; determining product information of the product on sale, and sending the product information of the product on sale to the client, wherein the product information of the product on sale is used to indicate that the corresponding product on sale is displayed in the virtual three-dimensional environment model, and wherein the target product is the product selected by the user from the products on sale. Among them, matching the product image with the standard product image stored in a preset product database, and determining the product corresponding to the product image that successfully matches the standard product image as a product on sale includes: performing a similarity comparison between the product image and the standard product image to determine the similarity of the product image relative to the standard product image; if the similarity is greater than or equal to a first preset threshold, determining that the product image corresponding to the similarity successfully matches the standard product image, and determining the product corresponding to the product image corresponding to the similarity as a product on sale.

[0063] The products on sale may be highlighted in the virtual three-dimensional environment model, such as by highlighting, magnifying, etc. And the preset product database may be a product image database on sale of the online shopping platform.

[0064] It should be noted that, first, a camera client equipped with a depth sensor (such as an RGB-D camera) can be used to capture the live video stream in real time. Such a camera client can capture both the color image and depth information of the environment. Then, the captured video stream is decoded into continuous image frames, including color image frames and corresponding depth image frames, through a video stream processing library (such as FFmpeg).

[0065] Among them, an RGB-D camera is a camera with RGB (red, green, and blue) color images and D (depth information). Traditional RGB cameras can only capture color images, while RGB-D cameras can simultaneously obtain color images and the distance from each pixel to the camera (depth information). This depth information can help calculate the distance, shape, and surface details of objects, thus playing an important role in the fields of computer vision and 3D reconstruction.

[0066] FFmpeg is an open source cross-platform audio and video processing tool that can be used to record, convert and stream audio and video content. It contains a set of audio and video processing libraries and tools that can handle various audio and video formats, including transcoding, decoding, encoding, streaming media processing and other functions. FFmpeg can run on multiple operating systems, including Windows, macOS and various Linux distributions. Due to its powerful and flexible functions, FFmpeg is widely used in audio and video processing, streaming services, video editing software and other fields.

[0067] Secondly, the object detection algorithm is applied to the color image frame obtained above. These algorithms are trained to identify the products in the image and provide the location (bounding box) and size information of the products. With this information, the product image can be accurately extracted. The object detection algorithm can be YOLO (You Only Look Once, object detection algorithm).

[0068] In a specific application scenario, if the target detection algorithm is YOLO, when pre-training YOLO, you can collect pictures covering various product categories, angles, lighting conditions, and backgrounds as a data set. Label the pictures to mark the location and category of each product. Convert the pictures and annotation information into a format that YOLOv8 can recognize (such as YOLO format). Divide the data set into a training set, a validation set, and a test set. Use the official code or open source implementation of YOLOv8 for model training. Configure training parameters such as learning rate, batch size, number of training rounds, etc. Use data augmentation technology to improve the generalization ability of the model. Use the validation set and test set to evaluate the performance of the model. Deploy the trained model to the real-time detection system, perform product detection frame by frame for the input video, mark the location of the detected product with a bounding box, and identify its category. The detection results can be presented to the user in a visual form (such as superimposed bounding boxes and category labels). For the identified target products, a tracking algorithm (such as KCF, SiameseRPN, etc.) can be used to reduce the computational complexity of repeated detection. Repeated detection is performed every 30 frames to prevent the tracking algorithm from drifting.

[0069] Afterwards, computer vision and 3D reconstruction technologies, such as SLAM (simultaneous localization and mapping) and SFM (Structure from motion), combined with the depth image frames obtained above, can be used to reconstruct a virtual 3D environment model of the live broadcast space. This model contains information such as the position, shape, and size of objects in the environment, providing a basis for subsequent virtual display.

[0070] In addition, the product images extracted in the above steps can be compared with the product database on the platform according to the product image matching platform product information on sale. Through image recognition technology (such as feature matching, deep learning classification, etc.), find the product information on sale that best matches the product image. In order to improve the accuracy of the match, a certain threshold (such as a similarity threshold) is set. When the matching degree exceeds the threshold, it is considered a successful match. The outline of the successfully matched product image is displayed in the virtual three-dimensional environment model. According to the product information identified in the above steps and the established virtual three-dimensional environment model, the product image outline is mapped to the corresponding position in the virtual three-dimensional environment model. Use three-dimensional graphics rendering technology (such as OpenGL, Unity, etc.) to mark these product image outlines in the virtual three-dimensional environment model.

[0071] It should also be noted that high-precision three-dimensional modeling should be carried out for the live broadcast products. When the products are displaced or rotated, the high-precision three-dimensional model of the virtual space can undergo corresponding changes to ensure accurate and real-time correspondence between the model and the product.

[0072] In step S103 to step S105, the first instruction will inform the server which product the user has selected. The server will add the product to the shopping cart and send the updated shopping cart information to the client so that the user can view and purchase it later. The shopping cart includes the target product selected by the user and other products that may have been added to the shopping cart. The user can view the shopping cart content, confirm the purchase or continue to browse the products.

[0073] In summary, the server will obtain the spatial environment image information of the live broadcast room, and then establish a virtual three-dimensional environment model based on this information. In this virtual three-dimensional environment model, the goods on sale will be displayed. When the user selects the target product on the client, the server will receive this instruction (first instruction) and add the target product to the shopping cart. As a result, users can intuitively browse and select products in the virtual three-dimensional environment model, thereby enhancing the interactive shopping experience and increasing user participation. It not only improves the fun of interaction, but also improves the efficiency of users' product purchases, indirectly improves the efficiency of placing orders, lowers the user's usage threshold, and improves the user's operating experience.

[0074] Figure 2 A method for interactively adding products to a live broadcast room is shown according to an embodiment of the present application. The method is applied to a client, such as Figure 2 As shown, the method includes:

[0075] Step S201, receiving a virtual three-dimensional environment model of a live broadcast room sent by a server;

[0076] The virtual three-dimensional environment model is generated based on the spatial environment image information of the live broadcast room, and the products on sale are displayed in the virtual three-dimensional environment model;

[0077] Step S202: obtaining a user's purchase instruction for a target product among the products on sale;

[0078] Step S203: Send a first instruction to the server according to the purchase addition instruction;

[0079] The first instruction is used to instruct to add the target product to the shopping cart;

[0080] Step S204: receiving updated shopping cart information from the server, where the updated shopping cart information includes the target product;

[0081] Step S205: display the updated shopping cart information.

[0082] It should be noted that Figure 2 The interactive method for adding products to a live broadcast room is executed on the client side. The specific description can be Figure 1 The product purchase interaction method based on the live broadcast room executed on the server side is shown for reference only and will not be repeated here.

[0083] It should be noted that the add-to-cart instruction includes at least one of the following: a press operation by the user on the target product, and the duration of the press operation is greater than or equal to a second preset threshold; a second click operation by the user on the target product and a drag operation of dragging the target product to the shopping cart icon; a third click operation by the user on the target product and a fourth click operation on the shopping cart icon, and the interval time between the third click operation and the fourth click operation is less than or equal to the third preset threshold.

[0084] In a possible implementation, the target product is displayed in a preset area in the virtual three-dimensional environment model, and step S202, obtaining a user's purchase instruction for the target product includes: obtaining a first click operation of the user in the preset area; popping up a display interface according to the first click operation, wherein the display interface includes multiple products on sale displayed in the preset area; and obtaining a user's purchase instruction for the target product among the multiple products on sale.

[0085] It should be noted that the client detects the user's input of touching the screen or operating the mouse. When the user clicks on the marked product image on the screen, the client will identify the clicked product. If there are multiple products in the area pressed by the user, the client can display a pop-up menu or floating window, listing all selectable products in the area, and allow the user to select in batches by sliding, clicking, etc. After the user selects a product, the client will record the product information selected by the user.

[0086] From the perspective of technical implementation, the client can read the resolution, pixel density and other parameters of the device screen. By detecting the continuous input points of the user touching the screen or the mouse, the motion trajectory of the user's dragging operation can be identified. The client can pre-define the coordinate range of the add to cart operation area on the screen. The client can determine whether these coordinates overlap with the coordinates of the add to cart operation area based on the coordinates of the identified user dragging motion trajectory (such as Figure 3 If they overlap, the client triggers the add-to-cart operation, and the client sends the target product information selected by the user to the server. The server updates the user's shopping cart information and returns the update result to the client (corresponding to steps S202 to S205). The client updates the user interface (such as displaying the change in the shopping cart quantity) based on the result returned by the server, and feeds back the operation result to the user.

[0087] It should be noted that in order to improve the accuracy of clicking on products, there may be a brief absence of the screen, overlapping of multiple products, or obstruction by other objects. In a possible implementation, the following solution is provided.

[0088] For short-term painting (such as Figure 4 When the product is out of the live broadcast range, the user can manually drag the page to achieve the effect of panning the 3D space perspective, and the product space modeling maintains the position, size and shape before leaving the picture. When the product reappears on the camera page, the product detection is re-performed and the original modeling information is cleared.

[0089] It should be noted that when the target product is not fully displayed in the virtual three-dimensional environment model, the method also includes: receiving a sliding instruction from the user for the virtual three-dimensional environment model; sending a second instruction to the server according to the sliding instruction, the second instruction being used to instruct adjustment of the virtual three-dimensional environment model; receiving and displaying the adjusted virtual three-dimensional environment model, in which the target product is fully displayed.

[0090] For multiple product overlaps (such as Figure 5As shown in the figure): The historical recognition results of the video frames can be saved, and the information of all products in the current overlapping range can be recorded. The client can display a pop-up menu or floating window to list all selectable products in the area, and allow users to select in batches by sliding, clicking, etc., and drag and drop to add to the cart.

[0091] Regarding continuity and occlusion issues: real-time comparison is performed when not blocked by other items. When blocked, the products in the 3D space remain unchanged and users can add them to the cart normally.

[0092] This can improve the accuracy of product identification and clicks.

[0093] Figure 1 and Figure 2 The execution entities of the method shown are the server and the shopping end. Figure 6 An overall interactive method for adding products to a purchase in a live broadcast room is shown, and it should be noted that: Figure 1 , Figure 2 , Figure 6 The method shown can be implemented based on MR (Mixed Reality) technology.

[0094] Mixed reality is an augmented reality technology that integrates elements of the real world and the virtual world. In mixed reality, virtual objects interact with objects in the real world and can coexist in the same space. This technology combines the characteristics of augmented reality and virtual reality, allowing users to interact with virtual objects in real time while retaining the real world environment. Mixed reality technology is usually implemented through devices such as head-mounted display devices or smartphones. These devices can sense the user's surroundings through built-in sensors and cameras, and superimpose virtual objects into the user's field of view in real time, creating an immersive experience that blends virtual and real.

[0095] In summary, based on the current way of adding products to the shopping cart when users are watching live broadcasts, a new interactive method is added, that is, the dynamic background image of the live broadcast scene is collected, and the product image is identified based on the dynamic background image, and matched with the product information on sale on the live broadcast platform, and the matched product information is marked. Users can click and drag the marked product image on the screen of the device watching the live broadcast to complete the adding to the shopping cart operation. It solves the needs of users to watch and add to cart in real time, and there is no need to slide to view or search for specified products in the product display list area of ​​the live broadcast interface, which improves the efficiency of placing orders.

[0096] Compared with the existing methods of adding items to a live broadcast room, such as clicking on the shopping cart graphical interface through the product display list area of ​​the live broadcast interface, or clicking on the shopping cart graphical interface through the product details page or the shopping cart area, it requires a long operation link and operation time, and it is impossible to add the specified product that is being introduced or has been introduced during the live broadcast to the shopping cart with one click. The method shown in the embodiment of the present application can solve the user's needs for real-time viewing and real-time addition of purchases. Based on MR virtual reality technology, it can identify the product images displayed in the dynamic live broadcast scene in real time, and match them with the products on sale on the live broadcast platform, and guide the user to click and drag the target product image on the screen of the device watching the live broadcast, and complete the addition to the shopping cart operation with one click. It not only improves the fun of interaction, but also improves the efficiency of adding purchases and placing orders, and lowers the user's usage threshold. It can be widely used in live shopping apps (APPlication, application).

[0097] Figure 7 A commodity purchase interaction device based on a live broadcast room is shown according to an embodiment of the present application. Figure 7 As shown, the device 70 includes:

[0098] An acquisition module 701 is used to acquire spatial environment image information of a live broadcast room;

[0099] The first execution module 702 is used to establish a virtual three-dimensional environment model of the live broadcast room based on the spatial environment image information, and send the virtual three-dimensional environment model to the client, where the virtual three-dimensional environment model displays the goods on sale;

[0100] receiving a first indication from a client, wherein the first indication is used to indicate a target product selected by a user among the products on sale;

[0101] According to the first instruction, add the target product to the shopping cart;

[0102] The updated shopping cart information is sent to the client, and the updated shopping cart information includes the target product.

[0103] In a possible implementation, the first execution module 702 is further configured to obtain a live video stream of the live broadcast room after establishing a virtual three-dimensional environment model of the live broadcast room based on the spatial environment image information, and extract a live video frame from the live video stream;

[0104] Identify product images in live video frames based on pre-trained object detection algorithms;

[0105] Matching the product image with the standard product image stored in a preset product database, and determining the product corresponding to the product image that successfully matches the standard product image as the product on sale;

[0106] The product information of the goods on sale is determined and sent to the client, wherein the product information of the goods on sale is used to indicate that the corresponding goods on sale are displayed in the virtual three-dimensional environment model, wherein the target product is the product selected by the user from the goods on sale.

[0107] In a possible implementation, the first execution module 702 is further configured to perform a similarity comparison between the product image and the standard product image to determine the similarity between the product image and the standard product image;

[0108] If the similarity is greater than or equal to the first preset threshold, the product image corresponding to the similarity is determined to be successfully matched with the standard product image, and the product corresponding to the product image corresponding to the similarity is determined as a product on sale.

[0109] Figure 8 A commodity purchase interaction device based on a live broadcast room is shown according to an embodiment of the present application. Figure 8 As shown, the device 80 includes:

[0110] The receiving module 801 is used to receive a virtual three-dimensional environment model of the live broadcast room sent by the server, wherein the virtual three-dimensional environment model is generated based on the spatial environment image information of the live broadcast room, and the virtual three-dimensional environment model displays the goods on sale;

[0111] The second execution module 802 is used to obtain a user's purchase instruction for a target product among the products on sale;

[0112] According to the add-to-cart instruction, a first instruction is sent to the server, where the first instruction is used to instruct to add the target product to the shopping cart;

[0113] Receive updated shopping cart information from the server, where the updated shopping cart information includes the target product;

[0114] Display the updated shopping cart information.

[0115] In a possible implementation, the target product is displayed in a preset area in the virtual three-dimensional environment model, and the second execution module 802 is used to obtain a first click operation of the user in the preset area; pop up a display interface according to the first click operation, wherein the display interface includes a plurality of products for sale displayed in the preset area;

[0116] Obtain a user's additional purchase instruction for a target product among multiple products on sale.

[0117] In a possible implementation, the additional purchase instruction includes at least one of the following:

[0118] The user performs a pressing operation on the target product, and the duration of the pressing operation is greater than or equal to a second preset threshold;

[0119] A second click operation by the user on the target product and a drag operation of dragging the target product to the icon of the shopping cart;

[0120] The user performs a third click operation on the target product and a fourth click operation on the icon of the shopping cart, and an interval time between the third click operation and the fourth click operation is less than or equal to a third preset threshold.

[0121] In a possible implementation, the second execution module 802 is further configured to receive a sliding instruction from a user on the virtual three-dimensional environment model when the target product is not completely displayed in the virtual three-dimensional environment model;

[0122] Sending a second instruction to the server according to the sliding instruction, where the second instruction is used to instruct to adjust the virtual three-dimensional environment model;

[0123] The adjusted virtual three-dimensional environment model is received and displayed, and the target product is fully displayed in the adjusted virtual three-dimensional environment model.

[0124] In summary, the server will obtain the spatial environment image information of the live broadcast room, and then build a virtual three-dimensional environment model based on this information, and send the virtual three-dimensional environment model to the client for display. In this virtual three-dimensional environment model, the goods on sale will be displayed. When the user selects the target product on the client, the server will receive this instruction and add the target product to the shopping cart. As a result, users can browse and select products intuitively in the virtual three-dimensional environment model, thereby improving the interactive experience of shopping, increasing user participation, and not only improving the fun of interaction, but also improving the efficiency of users' product purchases, indirectly improving the efficiency of placing orders, lowering the user's usage threshold, and improving the user's operating experience.

[0125] The present application embodiment also provides an electronic device 90, such as Fig. 9 As shown, it includes: a processor 901, a memory 902, and a program stored in the memory 902 and executable on the processor 901. When the program is executed by the processor, the steps of a method for interactively adding products to a live broadcast room are implemented as shown in the above embodiment.

[0126] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a method for interactively adding products to a live broadcast room shown in the above method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0127] An embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the steps of an interactive method for adding goods to a shopping cart based on a live broadcast room shown in the above method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0128] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an 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 is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a client (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0130] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A commodity purchase interaction method based on a live broadcast room, characterized in that: The method comprises: Obtain spatial environment image information of the live broadcast room; Based on the spatial environment image information, a virtual three-dimensional environment model of the live broadcast room is established, and the virtual three-dimensional environment model is sent to the client, wherein the virtual three-dimensional environment model displays the goods on sale; receiving a first indication from the client, wherein the first indication is used to indicate a target commodity selected by a user among the commodities on sale; According to the first instruction, adding the target product to the shopping cart; The updated shopping cart information is sent to the client, wherein the updated shopping cart information includes the target product.

2. The method according to claim 1, characterized in that After establishing the virtual three-dimensional environment model of the live studio based on the spatial environment image information, the method further includes: Acquire a live video stream of the live broadcast room, and extract a live video frame from the live video stream; Identify the product image in the live video frame according to a pre-trained object detection algorithm; Matching the product image with a standard product image stored in a preset product database, and determining the product corresponding to the product image that successfully matches the standard product image as the product on sale; Determine the product information of the product on sale, and send the product information of the product on sale to the client, wherein the product information of the product on sale is used to indicate that the corresponding product on sale is displayed in the virtual three-dimensional environment model, wherein the target product is the product selected by the user from the products on sale.

3. The method according to claim 2, characterized in that Matching the product image with a standard product image stored in a preset product database, and determining the product corresponding to the product image that successfully matches the standard product image as the product on sale includes: performing a similarity comparison between the product image and the standard product image to determine a similarity between the product image and the standard product image; If the similarity is greater than or equal to a first preset threshold, it is determined that the product image corresponding to the similarity is successfully matched with the standard product image, and the product corresponding to the product image corresponding to the similarity is determined as the product on sale.

4. A commodity purchase interaction method based on a live broadcast room, characterized in that: The method comprises: Receiving a virtual three-dimensional environment model of a live broadcast room sent by a server, wherein the virtual three-dimensional environment model is generated based on spatial environment image information of the live broadcast room, and the virtual three-dimensional environment model displays goods on sale; Obtaining a user's purchase instruction for a target product among the products on sale; According to the add-to-cart instruction, a first instruction is sent to the server, where the first instruction is used to instruct to add the target product to the shopping cart; Receiving updated shopping cart information from the server, wherein the updated shopping cart information includes the target product; The updated shopping cart information is displayed.

5. The method according to claim 4, characterized in that The target product is displayed in a preset area in the virtual three-dimensional environment model, and obtaining a user's purchase instruction for the target product includes: Acquire the first click operation of the user in the preset area; A display interface pops up according to the first click operation, wherein the display interface includes a plurality of commodities on sale displayed in the preset area; Acquire an additional purchase instruction from the user for the target product among the plurality of products on sale.

6. The method according to claim 4 or 5, characterized in that: The additional purchase instruction includes at least one of the following: The user performs a pressing operation on the target product, and the duration of the pressing operation is greater than or equal to a second preset threshold; The user's second click operation on the target product and a drag operation of dragging the target product to the icon of the shopping cart; The user performs a third click operation on the target product and a fourth click operation on the icon of the shopping cart, and an interval time between the third click operation and the fourth click operation is less than or equal to a third preset threshold.

7. The method according to claim 4, characterized in that When the target product is not fully displayed in the virtual three-dimensional environment model, the method further includes: receiving a sliding instruction from the user with respect to the virtual three-dimensional environment model; Sending a second instruction to the server according to the sliding instruction, wherein the second instruction is used to instruct to adjust the virtual three-dimensional environment model; The adjusted virtual three-dimensional environment model is received and displayed, wherein the target product is fully displayed in the adjusted virtual three-dimensional environment model.

8. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the interactive method for adding goods to a purchase based on a live broadcast room as described in any one of claims 1-3, or the program, when executed by the processor, implements the steps of the interactive method for adding goods to a purchase based on a live broadcast room as described in any one of claims 4-7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the interactive method for adding goods to a shopping cart based on a live broadcast room as described in any one of claims 1-3, or, when executed by the processor, implements the steps of the interactive method for adding goods to a shopping cart based on a live broadcast room as described in any one of claims 4-7.

10. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the interactive method for adding goods to a shopping cart based on a live broadcast room as described in any one of claims 1-3, or, when executed by the processor, implement the steps of the interactive method for adding goods to a shopping cart based on a live broadcast room as described in any one of claims 4-7.