CN102387136A - System and method for converting distributed PPT (Power Point) files into swf (small web format) files - Google Patents

System and method for converting distributed PPT (Power Point) files into swf (small web format) files Download PDF

Info

Publication number
CN102387136A
CN102387136A CN2011103050155A CN201110305015A CN102387136A CN 102387136 A CN102387136 A CN 102387136A CN 2011103050155 A CN2011103050155 A CN 2011103050155A CN 201110305015 A CN201110305015 A CN 201110305015A CN 102387136 A CN102387136 A CN 102387136A
Authority
CN
China
Prior art keywords
file
swf
ppt
conversion
main control
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.)
Pending
Application number
CN2011103050155A
Other languages
Chinese (zh)
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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN2011103050155A priority Critical patent/CN102387136A/en
Publication of CN102387136A publication Critical patent/CN102387136A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides a system for converting distributed PPT (Power Point) files into swf (small web format) files, which comprises clients, master servers and slave servers, wherein the clients are used for transmitting PPT files (to be converted into swf files) to the master servers to request for conversion; each master server is used for receiving a request of a corresponding client, dividing a PPT file into a plurality of single pages of PPT files, controlling the slave servers to carry out conversion, and outputting the obtained conversion results to the client; and each slave server is used for receiving the conversion notice of a corresponding master server, and converting a single page of PPT file into an swf file. The invention also discloses a method for converting PPT files into swf files. By using the system and method for converting PPT files into swf files disclosed by the invention, the problem that in the prior art, the conversion efficiency is difficult to be expanded is solved, and the slave servers are easy to be added for promoting the conversion performance, therefore, the horizontal scalability is good.

Description

A kind of distributed PPT converts the system and method for swf to
Technical field
The present invention relates to computer realm, particularly relate to a kind of system and method that the ppt/pptx file conversion is become Flash (swf) file.
Background technology
At present, the ppt/pptx file of the PowerPoint of MS is widely used in teaching field; But in Internet online teaching field, require the teaching document in different types of browser, plays, mutual, employing ppt/pptx file format can't be accomplished.
FLASH is a kind of plug-in part technology of browsing, and has encapsulated the difference of browser, and the swf file is based on the file of flash technology, so can in different browsers, play, mutual, is suitable as very much the impart knowledge to students file format of document of Internet.
So the ppt/pptx file conversion that needs to be widely used in teaching field at present becomes the swf file, so that can be applied to Internet online teaching field.
At present, in ppt/pptx file conversion swf file process, computer will be carried out a large amount of calculating, and existing ppt/pptx conversion swf software all is being mode under the single cpu mode, the conversion speed single computer operational efficiency that places one's entire reliance upon; When performance can not meet the demands, conversion performance be improved and more high performance computer can only be changed, with regard to the amount of calculation that ppt/pptx converts the swf file to, it is limited to promote the conversion efficiency space through the single computer hardware performance, and autgmentability is poor.
So, need to propose a kind of new technology, to overcome the problem that conversion efficiency of the prior art is difficult to expand with ppt/pptx file conversion swf file.
Summary of the invention
The object of the present invention is to provide a kind of distributed PPT to convert the system and method for swf to, can overcome the problem that conversion efficiency of the prior art is difficult to expand, be easy to increase dependent server and promote conversion performance, horizontal extension property is good.
In order to solve above technical problem, the present invention provides a kind of distributed PPT to convert the system of swf to, comprising: client computer, and main control server, dependent server,
Said client computer is used for transmitting the ppt file that is converted into swf to main control server, the request conversion;
Said main control server is used to receive the respective client request, and the ppt file division is become a plurality of single page ppt files, and the control dependent server is changed, and the result after will converting exports to client computer;
Said dependent server receives corresponding main control server conversion notice, and is the swf file operation with single page ppt file conversion.
Further, said dependent server is by single, and perhaps a plurality of dependent servers are formed, and unification is carried out the swf conversion by said main control server control distribution single page ppt file.
In order to solve above technical problem, the present invention also provides a kind of distributed PPT to convert the swf method to, comprising:
Client computer is through sending conversion request to main control server;
Main control server becomes a plurality of single page ppt files with the ppt file division after receiving request, and sends the conversion notice to dependent server;
Dependent server is the swf file operation with single page ppt file conversion respectively, and sends the good swf file of conversion to the main control server preservation;
Main control server is merged into single swf file with the swf file of all conversions, sends client computer to.
Further, said dependent server is the swf file operation with single page ppt file conversion respectively, and sends the good swf file of conversion to the main control server preservation, specifically comprises:
Dependent server sends conversion ppt file request to main control server;
Main control server judges that whether all single page ppt files all convert, if do not have, get into next step, otherwise main control server are merged into the swf file of all conversions the operation of single swf file;
Main control server sends single page ppt file to dependent server;
Dependent server receives single page ppt file, is the swf file with single page ppt file conversion, and the swf file that converts is returned to the main control server preservation.
Further, said dependent server is by single, and perhaps a plurality of dependent servers are formed, and unification is carried out the swf conversion by said main control server control distribution single page ppt file.
Compared with prior art; The present invention provides a kind of distributed PPT to convert the system and method for swf to; Can be easy to increase dependent server and promote conversion performance, horizontal extension property is good, no longer relies on the progress of isolating the Computing ability thereby obtained conversion performance; Reach the performance boost level and can expand the also effect of easy expansion, finally saved the hardware cost expenditure.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes a part of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, does not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of the system of a kind of distributed ppt conversion swf provided by the invention;
Fig. 2 is the flow chart of the method for a kind of distributed ppt conversion swf provided by the invention;
Fig. 3 is the collaborative with distributed ppt conversion swf working timing figure of a kind of distributed conversion client computer provided by the invention, main control server, many dependent servers.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention provides a kind of distributed PowerPoint (ppt/pptx; Below be referred to as ppt) conversion Flash (swf) method; Comprise: after the main control server subscribing client ppt conversion swf request; Original ppt document is cut apart, be output into single page ppt file to every page of lantern slide of former ppt, notify dependent server conversion then; Dependent server receives after the main control server conversion notice, to main control server request single page ppt file and convert the swf file to, converts the back and passes to main control server to swf; After waiting all single pages all to convert, main control server merges all swf files exports to requesting clients.
As shown in Figure 1, the present invention provides the system of a kind of distributed ppt conversion swf, and this system comprises: client computer 10, and main control server 20, dependent server 30,
Client computer 10 is used for transmitting the ppt file that is converted into swf to main control server 20 the request conversion;
Main control server 20 is the control centre of whole distributed conversion, is responsible for receiving respective client 10 requests, and the ppt file division is become a plurality of single page ppt files, and control dependent server 30 is changed, and the result after will converting exports to client computer 10;
Dependent server 30 receives corresponding main control server 20 conversion notices, and is the swf file operation with single page ppt file conversion.Wherein, dependent server 30 can be one, also can be many.
As shown in Figure 2, the present invention provides a kind of distributed ppt to convert the method for swf to, comprising:
Step 1, client computer are sent conversion request through RMI (Remote Method Invocation, RMI) to main control server;
After step 2, main control server receive request, call PowerPoint VBA com interface and become a plurality of single page ppt files to the ppt file division;
Step 3, main control server send the conversion notice through RMI to dependent server;
Step 4, dependent server send conversion ppt file request to main control server;
Step 5, main control server judge whether all single page ppt files all convert, if all convert, get into step 9, otherwise get into step 6;
Step 6, main control server send single page ppt file to dependent server;
Step 7, dependent server receive single page ppt file, be the swf file with single page ppt file conversion, and the swf file that converts is returned to main control server;
Step 8, main control server monitor the swf file that dependent server sends over, and preserve this swf file in the main control server particular file folder, this single page ppt are set simultaneously for converting; Return step 4;
Step 9, main control server are merged into single swf file with the swf file of storage, and send client computer being merged into the swf file to through RMI.
Fig. 3 is the collaborative with distributed ppt conversion swf working timing figure of a kind of distributed conversion client computer provided by the invention, main control server, many dependent servers; Wherein, Dependent server has two, is respectively dependent server 1 and dependent server 2, and this method comprises:
Step 1, client computer are sent conversion request through RMI to main control server;
After step 2, main control server receive request, call PowerPoint VBA com interface and become a plurality of single page ppt files to the ppt file division;
Step 3, main control server send the conversion notice to all dependent servers respectively through RMI;
Step 4, each dependent server send conversion ppt file request to main control server;
Step 5, main control server judge whether all single page ppt files all convert, if all convert, get into step 9, otherwise get into step 6;
Step 6, main control server send single page ppt file to the dependent server of the request of sending respectively;
Step 7, the dependent server that receives single page ppt file are the swf file with single page ppt file conversion, and the swf file that converts are returned to main control server;
Step 8, main control server receive the swf file that dependent server sends over, and preserve this swf file in the main control server particular file folder, this single page ppt are set simultaneously for converting; Return step 4;
Step 9, main control server are merged into single swf file with the swf file of storage, and send client computer being merged into the swf file to through RMI.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention; But as previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection range of accompanying claims of the present invention.

Claims (5)

1. a distributed PPT converts the system of swf to, it is characterized in that, comprising: client computer, and main control server, dependent server,
Said client computer is used for transmitting the ppt file that is converted into swf to main control server, the request conversion;
Said main control server is used to receive the respective client request, and the ppt file division is become a plurality of single page ppt files, and the control dependent server is changed, and the result after will converting exports to client computer;
Said dependent server receives corresponding main control server conversion notice, and is the swf file operation with single page ppt file conversion.
2. the method for claim 1 is characterized in that, said dependent server is by single, and perhaps a plurality of dependent servers are formed, and unification is carried out the swf conversion by said main control server control distribution single page ppt file.
3. a distributed PPT converts the swf method to, it is characterized in that, comprising:
Client computer is through sending conversion request to main control server;
Main control server becomes a plurality of single page ppt files with the ppt file division after receiving request, and sends the conversion notice to dependent server;
Dependent server is the swf file operation with single page ppt file conversion respectively, and sends the good swf file of conversion to the main control server preservation;
Main control server is merged into single swf file with the swf file of all conversions, sends client computer to.
4. method as claimed in claim 3 is characterized in that, said dependent server is the swf file operation with single page ppt file conversion respectively, and sends the good swf file of conversion to the main control server preservation, specifically comprises:
Dependent server sends conversion ppt file request to main control server;
Main control server judges that whether all single page ppt files all convert, if do not have, get into next step, otherwise main control server are merged into the swf file of all conversions the operation of single swf file;
Main control server sends single page ppt file to dependent server;
Dependent server receives single page ppt file, is the swf file with single page ppt file conversion, and the swf file that converts is returned to the main control server preservation.
5. like claim 3 or 4 described methods, it is characterized in that said dependent server is by single, perhaps a plurality of dependent servers are formed, and unification is carried out the swf conversion by said main control server control distribution single page ppt file.
CN2011103050155A 2011-10-10 2011-10-10 System and method for converting distributed PPT (Power Point) files into swf (small web format) files Pending CN102387136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103050155A CN102387136A (en) 2011-10-10 2011-10-10 System and method for converting distributed PPT (Power Point) files into swf (small web format) files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103050155A CN102387136A (en) 2011-10-10 2011-10-10 System and method for converting distributed PPT (Power Point) files into swf (small web format) files

Publications (1)

Publication Number Publication Date
CN102387136A true CN102387136A (en) 2012-03-21

Family

ID=45826110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103050155A Pending CN102387136A (en) 2011-10-10 2011-10-10 System and method for converting distributed PPT (Power Point) files into swf (small web format) files

Country Status (1)

Country Link
CN (1) CN102387136A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224510A (en) * 2015-09-21 2016-01-06 杭州施强网络科技有限公司 A kind of conversion method of document format file
CN105354254A (en) * 2015-10-21 2016-02-24 杭州施强网络科技有限公司 Method for converting document file format by using node server
CN106446610A (en) * 2016-08-31 2017-02-22 福建天泉教育科技有限公司 Method and system for analyzing swf file embedded into PPT
CN110297917A (en) * 2019-06-28 2019-10-01 腾讯科技(深圳)有限公司 Live broadcasting method, device, electronic equipment and storage medium
CN111052683A (en) * 2018-03-15 2020-04-21 欧姆龙株式会社 Network system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004743A (en) * 2006-01-21 2007-07-25 鸿富锦精密工业(深圳)有限公司 Distribution type file conversion system and method
CN101699426A (en) * 2009-11-06 2010-04-28 上海传知信息科技发展有限公司 Document format conversion system and method
CN101833567A (en) * 2010-03-31 2010-09-15 北京志腾新诺科技有限公司 Document conversion method, device and system
US20110087652A1 (en) * 2009-10-14 2011-04-14 Great Connection, Inc. Systems and methods for converting and delivering medical images to mobile devices and remote communications systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004743A (en) * 2006-01-21 2007-07-25 鸿富锦精密工业(深圳)有限公司 Distribution type file conversion system and method
US20110087652A1 (en) * 2009-10-14 2011-04-14 Great Connection, Inc. Systems and methods for converting and delivering medical images to mobile devices and remote communications systems
CN101699426A (en) * 2009-11-06 2010-04-28 上海传知信息科技发展有限公司 Document format conversion system and method
CN101833567A (en) * 2010-03-31 2010-09-15 北京志腾新诺科技有限公司 Document conversion method, device and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224510A (en) * 2015-09-21 2016-01-06 杭州施强网络科技有限公司 A kind of conversion method of document format file
CN105224510B (en) * 2015-09-21 2021-07-09 杭州施强教育科技有限公司 Method for converting file in document format
CN105354254A (en) * 2015-10-21 2016-02-24 杭州施强网络科技有限公司 Method for converting document file format by using node server
CN106446610A (en) * 2016-08-31 2017-02-22 福建天泉教育科技有限公司 Method and system for analyzing swf file embedded into PPT
CN111052683A (en) * 2018-03-15 2020-04-21 欧姆龙株式会社 Network system
US11374788B2 (en) 2018-03-15 2022-06-28 Omron Corporation Network system having master device carrying out part of a process and slave device carrying out remainder of the process
CN110297917A (en) * 2019-06-28 2019-10-01 腾讯科技(深圳)有限公司 Live broadcasting method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102346770B (en) WebKit browser webpage content loading method and device
CN102387136A (en) System and method for converting distributed PPT (Power Point) files into swf (small web format) files
CN101436148B (en) Integrated client end and method for performing interaction of desktop application and network WEB application
CN104391868B (en) The device and method of dynamic page static
CN102752388A (en) Browser-based interactive system, browser-based interactive method, browser and cloud server
CN103312751A (en) Instant messaging method based on browser
CN103873505A (en) Method, system and device for offline uploading to cloud storage server
CN104199723A (en) Camera mapping method based on virtual equipment
CN105224510B (en) Method for converting file in document format
CN103324605A (en) Method, equipment and system for collaborative editing of multiple users
CN102520893A (en) Method for printing webpage of cloud network-based mobile terminal
CN102651721B (en) A kind of information feedback method and equipment
CN101119365B (en) Cooperation interaction optimizing method under vast scale cooperative surroundings
CN102970325A (en) File upload method and system
TW201245963A (en) Distributed printing controlling method and system and distributed printing method
CN103414584A (en) Method for rapidly expanding computer cluster based on P2P network technology
CN106993041A (en) A kind of power marketing moves work data synchronous method
CN106101710A (en) A kind of distributed video transcoding method and device
CN103399776A (en) Creation method and system for reusable MOCK
CN105407150A (en) Remote control method of application program
Guha Toward the intelligent web systems
CN102541956A (en) Social network site content management system and method thereof
CN104572600A (en) Multi-person collaborative document editing operation method
CN102654886A (en) Data capture system for B/S (Browser/Server) structure system
CN104504000A (en) Remote transmission method, device and system for mirror image file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Wu Zhenyu

Document name: Notification of Passing Examination on Formalities

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120321