Dynamic equipment execution action and movie picture synchronization method, device and equipment
By acquiring and calculating the data of dynamic devices and videos, using three-dimensional software to bind the model and frame curves, segmenting the action block and motion axis data, the problem of low synchronization between dynamic devices and video images is solved, and more accurate and efficient Synchronous judgment and debugging.
Patent Information
- Application Number
- CN202411152436.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-13
AI Technical Summary
In the prior art, dynamic equipment and video screens are not synchronous in offline synchronization design, and rely on human feelings during debugging and maintenance, with large subjective factors and low efficiency.
By obtaining the original data of the dynamic device and the video, calculate the 'actual trigger time of the video-mark action block actual trigger time-movie frame' information, use variance to judge the synchronization degree, use three-dimensional software to bind the 3D model of the dynamic device and the video frame curve, and divide the Action block and motion axis data, calculate the synchronization degree.
The accuracy and efficiency of judging synchronousness of dynamic equipment and film screens is achieved, reducing the influence of human subjective factors, and improving the efficiency of engineering debugging and maintenance.
Smart Images

Figure CN119135960A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data information processing, and in particular to a method, device and equipment for synchronizing the execution of actions of a dynamic device with a movie picture. Background Art
[0002] Currently in the amusement and cultural tourism industries, most projects involving the coordination of dynamic equipment and film images adopt two forms: real-time interaction or offline synchronization design. For projects using offline synchronization design, there are many factors that may cause the synchronization between the execution of the dynamic equipment and the film images to be low, thereby reducing the passengers' gaming experience; on the other hand, during the project debugging and later maintenance process, the judgment of the synchronization between the execution of the dynamic equipment and the film images requires repeated rides by people to feel and judge, which has a large subjective factor, is inaccurate and inefficient. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a more accurate method, device and equipment for synchronizing the execution of actions of a dynamic device with the screen of a movie.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for synchronizing the execution of actions of a motion device with the screen of a movie, comprising:
[0005] S1, obtaining the original data mark action block information pair of the dynamic device;
[0006] S2, obtaining movie picture playback data information, wherein the movie picture playback data information includes world time and movie frame number;
[0007] S3, obtaining actual operation data information of the dynamic device; the actual operation data information of the dynamic device includes world time and actual execution result data of the motion axis;
[0008] S4, finding the position of each marker action block in the actual operation data of the dynamic device;
[0009] S5, calculating the information pair of "actual trigger time of the film - actual trigger time of the marker action block - film frame" according to the position of each marker action block in the actual operation data of the dynamic device;
[0010] S6. Take the variance of the theoretical film frame position and the actual film frame position of all the landmark action blocks of each film, and correspond different score levels according to the range of variance size, so as to judge the degree of synchronization between the action executed by the motion sensing device and the film picture.
[0011] Furthermore, step S1 specifically includes:
[0012] S11, binding the 3D model of the dynamic device in the 3D software, so that the 3D model of the dynamic device can be dragged according to the actual mechanical movement mode;
[0013] S12, dividing the film into sequence frame images, and importing them into 3D software to produce key frame curves of dynamic device actions;
[0014] S13, calculating and outputting motion axis data of the dynamic device and corresponding film frame data;
[0015] S14. For the motion axis data corresponding to the film, a time window size q of a certain length is set, and several substrings are selected in the motion axis sequence as different marker action blocks. The start time of each marker action block corresponds to the film frame number. The motion axis data of each film can be divided into a certain number of marker action blocks, thereby obtaining an information pair of "film theoretical trigger time-marker action block theoretical trigger time-film frame"; wherein q represents the number of single motion axis data in the marker action block.
[0016] Furthermore, step S11 specifically includes:
[0017] S111, the six-degree-of-freedom upper platform of the dynamic equipment and the car seat model are taken as a model group SA, and the upper end points of the telescopic mechanisms of each motion axis are up k As a child object of SA, it can follow SA's displacement and rotation; k represents the motion axis number;
[0018] S112, up the upper end point of the telescopic mechanism of the motion axis k and the lower endpoint down k Perform target constraints or bone binding to ensure that the upper and lower endpoints have the correct pointing relationship when the upper platform is displaced and rotated.
[0019] Further, in step S12, the key frame curve of the dynamic device is composed of time t l ,l=1,…,n and its corresponding frame value x l ,l=1,…,n to determine, where x is the carriage displacement parameter or Euler angle parameter, namely the carriage x-axis displacement, y-axis displacement, z-axis displacement, x-axis rotation, y-axis rotation, and z-axis rotation.
[0020] Furthermore, in step S13, the motion axis of the dynamic device is the motion axis of the drive unit of the oil cylinder and electric cylinder device; the motion axis data is the length sequence of the oil cylinder and electric cylinder based on the time sequence, and the film frame data is the film frame number sequence based on the time sequence.
[0021] Further, step S4 specifically includes:
[0022] S41, respectively using the actual execution result data A i Each moment in the sequence serves as a starting position;
[0023] S42, flag action block B ijThe k-th motion axis data in the actual execution result data A i The k-th motion axis data in the , starting from the current moment, subtract the absolute values in sequence and add the absolute values until the current motion axis q data are calculated, and the sum is obtained k ; k = 1, ..., p;
[0024] S43, at the current moment, sum of each motion axis k Add the mean, (sum 1 +...+sum p ) / p = sumAver;
[0025] S44, return to S42, until the actual execution result data A is traversed i All moments in the sequence, get the sumAver sequence;
[0026] S45, the starting position corresponding to the minimum value in the sumAver sequence is the marker action block B ij The position in the actual operation data of the dynamic equipment.
[0027] Further, step S5 is specifically, based on the obtained marker action block B ij At the position in the actual operation data of the dynamic device, the corresponding actual film frame is searched; and the information pair of "actual film trigger time-actual trigger time of the marker action block-film frame" is obtained.
[0028] The present invention also provides a device for synchronizing the execution of motions of a dynamic device with the screen of a film, comprising:
[0029] The first acquisition module is used to acquire the original data mark action block information pair of the dynamic device;
[0030] A second acquisition module is used to acquire the video frame playback data information, wherein the video frame playback data information includes world time and video frame number;
[0031] The third acquisition module is used to acquire actual operation data information of the dynamic device; the actual operation data information of the dynamic device includes world time and actual execution result data of the motion axis;
[0032] A position search module is used to find the position of each marker action block in the actual operation data of the dynamic device;
[0033] An information pair calculation module, used to calculate the information pair of "actual trigger time of the film - actual trigger time of the marker action block - film frame" according to the position of each marker action block in the actual operation data of the motion device;
[0034] The synchronization degree calculation module is used to obtain the variance of the theoretical film frame position and the actual film frame position of all the landmark action blocks in each film, and to correspond different score levels according to the variance size range, so as to judge the synchronization degree between the action executed by the dynamic device and the film picture.
[0035] The present invention also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor implements the above-mentioned method for synchronizing the execution of actions of a dynamic device with a movie screen when executing the computer program.
[0036] The present invention also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method for synchronizing the motion execution of a motion sensing device with a video screen as described above can be implemented.
[0037] The beneficial effects of the present invention are as follows: it allows the debugging personnel to freely specify the execution results of the equipment action blocks of key concern and conduct debugging and verification of key parts, and also allows for a comprehensive evaluation of the effects of the entire execution process of the equipment; and through program quantification, the comparison is faster and more accurate, which can reduce the impact of human subjective factors on the judgment results and improve the efficiency of engineering debugging and subsequent maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The specific structure of the present invention is described in detail below in conjunction with the accompanying drawings.
[0039] Figure 1 It is a flow chart of a method for synchronizing a motion device with a video screen according to an embodiment of the present invention;
[0040] Figure 2 It is a block diagram of a device for synchronizing motion execution of a motion device with a video image according to an embodiment of the present invention;
[0041] Figure 3 It is a diagram of motion axis data of a dynamic device and corresponding film frame data in an embodiment of the present invention;
[0042] Figure 4 Schematic diagram of a marking action block according to an embodiment of the present invention;
[0043] Figure 5 A schematic block diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0044] 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 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.
[0045] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0046] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0047] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0048] like Figure 1 As shown, the first embodiment of the present invention is: a method for synchronizing a motion device with a video screen, comprising:
[0049] S1. Obtaining the original data mark action block information pair of the dynamic device; the dynamic device is a six-degree-of-freedom platform mechanism, and the platform has a mechanical structure of a carriage seat;
[0050] Furthermore, step S1 specifically includes:
[0051] S11, binding the 3D model of the dynamic device in the 3D software, so that the 3D model of the dynamic device can be dragged according to the actual mechanical movement mode;
[0052] S12, dividing the film into sequence frame images, and importing them into 3D software to produce key frame curves of dynamic device actions; the frame rate set when producing the key frame curves of dynamic device actions is consistent with the frame rate of the film; the frame rate of the film is usually 24fps or 25fps; the 3D software can be Maya, Blender and other animation production software;
[0053] S13, calculating and outputting the motion axis data of the dynamic device and the corresponding film frame data; Figure 3 shown.
[0054] The motion axis data of the dynamic device is saved as a computer data file format txt\csv\xls; when outputting data, if the data output frame rate is inconsistent with the film frame rate, the output film frame number is linearly interpolated, and floating point numbers are allowed in the film frame number;
[0055] S14, select the mark action block: Figure 4 The boxes show two marked action blocks. For the motion axis data corresponding to the film, a time window size q of a certain length is set. Several substrings are selected in the motion axis sequence as different marker action blocks. The starting time of each marker action block corresponds to the film frame number. The motion axis data of each film can be divided into a certain number of marker action blocks, thereby obtaining the "film theoretical trigger time-marker action block theoretical trigger time-film frame" information pair; wherein q represents the number of single motion axis data in the marker action block.
[0056] Furthermore, step S11 specifically includes:
[0057] S111, the six-degree-of-freedom upper platform of the dynamic equipment and the car seat model are taken as a model group SA, and the upper end points of the telescopic mechanisms of each motion axis are up k As a child object of SA, it can follow SA's displacement and rotation; k represents the motion axis number;
[0058] S112, up the upper end point of the telescopic mechanism of the motion axis k and the lower endpoint down k Perform target constraints or bone binding to ensure that the upper and lower endpoints have the correct pointing relationship when the upper platform is displaced and rotated.
[0059] Further, in step S12, the key frame curve of the dynamic device is composed of time t l ,l=1,…,n and its corresponding frame value x l ,l=1,…,n to determine, where x is the carriage displacement parameter or Euler angle parameter, namely the carriage x-axis displacement, y-axis displacement, z-axis displacement, x-axis rotation, y-axis rotation, and z-axis rotation.
[0060] Furthermore, in step S13, the motion axis of the dynamic device is the motion axis of the drive unit of the oil cylinder and electric cylinder device; the motion axis data is the length sequence of the oil cylinder and electric cylinder based on the time sequence, and the film frame data is the film frame number sequence based on the time sequence.
[0061] The motion axis data of the dynamic device can be one motion axis or multiple motion axis data, and p is used to represent the number of motion axes;
[0062] There is a certain time interval between the two units before and after the motion axis data mark action block of the film. No two blocks of the mark action block in the same film can be the same. The motion axis data corresponding to each mark action block is saved as an independent data file. The selection of the mark action block avoids selecting the motion axis motion static segment; the number of mark action blocks divided for each film is represented by j, j = 1, ..., N, the number of films is represented by i, i = 1, ..., M, and the mark action block is represented by B ij ; The movie frame corresponding to the starting point of the action block is TF ij ;
[0063] The value of the time window size q of the motion axis data of the marker action block is related to the current length of the film and the complexity of the key frame curve of the dynamic device action. Usually, the time window size of the motion axis data of the marker block is set to ensure that the motion axis data is variable and should cover the dynamic process of at least one car action. The number of marker action blocks that need to be divided for each film is related to the number of synchronization point actions that need to be identified. Usually, when the dynamic device car action and the film picture are accurately matched, it can bring a real immersive experience to the passengers, or the film picture that needs to be highlighted during design is selected as the synchronization point. The starting position of each marker action block is specified by the design engineer. After specifying the expected number of marker action blocks, the program is still required to determine whether there are the same marker action blocks divided by the current film. If the same part appears, one of them needs to be modified or discarded. After selecting the marker action blocks, each marker action block is saved as a separate data file.
[0064] S2, obtaining movie picture playback data information, wherein the movie picture playback data information includes world time and movie frame number; the movie picture playback data information is complete and continuous data without missing information;
[0065] The video frame playback data information is collected in real time by the playback software system; the video frame number data is filtered from the collected video frame playback data information, and the video frame playback data information is processed to determine whether it is continuous and complete;
[0066] S3, obtaining actual operation data information of the dynamic device; the actual operation data information of the dynamic device includes world time and actual execution result data of the motion axis;
[0067] The actual operation data of the dynamic equipment is complete and continuous data without missing information. According to the screen position and the number of videos in the project, the actual operation data of the dynamic equipment is divided into i parts, each of which is represented by A i Indicates the actual execution status of the corresponding dynamic device in each screen area;
[0068] The actual operation data of the dynamic equipment is collected in real time by the lower computer program system; the motion axis data of the dynamic equipment is selected from the collected data, and the data is processed to determine whether it is continuous and complete.
[0069] S4, finding the position of each marker action block in the actual operation data of the dynamic device;
[0070] Further, step S4 specifically includes:
[0071] S41, respectively using the actual execution result data A i Each moment in the sequence serves as a starting position;
[0072] S42, flag action block B ij The k-th motion axis data in the actual execution result data A i The k-th motion axis data in , starting from the current moment, subtract the absolute values in sequence and add the absolute values until the q data of the current motion axis are calculated to obtain sum k; k = 1, ..., p;
[0073] S43, at the current moment, sum of each motion axis k Add the mean, (sum 1 +...+sum p ) / p = sumAver;
[0074] S44, return to S42, until the actual execution result data A is traversed i All moments in the sequence, get the sumAver sequence;
[0075] S45, the starting position corresponding to the minimum value in the sumAver sequence is the marker action block B ij The position in the actual operation data of the dynamic equipment.
[0076] In the case of multiple movie data, the actual operation data of the dynamic device is cut according to the movie scene and divided into multiple data files. The marked action block of each movie is only searched in the corresponding segmented actual operation data of the dynamic device to avoid cross-movie search, improve accuracy and reduce search time. The frequency of collecting movie screen playback information and actual operation data of the dynamic device is consistent with the output frequency of the theoretical data of the motion axis of the dynamic device. Here it is 10HZ. When the acquisition frequency is higher than the output frequency, the output data must be sparsely jumped so that the frequency of the sparse output data is consistent with the frequency of the collected data.
[0077] S5, calculating the information pair of "actual trigger time of the film - actual trigger time of the marker action block - film frame" according to the position of each marker action block in the actual operation data of the dynamic device;
[0078] The obtained marker action block B ij Find the corresponding actual film frame at the position in the actual operation data of the dynamic device; obtain the information pair of "actual film trigger time - actual trigger time of the marker action block - film frame". Get B ij The position of the marking action block in the actual running data of the dynamic device is equivalent to finding the starting line subscript, which means knowing the world time, and then using the world time to find and calculate the corresponding actual film frame information AF ij .
[0080] S6. Take the variance of the theoretical film frame position and the actual film frame position of all the landmark action blocks of each film, and correspond different score levels according to the range of variance size, so as to judge the degree of synchronization between the action executed by the motion sensing device and the film picture.
[0081] The method for synchronizing the execution of motion of a dynamic device with the screen of a film according to the embodiment of the present invention can not only enable the debugging personnel to freely specify the execution results of the device action blocks of key concern and conduct debugging and verification of key parts, but also make a comprehensive evaluation of the effect of the entire execution process of the device; and through the program quantification method, the comparison is faster and more accurate, which can reduce the influence of human subjective factors on the judgment results and improve the efficiency of engineering debugging and later maintenance.
[0082] like Figure 2 As shown, the present invention also provides a device for synchronizing the execution of actions of a dynamic device with a video screen, comprising:
[0083] The first acquisition module 10 is used to acquire the original data mark action block information pair of the dynamic device;
[0084] The second acquisition module 20 is used to acquire the video frame playback data information, wherein the video frame playback data information includes the world time and the video frame number;
[0085] The third acquisition module 30 is used to acquire actual operation data information of the dynamic device; the actual operation data information of the dynamic device includes world time and actual execution result data of the motion axis;
[0086] A position search module 40 is used to search for the position of each marker action block in the actual operation data of the dynamic device;
[0087] An information pair calculation module 50 is used to calculate the information pair of "actual trigger time of the film - actual trigger time of the marker action block - film frame" according to the position of each marker action block in the actual operation data of the dynamic device;
[0088] The synchronization degree calculation module 60 is used to obtain the variance of the theoretical film frame position and the actual film frame position of all the landmark action blocks in each film, and to determine the degree of synchronization between the action executed by the motion device and the film screen according to different score levels corresponding to the variance size range.
[0089] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned motion device executing action and the film picture synchronization device can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0090] The above-mentioned motion device execution action and film picture synchronization device can be implemented in the form of a computer program, and the computer program can be used in Figure 5Runs on the computer device shown.
[0091] See also Figure 5 , Figure 5 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.
[0092] See also Figure 5 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0093] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a method for synchronizing a motion device with a movie screen.
[0094] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0095] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for synchronizing the execution of motion by a motion sensing device with the picture of a movie.
[0096] The network interface 505 is used to communicate with other devices over the network. Figure 5 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0097] The processor 502 is used to run the computer program 5032 stored in the memory to implement the method for synchronizing the motion execution of the motion device with the video picture as described above.
[0098] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0099] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0100] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method for synchronizing the motion device execution action with the film screen as described above.
[0101] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, or any other computer-readable storage medium that can store program codes.
[0102] Those of ordinary skill in the art will 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 terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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.
[0103] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0104] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0106] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for synchronizing a motion device with a video screen, characterized in that: include: S1, obtaining the original data mark action block information pair of the dynamic device; S2, obtaining movie picture playback data information, wherein the movie picture playback data information includes world time and movie frame number; S3, obtaining actual operation data information of the dynamic device; the actual operation data information of the dynamic device includes world time and actual execution result data of the motion axis; S4, finding the position of each marker action block in the actual operation data of the dynamic device; S5, calculating the information pair of "actual trigger time of the film - actual trigger time of the marker action block - film frame" according to the position of each marker action block in the actual operation data of the dynamic device; S6. Take the variance of the theoretical film frame position and the actual film frame position of all the landmark action blocks of each film, and correspond different score levels according to the range of variance size, so as to judge the degree of synchronization between the action executed by the motion sensing device and the film picture.
2. The method for synchronizing the motion of a dynamic device with the video image as claimed in claim 1, characterized in that: Step S1 specifically includes: S11, binding the 3D model of the dynamic device in the 3D software, so that the 3D model of the dynamic device can be dragged according to the actual mechanical movement mode; S12, dividing the film into sequence frame images, and importing them into 3D software to produce key frame curves of dynamic device actions; S13, calculating and outputting motion axis data of the dynamic device and corresponding film frame data; S14. For the motion axis data corresponding to the film, a time window size q of a certain length is set, and several substrings are selected in the motion axis sequence as different marker action blocks. The start time of each marker action block corresponds to the film frame number. The motion axis data of each film can be divided into a certain number of marker action blocks, thereby obtaining "film theoretical trigger time-marker action block theoretical trigger time-film frame" information pairs; wherein q represents the number of single motion axis data in the marker action block.
3. The method for synchronizing the motion of a dynamic device with the video image as claimed in claim 2, characterized in that: Step S11 specifically includes: S111, the six-degree-of-freedom upper platform of the dynamic equipment and the car seat model are taken as a model group SA, and the upper end points of the telescopic mechanisms of each motion axis are up k As a child object of SA, it can follow SA's displacement and rotation; k represents the motion axis number; S112, up the upper end point of the telescopic mechanism of the motion axis k and the lower endpoint down k Perform target constraints or bone binding to ensure that the upper and lower endpoints have the correct pointing relationship when the upper platform is displaced and rotated.
4. The method for synchronizing the motion of a dynamic device with the video image as claimed in claim 2, characterized in that: In step S12, the key frame curve of the dynamic device is composed of time t l ,l=1,…,n and its corresponding frame value x l ,l=1,…,n to determine, where x is the carriage displacement parameter or Euler angle parameter, namely the carriage x-axis displacement, y-axis displacement, z-axis displacement, x-axis rotation, y-axis rotation, and z-axis rotation.
5. The method for synchronizing the motion of a dynamic device with the video image as claimed in claim 2, characterized in that: In step S13, the motion axis of the dynamic device is the motion axis of the drive unit of the oil cylinder and electric cylinder device; the motion axis data is the length sequence of the oil cylinder and electric cylinder based on the time sequence, and the film frame data is the film frame number sequence based on the time sequence.
6. The method for synchronizing the motion of a dynamic device with the video image as claimed in claim 1, characterized in that: Step S4 specifically includes: S41, respectively using the actual execution result data A i Each moment in the sequence serves as a starting position; S42, flag action block B ij The k-th motion axis data in the actual execution result data A i The k-th motion axis data in the , starting from the current moment, subtract the absolute values in sequence and add the absolute values until the current motion axis q data are calculated, and the sum is obtained k ; k = 1, ..., p; S43, at the current moment, sumk of each motion axis is added to obtain the average value, (sum1+...+sum p ) / p = sumAver; S44, return to S42, until the actual execution result data A is traversed i All moments in the sequence, get the sumAver sequence; S45, the starting position corresponding to the minimum value in the sumAver sequence is the marker action block B ij The position in the actual operation data of the dynamic equipment.
7. The method for synchronizing the motion of a dynamic device with the video image as claimed in claim 1, characterized in that: Step S5 specifically includes: ij Find the corresponding actual video frame at the location in the actual running data of the motion sensing device; Get the information pair of "actual trigger time of the movie - actual trigger time of the marker action block - movie frame".
8. A device for synchronizing the execution of motion by a dynamic device with the picture of a film, characterized in that: include: The first acquisition module is used to acquire the original data mark action block information pair of the dynamic device; A second acquisition module is used to acquire the video frame playback data information, wherein the video frame playback data information includes world time and video frame number; The third acquisition module is used to acquire actual operation data information of the dynamic device; the actual operation data information of the dynamic device includes world time and actual execution result data of the motion axis; A position search module is used to find the position of each marker action block in the actual operation data of the dynamic device; An information pair calculation module, used to calculate the information pair of "actual trigger time of the film - actual trigger time of the marker action block - film frame" according to the position of each marker action block in the actual operation data of the dynamic device; The synchronization degree calculation module is used to obtain the variance of the theoretical film frame position and the actual film frame position of all the landmark action blocks in each film, and to correspond different score levels according to the variance size range, so as to judge the synchronization degree between the action executed by the dynamic device and the film picture.
9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method for synchronizing the motion execution of a dynamic device with a movie screen as described in any one of claims 1 to 7 when executing the computer program.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method for synchronizing the motion execution of a dynamic device with a movie picture according to any one of claims 1 to 7 can be implemented.
