3D video generation method and device and medium

By monitoring and controlling the display of video frame intervals to obtain animation screenshots, 3D videos of the real estate project are generated, solving the problems of missing frames and invalid content during the recording process and improving video quality and smoothness.

CN121814935APending Publication Date: 2026-04-07KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-10
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing technologies are prone to issues such as missing frames and recording invalid content when recording 3D videos of real estate projects, especially when 3D simulation animations are not fully loaded or are lagging.

Method used

Monitor whether the 3D animation of the property on the webpage has finished loading, and after loading, control the display interval of the 3D animation of the property according to the predetermined number of video frame intervals, obtain the animation screenshots displayed at each interval, and finally generate a 3D video of the property based on all the animation screenshots.

Benefits of technology

This ensures the effectiveness of 3D video content, avoids frame drops, and improves video quality and smoothness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121814935A_ABST
    Figure CN121814935A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a 3D video generation method and device and a medium. The method comprises the steps of monitoring whether a building 3D animation on a webpage is loaded or not; after it is monitored that loading of the building 3D animation is completed, the building 3D animation is controlled to be displayed at intervals according to the predetermined number of video frame intervals, and corresponding animation screenshots are obtained when the building 3D animation is displayed at intervals each time; and generating a building 3D video according to all the animation screenshots. According to the technical scheme, the effectiveness of the content of the 3D video is ensured, the frame leakage problem of the 3D video is avoided, and the video quality of the obtained building 3D video is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer application, and particularly relates to a 3D video generation method, device and medium. BACKGROUND

[0002] 3D floor book is a digital display tool combining 3D modeling, virtual reality and interaction technology, mainly used in real estate, building planning, tourism projects and other fields. It replaces traditional paper floor book through stereoscopic and dynamic means to provide users with immersive spatial experience. At present, displaying 3D floor book of a building on a webpage has become a common way.

[0003] In the related art, a 3D simulation animation of a building is loaded and played on a webpage, and then a camera is mounted on the webpage to record animation of a certain time length according to a preset time interval to obtain a 3D video of the building.

[0004] However, the above-mentioned method for recording a 3D video of a building may have problems such as missing frames and recording invalid content. For example, when the webpage loads the 3D simulation animation, the 3D simulation animation may be displayed with lag, and when the 3D simulation animation has not been loaded completely, the recorded 3D video may contain invalid content. For another example, when the camera is controlled to record animation video frames according to the preset time interval, if the 3D simulation animation is displayed with lag, the recorded 3D video may have the problem of missing frames. SUMMARY

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a 3D video generation method, device and medium.

[0006] The present disclosure provides a 3D video generation method, comprising: monitoring whether a building 3D animation on a webpage is loaded completely; after monitoring that the building 3D animation is loaded completely, controlling the building 3D animation to be displayed at intervals according to a predetermined video frame interval number, and obtaining a corresponding animation screenshot when the building 3D animation is displayed at intervals each time; and generating a building 3D video according to all the animation screenshots.

[0007] The present disclosure also provides a 3D video generation device, comprising: a monitoring module configured to monitor whether a building 3D animation on a webpage is loaded completely; a display module configured to, after monitoring that the building 3D animation is loaded completely, control the building 3D animation to be displayed at intervals according to a predetermined video frame interval number; a screenshot obtaining module configured to obtain a corresponding animation screenshot when the building 3D animation is displayed at intervals each time; and a video synthesizing module configured to generate a building 3D video according to all the animation screenshots.

[0008] The embodiment of the present disclosure further provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the method for generating 3D video provided by the embodiment of the present disclosure.

[0009] The embodiment of the present disclosure further provides a computer readable storage medium, which stores a computer program, and the computer program is used for executing the method for generating 3D video provided by the embodiment of the present disclosure.

[0010] The technical scheme provided by the embodiment of the present disclosure has the following advantages compared with the prior art. The method for generating 3D video provided by the embodiment of the present disclosure monitors whether the real estate 3D animation on the webpage is loaded, controls the interval display of the real estate 3D animation according to the pre-determined video frame interval number after monitoring that the real estate 3D animation is loaded, obtains the corresponding animation screenshot of each interval display of the real estate 3D animation, and then generates the real estate 3D video according to all the animation screenshots. In the technical scheme, the effectiveness of the content of the 3D video is ensured, the missing frame problem of the 3D video is avoided, and the video quality of the obtained real estate 3D video is improved. BRIEF DESCRIPTION OF DRAWINGS

