Dynamic playing method and system of 3D advertisement, electronic equipment and storage medium
By receiving and processing naked-eye 3D advertising requests, and creating videos or layer images from different perspectives for overlay playback, the problem of lack of depth and three-dimensionality of advertising delivery is solved, and the user experiences 3D effects and reduces costs.
Patent Information
- Application Number
- CN202411009501.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing advertising delivery methods lack depth and three-dimensionality, making it difficult to attract users' attention.
By receiving dynamic playback requests for naked-eye 3D advertisements, we can determine whether it is a video or picture, and create multiple video or layer pictures from different perspectives based on the creative, and superimpose them to simulate the difference in the perspective of the human eye and generate a three-dimensional sense.
Even if you don’t wear special glasses or equipment, you can experience the 3D video effect, reduce the cost of 3D advertising video production, and increase the attractiveness and memory points of the advertisement.
Smart Images

Figure CN119011903A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and more specifically, to a method, system, electronic device and storage medium for dynamically playing 3D advertisements. Background Art
[0002] With the continuous development of Internet technology, more and more industries are attracting users' attention and improving brand awareness through advertising. Currently, advertising can be in the form of print media advertising, radio advertising, online advertising, outdoor advertising, etc. However, these methods lack depth and three-dimensionality, making it difficult to attract users' attention.
[0003] Therefore, how to provide an advertisement delivery method so that the delivered advertisements have depth and three-dimensionality to achieve the effect of attracting the user's attention is a problem that urgently needs to be solved in this application. Summary of the invention
[0004] In view of this, the present application provides a 3D advertisement dynamic playback method, system, electronic device and storage medium to solve the problem that the existing advertisement delivery method lacks depth and three-dimensional sense and is difficult to attract users' attention.
[0005] A first aspect of the present application provides a method for dynamically playing a 3D advertisement, the method comprising:
[0006] receiving a dynamic playback request for a naked-eye 3D advertisement, and determining whether the dynamic playback request indicates playback of a 3D advertisement video or whether the dynamic playback request indicates playback of a 3D advertisement picture;
[0007] If the dynamic play request indicates to play a 3D advertisement video, a plurality of videos of different viewing angles in the same scene and position information of each of the videos are produced according to the advertisement material corresponding to the dynamic play request;
[0008] Superimposing each video according to the position information of each video to obtain a 3G advertising video, and playing the 3D advertising video through a corresponding playback device;
[0009] If the dynamic play request indicates to play a 3D advertisement picture, generating a plurality of advertisement pictures of the same size according to the advertisement material corresponding to the dynamic play request, wherein each of the advertisement pictures is in a different layer;
[0010] The advertisement pictures are superimposed to obtain a 3D advertisement picture, and the 3D advertisement picture is played through a corresponding playback device.
[0011] Optionally, if the advertising material is a video material, producing multiple videos of different viewing angles in the same scene and position information of each of the videos according to the advertising material corresponding to the dynamic play request includes:
[0012] If the advertising material is a video material, obtaining the advertising material corresponding to the dynamic playback request;
[0013] Drag and drop the advertising material onto the timeline, and adjust the viewing angle of each picture in the advertising material on the timeline according to a preset viewing angle;
[0014] Add a corresponding key frame to each picture of the adjusted viewing angle and adjust the corresponding viewing angle parameters to obtain the video corresponding to the preset viewing angle and its position information;
[0015] The preset viewing angle is updated, and the step of dragging and dropping the advertising material onto the timeline and adjusting the viewing angle of each picture in the advertising material on the timeline according to the preset viewing angle is returned until multiple videos of different viewing angles in the same scene are obtained.
[0016] Optionally, the location information of the video at least includes the starting playback coordinates of the video;
[0017] The step of superimposing each video according to the position information of each video to obtain a 3G advertising video includes:
[0018] Taking the target point on the playback device as the playback origin, sorting the videos from small to large according to the distance between the starting playback coordinates of each video and the playback origin;
[0019] The video with the smallest serial number is used as the lowest layer video, and the video with the largest serial number is used as the top layer video. The videos are superimposed according to the serial numbers corresponding to the videos to obtain a 3D advertising video.
[0020] Optionally, generating a plurality of advertisement images of the same size according to the advertisement material corresponding to the dynamic play request includes:
[0021] Obtaining the advertising material corresponding to the dynamic playback request;
[0022] Creating a layer, and pasting the advertising material into the layer;
[0023] According to the preset image format and the layer where the advertising material is pasted, an advertising image under the layer is generated, and the process returns to execute the step of creating a layer and pasting the advertising material into the layer until three advertising images belonging to different layers are obtained.
[0024] Optionally, the method further includes:
[0025] In the process of playing the 3D advertisement picture through the playback device, when it is detected that the playback device is rotating, obtaining corresponding rotation parameters;
[0026] Determine the playback offset of each advertisement picture in the 3D advertisement picture according to the rotation parameter;
[0027] The play angle of the corresponding advertisement picture in the 3D advertisement pictures is adjusted according to the play offset of each advertisement picture.
[0028] A second aspect of the present application provides a dynamic playback system for 3D advertisements, the system comprising:
[0029] a receiving unit, configured to receive a dynamic playback request for a naked-eye 3D advertisement, and determine whether the dynamic playback request indicates playback of a 3D advertisement video or whether the dynamic playback request indicates playback of a 3D advertisement picture;
[0030] A video production unit, configured to produce a plurality of videos of different viewing angles in the same scene and position information of each of the videos according to the advertising material corresponding to the dynamic play request if the dynamic play request indicates to play a 3D advertising video;
[0031] A 3D advertisement video playback unit, configured to superimpose each video according to the position information of each video to obtain a 3G advertisement video, and play the 3D advertisement video through a corresponding playback device;
[0032] an advertisement picture generating unit, configured to generate a plurality of advertisement pictures of the same size according to the advertisement material corresponding to the dynamic play request if the dynamic play request indicates to play a 3D advertisement picture, wherein each of the advertisement pictures is in a different layer;
[0033] The 3D advertisement picture playing unit is used for superimposing the advertisement pictures to obtain a 3D advertisement picture, and playing the 3D advertisement picture through a corresponding playing device.
[0034] Optionally, the video production unit includes:
[0035] A first acquisition unit, configured to acquire, if the advertising material is a video material, the advertising material corresponding to the dynamic play request;
[0036] A first adjustment unit, configured to drag and drop the advertisement material onto a timeline, and adjust the viewing angle of each picture in the advertisement material on the timeline according to a preset viewing angle;
[0037] An adding unit, used to add a corresponding key frame to each picture of the adjusted viewing angle and adjust the corresponding viewing angle parameters to obtain the video corresponding to the preset viewing angle and its position information;
[0038] The updating unit is used to update the preset viewing angle and return to execute the first adjusting unit until multiple videos of different viewing angles in the same scene are obtained.
[0039] Optionally, the position information of the video includes at least the starting playback coordinates of the video, and the first superimposing unit includes:
[0040] A sorting unit, used to take the target point on the playback device as the playback origin, and sort the videos from small to large according to the distance between the starting playback coordinates of each video and the playback origin;
[0041] The first superposition subunit is used to take the video with the smallest serial number as the lowest layer video and the video with the largest serial number as the top layer video, and superimpose each of the videos according to the serial numbers corresponding to each of the videos to obtain a 3D advertising video.
[0042] The third aspect of the present application provides an electronic device, comprising: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, wherein the program is used to implement the dynamic playback method of 3D advertisements provided in the first aspect of the present application.
[0043] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the dynamic playback method of 3D advertisements provided in the first aspect of the present application.
[0044] The present application provides a method, system, electronic device and storage medium for dynamic playback of 3D advertisements, which receive a dynamic playback request for naked-eye 3D advertisements, and determine whether the dynamic playback request indicates the playback of a 3D advertisement video or a 3D advertisement picture; if the dynamic playback request indicates the playback of a 3D advertisement video, multiple videos under different viewing angles in the same scene and position information of each video are produced according to the advertisement material corresponding to the dynamic playback request; each video is superimposed according to the position information of each video to obtain a 3D advertisement video, and the 3D advertisement video is played through a corresponding playback device; if the dynamic playback request indicates the playback of a 3D advertisement picture, multiple advertisement pictures of the same size are generated according to the advertisement material corresponding to the dynamic playback request, wherein each advertisement picture is in a different layer; each advertisement picture is superimposed to obtain a 3D advertisement picture, and the 3D advertisement picture is played through a corresponding playback device. The technical solution provided by the present application can effectively simulate the difference in viewing angles when the human eye watches videos from different positions by producing multiple videos of different viewing angles in the same scene according to corresponding advertising materials, and can effectively ensure that when users watch 3D advertising videos generated by various videos of different viewing angles, parallax is formed in the user's brain, thereby generating a sense of stereo. In this way, even if the user does not wear any special glasses or special playback equipment, the user can experience the effect of 3D video. This can not only solve the problem that the existing advertising delivery method lacks depth and stereoscopic effect and is difficult to attract the user's attention, but also reduce the production cost of 3D advertising videos; and the present application can also generate multiple advertising pictures of different layers according to the advertising materials, so that the 3D advertising picture obtained by superimposing the advertising pictures of each layer together can also allow users to feel the 3D effect when watching. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0046] Figure 1 A schematic diagram of a flow chart of a method for dynamically playing a 3D advertisement provided in an embodiment of the present application;
[0047] Figure 2 An example diagram of a 3D advertising video obtained by superimposing the videos provided in an embodiment of the present application;
[0048] Figure 3 An example diagram of a background advertising picture, a mid-ground advertising picture, and a foreground advertising picture provided in an embodiment of the present application;
[0049] Figure 4 A schematic diagram of the structure of a dynamic playback system for 3D advertisements provided in an embodiment of the present application;
[0050] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants 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 statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0053] It should be noted that in the technical solution disclosed in this application, the acquisition, collection, storage, use, processing, transmission, provision, disclosure and application of data all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0054] See also Figure 1 , shows a flow chart of a method for dynamic playback of 3D advertisements provided in an embodiment of the present application, the method for dynamic playback of 3D advertisements is applied to a 3D dynamic playback system, and the method for dynamic playback of 3D advertisements specifically includes the following steps:
[0055] S101: Receive a dynamic play request for naked-eye 3D advertisement, and determine whether the dynamic play request indicates to play a 3D advertisement video or whether it indicates to play a 3D advertisement picture. If the dynamic play request indicates to play a 3D advertisement video, execute step S102; if the dynamic play request indicates to play a 3D advertisement picture, execute step S104.
[0056] In the specific process of executing step S101, when a dynamic playback request for a naked-eye 3D advertisement sent by a user is detected, the advertising material indicated by the dynamic playback request can be obtained, and it can be determined whether the advertising material is a picture material or a video material; if the advertising material is a video material, it can be considered that the dynamic playback request indicates that the 3D advertising video is played, and then step S102 can be executed; if the advertising material is a picture material, it can be considered that the dynamic playback request indicates that the 3D advertising picture is played, and then step S104 can be executed.
[0057] In actual application, the corresponding material delivery and management module can be set in advance in the 3D dynamic playback system. The material delivery and management module is used to store the materials of each developer who wants to deliver the corresponding naked-eye 3D advertisements, and the materials of each developer can be managed in a group management manner. For example, when the developer is a real estate developer, the materials of each developer can be associated in a building management manner, so that the corresponding 3D advertising pictures or 3D advertising videos can be delivered to different developers and buildings, achieving the effect of immediate delivery, and it is also very convenient to cancel it later.
[0058] It can be seen from this that when a dynamic playback request for a 3D advertisement is received from a user, the corresponding advertising material can be queried and obtained from the material delivery and management module based on the user ID in the dynamic playback request, so as to determine whether the user currently wants to play a dynamic 3D advertising picture or a dynamic 3D advertising video based on the obtained advertising material.
[0059] S102: Produce multiple videos in different viewing angles in the same scene and position information of each video according to the advertising material corresponding to the dynamic play request.
[0060] In the specific process of executing step S102, when it is determined that the currently received dynamic play request indicates to play the 3D advertising video, in order to simulate the difference in viewing angles when the human eye watches the video from different positions, a plurality of videos with different viewing angles in the same scene can be produced by video editing software for the advertising material corresponding to the dynamic play request, and the position information corresponding to each video can also be determined. The position information of the video may include the starting playback coordinates of the video and the size of the video.
[0061] It should be noted that the starting playback coordinates of various videos generated based on the same advertising material are different, but the video sizes are the same.
[0062] Optionally, the process of producing multiple videos at different viewing angles in the same scene and the location information of each video according to the advertising material corresponding to the dynamic playback request can be specifically as follows: obtaining the advertising material corresponding to the dynamic playback request; dragging and dropping the advertising material onto the timeline, and adjusting the viewing angle of each picture in the advertising material on the timeline according to the preset viewing angle; adding corresponding key frames and adjusting corresponding viewing angle parameters for each picture of the adjusted viewing angle, and obtaining the video corresponding to the preset viewing angle and its location information; updating the preset viewing angle, and returning to execute the step of dragging and dropping the advertising material onto the timeline, and adjusting the viewing angle of each picture in the advertising material on the timeline according to the preset viewing angle, until multiple videos at different viewing angles in the same scene are obtained. Among them, the advertising material includes multiple pictures with the same picture resolution, and each picture belongs to the same scene.
[0063] In some embodiments, multiple preset viewing angles can be set in advance so that video editing software and the pre-set preset viewing angles can be used to subsequently produce multiple videos at different viewing angles in the same scene according to the advertising materials corresponding to the dynamic playback request, and the location information corresponding to each video can also be obtained.
[0064] It should be noted that since there are certain differences between the perspective of the left eye and the video of the right eye, therefore, according to the perspective corresponding to each video, it is possible to distinguish which videos belong to the left eye and which videos belong to the right eye. In this way, videos with different perspectives can be used to simulate the difference in perspective when the human eye watches videos from different angles. This can ensure that when the user watches the 3D advertising video generated by each video with different perspectives, the user's left eye sees the left eye video and the right eye sees the right eye video, thereby forming parallax in the user's brain, thereby creating a sense of stereoscopic. In this way, even if the user does not wear any special glasses or special playback equipment, he can experience the effect of 3D video.
[0065] In summary, the present application can produce multiple videos of different perspectives in the same scene based on the advertising materials corresponding to the dynamic playback request, instead of shooting the same scene from various angles at the same time by a stereo camera as in the prior art to obtain multiple videos of different perspectives in the same scene. This can not only reduce the production cost of 3D advertising videos, but also improve the production efficiency of 3D advertising videos.
[0066] S103: Superimpose the videos according to their position information to obtain a 3G advertising video, and play the 3D advertising video through a corresponding playback device.
[0067] In the specific process of executing step S103, after obtaining multiple videos of different viewing angles in the same scene and their position information, the videos can be superimposed according to the starting playback coordinates in the position information of each video to obtain a dynamic 3D advertising video.
[0068] It should be noted that the location information of the video can be video A: Fram (60, 100, 200, 80) or video B: Fram (0, 0, 640, 200), etc., which is not limited in this embodiment of the present application.
[0069] It should also be noted that, taking video A: Fram(60, 100, 200, 80) as an example, (60, 80) in video A: Fram(60, 100, 200, 80) is the starting playback coordinate of video A. Specifically, 60 is the horizontal coordinate of the starting playback, 100 is the vertical coordinate of the starting playback of video A, 200 is the width of video A, and 80 is the length of video A.
[0070] Optionally, the process of superimposing each video according to the position information of each video to obtain a dynamic 3G advertising video can be specifically as follows: taking the target point on the playback device as the playback origin, and sorting each video from small to large according to the distance between the starting playback coordinates of each video and the playback origin; taking the video with the smallest serial number as the lowest layer video, and the video with the largest serial number as the top layer video, and superimposing each video according to the serial number corresponding to each video to obtain a 3D advertising video.
[0071] In actual application, the upper left corner of the playback device can be used as the target point, and the target point is used as the playback origin (0,0); for each video, the difference between the horizontal coordinate of the playback origin and the horizontal coordinate of the starting playback coordinate of the video is calculated, and the difference is used as the distance between the starting playback coordinate of the video and the playback origin, so that each video can be sorted from small to large according to the distance between the starting playback coordinate of each video and the playback origin; the video with the smallest serial number is used as the lowest layer video, and the video with the largest serial number is used as the top layer video, and each video is superimposed according to the serial number corresponding to each video.
[0072] For example, the upper left corner of the playback device is taken as the target point, and the target point is taken as the playback origin (0,0). Assume that the videos of the same scene with different perspectives are video A, video B and video C, wherein the starting playback coordinates of video A are (0,0), the starting playback coordinates of video B are (60.80), and the starting playback coordinates of video C are (100,150). For each video, the difference between the horizontal coordinate of the playback origin and the horizontal coordinate of the starting playback coordinate of the video is calculated, and the difference is taken as the distance between the starting playback coordinate of the video and the playback origin, so that the videos are sorted from small to large according to the distance between the starting playback coordinate of each video and the playback origin, and video A, video B and video C are obtained. The video with the smallest serial number is taken as the lowest layer video, and the video with the largest serial number is taken as the top layer video. The videos are superimposed according to the serial numbers corresponding to the videos, such as Figure 2 shown.
[0073] In some embodiments, after superimposing the videos to obtain a 3D advertising video, the videos can be played in sequence according to the starting playback coordinates of each video through advanced image processing technology. This can further ensure that the user's left eye can see the left eye video and the right eye can see the right eye video, thereby forming parallax in the user's vision and achieving a naked-eye 3D visual effect. Even if the advertisements delivered have depth and three-dimensionality, it can achieve the effect of attracting users' attention and improving user experience, while also increasing users' interest and memory points in the corresponding products.
[0074] It should be noted that when the product is a real estate project, the dynamic playback method of naked-eye 3D advertisements provided in this application can also enable users to intuitively feel the spatial layout and design of the real estate project without being present in person, which helps to increase users' interest and memory points, thereby improving the corresponding sales conversion rate.
[0075] For example, Figure 2 For example, the specific process of playing each video in sequence according to the starting playback coordinates of each video through advanced image processing technology can be: first, the bottom-level video (video A) can be played first, and then in the process of playing video A, when the playback length of video A reaches the starting playback coordinates of video B, start playing video B, and finally, in the process of playing videos A and B, when the playback length of video A or the playback length of video B reaches the starting playback coordinates of video C, play video C until the entire dynamic 3D advertising video is played.
[0076] Furthermore, in an embodiment of the present application, a corresponding user portrait module can be pre-set in the 3D dynamic playback system so that the customer behavior generated when the customer watches the 3D advertising video can be obtained through the user portrait module, so that the products that the customer is interested in can be analyzed based on the customer behavior, so that the 3D advertising video corresponding to the product of interest can be pushed to the customer, thereby improving the customer experience and increasing the corresponding sales conversion rate.
[0077] Furthermore, in an embodiment of the present application, a socket notification module may be pre-set in the 3D dynamic playback system so that the 3D advertising video corresponding to the product of interest may be accurately pushed to the customer through the socket notification module.
[0078] Furthermore, in an embodiment of the present application, a corresponding naked-eye 3D display engine can be pre-set in the 3D dynamic playback system, and the code corresponding to the naked-eye 3D display engine can be pre-embedded in the page of the 3D advertising video to be displayed in advance, so that the corresponding 3D advertising video can be played on the playback device by calling the code.
[0079] S104: Generate multiple advertisement images of the same size according to the advertisement material corresponding to the dynamic play request, wherein each advertisement image is in a different layer.
[0080] In the specific process of executing step S104, when it is determined that the currently received dynamic playback request indicates playing a 3D advertising picture, multiple advertising pictures of the same size can be generated by image editing software according to the advertising material corresponding to the dynamic playback request, wherein each advertising picture is in a different layer.
[0081] It should be noted that, when it is determined that the currently received dynamic play request instructs to play a 3D advertisement picture, the advertisement material obtained from the material delivery and management module according to the user ID in the dynamic play request may be an advertisement picture.
[0082] Optionally, the process of generating multiple advertising images of the same size based on the advertising material corresponding to the dynamic playback request can be specifically as follows: obtaining the advertising material corresponding to the dynamic playback request; creating a layer through image editing software, and pasting the advertising material into the layer; generating the advertising image under the layer according to the pre-set image format and the layer with the advertising material pasted, and returning to execute the step of creating the layer until three advertising images belonging to different layers are obtained.
[0083] In actual application, you can first create a new layer through image software, then paste the obtained advertising material into the new layer by cutting or copying, and finally export the advertising image corresponding to the layer by selecting "File" > "Export As" according to the preset image format. Repeat this cycle until you get three advertising images belonging to different layers.
[0084] In summary, in order to achieve a 3D effect for the played advertising images, the present application divides a banner image (advertising material) into three layers, and then exports three advertising images of the same size but in different layers from the three layers, so that after the three advertising images are superimposed together, they can be divided into a background advertising image, a mid-ground advertising image, and a foreground advertising image from back to front, such as Figure 3 shown.
[0085] S105: Superimpose the various advertisement pictures to obtain a 3D advertisement picture, and play the 3D advertisement picture through a corresponding playback device.
[0086] In the specific process of executing step S105, after obtaining the advertisement pictures of different layers, the advertisement pictures can be superimposed according to the creation order of the different pictures to obtain a 3D advertisement picture, and the 3D advertisement picture can be played through a corresponding playback device.
[0087] Furthermore, in an embodiment of the present application, a corresponding user portrait module can be pre-set in the 3D dynamic playback system so that the customer behavior generated when the customer watches the 3D advertising pictures can be obtained through the user portrait module, so that the products that the customer is interested in can be analyzed based on the customer behavior, so that the 3D advertising pictures corresponding to the products that the customer is interested in can be pushed to the customer, thereby improving the customer experience and increasing the corresponding sales conversion rate.
[0088] Furthermore, in an embodiment of the present application, a socket notification module may be pre-set in the 3D dynamic playback system so that the 3D advertising images corresponding to the products of interest may be accurately pushed to the customers through the socket notification module.
[0089] Furthermore, in an embodiment of the present application, a corresponding naked-eye 3D display engine can be pre-set in the 3D dynamic playback system, and the code corresponding to the naked-eye 3D display engine can be pre-embedded in the page of the 3D advertising image to be displayed in advance, so that the corresponding 3D advertising image can be played on the playback device by calling the code.
[0090] Furthermore, in an embodiment of the present application, during the process of playing a 3D advertising picture through a playback device, it is also possible to detect in real time whether the playback device is rotating; when it is detected that the playback device is rotating, the corresponding rotation parameters are obtained; the playback offset of each advertising picture in the 3D advertising picture is determined according to the rotation parameters; and the playback angle of the corresponding advertising picture in the 3D advertising picture is adjusted according to the playback offset of each advertising picture.
[0091] In actual application, if it is detected that the playback device rotates during the process of playing a 3D advertising picture, the corresponding rotation parameters can be collected by the gyroscope on the playback device, and the playback offset corresponding to each advertising picture in the 3D advertising picture can be determined based on the rotation parameters; a corresponding playback offset is added to each advertising picture in the 3D advertising picture, so that the played 3D advertising picture can better adapt to the playback device after the rotation, that is, the played 3D advertising picture is prevented from being deformed, so that the played 3D advertising picture can maintain a three-dimensional sense in real time.
[0092] In some embodiments, a 3D advertising picture is composed of a background advertising picture, a mid-ground advertising picture, and a foreground advertising picture; the playback offset corresponding to each advertising picture under each rotation parameter can be pre-set, so that after the rotation parameter corresponding to the playback device when it rotates is collected, for each advertising picture, the playback offset corresponding to the advertising picture under the rotation parameter can be obtained according to the correspondence between the pre-set rotation parameter and the playback offset, and the corresponding playback offset can be added to the corresponding advertising picture in the 3D advertising picture.
[0093] It should be noted that no matter how the playback device rotates, the mid-view advertising image in the 3D advertising image remains unchanged, that is, the playback offset corresponding to the mid-view advertising image under each rotation parameter is 0.
[0094] For example, if the playback device is a mobile phone, if it is detected that the mobile phone is rotating while playing a 3D advertising picture, the mid-ground advertising picture in the 3D advertising picture can be kept from shifting, and corresponding playback offsets can be added to the foreground advertising picture and the background advertising picture in the 3D advertising picture to adjust the playback angles of the foreground advertising picture and the background advertising picture. In this way, it can be ensured that the played 3D advertising picture can achieve a 3D effect even if the mobile phone is rotated.
[0095] The present application provides a method for dynamic playback of 3D advertisements, which comprises receiving a dynamic playback request of a naked-eye 3D advertisement, and determining whether the dynamic playback request indicates playback of a 3D advertisement video or a 3D advertisement picture; if the dynamic playback request indicates playback of a 3D advertisement video, producing multiple videos under different viewing angles in the same scene and position information of each video thereof according to the advertisement material corresponding to the dynamic playback request; superimposing each video according to the position information of each video to obtain a 3D advertisement video, and playing the 3D advertisement video through a corresponding playback device; if the dynamic playback request indicates playback of a 3D advertisement picture, generating multiple advertisement pictures of the same size according to the advertisement material corresponding to the dynamic playback request, wherein each advertisement picture is in a different layer; superimposing each advertisement picture to obtain a 3D advertisement picture, and playing the 3D advertisement picture through a corresponding playback device. The technical solution provided by the present application can effectively simulate the difference in viewing angles when the human eye watches videos from different positions by producing multiple videos of different viewing angles in the same scene according to corresponding advertising materials, and can effectively ensure that when users watch 3D advertising videos generated by various videos of different viewing angles, parallax is formed in the user's brain, thereby generating a sense of stereo. In this way, even if the user does not wear any special glasses or special playback equipment, the user can experience the effect of 3D video. This can not only solve the problem that the existing advertising delivery method lacks depth and stereoscopic effect and is difficult to attract the user's attention, but also reduce the production cost of 3D advertising videos; and the present application can also generate multiple advertising pictures of different layers according to the advertising materials, so that the 3D advertising picture obtained by superimposing the advertising pictures of each layer together can also allow users to feel the 3D effect when watching.
[0096] Based on the above-mentioned method for dynamically playing 3D advertisements provided by the embodiment of the present invention, correspondingly, the embodiment of the present invention further provides a system for dynamically playing 3D advertisements, such as Figure 4 As shown, the dynamic playback system of the 3D advertisement includes:
[0097] The receiving unit 41 is used to receive a dynamic playback request of a naked-eye 3D advertisement, and determine whether the dynamic playback request indicates to play a 3D advertisement video or whether it indicates to play a 3D advertisement picture;
[0098] The video production unit 42 is used to produce multiple videos of different viewing angles in the same scene and position information of each video according to the advertising material corresponding to the dynamic play request if the dynamic play request indicates to play the 3D advertising video;
[0099] The 3D advertisement video playing unit 43 is used to superimpose each video according to the position information of each video to obtain a 3G advertisement video, and play the 3D advertisement video through a corresponding playback device;
[0100] The advertisement picture generating unit 44 is used to generate a plurality of advertisement pictures of the same size according to the advertisement material corresponding to the dynamic play request if the dynamic play request indicates to play the 3D advertisement picture, wherein each advertisement picture is in a different layer;
[0101] The 3D advertisement picture playing unit 45 is used for superimposing various advertisement pictures to obtain a 3D advertisement picture, and playing the 3D advertisement picture through a corresponding playing device.
[0102] The specific principles and execution processes of each unit in the AR virtual scene enhancement system disclosed in the above embodiment of the present invention are the same as the AR virtual scene enhancement method disclosed in the above embodiment of the present invention. Please refer to the corresponding parts of the AR virtual scene enhancement method disclosed in the above embodiment of the present invention, and will not be repeated here.
[0103] The present application provides a dynamic playback system for 3D advertisements, which receives a dynamic playback request for naked-eye 3D advertisements, and determines whether the dynamic playback request indicates the playback of a 3D advertisement video or a 3D advertisement picture; if the dynamic playback request indicates the playback of a 3D advertisement video, multiple videos under different viewing angles in the same scene and position information of each video are produced according to the advertisement material corresponding to the dynamic playback request; each video is superimposed according to the position information of each video to obtain a 3D advertisement video, and the 3D advertisement video is played through a corresponding playback device; if the dynamic playback request indicates the playback of a 3D advertisement picture, multiple advertisement pictures of the same size are generated according to the advertisement material corresponding to the dynamic playback request, wherein each advertisement picture is in a different layer; each advertisement picture is superimposed to obtain a 3D advertisement picture, and the 3D advertisement picture is played through a corresponding playback device. The technical solution provided by the present application can effectively simulate the difference in viewing angles when the human eye watches videos from different positions by producing multiple videos of different viewing angles in the same scene according to corresponding advertising materials, and can effectively ensure that when users watch 3D advertising videos generated by various videos of different viewing angles, parallax is formed in the user's brain, thereby generating a sense of stereo. In this way, even if the user does not wear any special glasses or special playback equipment, the user can experience the effect of 3D video. This can not only solve the problem that the existing advertising delivery method lacks depth and stereoscopic effect and is difficult to attract the user's attention, but also reduce the production cost of 3D advertising videos; and the present application can also generate multiple advertising pictures of different layers according to the advertising materials, so that the 3D advertising picture obtained by superimposing the advertising pictures of each layer together can also allow users to feel the 3D effect when watching.
[0104] Optional, Video Production Unit, including:
[0105] A first acquisition unit, configured to acquire, if the advertising material is a video material, the advertising material corresponding to the dynamic play request;
[0106] A first adjustment unit, used to drag and drop the advertising material onto the timeline, and adjust the viewing angle of each picture in the advertising material on the timeline according to a preset viewing angle;
[0107] An adding unit, used to add a corresponding key frame to each picture of the adjusted viewing angle and adjust the corresponding viewing angle parameters to obtain the video corresponding to the preset viewing angle and its position information;
[0108] The updating unit is used to update the preset viewing angle and return to execute the first adjusting unit until multiple videos of different viewing angles in the same scene are obtained.
[0109] Optionally, the position information of the video includes at least the starting playback coordinates of the video, and the first superposition unit includes:
[0110] A sorting unit, used to sort the videos from small to large according to the distance between the starting playback coordinates of each video and the playback origin, taking the target point on the playback device as the playback origin;
[0111] The first superposition subunit is used to take the video with the smallest serial number as the lowest layer video and the video with the largest serial number as the top layer video, and superimpose each video according to the serial number corresponding to each video to obtain a 3D advertising video.
[0112] Optionally, the advertising image generating unit includes:
[0113] A second acquisition unit, used to acquire the advertising material corresponding to the dynamic play request;
[0114] The creation unit is used to create layers and paste advertising materials into the layers;
[0115] The advertisement picture generation subunit is used to generate the advertisement picture under the layer according to the preset picture format and the layer with the advertisement material pasted thereon, and return to the execution creation unit until three advertisement pictures belonging to different layers are obtained.
[0116] Optionally, the dynamic playback system for 3D advertisements provided in the embodiment of the present application further includes:
[0117] A third acquisition unit is used to acquire corresponding rotation parameters when it is detected that the playback device rotates during the process of playing the 3D advertisement picture through the playback device;
[0118] A determination unit, used to determine the play offset of each advertisement picture in the 3D advertisement picture according to the rotation parameter;
[0119] The second adjustment unit is used to adjust the playback angle of the corresponding advertisement picture in the 3D advertisement pictures according to the playback offset of each advertisement picture.
[0120] The present application embodiment provides an electronic device, such as Figure 5 As shown, the electronic device includes a processor 501 and a memory 502, the memory 502 is used to store program codes and data for dynamic playback of 3D advertisements, and the processor 501 is used to call program instructions in the memory to execute the steps shown in the dynamic playback method of 3D advertisements in the above embodiment.
[0121] An embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the dynamic playback method of the 3D advertisement shown in the above embodiment.
[0122] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, in which 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 scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0123] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0124] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0125] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for dynamically playing 3D advertisements, characterized in that: The method comprises: receiving a dynamic playback request for a naked-eye 3D advertisement, and determining whether the dynamic playback request indicates playback of a 3D advertisement video or whether the dynamic playback request indicates playback of a 3D advertisement picture; If the dynamic play request indicates to play a 3D advertisement video, a plurality of videos of different viewing angles in the same scene and position information of each of the videos are produced according to the advertisement material corresponding to the dynamic play request; Superimposing each video according to the position information of each video to obtain a 3G advertising video, and playing the 3D advertising video through a corresponding playback device; If the dynamic play request indicates to play a 3D advertisement picture, generating a plurality of advertisement pictures of the same size according to the advertisement material corresponding to the dynamic play request, wherein each of the advertisement pictures is in a different layer; The advertisement pictures are superimposed to obtain a 3D advertisement picture, and the 3D advertisement picture is played through a corresponding playback device.
2. The method according to claim 1, characterized in that If the advertising material is a video material, producing multiple videos of different viewing angles in the same scene and position information of each of the videos according to the advertising material corresponding to the dynamic play request includes: If the advertising material is a video material, obtaining the advertising material corresponding to the dynamic playback request; Drag and drop the advertising material onto the timeline, and adjust the viewing angle of each picture in the advertising material on the timeline according to a preset viewing angle; Add a corresponding key frame to each picture of the adjusted viewing angle and adjust the corresponding viewing angle parameters to obtain the video corresponding to the preset viewing angle and its position information; The preset viewing angle is updated, and the step of dragging and dropping the advertising material onto the timeline and adjusting the viewing angle of each picture in the advertising material on the timeline according to the preset viewing angle is returned until multiple videos of different viewing angles in the same scene are obtained.
3. The method according to claim 1, characterized in that: The location information of the video at least includes the starting playback coordinates of the video; The step of superimposing each video according to the position information of each video to obtain a 3G advertising video includes: Taking the target point on the playback device as the playback origin, sorting the videos from small to large according to the distance between the starting playback coordinates of each video and the playback origin; The video with the smallest serial number is used as the lowest layer video, and the video with the largest serial number is used as the top layer video. The videos are superimposed according to the serial numbers corresponding to the videos to obtain a 3D advertising video.
4. The method according to claim 1, characterized in that: The step of generating a plurality of advertisement images of the same size according to the advertisement material corresponding to the dynamic playback request includes: Obtaining the advertising material corresponding to the dynamic playback request; Creating a layer, and pasting the advertising material into the layer; According to the preset image format and the layer where the advertising material is pasted, an advertising image under the layer is generated, and the process returns to execute the step of creating a layer and pasting the advertising material into the layer until three advertising images belonging to different layers are obtained.
5. The method according to claim 1, characterized in that The method further comprises: In the process of playing the 3D advertisement picture through the playback device, when it is detected that the playback device is rotating, obtaining corresponding rotation parameters; Determine the playback offset of each advertisement picture in the 3D advertisement picture according to the rotation parameter; The play angle of the corresponding advertisement picture in the 3D advertisement pictures is adjusted according to the play offset of each advertisement picture.
6. A dynamic playback system for 3D advertisements, characterized in that: The system comprises: a receiving unit, configured to receive a dynamic playback request for a naked-eye 3D advertisement, and determine whether the dynamic playback request indicates playback of a 3D advertisement video or whether the dynamic playback request indicates playback of a 3D advertisement picture; A video production unit, configured to produce a plurality of videos of different viewing angles in the same scene and position information of each of the videos according to the advertising material corresponding to the dynamic play request if the dynamic play request indicates to play a 3D advertising video; A 3D advertisement video playback unit, configured to superimpose each video according to the position information of each video to obtain a 3G advertisement video, and play the 3D advertisement video through a corresponding playback device; an advertisement picture generating unit, configured to generate a plurality of advertisement pictures of the same size according to the advertisement material corresponding to the dynamic play request if the dynamic play request indicates to play a 3D advertisement picture, wherein each of the advertisement pictures is in a different layer; The 3D advertisement picture playing unit is used for superimposing the advertisement pictures to obtain a 3D advertisement picture, and playing the 3D advertisement picture through a corresponding playing device.
7. The system according to claim 6, characterized in that The video production unit comprises: A first acquisition unit, configured to acquire, if the advertising material is a video material, the advertising material corresponding to the dynamic play request; A first adjustment unit, configured to drag and drop the advertisement material onto a timeline, and adjust the viewing angle of each picture in the advertisement material on the timeline according to a preset viewing angle; An adding unit, used to add a corresponding key frame to each picture of the adjusted viewing angle and adjust the corresponding viewing angle parameters to obtain the video corresponding to the preset viewing angle and its position information; The updating unit is used to update the preset viewing angle and return to execute the first adjusting unit until multiple videos of different viewing angles in the same scene are obtained.
8. The system according to claim 6, characterized in that The position information of the video at least includes the starting playback coordinates of the video, and the first superposition unit includes: A sorting unit, used to take the target point on the playback device as the playback origin, and sort the videos from small to large according to the distance between the starting playback coordinates of each video and the playback origin; The first superposition subunit is used to take the video with the smallest serial number as the lowest layer video and the video with the largest serial number as the top layer video, and superimpose each of the videos according to the serial numbers corresponding to each of the videos to obtain a 3D advertising video.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the dynamic playback method of 3D advertisements as described in any one of claims 1-5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the dynamic playback method of 3D advertisements according to any one of claims 1 to 5.
