Summary of the invention
The object of the present invention is to provide a kind of robotic archivals to use, storage method and system, make the movement of robot with
The beat of music is ideally matched, meanwhile, each synchronously renewing file can be made, when reducing each file and being updated one by one
Inconvenience.
Technical solution provided by the invention is as follows:
A kind of robotic archival storage method, comprising: step S10 creates robot audio track file and image track text
Part;Wherein, the audio track file includes: header file and frame file;Step S20 is by the audio track file and the shadow
It is synchronized as trajectory files carry out same time shaft in the form of frame synchronization;Step S30 will synchronize after the audio track file and
The image trajectory files are integrated into robotic archival and are stored.
It is further preferred that the header file includes: audio header file, movement header file and LED light effect header file;It is described
Step S10 includes: that step S11 carries out assignment to the header file, and is written in the audio track file.
It is further preferred that before the step S10 further include: step S01 presets time range.
It is further preferred that the frame file includes: audio file and motion file;The audio file includes: audio
Frame;The motion file includes: movement frame head, action action frame;The step S10 further include: step S12 is according to pre-set institute
Time range is stated, the audio file and the motion file are respectively converted to the frame data of corresponding size, are sequentially written in institute
It states in audio track file;Step S13 judges with the presence or absence of action action frame compressing mark in the movement header file, if so, holding
Row step S14;Step S14 compresses the motion file.
It is further preferred that the frame file further include: LED light imitates file;The LED light effect file includes: LED light effect
Frame head and LED light imitate frame;The step S10 further include: step S15 is according to the pre-set time range, by the LED
Light efficiency file is converted to the frame data of corresponding size, is sequentially written in the audio track file;Step S16 judges the LED
Frame compressing mark is imitated with the presence or absence of LED light in light efficiency header file, if so, thening follow the steps S17;Step S17 imitates the LED light
File is compressed.
It is further preferred that the step S20 is specifically included: step S21, will according to the pre-set time range
The image trajectory files are converted to the frame data of corresponding size;Step S22 is by the audio file, the motion file, institute
State the frame data that LED light effect file and the image trajectory files are respectively converted according to the pre-set time range
It is synchronous to carry out same time shaft.
The present invention also provides a kind of robotic archival application methods, comprising: step S40 obtains robotic archival enabling and refers to
It enables;Temporally axis is successively read corresponding frame data in the robotic archival of storage to step S50;Wherein, the robotic archival
It include: audio track file and image trajectory files, the audio track file includes: header file and frame file;Step S60 root
Audio and image are played according to the corresponding frame data control robot of the time shaft.
It is further preferred that the header file includes: audio header file, movement header file and LED light effect header file.
It is further preferred that the frame file includes: audio file and motion file;The audio file includes: audio
Frame;The motion file includes: movement frame head, action action frame;The step S60 includes: that step S61 judges that the time shaft is corresponding
The frame data in content;Step S62 when in the frame data include audio frame and image frame when, control robot according to
The audio frame plays corresponding audio, while playing corresponding image according to the image frame;Step S63 works as the frame data
In include audio frame, action action frame and when image frame, control robot plays corresponding audio according to the audio frame, according to
While image frame plays corresponding image, corresponding movement is made according to the action action frame.
It is further preferred that the frame file further include: LED light imitates file;The LED light effect file includes: LED light effect
Frame head and LED light imitate frame;The step S60 further include: it includes audio frame, action action frame, LED in the frame data that step S64, which works as,
When light efficiency frame and image frame, control robot plays corresponding audio according to the audio frame, plays phase according to the image frame
The image answered while make corresponding movement according to the action action frame, imitates frame according to the LED light and makes corresponding LED light
Effect.
The present invention also provides a kind of robotic archival storage systems, comprising: creation module, creation robot audio track text
Part and image trajectory files;Wherein, the audio track file includes: header file and frame file;Synchronization module, with the creation
The audio track file, it is synchronous to be carried out with the image trajectory files time shaft by module electrical connection in the form of frame synchronization;It deposits
Module is stored up, is electrically connected with the synchronization module, the audio track file and image trajectory files integration after synchronizing
It is stored at robotic archival.
It is further preferred that the header file includes: audio header file, movement header file and LED light effect header file;It is described
Creation module includes: assignment submodule, carries out assignment to the header file, and be written in the audio track file.
It is further preferred that the memory module, is further used for storing pre-set time range;Further include: it sets
Module is set, is electrically connected with the memory module, the time range is preset.
It is further preferred that the frame file includes: audio file and motion file;The audio file includes: audio
Frame;The motion file includes: movement frame head, action action frame;The creation module includes: to write submodule, according to pre-set
The audio file and the motion file are respectively converted to the frame data of corresponding size, are sequentially written in by the time range
In the audio track file;Judging submodule judges in the movement header file with the presence or absence of action action frame compressing mark;Compression
Submodule, if there are action action frame compressing mark in the movement header file, the compression submodule carries out the motion file
Compression.
It is further preferred that the frame file further include: LED light imitates file;The LED light effect file includes: LED light effect
Frame head and LED light imitate frame;It is described to write submodule, it is further used for according to the pre-set time range, by the LED light
Effect file is converted to the frame data of corresponding size, is sequentially written in the audio track file;The judging submodule, further
For judging to imitate frame compressing mark with the presence or absence of LED light in the LED light effect header file;Submodule is compressed, if the LED light is imitated
There are LED lights to imitate frame compressing mark in header file, and the compression submodule is further used for pressing LED light effect file
Contracting.
It is further preferred that the synchronization module specifically includes: transform subblock, according to the pre-set time model
It encloses, the image trajectory files is converted to the frame data of corresponding size;Frame data synchronize submodule, by the audio file,
The motion file, the LED light effect file and the image trajectory files according to the pre-set time range respectively
It is synchronous that the frame data of conversion carry out same time shaft.
Compared with prior art, the beneficial effects of the present invention are:
1, audio track file and image file are integrated into a robotic archival to store, while with frame synchronization
Both of these documents are carried out same time shaft and synchronized by form, the synchronism of audio file and image file when ensure that calling;Separately
Outside, it is integrated into the storage mode of a robotic archival, is more convenient when subsequent progress file update, is quick.
2, assignment is carried out to the header file in audio track file, header file is to specific in audio track file
The information of file describes, and is best understood from the particular content in audio track file convenient for program staff, also to ensure that machine
People calls associated documents to provide the foundation.
3, the setting for carrying out time range in advance is to guarantee that subsequent each file carries out the synchronous basis of same time shaft.
4, in the frame file in audio track file, other than original audio file, also there is motion file, Ke Yili
Solution combines motion file and audio file, it is synchronous to be convenient for same time shaft to be extended to frame file.
5, can also increase other than increasing motion file and being extended in the frame file in audio track file
LED light effect file is supplemented, and is allow robot while playing audio, is made and act accordingly, issue preset LED
Light efficiency;By audio file, motion file and LED light effect integrating documents in the audio track file, one is facilitated to three
Person carries out same time shaft and synchronizes, and two provide convenience also to update for subsequent file.
6, robotic archival is as made of audio track file and the integration of image trajectory files, and due to audio track
File is extended, it is understood that be, a robotic archival be by audio file, motion file, LED light effect file and
Made of the integration of image trajectory files, therefore so that this four files is carried out same time shaft by the way of frame synchronization and synchronize.
Due to file property difference, their respective file sizes in same time are necessarily different, it is therefore desirable to by them
Be converted to corresponding frame data according to preset time range, thus by the corresponding frame data of each file same time range into
The same time shaft of row is synchronous, to guarantee the synchronism of robotic archival and the convenience of follow-up maintenance, update.
7, when to using this robotic archival storage mode robot carry out in use, obtain enable instruction after,
Robot needs to be successively read corresponding frame data in the robotic archival of storage according to time shaft, the corresponding frame of same time shaft
Data will include the frame data in frame data and image trajectory files in audio track file, according in the frame data read
Hold control robot and makes corresponding reaction.Since the corresponding frame data of same time shaft can include the different corresponding frames of file
Data ensure that robot can make corresponding reaction in frame data simultaneously, improve the user experience effect of robot.
8, it when temporally axis is successively read corresponding frame data, judges and is specifically wrapped in the corresponding frame data of current time axis
The content included makes corresponding reaction according to the particular content control robot for including in frame data.When due to reading frame data
It is to be successively read according to time shaft, ensure that robot can make continuous reaction;Meanwhile the corresponding frame of same time shaft
Include different types of frame in data, ensure that robot can make different reactions in the same time simultaneously, such as: it is same
When play audio, image, make movement, with good synchronism between this three, improve the usage experience of user.
Robotic archival use, storage method and system of the invention, extends audio track file, in addition to original sound
Outside frequency file, motion file and LED light effect file are further comprised, the entertainment of robot is enriched;In addition, by audio track text
Part and image trajectory files are integrated into a robotic archival and are stored, and the synchronism for improving file and subsequent update are just
Benefit.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below
A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented
Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand
Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated
" only this ", can also indicate the situation of " more than one ".
In one embodiment of the invention, as shown in Figure 1, a kind of robotic archival storage method, comprising: step S10
Create robot audio track file and image trajectory files;Wherein, the audio track file includes: header file and frame text
Part;It is synchronous that the audio track file is carried out same time shaft by step S20 with the image trajectory files in the form of frame synchronization;
Step S30 will synchronize after the audio track file and the image trajectory files be integrated into robotic archival and store.
Specifically, above-mentioned audio track file and image trajectory files are binary file.By audio track file and shadow
As integrating documents are stored at a robotic archival, while both of these documents are subjected to the same time in the form of frame synchronization
Axis is synchronous, the synchronism of audio file and image file when ensure that calling;In addition, being integrated into the storage of a robotic archival
Mode is more convenient when subsequent progress file update, is quick.
In the embodiment of another variation of the invention, there are also the storage methods of another robotic archival, comprising:
Audio track file, image trajectory files, movement trajectory files and LED light imitate trajectory files, this four trajectory files are carried out
Same time shaft is synchronous, is integrated into a robotic archival and is stored.This storage mode is with above-mentioned the difference lies in that movement
File and LED light effect file are not re-used as the extension file storage of audio track file, but independent and audio track is literary
Part, image trajectory files equally become corresponding movement trajectory files and LED light effect trajectory files, operate more convenient, clear.?
In this storage mode, can by the form of frame synchronization, temporally axis is synchronized, time shaft can also be carried out otherwise
It is synchronous, herein without limitation.
Robotic archival format can be with reference table 1, in addition to the image trajectory files and audio track file of theory described above
Outside, robot head file is further comprised, robot head file here is to the image trajectory files and audio track for being included
Orbital data in file makees comprehensive global description, contains the creation and modification of audio track file and image trajectory files
The information such as time scale, default volume, colour gamut, duration.
Table 1
Preferably, the header file includes: audio header file, movement header file and LED light effect header file;The step
S10 includes: that step S11 carries out assignment to the header file, and is written in the audio track file.
Specifically, the header file in audio track file is to carry out information description to the specific file in audio track file
File, user or programmer can understand audio track file in depth by this header file, such as: file identification,
Version number, producer, Business Name etc., can be with the structure of header file in the audio track file in reference table 2.Wherein, file
Mark is set to " WLHB " of nybble, i.e., ASCII character value corresponding to each letter, software distinguished by file identification whether
For the robot motion file to be identified.
Table 2
Please refer to table 3, in header file in audio track file movement header file and LED light effect header file carried out into
The specific division of one step.It should be noted that the variable-definition of audio track files header structure shown in table 1, table 2, table 3 is only to lift
Example explanation, those skilled in the art can self-settinies according to actual needs.
Table 3
Preferably, before step S10 further include: step S01 presets time range.
Specifically, presetting time range is that subsequent each file carries out the synchronous basis of same time shaft.
Preferably, the frame file includes: audio file and motion file;The audio file includes: audio frame;It is described
Motion file includes: movement frame head, action action frame;The step S10 further include: step S12 is according to the pre-set time
The audio file and the motion file are respectively converted to the frame data of corresponding size, are sequentially written in the audio by range
In trajectory files;Step S13 judges with the presence or absence of action action frame compressing mark in the movement header file, if so, thening follow the steps
S14;Step S14 compresses the motion file.
Specifically, can also include movement text in frame file in audio track file other than original audio file
Part is equal to motion file and audio file combining storage, facilitates the synchronization of subsequent file.Due to audio file
It is different with itself corresponding size of data of motion file, as its name suggests, corresponding frame data both within the scope of same time
Size be different, therefore, first entire audio file and motion file can be converted according to pre-set time range
Time range corresponds to each frame data of size thus, is then sequentially written in audio track file further according to time shaft, is
The same time shaft of subsequent each file progress, which synchronizes, ensure that basis.
Preferably, the frame file further include: LED light imitates file;LED light effect file include: LED light effect frame head and
LED light imitates frame;The step S10 further include: step S15 imitates text according to the pre-set time range, by the LED light
Part is converted to the frame data of corresponding size, is sequentially written in the audio track file;Step S16 judges the LED light effect head
Frame compressing mark is imitated with the presence or absence of LED light in file, if so, thening follow the steps S17;Step S17 by the LED light imitate file into
Row compression.
Specifically, the header file and frame file in existing audio track file be all it is existing about audio file,
And the present invention extends audio track file, can imitate the file about movement and/or about LED light (that is, lamp
Light) file add, improve the synchronism between different files.LED light effect file is the write-in sound in the form of frame data
In frequency trajectory files, and these frame data are also entire LED light effect file according to pre-set time range, are first converted to
Obtained from the frame data of corresponding size.
Preferably, step S20 is specifically included: step S21 is according to the pre-set time range, by the image rail
Road file is converted to the frame data of corresponding size;The audio file, the motion file, the LED light are imitated text by step S22
Part and the image trajectory files are carried out according to the frame data that the pre-set time range is respectively converted with for the moment
Between axis it is synchronous.
Specifically, to each file carry out same time shaft it is synchronous when, need first by each file according to it is preset when
Between range be converted to the frame data of corresponding size, this step is to carry out the synchronous basis of same time shaft to be subsequent.
The specific division of frame file in audio track file all can be with reference table 4, the descriptions such as LED light effect, light, light
For the control file that robot puts on display lighting effects and defines, only title is different, but belongs to the description of light file.It needs
It should be noted that table 4 is merely illustrative, those skilled in the art can voluntarily change according to actual needs.
Table 4
In another embodiment of the present invention, as shown in Fig. 2, a kind of robotic archival storage method, comprising: step
S01 presets time range;Step S10 creates robot audio track file and image trajectory files;Wherein, the audio
Trajectory files include: header file and frame file;The header file includes: audio header file, movement header file and LED light effect head text
Part;The frame file includes: audio file, LED light effect file and motion file;The audio file includes: audio frame;It is described
LED light effect file includes: LED light effect frame head and LED light effect frame;The motion file includes: movement frame head, action action frame;It is described
Step S10 includes: that step S11 carries out assignment to the header file, and is written in the audio track file;Step S12 according to
The audio file and the motion file are respectively converted to the frame number of corresponding size by the pre-set time range
According to being sequentially written in the audio track file;Step S13 judges in the movement header file with the presence or absence of action action frame compression mark
Know, if so, thening follow the steps S14;Step S14 compresses the motion file;Step S15 is according to pre-set described
LED light effect file is converted to the frame data of corresponding size, is sequentially written in the audio track file by time range;
Step S16 judges to imitate frame compressing mark with the presence or absence of LED light in the LED light effect header file, if so, thening follow the steps S17;Step
Rapid S17 compresses LED light effect file;Step S20 by the audio track file and the image trajectory files with
It is synchronous that frame synchronization form carries out same time shaft;The step S20 is specifically included: step S21 according to it is pre-set described when
Between range, the image trajectory files are converted to the frame data of corresponding size;Step S22 is by the audio file, described dynamic
Make what file, LED light effect file and the image trajectory files were respectively converted according to the pre-set time range
It is synchronous that the frame data carry out same time shaft;Step S30 will synchronize after the audio track file and the image track
Integrating documents are stored at robotic archival.
Specifically, motion file, LED light effect file, audio file and image file are combined and to be formed by the present invention
One robotic archival overcomes in robot industry in the prior art and makes robot motion can not without unified file format
The problem synchronous with music, LED light effect, disclose it is a kind of can compatible a variety of robot motions, LED light effect, audio and image text
The storing mode of part.Robotic archival storage method of the invention can both store general robot motion file, LED light effect text
Part, and audio file can be stored, while integrating image trajectory files, change individually storage music, LED light effect, image or machine
It is synchronous with robot motion can more easily to realize that light music image is played for the not convenient mode of device human action file.
In another embodiment of the present invention, as shown in figure 3, a kind of robotic archival application method, comprising: step
S40 obtains robotic archival and enables instruction;Temporally axis is successively read corresponding frame number in the robotic archival of storage to step S50
According to;Wherein, the robotic archival includes: audio track file and image trajectory files, and the audio track file includes: head
File and frame file;Step S60 plays audio and image according to the corresponding frame data control robot of the time shaft.
Preferably, the header file includes: audio header file, movement header file and LED light effect header file.
Specifically, due to using by All Files, (such as: audio file, LED light effect file, motion file, image track are literary
Part) combine to form a robotic archival and stored, when in use, can more preferably, quickly read be stored in it is same
Each file of one time shaft ensure that the synchronous effect of light music image broadcasting and robot motion may be implemented in robot.
Preferably, the frame file includes: audio file and motion file;The audio file includes: audio frame;It is described
Motion file includes: movement frame head, action action frame;The step S60 includes: that step S61 judges that the time shaft is corresponding described
Content in frame data;Step S62 controls robot according to the sound when in the frame data including audio frame and image frame
Frequency frame plays corresponding audio, while playing corresponding image according to the image frame;Step S63 works as in the frame data
When audio frame, action action frame and image frame, control robot plays corresponding audio according to the audio frame, according to the image frame
While playing corresponding image, corresponding movement is made according to the action action frame.
Preferably, the frame file further include: LED light imitates file;LED light effect file include: LED light effect frame head and
LED light imitates frame;The step S60 further include: it includes audio frame, action action frame, LED light effect frame in the frame data that step S64, which works as,
When with image frame, control robot plays corresponding audio according to the audio frame, plays corresponding shadow according to the image frame
As, corresponding movement is made according to the action action frame while, frame imitated according to the LED light make corresponding LED light and imitate.
It may not be each time shaft pair specifically, being acted or being played light to realize that robot is rhythmical
There are motion file and light file in the frame data answered, in including to the corresponding frame data of current time axis
Appearance is judged, then is controlled robot and made corresponding reaction, allows robot that music to be followed to make the movement of beat, lamp
The use of light also complies with the rhythm of music, improves the ornamental value and entertainment of robot.
In another embodiment of the present invention, as shown in figure 4, a kind of robotic archival application method, comprising: step
S40 obtains robotic archival and enables instruction;Temporally axis is successively read corresponding frame number in the robotic archival of storage to step S50
According to;Wherein, the robotic archival includes: audio track file and image trajectory files, and the audio track file includes: head
File and frame file;The header file includes: audio header file, movement header file and LED light effect header file;The frame file packet
It includes: audio file, LED light effect file and motion file;The LED light effect file includes: LED light effect frame head and LED light effect frame;
The audio file includes: audio frame;The motion file includes: movement frame head, action action frame;Step S60 is according to the time
The corresponding frame data control robot of axis plays audio and image;Step S60 includes: that step S61 judges the time shaft
Content in the corresponding frame data;Step S62 controls robot when in the frame data including audio frame and image frame
Corresponding audio is played according to the audio frame, while corresponding image is played according to the image frame;Step S63 works as the frame
When including audio frame, action action frame and image frame in data, control robot plays corresponding audio, basis according to the audio frame
While the image frame plays corresponding image, corresponding movement is made according to the action action frame;Step S64 works as the frame number
When including audio frame, action action frame, LED light effect frame and image frame in, control robot plays corresponding according to the audio frame
Audio, while play corresponding image according to the image frame, make corresponding movement according to the action action frame, according to described
LED light effect frame makes corresponding LED light effect.
Specifically, combine by audio file, motion file, LED light effect file and image trajectory files and to form one
A robotic archival, and the storage mode synchronized in the form of frame synchronization by same time shaft, in specifically used this machine
When people, robot can be made with higher synchronous when light music image is played with execution movement, substantially increase user
Usage experience.
In another embodiment of the present invention, as shown in figure 5, a kind of robotic archival storage system, creation module 10,
Create robot audio track file and image trajectory files;Wherein, the audio track file includes: header file and frame text
Part;Synchronization module 20 is electrically connected with the creation module 10, by the audio track file and the image trajectory files with frame
It is synchronous that synchronous versions carry out time shaft;Memory module 30, is electrically connected with the synchronization module 20, the audio track after synchronizing
Road file and the image trajectory files are integrated into robotic archival and are stored.
A robotic archival is formd specifically, audio track file and image track are combined, and the two
It is stored synchronized in the form of frame synchronization by same time shaft again after, ensure that this synchronization of the two big files in subsequent applications
Effect, and subsequent progress file updates and is also more convenient, is quick.
Preferably, the header file includes: audio header file, movement header file and LED light effect header file;The creation mould
Block 10 includes: assignment submodule 11, carries out assignment to the header file, and be written in the audio track file.
Specifically, the header file in audio track file is to have carried out a letter to each file in audio track file
Breath description, one facilitates the subsequent operation personnel to go and find out what's going on, and two being also that subsequent robot calls associated documents to provide the foundation.
Preferably, the memory module 30 is further used for storing pre-set time range;Further include: setting mould
Block 40 is electrically connected with the memory module, presets the time range.
Specifically, subsequent each file needs to synchronize by same time shaft, and preset time range is to provide thus
Basic guarantee.
Preferably, the frame file includes: audio file and motion file;The audio file includes: audio frame;It is described
Motion file includes: movement frame head, action action frame;The creation module 10 includes: to write submodule 12, according to pre-set described
The audio file and the motion file are respectively converted to the frame data of corresponding size by time range, are sequentially written in described
In audio track file;Judging submodule 13 judges in the movement header file with the presence or absence of action action frame compressing mark;Compression
Module 14, if there are action action frame compressing mark in the movement header file, the compression submodule carries out the motion file
Compression.
Preferably, the frame file further include: LED light imitates file;LED light effect file include: LED light effect frame head and
LED light imitates frame;It is described to write submodule 12, it is further used for according to the pre-set time range, the LED light is imitated into text
Part is converted to the frame data of corresponding size, is sequentially written in the audio track file;The judging submodule 13, is further used
Frame compressing mark is imitated with the presence or absence of LED light in judging that the LED light is imitated in header file;Submodule 14 is compressed, if the LED light is imitated
There are LED lights to imitate frame compressing mark in header file, and the compression submodule is further used for pressing LED light effect file
Contracting.
Specifically, each file is converted to the frame data of corresponding size according to pre-set time range, then it is sequentially written in
In audio track file, it is synchronous to ensure that they can carry out same time shaft.In addition, imitating text using motion file and LED light
Part expands original audio track file for only existing audio file, facilitates the subsequent calls between this three
Synchronism is also follow-up maintenance, updates and provides convenience.
Preferably, synchronization module 20 specifically includes: transform subblock 21, will according to the pre-set time range
The image trajectory files are converted to the frame data of corresponding size;Frame data synchronize submodule 22, by the audio file, described
Motion file, LED light effect file and the image trajectory files are respectively converted according to the pre-set time range
The frame data to carry out same time shaft synchronous.
Specifically, to carry out same time shaft synchronous in order to combine audio track file and image trajectory files,
It needs that image trajectory files are also first carried out frame data conversion according to pre-set time range, to keep each file same with frame
Step form is synchronized by same time shaft, guarantees that height of the robot when playing light music image and execution acts is same
Step.
In another embodiment of the present invention, as shown in fig. 6, a kind of robotic archival storage system, comprising: creation mould
Block 10 creates robot audio track file and image trajectory files;The creation module 10 includes: assignment submodule 11, right
The header file carries out assignment, and is written in the audio track file;Submodule 12 is write, according to the pre-set time
The audio file and the motion file are respectively converted to the frame data of corresponding size, are sequentially written in the audio by range
In trajectory files, and, according to the pre-set time range, LED light effect file is converted into corresponding size
Frame data are sequentially written in the audio track file;Judging submodule 13 judges in the movement header file with the presence or absence of dynamic
Make frame compressing mark, and, judge to imitate frame compressing mark with the presence or absence of LED light in the LED light effect header file;Compress submodule
14, if the compression submodule compresses the motion file there are action action frame compressing mark in the movement header file,
And if there are LED lights to imitate frame compressing mark in LED light effect header file, the compression submodule is further used for institute
LED light effect file is stated to be compressed;Wherein, the audio track file includes: header file and frame file;The header file packet
It includes: audio header file, movement header file and LED light effect header file;The frame file include: audio file, LED light effect file and
Motion file;The LED light effect file includes: LED light effect frame head and LED light effect frame;The audio file includes: audio frame;
The motion file includes: movement frame head, action action frame;Synchronization module 20 is electrically connected with the creation module 10, by the audio
It is synchronous that trajectory files carry out time shaft with the image trajectory files in the form of frame synchronization;The synchronization module 20 specifically includes:
The image trajectory files are converted to the frame of corresponding size according to the pre-set time range by transform subblock 21
Data;Frame data synchronize submodule 22, by the audio file, the motion file, LED light effect file and the image
Trajectory files carry out same time shaft according to the frame data that the pre-set time range is respectively converted and synchronize;Storage
Module 30 is electrically connected with the synchronization module, the audio track file and image trajectory files integration after synchronizing
It is stored at robotic archival, and, store pre-set time range;Setup module 40, with the memory module electricity
Connection, presets the time range.
Specifically, by audio file, motion file, LED light effect file and image trajectory files by same in the form of frame synchronization
One time shaft synchronizes, and is integrated into a robotic archival and is stored, improves the synchronism that robot calls each file,
The convenience for also ensuring follow-up maintenance, updating file.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred
Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention
Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.