CN106056654B - Method for outputting and playing process video in three-dimensional assembly simulation - Google Patents

Method for outputting and playing process video in three-dimensional assembly simulation Download PDF

Info

Publication number
CN106056654B
CN106056654B CN201610370150.0A CN201610370150A CN106056654B CN 106056654 B CN106056654 B CN 106056654B CN 201610370150 A CN201610370150 A CN 201610370150A CN 106056654 B CN106056654 B CN 106056654B
Authority
CN
China
Prior art keywords
video
playing
file
time
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610370150.0A
Other languages
Chinese (zh)
Other versions
CN106056654A (en
Inventor
陈冠宏
常青
江洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Kaimu Information Technology Co Ltd
Original Assignee
Wuhan Kaimu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Kaimu Information Technology Co Ltd filed Critical Wuhan Kaimu Information Technology Co Ltd
Priority to CN201610370150.0A priority Critical patent/CN106056654B/en
Publication of CN106056654A publication Critical patent/CN106056654A/en
Application granted granted Critical
Publication of CN106056654B publication Critical patent/CN106056654B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a process video output method in three-dimensional assembly simulation, which comprises the following steps: sequentially simulating and playing three-dimensional animation of the process of the assembly process; converting the three-dimensional animation into a series of continuous pictures; recording node information of each assembly process; and converting the pictures and the node information of each assembling process into video files and corresponding process information files. The invention also comprises a process video playing method in the three-dimensional assembly simulation, which comprises the following steps: acquiring the video file and the corresponding process information file; the invention can realize the sub-process browsing using a single video file and an additional index file in the three-dimensional assembly simulation.

Description

method for outputting and playing process video in three-dimensional assembly simulation
Technical Field
The invention relates to the technical field of computer aided design, in particular to a method for outputting and browsing a process video in three-dimensional assembly simulation.
Background
The mechanical design has achieved three dimensions. The mechanical production process design also gradually realizes three-dimension, so that the workshop in the three-dimensional process is a technical trend.
three-dimensional assembly systems display many parts at once, placing very high demands on computer graphics systems. While the production department of a general factory does not have a high-performance computer. Therefore, the three-dimensional process is generally recorded as an AVI video file and played and watched on the workshop terminal. In the prior art, one AVI file is recorded for each process, but one assembly process usually comprises tens of processes, and the recording of tens of AVI files is very inconvenient to manage.
Disclosure of Invention
the object of the present invention is to address the above-mentioned drawbacks of the prior art. A method for outputting and browsing a process video in three-dimensional assembly simulation is provided.
The technical scheme of the invention is that a method for outputting and browsing a process video in three-dimensional assembly simulation comprises the following steps: sequentially simulating and playing three-dimensional animation of the process of the assembly process; converting the three-dimensional animation into a series of continuous pictures; recording node information of each assembly process; and converting the pictures and the node information of each assembling process into video files and corresponding process information files.
further, the step of converting the three-dimensional animation into a series of consecutive pictures further comprises the steps of: performing off-screen rendering on the three-dimensional scene every time one frame of animation is played; and converting the three-dimensional scene animation into a series of pictures according to the time sequence of the simulation playing.
Further, the step of recording the node information of each assembly process further comprises the following steps: every time when playing is started from one process or when the process is switched to the next process, the name of the process, the work order number and the number of playing frames at that time are recorded.
Further, the step of converting the information of each assembling process picture and each node into a video file and a corresponding process information file further comprises the following steps: multiplying the playing frame number by the video file target frame rate to obtain the accurate time of video playing at the moment; storing the process names and the start and end times of the process in an information file in a one-to-one correspondence manner; converting the picture into a video file; two files are generated: video files, process information files.
The invention also provides a technical scheme of a process video playing method in three-dimensional assembly simulation, which comprises the following steps: acquiring the video file and the corresponding process information file; and selecting a designated assembly process and playing the corresponding segment of the video file.
further, the step of selecting the designated assembly process and playing the corresponding segment of the video file further comprises the following steps: reading the procedure information file and presenting all assembly procedures; when a certain procedure is appointed to be played, finding out the starting time T1 and the ending time T2 of the procedure in a procedure information file, and obtaining the simulation time length T3 of the procedure by using T2-T1; setting the video player to start playing from T1, and simultaneously setting a timer to count the time length T3; when the timer counts the simulation time length T3 of the process, the video playing is automatically stopped.
the invention has the beneficial effects that: the method realizes the split-process browsing by using a single video file and an additional index file.
drawings
FIG. 1 is a schematic flow chart of a process video output method in three-dimensional assembly simulation;
Fig. 2 is a schematic flow chart of a process video playing method in three-dimensional assembly simulation.
Detailed Description
the invention is further described below with reference to the accompanying drawings.
a) And opening a three-dimensional assembly process file, and simulating and playing the three-dimensional animation according to the procedure sequence of the assembly process.
b) And performing off-screen rendering on the current three-dimensional scene to pictures every time one frame is played, and converting the three-dimensional scene animation into a series of pictures according to the time sequence of the simulation playing.
c) Every time when the broadcasting is started from one procedure and the procedure is switched to the next procedure, the broadcasting frame number, the name of the procedure and the work order number are recorded.
d) due to the limited three-dimensional simulation and the computer performance, the direct timing is not accurate. Therefore, the precise time of video playing at the moment can be obtained by multiplying the playing frame number by the AVI target frame rate. And storing the process names recorded before and the start and end times of the process in an information file in a one-to-one correspondence manner: storing the previously recorded process names and the start and end times of the process in a syn file with the same name as the AVI file in a one-to-one correspondence manner; outputting and coding and compressing each picture according to a certain frame rate by using vfw technology: outputting each picture at a rate of 25 frames per second using vfw techniques and compressing using h.264 techniques; after the recording is finished, two files are obtained, one is an AVI video file, and the other is a syn file.
S6: when playing the AVI, loading the AVI video file and the syn file corresponding to the AVI video file at the same time. When the AVI file is played on the workshop terminal. The player reads the syn file and displays all the procedures in the file. When a user specifies to play a certain process, the system finds the start time and the end time of the process in the process information file. And obtaining the simulation time length of the procedure by using the ending time-starting time. And setting the AVI video player to start playing from the specified time of the AVI. And simultaneously setting a timer for timing. And when the timer counts the simulation time length of the procedure, the video playing is automatically stopped.
In light of the above technical idea, those skilled in the art can make various modifications to the method for running an application program without departing from the scope of the invention, which still falls within the scope of the invention.

