CN106131374B - A kind of robotic archival uses, storage method and system - Google Patents

A kind of robotic archival uses, storage method and system Download PDF

Info

Publication number
CN106131374B
CN106131374B CN201610490041.2A CN201610490041A CN106131374B CN 106131374 B CN106131374 B CN 106131374B CN 201610490041 A CN201610490041 A CN 201610490041A CN 106131374 B CN106131374 B CN 106131374B
Authority
CN
China
Prior art keywords
file
frame
audio
led light
light effect
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
CN201610490041.2A
Other languages
Chinese (zh)
Other versions
CN106131374A (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.)
SHANGHAI PARTNERX ROBOTICS Co.,Ltd.
Original Assignee
Shanghai Xpartner Robotics 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 Shanghai Xpartner Robotics Co Ltd filed Critical Shanghai Xpartner Robotics Co Ltd
Priority to CN201610490041.2A priority Critical patent/CN106131374B/en
Publication of CN106131374A publication Critical patent/CN106131374A/en
Priority to PCT/CN2017/088530 priority patent/WO2018001112A1/en
Application granted granted Critical
Publication of CN106131374B publication Critical patent/CN106131374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Toys (AREA)
  • Manipulator (AREA)

Abstract

The invention discloses a kind of use of robotic archival, storage method and systems, are related to robotic archival field of storage, comprising: step S10 creates robot audio track file and image trajectory files;Wherein, the audio track file includes: header file and frame file;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.The present invention extends audio track file, other than original audio file, further comprises motion file and LED light effect file, enriches the entertainment of robot;It is stored in addition, audio track file and image trajectory files are integrated into a robotic archival, improves the synchronism of file and the convenience of subsequent update.

Description

A kind of robotic archival uses, storage method and system
Technical field
The present invention relates to robotic archival field of storage more particularly to a kind of use of robotic archival, storage method and it is System.
Background technique
In recent years, with the rapid development of robot technology, music robot generates therewith, can pass through these music machines Device people plays music, for your amusement.And based on more and more perfect robot motion and human body body-sensing technology, make robot can be with Similar movement is completed as people, and the movement that robot completes is controlled by being stored in the motion file of robot interior What it was completed.
Existing music robot, can on one side play music, while follow music to take exercises, this is by being stored in music What the music file and motion file of robot interior were completed, two files must be stored individually, their time shaft is asynchronous, Movement can not be matched ideally with music;Simultaneously as music file and motion file individually store, it must when needing to change It must be updated one by one, when preservation is cumbersome.
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.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, a kind of robotic archival is used, Above-mentioned characteristic, technical characteristic, advantage and its implementation of storage method and system are further described.
Fig. 1 is the flow chart of robotic archival storage method one embodiment of the present invention;
Fig. 2 is the flow chart of another embodiment of robotic archival storage method of the present invention;
Fig. 3 is the structural schematic diagram of robotic archival application method one embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another embodiment of robotic archival application method of the present invention;
Fig. 5 is the flow chart of robotic archival storage system one embodiment of the present invention;
Fig. 6 is the flow chart of another embodiment of robotic archival storage system of the present invention.
Drawing reference numeral explanation:
10. creation module, 11. assignment submodules, 12. write submodule, 13. judging submodules, 14. compression submodules, 20. Synchronization module, 21. transform subblocks, the synchronous submodule of 22. frame data, 30. memory modules, 40. setup modules.
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.

Claims (16)