[0011] The above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, same or similar reference numerals are used to represent same or similar elements. It should be understood that the drawings are schematic, and the original and elements are not necessarily drawn according to the scale.

[0012] Figure 1 A flowchart of a method for generating 3D video provided by the embodiment of the present disclosure is shown in the figure; Figure 2 A schematic diagram of a moving scene of a reference moving object provided by the embodiment of the present disclosure is shown in the figure; Figure 3 A schematic diagram of another moving scene of a reference moving object provided by the embodiment of the present disclosure is shown in the figure; Figure 4 A structural schematic diagram of a device for generating 3D video provided by the embodiment of the present disclosure is shown in the figure; Figure 5 A structural schematic diagram of an electronic device provided by the embodiment of the present disclosure is shown in the figure. DETAILED DESCRIPTION

[0013] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It is understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of the present disclosure.

[0014] It should be understood that each of the steps recited in the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0015] As used herein, the term "comprising" and its variants are open-ended, meaning "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Related definitions will be given in the description below.

[0016] It should be noted that the terms "first", "second", and the like in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.

[0017] It should be noted that the adjectives "one", "more" mentioned in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that "one or more" should be understood unless the context clearly indicates otherwise.

[0018] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0019] To solve the above problems, the embodiments of the present disclosure provide a method for generating a 3D video, which will be described below in conjunction with specific embodiments.

[0020] Figure 1 A flowchart of a method for generating a 3D video according to an embodiment of the present disclosure is shown in FIG. 1. The method can be performed by a device for generating a 3D video, which can be implemented by software and / or hardware and can be integrated in an electronic device. As shown in FIG. 1, the method includes the following steps. Figure 1 Step 101: Monitor whether a real estate 3D animation on a webpage is loaded.

[0021] ​In an embodiment of the present disclosure, in order to avoid obtaining invalid content, whether the real estate 3D animation on the webpage is loaded is monitored. The webpage is used to load and play the real estate 3D animation, and the real estate 3D animation can be regarded as a 3D building animation showing the real estate from each direction.

[0022] In an embodiment of the present disclosure, the real estate 3D animation webpage can be opened by a headless browser. When the real estate 3D animation webpage is opened, the real estate 3D animation is loaded. Then, the page log of the real estate 3D animation webpage is monitored. When the headless browser is Chromium, the page log can be a console log. According to the page log, whether the real estate 3D animation is loaded is monitored. For example, when the finish log of the console log is monitored, it is determined whether the real estate 3D animation is loaded.

[0023] Step 102, after it is monitored that the real estate 3D animation is loaded, the real estate 3D animation is displayed at intervals according to a predetermined video frame interval number, and the corresponding animation screenshot is obtained when the real estate 3D animation is displayed at each interval.

[0024] In an embodiment of the present disclosure, after it is monitored that the real estate 3D animation is loaded, the real estate 3D animation is displayed at intervals according to a predetermined video frame interval number, and the corresponding animation screenshot is obtained when the real estate 3D animation is displayed at each interval. In this embodiment, one frame of the real estate 3D animation is played by advancing the video frame interval number each time, and then the current animation frame played is screenshot to obtain one frame of the animation screenshot. In the actual execution process, in order to ensure the coherence of the 3D real estate video, the first frame of the real estate 3D animation can also be screenshot as one frame of the animation screenshot.

[0025] For example, when the real estate 3D animation contains 240 frames of animation frames and the video frame interval number is 10, the real estate 3D animation is controlled to advance to the 10th frame to display, the screenshot of the 10th frame of the real estate 3D animation is taken as one frame of the animation screenshot, the real estate 3D animation is controlled to advance to the 20th frame to display, the screenshot of the 20th frame of the real estate 3D animation is taken as one frame of the animation screenshot, the real estate 3D animation is controlled to advance to the 30th frame to display, the screenshot of the 30th frame of the real estate 3D animation is taken as one frame of the animation screenshot, and so on. The real estate 3D animation is controlled to advance to the 240th frame to display, and the screenshot of the 240th frame of the real estate 3D animation is taken as one frame of the animation screenshot.

