Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method for implanting a native commodity, a device for implanting a native commodity, an electronic apparatus, and a computer-readable storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a method of native commodity implantation, comprising: playing the video; receiving a commodity image operation instruction of a user clicking the video, wherein the commodity image is rendered and superposed to the video; responding to the operation instruction, and calling target commodity information corresponding to the commodity image; and adding the target commodity to the shopping list of the user, and displaying the target commodity information.
In an embodiment, the method further comprises: acquiring an original video; acquiring a corresponding commodity image based on a target commodity; and rendering the commodity image, and superposing the commodity image to the target position of the original video to obtain the video.
In one embodiment, acquiring a corresponding product image based on a target product includes: and if the original video comprises the image of the target commodity, generating a commodity image based on the image of the target commodity in the original video.
In one embodiment, acquiring a corresponding product image based on the target product further includes: and identifying the original video based on the target commodity through the commodity identification model, and judging whether the original video contains a commodity image.
In an embodiment, the method includes the steps of rendering an image of a commodity, and superimposing the image of the commodity on a target position of an original video to obtain a video, and further includes: determining a target position in the original video based on the commodity image; and rendering the commodity image according to the target position, and superposing the commodity image to the target position.
In one embodiment, determining the target location in the original video based on the merchandise image comprises: determining a category of the target commodity based on the target commodity; identifying scene information of an original video through a scene model; and determining the target position of the superposable commodity image in the original video based on the scene information.
In one embodiment, acquiring a corresponding product image based on a target product includes: determining a category of the target commodity based on the target commodity; acquiring a personal tag of a user; and determining the target commodity based on the category of the target commodity and the personal label, and acquiring a corresponding commodity image.
In one embodiment, acquiring a corresponding product image based on a target product includes: acquiring geographical position information of a user; acquiring nearby merchant information based on the geographic position information; and determining a target commodity based on the information of nearby merchants, and acquiring a corresponding commodity image.
In one embodiment, the commodity image comprises link information, and target commodity information corresponding to the commodity image is called through the link information.
In an embodiment, the method further comprises: and receiving a purchase instruction of the user, and purchasing the specified target commodity in the shopping list.
According to a second aspect of embodiments of the present disclosure, there is provided a native merchandise implantation device, comprising: a playing unit for playing a video; the receiving unit is used for receiving an operation instruction of clicking a commodity image in the video by a user, wherein the commodity image is rendered and superposed to the video; the calling unit is used for calling target commodity information corresponding to the commodity image in response to the operation instruction; and the purchasing unit is used for adding the target commodity to the shopping list of the user and displaying the target commodity information.
In an embodiment, the apparatus further comprises: an acquisition unit configured to acquire an original video; the image generation unit is used for acquiring a corresponding commodity image based on the target commodity; and the rendering unit is used for overlaying the commodity image to the target position of the original video through rendering to obtain the video.
In an embodiment, the image generation unit is configured to: and if the original video comprises the image of the target commodity, generating a commodity image based on the image of the target commodity in the original video.
In an embodiment, the image generation unit is further configured to: and identifying the original video based on the target commodity through the commodity identification model, and judging whether the original video contains a commodity image.
In an embodiment, the rendering unit is to: determining a target position in the original video based on the commodity image; and rendering the commodity image according to the target position, and superposing the commodity image to the target position.
In an embodiment, the rendering unit is to: determining a category of the target commodity based on the target commodity; identifying scene information of an original video through a scene model; and determining the target position of the superposable commodity image in the original video based on the scene information.
In an embodiment, the image generation unit is configured to: determining a category of the target commodity based on the target commodity; acquiring a personal tag of a user; and determining the target commodity based on the category of the target commodity and the personal label, and acquiring a corresponding commodity image.
In an embodiment, the image generation unit is configured to: acquiring geographical position information of a user; acquiring nearby merchant information based on the geographic position information; and determining a target commodity based on the information of nearby merchants, and acquiring a corresponding commodity image.
In one embodiment, the commodity image comprises link information, and target commodity information corresponding to the commodity image is called through the link information.
In an embodiment, the purchasing unit is further adapted to: and receiving a purchase instruction of the user, and purchasing the specified target commodity in the shopping list.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a memory to store instructions; and a processor for invoking the memory-stored instructions to perform the native commodity implantation method of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing instructions that, when executed by a processor, perform the method for implanting a native commodity of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through the image of the commodity of planting in the video in situ, can improve user's interactivity, the interest in watching the video in-process to combine with the scene, do not influence and watch the effect, conveniently click, more efficient amazing consumption.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In some technologies, in the process of watching a video by a user, the commodity advertisement is displayed through a popup window at the position of an edge such as a corner, so that the watching experience is influenced, the user cannot click to view the commodity advertisement, and the targeted putting effect cannot be realized.
To solve the above problems, the present disclosure provides a nativecommodity implanting method 10, which can be applied to a server, or a video platform, referring to fig. 1, the nativecommodity implanting method 10 includes steps S11-S14, which are described in detail below:
in step S11, the video is played.
The video selected by the user can be played in a video website or a video APP based on the on-demand instruction of the user. The video may be a video in which the implantation of the original commodity is completed locally or by other equipment, or a video generated according to information of the user, the merchant and the like when the user requests the video.
And step S12, receiving an operation instruction of clicking the commodity image in the video by the user, wherein the commodity image is superposed on the video through rendering.
The video is implanted originally, a rendered commodity image is superposed, and the commodity image is fused into a scene in the video. When a user watches the video, the user can interact with the video and click in the video, and when the clicked area is an implanted commodity image, a corresponding operation instruction is generated, and commodity information and the like can be obtained; and when clicking in other areas, no special operation is generated.
In step S13, in response to the operation instruction, target product information corresponding to the product image is retrieved.
The information corresponding to the target commodity is called according to the clicked commodity image, the information can include information such as an original picture and price of the product, and is convenient for a user to refer to, the link information can be set on the commodity image, the target commodity information corresponding to the commodity image is called through the link information, and a click instruction can be realized through a hyperlink or other modes, and the disclosure is not limited.
Step S14, adding the target commodity to the shopping list of the user, and displaying the target commodity information. The shopping list can be displayed at the video side, target product information can be displayed, the user can add and delete products in the list, and in one example, a purchase instruction of the user can be received to purchase a specified target product in the shopping list. Thereby more conveniently realizing the purchase.
Through the embodiment, the user experience can be improved, the video interactivity is increased, and the advertisement conversion rate is improved.
In one embodiment, as shown in FIG. 2, the nativemerchandise implantation method 10 may further comprise: step S15, acquiring an original video; step S16, acquiring corresponding commodity images based on the target commodities; and step S17, the commodity image is rendered and superposed to the target position of the original video to obtain the video. In this example, on the basis of the original video, the commodity image of the target commodity is rendered and superimposed to the target position in the original video, so that the video watched by the user is obtained.
Wherein, in some embodiments, step S16 may include: and if the original video comprises the image of the target commodity, generating a commodity image based on the image of the target commodity in the original video. In some cases, the target product is already included in some scene images in the original video, and in this case, a uniform product image is generated according to the images in the original video and superimposed on the original position. The commodity images in the original video can be manually screened; in other embodiments, the original video may also be identified based on the target product through the product identification model, whether the original video contains the product image is determined, and whether the original video contains the image of the target product is identified through the model by inputting the original video and the target product into the product identification model, so that the production efficiency and the effect are improved.
In still other embodiments, step S16 may further include: determining a category of the target commodity based on the target commodity; acquiring a personal tag of a user; and determining the target commodity based on the category of the target commodity and the personal label, and acquiring a corresponding commodity image. According to the target commodity, the category of the target commodity, such as sports, clothes, cosmetics and the like, is determined, and meanwhile, the personal tag of the watching user is obtained, wherein the personal tag of the user is information of the user like the user obtained through big data according to the network behavior of the user. And matching the personal label with the category of the commodity, and determining the commodity which is possibly interested by the user, thereby acquiring a commodity image of the commodity and further carrying out video production. The embodiment adjusts the implanted commodities according to the individuation of the user, thereby improving the conversion rate and enabling the user to obtain interested information.
In still other embodiments, step S16 may further include: acquiring geographical position information of a user; acquiring nearby merchant information based on the geographic position information; and determining a target commodity based on the information of nearby merchants, and acquiring a corresponding commodity image. In the embodiment, the geographical position information of the user can be acquired according to the information such as the ip of the user, the merchants near the user are determined based on the geographical position of the user, and then the commodity information provided by the merchants near the user is determined according to the merchants, such as some catering commodities and other commodities convenient for timely delivery, so that commodities which can be acquired by the user immediately are implanted into the original video, the user experience is further improved, the user participation is also improved, and the consumption is stimulated.
In one embodiment, step S17 may include: determining a target position in the original video based on the commodity image; and rendering the commodity image according to the target position, and superposing the commodity image to the target position. When implanting, the implantable target site may be determined in the raw video, followed by rendering and overlaying of the merchandise images.
In some embodiments, determining the target location may be by: determining a category of the target commodity based on the target commodity; identifying scene information of an original video through a scene model; and determining the target position of the superposable commodity image in the original video based on the scene information. The type of the commodity is determined, the scene in the original video is analyzed and judged through a scene model, and the target position capable of being implanted is found according to the category of the target commodity. Therefore, implantation can be performed efficiently, particularly in the personalized implantation embodiment, after the user personal tag or the geographic position is obtained, the target position is quickly searched, and personalized implantation is performed, so that the pertinence and the conversion rate of advertisement implantation are improved.
Based on the same inventive concept, fig. 3 illustrates a native commodity implantation device 100, and as shown in fig. 3, the native commodity implantation device 100 includes: a playing unit 110 for playing a video; the receiving unit 120 is configured to receive an operation instruction of clicking a commodity image in a video by a user, where the commodity image is rendered and superimposed on the video; the retrieval unit 130 is configured to retrieve target commodity information corresponding to the commodity image in response to the operation instruction; the purchasing unit 140 is configured to add the target product to a shopping list of the user and display information of the target product.
In one embodiment, as shown in FIG. 4, the native commodity implantation device 100 further comprises: an obtaining unit 150 for obtaining an original video; an image generating unit 160 for acquiring a corresponding product image based on the target product; and the rendering unit 170 is configured to render the commodity image and superimpose the commodity image on a target position of the original video to obtain a video.
In an embodiment, the image generation unit 160 is configured to: and if the original video comprises the image of the target commodity, generating a commodity image based on the image of the target commodity in the original video.
In an embodiment, the image generation unit 160 is further configured to: and identifying the original video based on the target commodity through the commodity identification model, and judging whether the original video contains a commodity image.
In an embodiment, the rendering unit 170 is configured to: determining a target position in the original video based on the commodity image; and rendering the commodity image according to the target position, and superposing the commodity image to the target position.
In an embodiment, the rendering unit 170 is configured to: determining a category of the target commodity based on the target commodity; identifying scene information of an original video through a scene model; and determining the target position of the superposable commodity image in the original video based on the scene information.
In an embodiment, the image generation unit 160 is configured to: determining a category of the target commodity based on the target commodity; acquiring a personal tag of a user; and determining the target commodity based on the category of the target commodity and the personal label, and acquiring a corresponding commodity image.
In an embodiment, the image generation unit 160 is configured to: acquiring geographical position information of a user; acquiring nearby merchant information based on the geographic position information; and determining a target commodity based on the information of nearby merchants, and acquiring a corresponding commodity image.
In one embodiment, the commodity image comprises link information, and target commodity information corresponding to the commodity image is called through the link information.
In one embodiment, the purchasing unit 140 is further configured to: and receiving a purchase instruction of the user, and purchasing the specified target commodity in the shopping list.
With respect to the native commodity implant 100 in the above embodiment, the specific manner in which the respective units perform operations has been described in detail in the embodiment related to the method, and will not be elaborated upon here.
Fig. 5 is a schematic block diagram illustrating an apparatus of any of the previous embodiments in accordance with an exemplary embodiment. For example, theapparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, theapparatus 300 may include one or more of the following components: aprocessing component 302, amemory 304, apower component 306, amultimedia component 308, anaudio component 310, an input/output (I/O)interface 312, asensor component 314, and acommunication component 316.
Theprocessing component 302 generally controls overall operation of thedevice 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Theprocessing components 302 may include one ormore processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, theprocessing component 302 can include one or more modules that facilitate interaction between theprocessing component 302 and other components. For example, theprocessing component 302 may include a multimedia module to facilitate interaction between themultimedia component 308 and theprocessing component 302.
Thememory 304 is configured to store various types of data to support operations at theapparatus 300. Examples of such data include instructions for any application or method operating ondevice 300, contact data, phonebook data, messages, pictures, videos, and so forth. Thememory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, 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 or optical disks.
Power components 306 provide power to the various components ofdevice 300. Thepower components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for theapparatus 300.
Themultimedia component 308 includes a screen that provides an output interface between thedevice 300 and a 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, themultimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when thedevice 300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Theaudio component 310 is configured to output and/or input audio signals. For example,audio component 310 includes a Microphone (MIC) configured to receive external audio signals whenapparatus 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in thememory 304 or transmitted via thecommunication component 316. In some embodiments,audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between theprocessing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Thesensor assembly 314 includes one or more sensors for providing various aspects of status assessment for thedevice 300. For example,sensor assembly 314 may detect an open/closed state ofdevice 300, the relative positioning of components, such as a display and keypad ofdevice 300, the change in position ofdevice 300 or a component ofdevice 300, the presence or absence of user contact withdevice 300, the orientation or acceleration/deceleration ofdevice 300, and the change in temperature ofdevice 300.Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. Thesensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Thecommunication component 316 is configured to facilitate wired or wireless communication between theapparatus 300 and other devices. Thedevice 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, thecommunication component 316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, theapparatus 300 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as thememory 304 comprising instructions, executable by theprocessor 320 of theapparatus 300 to perform the above-described method is also provided. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 6 is a block diagram illustrating anelectronic device 400 according to an example embodiment. For example, theapparatus 400 may be provided as a server. Referring to fig. 6,apparatus 400 includes aprocessing component 422, which further includes one or more processors, and memory resources, represented by memory 432, for storing instructions, such as applications, that are executable by processingcomponent 422. The application programs stored in memory 432 may include one or more modules that each correspond to a set of instructions. Further, theprocessing component 422 is configured to execute instructions to perform the above-described methods.
Theapparatus 400 may also include apower component 426 configured to perform power management of theapparatus 300, a wired orwireless network interface 450 configured to connect theapparatus 400 to a network, and an input output (I/O)interface 458. Theapparatus 400 may operate based on an operating system stored in the memory 432, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.