1. a kind of robotic archival storage method characterized by comprising
Step S10 creates robot audio track file and image trajectory files;
Wherein, the audio track file includes: the frame file of header file and a no less than frame;The header file includes: audio Header file and movement header file;The frame file includes: audio file and motion file;
It is same that the audio track file and the image trajectory files are carried out same time shaft by step S20 in the form of frame synchronization Step;
Step S30 will synchronize after the audio track file and the image trajectory files be integrated into robotic archival and deposit Storage.
2. robotic archival storage method as described in claim 1, it is characterised in that:
The header file includes: audio header file, movement header file and LED light effect header file;
The step S10 includes:
Step S11 carries out assignment to the header file, and is written in the audio track file.
3. robotic archival storage method as claimed in claim 2, which is characterized in that before the step S10 further include:
Step S01 presets time range.
4. robotic archival storage method as claimed in claim 3, it is characterised in that:
The audio file includes: audio frame;
The motion file includes: movement frame head, action action frame;
The step S10 further include:
Step S12 is respectively converted to the audio file and the motion file according to the pre-set time range The frame data of corresponding size, are sequentially written in the audio track file;
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.
5. robotic archival storage method as claimed in claim 4, it is characterised in that:
The frame file further include: LED light imitates file;
The LED light effect file includes: LED light effect frame head and LED light effect frame;
The step S10 further include:
LED light effect file is converted to the frame number of corresponding size according to the pre-set time range by step S15 According to being sequentially written in the audio track file;
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 S17 compresses LED light effect file.
6. robotic archival storage method as claimed in claim 5, which is characterized in that the step S20 is specifically included:
The image trajectory files are converted to the frame number of corresponding size according to the pre-set time range by step S21 According to;
Step S22 by the audio file, the motion file, the LED light effect file and the image trajectory files according to It is synchronous that the frame data that the pre-set time range is respectively converted carry out same time shaft.
7. a kind of robotic archival application method of the storage method fit applications as described in claim 1-6, which is characterized in that Include:
Step S40 obtains robotic archival and enables instruction;
Temporally axis is successively read corresponding frame data in the robotic archival of storage to step S50;
Wherein, the robotic archival includes: audio track file and image trajectory files, and the audio track file includes: The frame file of header file and a no less than frame;The header file includes: audio header file and movement header file;The frame file packet It includes: audio file and motion file;
Step S60 plays audio and image according to the corresponding frame data control robot of the time shaft.
8. robotic archival application method as claimed in claim 7, which is characterized in that the header file includes: audio head text Part, movement header file and LED light imitate header file.
9. robotic archival application method as claimed in claim 7, it is characterised in that:
The audio file includes: audio frame;
The motion file includes: movement frame head, action action frame;
The step S60 includes:
Step S61 judges the content in the corresponding frame data of the time shaft;
For step S62 when in the frame data including audio frame and image frame, control robot plays phase according to the audio frame The audio answered, while corresponding image is played according to the image frame;
Step S63 controls robot according to the audio frame when in the frame data including audio frame, action action frame and image frame While playing corresponding audio, play corresponding image according to the image frame, made according to the action action frame corresponding dynamic Make.
10. robotic archival application method as claimed in claim 9, it is characterised in that:
The frame file further include: LED light imitates file;
The LED light effect file includes: LED light effect frame head and LED light effect frame;
The step S60 further include:
Step S64 when including audio frame, action action frame, LED light effect frame and when image frame in the frame data, control robot according to The audio frame plays corresponding audio, plays corresponding image according to the image frame, made accordingly according to the action action frame Movement while, frame imitated according to the LED light make corresponding LED light and imitate.
11. a kind of robotic archival storage system characterized by comprising
Creation module creates robot audio track file and image trajectory files;
Wherein, the audio track file includes: the frame file of header file and a no less than frame;The header file includes: audio Header file and movement header file;The frame file includes: audio file and motion file;
Synchronization module is electrically connected with the creation module, and the audio track file and the image trajectory files is same with frame It is synchronous that step form carries out time shaft;
Memory module is electrically connected with the synchronization module, the audio track file and image track text after synchronizing Part is integrated into robotic archival and is stored.
12. robotic archival storage system as claimed in claim 11, it is characterised in that:
The header file includes: audio header file, movement header file and LED light effect header file;
The creation module includes:
Assignment submodule carries out assignment to the header file, and is written in the audio track file.
13. robotic archival storage system as claimed in claim 12, it is characterised in that:
The memory module is further used for storing pre-set time range;
Further include:
Setup module is electrically connected with the memory module, presets the time range.
14. robotic archival storage system as claimed in claim 13, it is characterised in that:
The audio file includes: audio frame;
The motion file includes: movement frame head, action action frame;
The creation module includes:
Submodule is write, according to the pre-set time range, the audio file and the motion file are respectively converted For the frame data of corresponding size, it is sequentially written in the audio track file;
Judging submodule judges in the movement header file with the presence or absence of action action frame compressing mark;
Submodule is compressed, if there are action action frame compressing mark in the movement header file, the compression submodule is by the movement File is compressed.
15. robotic archival storage system as claimed in claim 14, it is characterised in that:
The frame file further include: LED light imitates file;
The LED light effect file includes: LED light effect frame head and LED light effect frame;
It is described to write submodule, it is further used for being converted to LED light effect file according to the pre-set time range The frame data of corresponding size, are sequentially written in the audio track file;
The judging submodule is further used for judging in the LED light effect header file with the presence or absence of LED light effect frame compression mark Know;
Submodule is compressed, if there are LED lights to imitate frame compressing mark in LED light effect header file, the compression submodule is into one Step is for compressing LED light effect file.
16. robotic archival storage system as claimed in claim 15, which is characterized in that the synchronization module specifically includes:
The image trajectory files are converted to corresponding size according to the pre-set time range by transform subblock Frame data;
Frame data synchronize submodule, by the audio file, the motion file, LED light effect file and the image rail Road file carries out same time shaft according to the frame data that the pre-set time range is respectively converted and synchronizes.
CN201610490041.2A 2016-06-29 2016-06-29 A kind of robotic archival uses, storage method and system Active CN106131374B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610490041.2A CN106131374B (en) 2016-06-29 2016-06-29 A kind of robotic archival uses, storage method and system
PCT/CN2017/088530 WO2018001112A1 (en) 2016-06-29 2017-06-15 Method and system for using and storing robotic file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610490041.2A CN106131374B (en) 2016-06-29 2016-06-29 A kind of robotic archival uses, storage method and system

Publications (2)