[0026] Wherein, the webpage can be triggered to control the display of the real estate 3D animation at intervals according to the predetermined video frame interval number by triggering a click event, and the click event is triggered after each screenshot is completed to trigger the webpage to control the display of the real estate 3D animation at intervals according to the predetermined video frame interval number.

[0027] In one embodiment of the present disclosure, after monitoring that the real estate 3D animation is loaded, a play click event of the real estate 3D animation is triggered to control the first animation frame of the real estate 3D animation after switching the video frame interval number, and an animation screenshot corresponding to the first animation frame is obtained. For example, a screenshot tool is called to take the WebGL canvas content of the first animation frame as an animation screenshot. At this time, the real estate 3D animation has not started to display, and the display of the real estate 3D animation can be pushed forward from 0 according to the video frame interval number. For example, when the video frame interval number is 10, the play click event of the real estate 3D animation is triggered to push the display of the real estate 3D animation to the 10th frame, and an animation screenshot is obtained by taking a screenshot of the 10th frame. After the animation screenshot is completed, the play click event of the real estate 3D animation is triggered to push the display of the real estate 3D animation to the 20th frame, and so on.

[0028] In actual execution process, when the first animation frame of the real estate 3D animation is needed, the display of the real estate 3D animation can also be controlled to the first frame first, and an animation screenshot is obtained by taking a screenshot of the first frame. At this time, the real estate 3D animation starts to display, and the first frame of the real estate 3D animation is displayed, so the display of the real estate 3D animation can be pushed forward from 1 according to the video frame interval number. For example, after taking a screenshot of the first frame to obtain an animation screenshot of the first animation frame of the real estate 3D animation, when the video frame interval number is 10, the play click event of the real estate 3D animation is triggered to push the display of the real estate 3D animation to the 11th frame, and an animation screenshot is obtained by taking a screenshot of the 11th frame. After the animation screenshot is completed, the play click event of the real estate 3D animation is triggered to push the display of the real estate 3D animation to the 21st frame, and so on. In this embodiment, in response to the play click event, the first animation frame of the real estate 3D animation after switching the video frame interval number is controlled, and an animation screenshot corresponding to the first animation frame is obtained. Further, the preset screenshot step is repeatedly executed until the real estate 3D animation is played, or in some possible embodiments, when the video frame interval number is switched for the last time, the remaining animation frames of the real estate 3D animation are less than the video frame interval number, then the last animation frame of the real estate 3D animation is directly pushed to display, at this time, it is also considered that the real estate 3D animation is played, and an animation screenshot corresponding to the first animation frame is obtained. Wherein, the preset screenshot step includes: The play click event of the real estate 3D animation is triggered to control the second animation frame of the real estate 3D animation after switching the video frame interval number from the current animation frame, and an animation screenshot corresponding to the second animation frame is obtained.

[0029] It is understandable that the smaller the number of video frame intervals in the embodiment is, the greater the density of screenshots is, and the higher the fluency of the obtained real estate 3D video is.

[0030] In an embodiment of the present disclosure, a reference moving object can also be determined in the real estate 3D animation before the real estate 3D animation is displayed at intervals according to the predetermined number of video frame intervals, wherein the reference moving object moves along a preset moving track in the real estate 3D animation, and the reference moving object is an object that moves uniformly along the preset moving track according to fixed moving parameters in the real estate 3D animation, such as referring to Figure 2 If the reference moving object is the sun, it moves uniformly along a circular track at a fixed angular velocity to simulate the daily motion track of the sun; or referring to Figure 3 If the reference moving object is a small person, it moves uniformly along a straight track at a fixed moving speed.

[0031] In the embodiment, the preset moving track is uniformly divided into track segments according to the number of video frames contained in the real estate 3D video, such as 24, and the preset moving track can be uniformly divided into 24 track segments, and the embodiment continues to take the example of the reference moving object being the sun, and the circular track (360 degrees) of the sun can be divided into 24 track segments at an interval of 15 degrees. Since the reference moving object moves uniformly, the number of video frames covered by each track segment is the same.