Claims (5)

1. A process video output method in three-dimensional assembly simulation is characterized by comprising the following steps:
a) Sequentially simulating and playing three-dimensional animation of the process of the assembly process;
b) Converting the three-dimensional animation into a series of continuous pictures;
c) recording node information of each assembly process;
d) And converting the pictures and the node information of each assembling process into video files and corresponding process information files.
2. The method of claim 1, wherein said step b) further comprises the steps of:
b1) performing off-screen rendering on the three-dimensional scene every time one frame of animation is played;
b2) And converting the three-dimensional scene animation into a series of pictures according to the time sequence of the simulation playing.
3. the method of claim 1, wherein said step c) further comprises the steps of: every time when playing is started from one process or when the process is switched to the next process, the name of the process, the work order number and the number of playing frames at that time are recorded.
4. The method of claim 1, wherein said step d) further comprises the steps of:
d1) multiplying the playing frame number by the video file target frame rate to obtain the accurate time of video playing at the moment;
d2) storing the process names and the start and end times of the process in an information file in a one-to-one correspondence manner;
d3) Converting the picture into a video file;
d) Two files are generated: video files, process information files.
5. a process video playing method in three-dimensional assembly simulation is characterized by comprising the following steps:
a) Acquiring the video file and the corresponding process information file;
b) Selecting a designated assembly process and playing a corresponding segment of the video file;
wherein the step b) further comprises the steps of:
b1) reading the procedure information file and presenting all assembly procedures;
b2) When a certain procedure is appointed to be played, finding out the starting time T1 and the ending time T2 of the procedure in a procedure information file, and obtaining the simulation time length T3 of the procedure by using T2-T1;
b3) Setting the video player to start playing from T1, and simultaneously setting a timer to count the time length T3;
b4) when the timer counts the simulation time length T3 of the process, the video playing is automatically stopped.
CN201610370150.0A 2016-05-30 2016-05-30 Method for outputting and playing process video in three-dimensional assembly simulation Active CN106056654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610370150.0A CN106056654B (en) 2016-05-30 2016-05-30 Method for outputting and playing process video in three-dimensional assembly simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610370150.0A CN106056654B (en) 2016-05-30 2016-05-30 Method for outputting and playing process video in three-dimensional assembly simulation

Publications (2)

Publication Number Publication Date
CN106056654A CN106056654A (en) 2016-10-26
CN106056654B true CN106056654B (en) 2019-12-17

Family

ID=57171987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610370150.0A Active CN106056654B (en) 2016-05-30 2016-05-30 Method for outputting and playing process video in three-dimensional assembly simulation

Country Status (1)