Publication Number Publication Date
CN106131374A CN106131374A (en) 2016-11-16
CN106131374B true CN106131374B (en) 2019-07-19

Family

ID=57285021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610490041.2A Active CN106131374B (en) 2016-06-29 2016-06-29 A kind of robotic archival uses, storage method and system

Country Status (2)

Country Link
CN (1) CN106131374B (en)
WO (1) WO2018001112A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131374B (en) * 2016-06-29 2019-07-19 上海未来伙伴机器人有限公司 A kind of robotic archival uses, storage method and system
CN111295023B (en) * 2020-03-25 2022-05-13 众盒智能科技(上海)有限公司 timeline city level light show deduction system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1335800A (en) * 1999-10-29 2002-02-13 索尼公司 Robot system, robot device, and its cover
CN1392824A (en) * 2000-09-28 2003-01-22 索尼公司 Authoring system and method, and storage medium
CN102737678A (en) * 2011-04-12 2012-10-17 上海广茂达光艺科技股份有限公司 Lighting scene multimedia file format, storage method thereof, and synchronous play method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103897A1 (en) * 2007-10-22 2009-04-23 Min-Shu Chen Method for synchronzing audio and video data in avi file
US20090248200A1 (en) * 2007-10-22 2009-10-01 North End Technologies Method & apparatus for remotely operating a robotic device linked to a communications network
CN102279569B (en) * 2010-06-08 2013-05-08 华宝通讯股份有限公司 Motion editing system for mechanical device and method therefor
CN106131374B (en) * 2016-06-29 2019-07-19 上海未来伙伴机器人有限公司 A kind of robotic archival uses, storage method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1335800A (en) * 1999-10-29 2002-02-13 索尼公司 Robot system, robot device, and its cover
CN1392824A (en) * 2000-09-28 2003-01-22 索尼公司 Authoring system and method, and storage medium
CN102737678A (en) * 2011-04-12 2012-10-17 上海广茂达光艺科技股份有限公司 Lighting scene multimedia file format, storage method thereof, and synchronous play method thereof

Also Published As

Publication number Publication date
CN106131374A (en) 2016-11-16
WO2018001112A1 (en) 2018-01-04

Similar Documents

Publication Publication Date Title
CN105049991B (en) Intelligent movable lighting sound and its control method
US10410392B2 (en) Data structure for computer graphics, information processing device, information processing method and information processing system
CN106781755A (en) A kind of tutoring system and method based on virtual reality
CN106131374B (en) A kind of robotic archival uses, storage method and system
US20160047076A1 (en) Music washing machine and control method thereof
CN107422862A (en) A kind of method that virtual image interacts in virtual reality scenario
CN109256010A (en) A kind of music teaching demo system
EP1113439A3 (en) Recording medium having recorded data structure and method and apparatus of recording/reproducing using the data structure
CN110335331A (en) Teaching animation production method
CN108174498A (en) A kind of control method and system of the scene lamp based on intelligent Matching
CN107318078A (en) NFC static information playing device and static information processing method
CN110108008A (en) Voice air conditioner light control method and device and air conditioner
CN102737678B (en) A kind of lamplight scene multimedia file format and storage, synchronous broadcast method
CN108319441A (en) Control method, device, system, processor and the storage medium that audio plays
JP6992798B2 (en) Master playback device, slave playback device, and their light emission method
CN108039082A (en) A kind of bathyscaph retractable operation Simulated training training method based on LAN
CN107025814A (en) A kind of music education plateform system for supporting many interactive application modes
CN102014193A (en) Mobile terminal adaptive to automatic pairing and automatic pairing method thereof
CN209543642U (en) A kind of music teaching demo system
CN107135260A (en) Intelligent television UI sound effect systems and implementation method
CN110505405A (en) Video capture system and method based on body-sensing technology
CN107888974A (en) A kind of instant video synthetic method and system based on scene or special object
KR20140088462A (en) A real time rendering 3d object interactive multi-vision system and method for processing a real time rendering 3d object
CN206162915U (en) Computer teaching of university platform
CN105847951A (en) Method and device for play controlling in audio and video playing 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
TR01 Transfer of patent right

Effective date of registration: 20200507

Address after: Room 612, Zone D, building 20, No. 1-42, Lane 83, Hongxiang North Road, Wanxiang Town, Pudong New Area, Shanghai

Patentee after: Shanghai Yingchen Information Technology Co., Ltd

Address before: 200233 building 90, building 1122, 8 North Qinzhou Road, Shanghai, Xuhui District

Patentee before: SHANGHAI PARTNERX ROBOTICS Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210422

Address after: 200233, 1122 North Qinzhou Road, Shanghai, 90, building 8, Xuhui District

Patentee after: SHANGHAI PARTNERX ROBOTICS Co.,Ltd.

Address before: Room 612, Zone D, building 20, No. 1-42, Lane 83, Hongxiang North Road, Wanxiang Town, Pudong New Area, Shanghai

Patentee before: Shanghai Yingchen Information Technology Co.,Ltd.

TR01 Transfer of patent right