[0032] The more the number of video frames contained in the real estate 3D video is, the more fluent the real estate 3D video is, and vice versa. The number of video frames contained in the real estate 3D video can be determined according to the video frame rate and the video duration, that is, the number of video frames contained in the real estate 3D video is calculated according to the video frame rate and the video duration, such as 24 frames per second, and the video duration is 10 seconds, the number of video frames contained in the real estate 3D video is calculated as 24*10=240 frames. In actual execution, according to the different display resources of the display device, multiple video frame rates can be obtained, multiple video frame numbers can be determined according to the multiple video frame rates and the video duration, and the real estate 3D video corresponding to each video frame number can be obtained, so as to display the real estate 3D video corresponding to different video frame numbers in display devices with different display resources.

[0033] In the embodiment, the number of animation frames contained in each track segment is determined as the number of video frame intervals, so that the click event is triggered once every other track segment to drive the real estate 3D animation to be displayed at intervals.

[0034] In step 103, the 3D video of the building is generated according to all the animation screenshots.

[0035] In the embodiment, the 3D video of the building is generated according to all the animation screenshots, and then the 3D video of the building can be sent to a target application server. The target application server controls the target application to display the 3D video of the building on a preset application interface. The data amount of the 3D video of the building is small, and the 3D video of the building can be displayed flexibly on the preset application interface. For example, in response to a triggering operation of a user on a play control of the 3D video of the building on the preset application interface, the corresponding 3D video of the building is directly displayed on the preset application interface.

[0036] As mentioned in the above embodiments, the display resources of different display devices are different. Therefore, the display resources (including display resolution, etc.) of the display device where the target application server is located can also be acquired. The video frame rate matched with the display resources is determined according to the display resources, the 3D video corresponding to the video frame rate is determined, and the corresponding 3D video of the building is sent to the target application server.

[0037] In the embodiment of the present disclosure, the receiving of the animation screenshot sequence can be implemented by a streaming encoding process. In the embodiment, the animation screenshot is stored at the tail of the screenshot sequence through a preset video stream pipe. For example, the animation screenshot is input (image2pipe) through an FFmpeg pipe, the storage of an intermediate file is avoided, and the synthesis efficiency of the video is improved. Then, all the animation screenshots are synthesized in the order from front to back in the screenshot sequence to generate the 3D video of the building. When the video is synthesized, in order to facilitate the cross-platform compatibility of the video, the synthesis format of the video can be set to a preset format with high compatibility, such as a yuv420p pixel format that can be played on various platforms. When the 3D video of the building is synthesized, auto-alt-ref is also disabled to avoid introducing redundancy when the video is synthesized, and the decoding performance of the target application server for the 3D video of the building is improved.

[0038] Therefore, in the 3D video generation scheme proposed in the present disclosure, the 3D animation of the building is displayed in the number of video frame intervals, and a screenshot is taken at each interval. The effectiveness of the content of the screenshot is ensured, and the missing frame problem during the screenshot is avoided, thereby improving the video quality of the obtained 3D video of the building.

[0039] To sum up, the method for generating a 3D video provided in the embodiments of the present disclosure monitors whether a real estate 3D animation on a webpage is loaded, controls interval display of the real estate 3D animation according to a predetermined video frame interval number after it is monitored that the real estate 3D animation is loaded, acquires an animation screenshot corresponding to each time interval display of the real estate 3D animation, and then generates a real estate 3D video according to all the animation screenshots. In the technical solution, the effectiveness of the content of the 3D video is ensured, and the missing frame problem of the 3D video is avoided, thereby improving the video quality of the obtained real estate 3D video.

[0040] To implement the above embodiments, the present disclosure further provides a device for generating a 3D video.

[0041] Figure 4 A structural schematic diagram of a device for generating a 3D video provided in the embodiments of the present disclosure is shown in FIG. 4. The device can be implemented by software and / or hardware, and can be integrated in an electronic device. As shown in FIG. 4, the device includes a monitoring module 410, a display module 420, a screenshot acquisition module 430, and a video synthesis module 440. Figure 4 The monitoring module 410 is configured to monitor whether a real estate 3D animation on a webpage is loaded. The display module 420 is configured to control interval display of the real estate 3D animation according to a predetermined video frame interval number after it is monitored that the real estate 3D animation is loaded. The screenshot acquisition module 430 is configured to acquire an animation screenshot corresponding to each time interval display of the real estate 3D animation. The video synthesis module 440 is configured to generate a real estate 3D video according to all the animation screenshots.

[0042] The device for generating a 3D video provided in the embodiments of the present disclosure can execute the method for generating a 3D video provided in any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of the execution method.