Country Link
CN (1) CN106056654B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659692A (en) * 1992-01-13 1997-08-19 Massachusetts Institute Of Technology Computer method and apparatus for video conferencing
CN102572301A (en) * 2010-12-31 2012-07-11 新奥特(北京)视频技术有限公司 Program editing system with desktop as center
CN103594005A (en) * 2013-11-06 2014-02-19 深圳供电局有限公司 System and method for transformer manufacturing technology three-dimensional simulating training
CN103605857A (en) * 2013-11-27 2014-02-26 北京卫星环境工程研究所 Spacecraft assembly oriented three-dimensional structured process design system and method
CN104268356A (en) * 2014-10-17 2015-01-07 哈尔滨工业大学 Airplane model assembling method for lean production
CN104407576A (en) * 2014-10-23 2015-03-11 上海崟岛信息技术有限公司 Realization method for general type production and manufacturing unit and control system thereof
CN105407379A (en) * 2014-08-26 2016-03-16 天脉聚源(北京)教育科技有限公司 Synchronous recording method for multiple media
CN105550891A (en) * 2016-03-01 2016-05-04 源品汇信息科技(北京)股份有限公司 Product anti-fake source tracing method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659692A (en) * 1992-01-13 1997-08-19 Massachusetts Institute Of Technology Computer method and apparatus for video conferencing
CN102572301A (en) * 2010-12-31 2012-07-11 新奥特(北京)视频技术有限公司 Program editing system with desktop as center
CN103594005A (en) * 2013-11-06 2014-02-19 深圳供电局有限公司 System and method for transformer manufacturing technology three-dimensional simulating training
CN103605857A (en) * 2013-11-27 2014-02-26 北京卫星环境工程研究所 Spacecraft assembly oriented three-dimensional structured process design system and method
CN105407379A (en) * 2014-08-26 2016-03-16 天脉聚源(北京)教育科技有限公司 Synchronous recording method for multiple media
CN104268356A (en) * 2014-10-17 2015-01-07 哈尔滨工业大学 Airplane model assembling method for lean production
CN104407576A (en) * 2014-10-23 2015-03-11 上海崟岛信息技术有限公司 Realization method for general type production and manufacturing unit and control system thereof
CN105550891A (en) * 2016-03-01 2016-05-04 源品汇信息科技(北京)股份有限公司 Product anti-fake source tracing method and system

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
MBD模式下机加工艺执行可视化文件生成方法;程振阳,周来水,赵恒;《航空制造技术》;20140301;第101-104页 *
三峡工程机组安装过程仿真系统的开发;吴正佳, 杜义贤, 陈鹏;《水力发电学报》;20060831;第25卷(第4期);第142-144页 *
复杂产品计算机辅助装配过程控制与管理系统;刘检华,丁向峰,袁丁,张佳朋,万峰1;《计算机集成制造系统》;20100831;第1622-1633页 *
面向三维装配工艺系统的CATIA模型信息提取与应用;张金,邱金江;《计算机系统应用》;20121215;第21卷(第12期);第125-128页 *
面向虚拟装配的AVI 视频动画制作算法研究及应用;杜龙,唐承统,刘检华等;《计算机应用研究》;20051231;第142-143、147页 *

Also Published As

Publication number Publication date
CN106056654A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
KR100984412B1 (en) Recording medium, reproduction device, recording method, and reproduction method
CN105307028A (en) Video editing method and device specific to video materials of plurality of lenses
CN110708589B (en) Information sharing method and device, storage medium and electronic device
JPH04117686A (en) Moving image editing device
CN109195025B (en) Game advertisement production method and platform and storage medium
CN106792152B (en) Video synthesis method and terminal
EP1997109A1 (en) Converting a still image in a slide show to a plurality of video frame images
CN101420612A (en) Still image compression using moving image techniques
CN105578248B (en) Fancy splicing playing method, device and system
CN104185088B (en) A kind of method for processing video frequency and device
CN109672837A (en) Equipment of taking photo by plane real-time video method for recording, mobile terminal and computer storage medium
CN111131874B (en) Method, equipment and computer storage medium for solving problem of playing jam of H.265 code stream random access point
CN107016718A (en) A kind of scene rendering method and apparatus
TW201115569A (en) Recording medium and method, reproduction apparatus and method, and computer-readable program
CN106056654B (en) Method for outputting and playing process video in three-dimensional assembly simulation
MX2010011793A (en) Recording/playback device.
US20070154164A1 (en) Converting a still image in a slide show to a plurality of video frame images
CN107666616A (en) A kind of advertisement placement method and device based on video content
CN104984555A (en) Dynamic file collecting and editing system of 4D movie videos
WO2018049682A1 (en) Virtual 3d scene production method and related device
CN109587543B (en) Audio synchronization method and apparatus and storage medium
CN105191298A (en) System for providing complex-dimensional content service using complex 2D-3D content file, method for providing said service, and complex-dimensional content file therefor
CN103455474A (en) Editing method and system of image materials
JP2009529736A (en) Apparatus and method for providing a sequence of video frames, apparatus and method for providing a scene model, scene model, apparatus and method for creating a menu structure, and computer program
CN109801377A (en) Broadcast information processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant