CN105447016A - Assembly fast search and reuse method - Google Patents

Assembly fast search and reuse method Download PDF

Info

Publication number
CN105447016A
CN105447016A CN201410406400.2A CN201410406400A CN105447016A CN 105447016 A CN105447016 A CN 105447016A CN 201410406400 A CN201410406400 A CN 201410406400A CN 105447016 A CN105447016 A CN 105447016A
Authority
CN
China
Prior art keywords
multimedia
search
multimedia groupware
file
index information
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.)
Granted
Application number
CN201410406400.2A
Other languages
Chinese (zh)
Other versions
CN105447016B (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.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201410406400.2A priority Critical patent/CN105447016B/en
Publication of CN105447016A publication Critical patent/CN105447016A/en
Application granted granted Critical
Publication of CN105447016B publication Critical patent/CN105447016B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses an assembly fast search and reuse method. The method comprises: a multimedia file generating a multimedia assembly, and storing the multimedia assembly into an assembly library, wherein the multimedia assembly comprises index information; searching in the assembly library according to the index information, generating a snapshot and caching according to the searched multimedia assembly; comparing the current cached snapshot with the original snapshot, and if there is a change, deleting the original snapshot and searching again; and during application, directly dragging the searched multimedia assembly into a to-be-edited area until all editing in the to-be-edited area is finished. According to the method, the multimedia file is packed and stored into the assembly library by using a specific data format, and is searched according to the index information, and since only the index information part of the multimedia assembly is searched during the searching process, the detailed multimedia file can be accessed to only in case of application of the assembly, so that fast search is realized, and directly using the multimedia assembly to edit can improve reuse efficiency of the assembly.

Description

A kind of fast search of assembly and the way of reusing
Technical field
The present invention relates to digital publishing technical field, particularly a kind of fast search of assembly and the method for reusing.
Background technology
Digital publishing refers in publication process, be based upon the new and high technology bases such as computer technology, mechanics of communication, network technology, stream media technology, memory technology, display technique, all be stored in the medium such as CD, disk with the digitized forms of unified binary code by all information, the process of information is carried out with the equal computer of reception or terminal device.
Needing text, picture, video, audio frequency etc. to making to be reused in the processing procedure of digital publishing, integration being carried out to above-mentioned all kinds of multimedia file and obtains multimedia groupware.When making similar space of a whole page content afterwards, the assembly made before directly selecting, avoids repeated work, and especially being reused by establishment when making the abundant space of a whole page content of effect can be more efficient and convenient.But the data volume of multimedia file stored along with this locality increases day by day, realize the fast search of polytype multimedia file and quasi real time present also particularly important.Simple Word message can only be reused by all kinds of softwares for composing conventional at present, both cannot realize the fast search of file content, also cannot realize being reused the multimedia groupware of mixed type.
In sum, existing software for composing cannot realize hybrid multimedia and page object fast search, quasi real time present and efficiently reuse, share to the content in process of typeset and cause great inconvenience, search speed is slow, makes the reuse efficiency of multimedia groupware very low.
Summary of the invention
In order to improve the reuse efficiency of multimedia file, solve the problem that existing software for composing cannot carry out fast search to the multimedia file of mixed type and reuse, the fast search that the invention provides a kind of assembly and the method for reusing, comprising:
Generate multimedia groupware by multimedia file, and be saved in Component Gallery by described multimedia groupware, described multimedia groupware comprises index information;
Search in described Component Gallery according to described index information, according to searching for the multimedia groupware generating snapshot buffer memory that obtain;
The recent snapshot of buffer memory and former snapshot are compared, if changed, remove described former snapshot, and re-start search, wherein said former snapshot is generate the immediate search of described recent snapshot to generate afterwards;
Directly region to be edited is dragged to by searching for the multimedia groupware obtained during application.
Alternatively, described multimedia file comprises picture, Voice & Video.
Alternatively, described index information is the index information of described multimedia file, for searching described multimedia file according to described index information.
Alternatively, described by multimedia file generate multimedia groupware comprise:
Obtain described multimedia file;
According to the data layout preset, packing is carried out to described multimedia file and stores the described multimedia groupware of generation, store according to relative path during storage, the data layout preset of wherein said multimedia groupware comprises unique header and multiple index information, also comprises and described index information thumbnail and multimedia file one to one.
Alternatively, when described multimedia groupware is page assembly, described by multimedia file generate multimedia groupware comprise:
From multimedia file, select the page, and the described page is dragged in described Component Gallery;
Record data message and the positional information of each filling block in the page info of described page assembly and the described page.
Alternatively, adopt hierarchical search mode to search in described Component Gallery according to described index information, the search order of described hierarchical search mode is file searching, file search and file content search.
Alternatively, represent according to search limit, limit Mechanism in search procedure, described Component Gallery belongs to data Layer, searches for according to described index information at described data Layer, and represents searching for the multimedia groupware obtained at contact bed.
Alternatively, the described recent snapshot of buffer memory and former snapshot being compared also comprises:
Do not change if described recent snapshot and described former snapshot are compared, then directly export the multimedia groupware searched for and obtain.
Alternatively, describedly directly also to comprise searching for after the multimedia groupware obtained is dragged to region to be edited:
Size according to described region to be edited adjusts the size in described multimedia groupware, until described multimedia groupware can represent completely in described region to be edited.
Alternatively, directly the multimedia groupware in Search Results is dragged to region to be edited during described application also to comprise:
The relative path of applied multimedia groupware is converted into Actual path, and reuses multimedia groupware according to described Actual path.
Method for fast searching provided by the invention, utilize specific data layout to carry out packing to multimedia file and be stored into Component Gallery, search for according to index information afterwards, owing to only retrieving the index information part of multimedia groupware in search procedure, do not access concrete multimedia file content, only just can concrete multimedia file be conducted interviews when application component, thus realize fast search, multimedia groupware is directly utilized to edit, component integration is reused, reuse efficiency when reuse efficiency is only reused content of text far above prior art.
Accompanying drawing explanation
Fig. 1 is the fast search of a kind of assembly provided by the invention and the flow chart of steps of method of reusing;
Fig. 2 is the schematic diagram of data layout;
Carry out the schematic diagram stored according to relative path when Fig. 3 is multimedia file packing storage;
Fig. 4 is the schematic diagram generating page assembly;
Fig. 5 is the process flow diagram of search procedure;
Fig. 6 is the schematic diagram of application page assembly.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
The fast search that the invention provides a kind of assembly and the method for reusing, steps flow chart as shown in Figure 1, specifically comprises the following steps:
Step S1, generate multimedia groupware by multimedia file, and be saved in Component Gallery by multimedia groupware, wherein multimedia groupware comprises index information.
Step S2, search in Component Gallery according to index information, according to searching for the multimedia groupware generating snapshot buffer memory that obtain, its Central Plains snapshot is generate after generating the immediate once search of recent snapshot.
Step S3, the recent snapshot of buffer memory and former snapshot to be compared, if changed, remove former snapshot, and re-start search.
Directly region to be edited is dragged to, until complete the editor of full page by searching for the multimedia groupware obtained when step S4, application.
Said method is for the defect existed in prior art, multimedia file is packed, prevent loss of data, utilize index information search, do not need to search for whole multimedia file, can realize efficiently searching for fast, can directly utilize multimedia groupware to carry out the editor of the page when applying simultaneously, not only can realize reusing content of text, can also reuse fast various multimedia groupware, improve reuse efficiency.
Alternatively, multimedia file comprises picture, Voice & Video.
The multimedia groupware obtained according to data layout of the present invention comprises header, index information, the material thumbnail data (abbreviation thumbnail) of assembly and multimedia file data.The schematic diagram of above-mentioned data layout as shown in Figure 2, wherein header comprises version information, for identifying the difference of version, also whether apply above-mentioned data layout for differentiation simultaneously and carry out packing storage, data layout provided by the invention has forward compatibility simultaneously, and namely lowest version can be useful in highest version.
Index information is wherein the index information of multimedia file, for searching multimedia file according to index information.
Alternatively, generate multimedia groupware by multimedia file to comprise:
Obtain multimedia file;
According to the data layout preset, packing is carried out to multimedia file and stores generation multimedia groupware, store according to relative path during storage, wherein the data layout preset of multimedia groupware comprises unique header and multiple index information, also comprises and index information thumbnail and multimedia file one to one.
Multimedia file packing stores according to relative path when storing, and indicate the file of this multimedia file storage and the position of file in relative path, schematic diagram as shown in Figure 3.See Fig. 3, file bag comprises picture, data and interactively program resource file, and wherein data are ODF .odf file, is a kind of binary file format.Interactively program resource file comprises audio frequency, video and panorama sketch, and concrete file content can be MP4, MP3, JPG and HTML (HyperTextMarkupLanguage, HTML (Hypertext Markup Language)).
Alternatively, when multimedia groupware is page assembly, generates multimedia groupware by multimedia file and comprise:
From multimedia file, select the page, and the page is dragged in Component Gallery;
The data message of each filling block and positional information in the record page info of page assembly and the page.
Concrete when utilizing the page in multimedia file to generate multimedia groupware: in page view, the page to be dragged in Component Gallery and to form page assembly, as shown in Figure 4, record is carried out to the various information of page assembly simultaneously, be convenient to application.
Alternatively, adopt hierarchical search mode to search in Component Gallery according to index information, the search order of hierarchical search mode is file searching, file search and file content search, by realizing search to assembly and application to the search of file content.
The process flow diagram of above-mentioned search as shown in Figure 5, first judge whether there is current search in impact damper, if there is no search is then started, owing to having searched for corresponding snapshot buffer memory each time, if so have current search in existing buffer memory, carry out snapshot comparison, judge whether recent snapshot and former snapshot change, if changed, remove the former snapshot of buffer memory, re-start search again, if there is no change, the direct multimedia groupware output will searched in former snapshot.Timely removing buffer memory, can alleviate the data cached more pressure caused.Carry out in search procedure, according to hierarchical search, first searching fold, again search file, final search file content.Representing searching in the multimedia groupware that obtains represents also hierarchical classification, by the file, file and the file content that match with index information, point rank is presented in Component Gallery content displaying region by different level.In addition, see Fig. 5, the recent snapshot of buffer memory and former snapshot are compared and also comprise:
Do not change if recent snapshot and former snapshot are compared, then directly export the multimedia groupware searched for and obtain.
Alternatively, represent according to search limit, limit Mechanism in search procedure, Component Gallery belongs to data Layer, searches for according to index information at data Layer, and represents searching for the multimedia groupware obtained at contact bed.Because Component Gallery is positioned at data Layer, and Search Results (namely searching for the multimedia groupware obtained) is positioned at contact bed, index information is obtained according to the ticker data on interface, search for according to index information at data Layer, represent Search Results is fed back to contact bed, that mentions in the present invention represents by realizing the access of thumbnail, does not need the multimedia groupware represented to access, and only accesses the multimedia groupware needing to represent.
Also it should be noted that, in search procedure, do not access file content concrete in multimedia groupware, only just can access file content concrete in multimedia groupware when application of multimedia assembly, the time of access can be saved like this.
Alternatively, directly also comprise searching for after the multimedia groupware obtained is dragged to region to be edited:
Size according to region to be edited adjusts the size in multimedia groupware, until multimedia groupware can represent completely in region to be edited.
The schematic diagram of above-mentioned application page assembly as shown in Figure 6, because the size of multimedia groupware and dimension scale are fixing, therefore the multimedia groupware pulled into is not necessarily adapted to the current page, also will carry out readjusting position and size by intelligent computation to its size after therefore being pulled into by multimedia groupware.
Also it should be noted that, directly the multimedia groupware in Search Results be dragged to region to be edited during application and also comprise:
The relative path of applied multimedia groupware is converted into Actual path, and reuses multimedia groupware according to Actual path.
Owing to carrying out the operation of path replacement when generating multimedia groupware, reset to relative path by Actual path, therefore also relative path will be converted into Actual path when application of multimedia assembly, namely need to carry out route matching.
Method for fast searching provided by the invention, utilize specific data layout to carry out packing to multimedia file and be stored into Component Gallery, search for according to index information afterwards, owing to only retrieving the index information part of multimedia groupware in search procedure, do not access concrete multimedia file content, only just can concrete multimedia file be conducted interviews when application component, thus realize fast search, multimedia groupware is directly utilized to edit, component integration is reused, reuse efficiency when reuse efficiency is only reused content of text far above prior art.
Above embodiment is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (10)

1. the fast search of assembly and a method of reusing, is characterized in that, comprising:
Generate multimedia groupware by multimedia file, and be saved in Component Gallery by described multimedia groupware, described multimedia groupware comprises index information;
Search in described Component Gallery according to described index information, according to searching for the multimedia groupware generating snapshot buffer memory that obtain;
The recent snapshot of buffer memory and former snapshot are compared, if changed, remove described former snapshot, and re-start search, wherein said former snapshot is generate the immediate search of described recent snapshot to generate afterwards;
Directly region to be edited is dragged to by searching for the multimedia groupware obtained during application.
2. method according to claim 1, is characterized in that, described multimedia file comprises picture, Voice & Video.
3. method according to claim 1, is characterized in that, described index information is the index information of described multimedia file, for searching described multimedia file according to described index information.
4. method according to claim 1, is characterized in that, described by multimedia file generate multimedia groupware comprise:
Obtain described multimedia file;
According to the data layout preset, packing is carried out to described multimedia file and stores the described multimedia groupware of generation, store according to relative path during storage, the data layout preset of wherein said multimedia groupware comprises unique header and multiple index information, also comprises and described index information thumbnail and multimedia file one to one.
5. method according to claim 1, is characterized in that, when described multimedia groupware is page assembly, described by multimedia file generate multimedia groupware comprise:
From multimedia file, select the page, and the described page is dragged in described Component Gallery;
Record data message and the positional information of each filling block in the page info of described page assembly and the described page.
6. method according to claim 1, is characterized in that, adopts hierarchical search mode to search in described Component Gallery according to described index information, and the search order of described hierarchical search mode is file searching, file search and file content search.
7. method according to claim 1, it is characterized in that, represent according to search limit, limit Mechanism in search procedure, described Component Gallery belongs to data Layer, search for according to described index information at described data Layer, and represent searching for the multimedia groupware obtained at contact bed.
8. method according to claim 1, is characterized in that, the described recent snapshot of buffer memory and former snapshot being compared also comprises:
Do not change if described recent snapshot and described former snapshot are compared, then directly export the multimedia groupware searched for and obtain.
9. method according to claim 1, is characterized in that, describedly directly also comprises searching for after the multimedia groupware obtained is dragged to region to be edited:
Size according to described region to be edited adjusts the size in described multimedia groupware, until described multimedia groupware can represent completely in described region to be edited.
10. method according to claim 1, is characterized in that, directly the multimedia groupware in Search Results is dragged to region to be edited and also comprises during described application:
The relative path of applied multimedia groupware is converted into Actual path, and reuses multimedia groupware according to described Actual path.
CN201410406400.2A 2014-08-18 2014-08-18 A kind of fast search of component and the method for reuse Expired - Fee Related CN105447016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410406400.2A CN105447016B (en) 2014-08-18 2014-08-18 A kind of fast search of component and the method for reuse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410406400.2A CN105447016B (en) 2014-08-18 2014-08-18 A kind of fast search of component and the method for reuse

Publications (2)

Publication Number Publication Date
CN105447016A true CN105447016A (en) 2016-03-30
CN105447016B CN105447016B (en) 2018-09-14

Family

ID=55557211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410406400.2A Expired - Fee Related CN105447016B (en) 2014-08-18 2014-08-18 A kind of fast search of component and the method for reuse

Country Status (1)

Country Link
CN (1) CN105447016B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193913A (en) * 2017-05-15 2017-09-22 镇江千丝雨动画设计有限公司 The searching method and system of cartoon material
CN107526576A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 The methods of exhibiting and device of the view component of the page
CN109683978A (en) * 2017-10-17 2019-04-26 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment of the rendering of streaming layout interface
CN111460183A (en) * 2020-03-30 2020-07-28 北京金堤科技有限公司 Multimedia file generation method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381604B1 (en) * 1999-07-30 2002-04-30 Cisco Technology, Inc. Test information management system
CN101110020A (en) * 2006-07-21 2008-01-23 国际商业机器公司 Method and system for maintaining originality-related information about elements in an editable object
CN101490675A (en) * 2006-07-09 2009-07-22 90度软件股份有限公司 Methods and apparatus for reusing data access and presentation elements
US20110119295A1 (en) * 2009-11-04 2011-05-19 Columbia Sportswear North America, Inc. Reusable packaging history tracking system and query interface
CN102324072A (en) * 2011-09-14 2012-01-18 西安易博软件有限责任公司 Full three-dimensional digital knowledge base system and application method of knowledge base
CN102346756A (en) * 2010-12-24 2012-02-08 镇江诺尼基智能技术有限公司 Device failure solution knowledge management and search system and method
CN103559309A (en) * 2013-11-19 2014-02-05 北京航空航天大学 Audio information retrieval and recommendation system based on GPU (graphics processing unit) acceleration

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381604B1 (en) * 1999-07-30 2002-04-30 Cisco Technology, Inc. Test information management system
CN101490675A (en) * 2006-07-09 2009-07-22 90度软件股份有限公司 Methods and apparatus for reusing data access and presentation elements
CN101110020A (en) * 2006-07-21 2008-01-23 国际商业机器公司 Method and system for maintaining originality-related information about elements in an editable object
US20110119295A1 (en) * 2009-11-04 2011-05-19 Columbia Sportswear North America, Inc. Reusable packaging history tracking system and query interface
CN102346756A (en) * 2010-12-24 2012-02-08 镇江诺尼基智能技术有限公司 Device failure solution knowledge management and search system and method
CN102324072A (en) * 2011-09-14 2012-01-18 西安易博软件有限责任公司 Full three-dimensional digital knowledge base system and application method of knowledge base
CN103559309A (en) * 2013-11-19 2014-02-05 北京航空航天大学 Audio information retrieval and recommendation system based on GPU (graphics processing unit) acceleration

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526576A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 The methods of exhibiting and device of the view component of the page
CN107193913A (en) * 2017-05-15 2017-09-22 镇江千丝雨动画设计有限公司 The searching method and system of cartoon material
CN109683978A (en) * 2017-10-17 2019-04-26 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment of the rendering of streaming layout interface
CN109683978B (en) * 2017-10-17 2022-06-14 阿里巴巴集团控股有限公司 Stream type layout interface rendering method and device and electronic equipment
CN111460183A (en) * 2020-03-30 2020-07-28 北京金堤科技有限公司 Multimedia file generation method and device, storage medium and electronic equipment
CN111460183B (en) * 2020-03-30 2024-02-13 北京金堤科技有限公司 Method and device for generating multimedia file, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN105447016B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
JP6542563B2 (en) How to integrate, synchronize and stream production content for distributed editing of media composition
CN104077341B (en) The method and apparatus that keyword automatically replies mapping relations is generated in instant messaging
CN101477516B (en) Electronic data processing method and system
CN102682082B (en) Network Flash searching system and network Flash searching method based on content structure characteristics
CN105183475A (en) Method and system for customizing individuality pages of portal website by user himself
CN102073633A (en) Method and device for storing and accessing resource file
CN105447016A (en) Assembly fast search and reuse method
CN102591986A (en) System and method for realizing video and audio editing based on BS (browser/server) mode
CN103051652B (en) A kind of mobile terminal cloud computing distribution platform
US20140156603A1 (en) Method and an apparatus for splitting and recovering data in a power system
CN102622332A (en) E-book realizing method and making system
CN113655968B (en) Unstructured data storage method
CN113094355A (en) Model instantiation method, device, equipment and medium based on domestic communication protocol
CN100338605C (en) Recording method for extendable mark language file repairing trace
CN101667183B (en) Method, device and system for establishing index based on customization
CN112597348A (en) Method and device for optimizing big data storage
CN103425789A (en) Spatio-temporal data query method and device
CN103136264B (en) Attachment query method and user terminal
CN102171696A (en) Producing method and device for ordered material
CN102750391A (en) File previewing method and system based on Hadoop distribution type
CN101986302A (en) Media file association method and device
CN104750815A (en) Lob data storing method and device based on HBase
CN104572730A (en) Method and device for importing and exporting digital resources
CN113625952B (en) Object storage method, device, equipment and storage medium
CN100407204C (en) Method for labeling computer resource and system therefor

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
TR01 Transfer of patent right

Effective date of registration: 20220623

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, fangzheng building, 298 Fu Cheng Road, Beijing, Haidian District

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180914