[0043] In some embodiments, the screenshot acquisition module 430 is configured to: trigger a play click event of the real estate 3D animation after it is monitored that the real estate 3D animation is loaded; control a first animation frame of the real estate 3D animation after the video frame interval number is switched in response to the play click event; acquire an animation screenshot corresponding to the first animation frame.

[0044] In some embodiments, the screenshot acquisition module 430 is configured to: execute a preset screenshot step until the real estate 3D animation is played, wherein the preset screenshot step includes: ​The playing of the 3D animation of the building is triggered by a click event, the 3D animation of the building is switched from a current animation frame to a second animation frame after a video frame interval number, and an animation screenshot corresponding to the second animation frame is obtained.

[0045] In some embodiments, further comprising a video frame interval number determination module configured to: A reference moving object is determined in the 3D animation of the building, wherein the reference moving object moves along a preset moving track according to fixed moving parameters in the 3D animation of the building. The preset moving track is uniformly split into track segments according to a predetermined number of video frames contained in the 3D video of the building. The number of animation frames contained in each track segment is determined as the video frame interval number.

[0046] In some embodiments, further comprising a video frame number determination module configured to: A video frame rate and a video duration are determined. The number of video frames contained in the 3D video of the building is calculated according to the video frame rate and the video duration.

[0047] In some embodiments, further comprising a cache module configured to: The animation screenshot is stored at the tail of the screenshot sequence through a preset video stream pipe.

[0048] The video synthesis module 440 is configured to: All the animation screenshots are synthesized in the order from front to back in the screenshot sequence to generate the 3D video of the building.

[0049] In some embodiments, further comprising a sending module configured to: The 3D video of the building is sent to a target application server, wherein the target application server controls the target application to display the 3D video of the building on a preset application interface.

[0050] In some embodiments, the monitoring module 410 is configured to: The 3D animation webpage of the building is opened through the headless browser, wherein the 3D animation webpage of the building loads the 3D animation of the building when opened. The page log of the 3D animation webpage of the building is monitored, and whether the 3D animation of the building is loaded is monitored according to the page log.

[0051] In order to realize the above-mentioned embodiments, the present disclosure further proposes a computer program product, comprising computer programs / instructions, which are executed by a processor to realize the 3D video generation method in the above-mentioned embodiments.

[0052] Figure 5 A structural schematic diagram of an electronic device provided by the embodiments of the present disclosure.

[0053] Reference will now be made in detail Figure 5 FIG. 1 shows a structural diagram of an electronic device 500 suitable for use in implementing the electronic device 500 in the embodiments of the present disclosure. The electronic device 500 in the embodiments of the present disclosure can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Personal Computer), a PMP (Portable Multimedia Player), a car terminal (e.g., a car navigation terminal), and the like, as well as a stationary terminal such as a digital TV, a desktop computer, and the like. Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functions and the range of use of the embodiments of the present disclosure.

[0054] As shown in FIG. 1, the electronic device 500 can include a processor (e.g., a central processing unit, a graphic processing unit, etc.) 501 that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a memory 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processor 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504. Figure 5 Generally, the following devices can be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; a memory 508 including, for example, a magnetic tape, a hard disk, and the like; and a communication device 509. The communication device 509 can allow the electronic device 500 to communicate with other devices wirelessly or via a wire to exchange data. Although

[0055] The electronic device 500 is shown as having various devices, but it is understood that all of the shown devices are not required to be implemented or possessed. More or fewer devices can alternatively be implemented or possessed. Figure 5

[0056] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to the embodiments of the present disclosure. For example, the embodiments of the present disclosure include a computer program product containing a program code for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication device 509, or installed from the memory 508, or installed from the ROM 502. When the computer program is executed by the processor 501, the above-described functions defined in the 3D video generation method of the embodiments of the present disclosure are performed.

[0057] ​It should be noted that the computer-readable medium in the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device. In the present disclosure, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium that can send, propagate or transmit the program for use by or in connection with an instruction execution system, apparatus or device. The program code contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to a wire, a cable, a RF (radio frequency) or the like, or any suitable combination of the above.

[0058] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.

[0059] The computer-readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device and not be assembled into the electronic device.

[0060] The computer-readable medium described above carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the 3D video generation method described above.

[0061] The electronic device can be written in any of a number of programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0062] The computer program instructions can also be loaded onto a computer or other programmable information processing apparatus to cause a series of operations to be performed on the computer or other programmable information processing apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable information processing apparatus implement the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0063] The units described in the embodiments of the present disclosure can be implemented by hardware, software, or a combination of hardware and software. In some cases, the names of the units do not constitute a limitation on the units themselves.

[0064] The functions described in this specification can be implemented in part or in whole through one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0065] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include a lined- up electrical connection, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0066] The foregoing description merely exemplifies the preferred embodiments of the disclosure and the principles of the technology applied. It is understood by those skilled in the art that the disclosed scope of the disclosure is not limited to the technical solutions formed by the specific combinations of the technical features described above, and also covers other technical solutions formed by any combinations of the technical features described above or their equivalent features without departing from the disclosed concept. For example, the technical solutions formed by the mutual replacement of the above-described features and the technical features disclosed in the disclosure (but not limited to) with similar functions.

[0067] Furthermore, although each operation is depicted in a particular order, this should not be understood as requiring the operations to be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing can be advantageous. Likewise, although specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the disclosure. Certain features described in the context of separate embodiments can also be combined in single embodiments. Conversely, various features described in the context of a single embodiment can also be implemented in separate embodiments or in any suitable sub-combination.

[0068] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. A method for generating 3D video, characterized in that, include: Monitor whether the 3D animation of the property on the webpage has finished loading; After the 3D animation of the building is detected to be loaded, the 3D animation of the building is displayed at intervals according to the predetermined number of video frame intervals, and the corresponding animation screenshots are obtained for each interval when the 3D animation of the building is displayed. Generate a 3D video of the property based on all the animated screenshots.

2. The method as described in claim 1, characterized in that, The step of controlling the 3D animation display of the property at predetermined video frame intervals and obtaining animation screenshots corresponding to each interval of the 3D animation display includes: After detecting that the 3D animation of the building has finished loading, a play click event for the 3D animation of the building is triggered; In response to the playback click event, control the 3D animation of the building to switch to the first animation frame after the number of video frame intervals; Obtain the animation screenshot corresponding to the first animation frame.

3. The method as described in claim 2, characterized in that, The method further includes: Perform the preset screenshot steps until the 3D animation of the building project finishes playing. The preset screenshot steps include: Trigger a play click event on the 3D animation of the building, control the 3D animation of the building to switch from the current animation frame to the second animation frame after the video frame interval number, and obtain the animation screenshot corresponding to the second animation frame.

4. The method according to any one of claims 1-3, characterized in that, Before controlling the 3D animation display of the building according to a predetermined number of video frame intervals, the method further includes: In the 3D animation of the building, a reference moving object is determined, wherein the reference moving object moves along a preset moving trajectory according to fixed moving parameters in the 3D animation of the building; Based on the predetermined number of video frames contained in the 3D video of the building, the preset movement trajectory is evenly divided into the number of trajectory segments equal to the number of video frames. The number of animation frames contained in each trajectory segment is determined to be the number of video frame intervals.

5. The method as described in claim 4, characterized in that, Before dividing the preset movement trajectory into trajectory segments of the predetermined number of video frames contained in the 3D video of the building, the method further includes: Determine the video frame rate and video duration; The number of video frames contained in the 3D video of the building is calculated based on the video frame rate and video duration.

6. The method as described in claim 1, characterized in that, After obtaining the animation screenshots corresponding to each interval when the 3D animation of the property is displayed, the method further includes: The animation screenshots are stored at the end of the screenshot sequence via a preset video stream pipeline; The process of generating a 3D video of the property based on all the animated screenshots includes: All the animated screenshots are synthesized in the order from front to back in the screenshot sequence to generate the 3D video of the property.

7. The method as described in claim 1, characterized in that, The method further includes: The 3D video of the building is sent to the target application server, wherein the target application server controls the target application to display the 3D video of the building on a preset application interface.

8. The method as described in claim 1, characterized in that, The monitoring of whether the 3D animation of the property on the webpage has finished loading includes: Open the 3D animation webpage of the real estate project through a headless browser, wherein the 3D animation of the real estate project is loaded when the webpage is opened; Monitor the page logs of the 3D animation webpage of the property, and monitor whether the 3D animation of the property has finished loading based on the page logs.

9. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the 3D video generation method according to any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program for performing the method for generating 3D video according to any one of claims 1-8.