CN109977381B - 一种基于Office Addin的h5互动资源存取编辑和播放工具 - Google Patents

一种基于Office Addin的h5互动资源存取编辑和播放工具 Download PDF

Info

Publication number
CN109977381B
CN109977381B CN201910160894.3A CN201910160894A CN109977381B CN 109977381 B CN109977381 B CN 109977381B CN 201910160894 A CN201910160894 A CN 201910160894A CN 109977381 B CN109977381 B CN 109977381B
Authority
CN
China
Prior art keywords
addin
ppt
interactive
editing
tool
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.)
Withdrawn - After Issue
Application number
CN201910160894.3A
Other languages
English (en)
Other versions
CN109977381A (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.)
Mukun Technology Co ltd
Original Assignee
Mukun Technology 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 Mukun Technology Co ltd filed Critical Mukun Technology Co ltd
Priority to CN201910160894.3A priority Critical patent/CN109977381B/zh
Publication of CN109977381A publication Critical patent/CN109977381A/zh
Application granted granted Critical
Publication of CN109977381B publication Critical patent/CN109977381B/zh
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开了一种基于Office Addin的h5互动资源存取编辑和播放工具,包括Office PowerPoint Addin、h5互动资源存取工具、h5互动资源编辑工具和h5互动资源播放工具;本发明一种基于Office Addin的h5互动资源存取编辑和播放工具,将h5互动资源以OLE Object压缩保存到PPT中,在打开带有h5互动资源的PPT文件的时候将资源文件从PPT中解压缩并恢复到特定存储目录下以备PPT编辑和播放时候展示,实现了h5互动资源的模板和数据分离,减小插入h5互动资源后PPT文件的尺寸的增长,实现了互动资源的状态以activex的形式插入PPT中并保存,实现了插入h5互动资源的时候截取缩略图显示在ppt对应的页中,用户可以知道插入的h5互动资源是什么内容,用户可以重新编辑已经插入PPT中的h5互动资源。

Description

一种基于Office Addin的h5互动资源存取编辑和播放工具
技术领域
本发明涉及ppt文件和h5资源结合的技术领域,特别涉及一种基于Office Addin的h5互动资源存取编辑和播放工具。
背景技术
众所周知,原生的ppt文件是不支持插入并播放h5资源的,目前ppt只能插入网址链接,更不支持直接在ppt中播放链接页面,只能点击链接后通过打开浏览器显示h5资源。
目前市面支持h5资源结合ppt的工具,实现的方式如下:
①将需要嵌入的h5资源包裹到原始的ppt文件上,形成自己专有的文件格式,并由专用的应用程序打开文件并通过控制ppt来播放h5资源;
②将h5资源包裹到原始的ppt文件上,形成自己专有文件格式的解决方式解决了ppt不支持h5资源嵌入和播放的问题,但是缺点在于:
1)保存的文件对Office不友好,生成的文件脱离了专有的应用程序就会导致Office完全无法打开此文件。
2)Office必须要完全嵌入到应用程序中,作为应用程序的子程序来控制,但这样就大大增加了系统的复杂度。
发明内容
本发明的主要目的在于提供一种基于Office Addin的h5互动资源存取编辑和播放工具,可以有效解决背景技术中的问题。
1、为实现上述目的,本发明提供如下技术方案:一种基于Office Addin的h5互动资源存取编辑和播放工具,包括Office PowerPoint Addin、h5互动资源存取工具、h5互动资源编辑工具和h5互动资源播放工具,
所述h5互动资源编辑工具进行h5互动资源编辑后的状态信息以activex的形式存储在ppt中,以后打开ppt编辑、播放的时候可以重新加载状态;
所述h5互动资源存取工具用于将h5互动资源编辑后的资源以模板和数据的形式分别压缩并以OLE Object形式插入到PPT中保存,在打开PPT的时候将这些文件释放到本地;
所述h5互动资源编辑工具在编辑h5互动资源的时候,由Office PowerPointAddin进行启动h5互动资源编辑工具,编辑完成后,h5互动资源编辑工具通过MQ通知OfficePowerPoint Addin,并将编辑结果以json形式发送给Office PowerPoint Addin,Officeadin会调用h5互动资源存取工具持久化数据到ppt中;以及
所述h5互动资源播放工具用于播放h5互动资源,播放PPT时,Office PowerPointAddin会随时检查当前播放页是否包含h5互动资源,当播放到包含了h5互动资源的页的时候,Office PowerPoint Addin将调用h5互动资源播放工具播放h5互动资源,当翻到下一页的时候,当前播放窗口将隐藏;
其中,h5互动资源文件通过Office PowerPoint Addin插件以OpenXml文件的标准格式压缩进PPT文件中。
优选的,所述Office PowerPoint Addin通过MQ实现和编辑播放工具之间的消息通信,其具体通信步骤为:
S1、Office PowerPoint Addin启动的时候会启动一个MQ Server,启动消息监听在特定端口;
S2、h5互动资源编辑完成后,编辑结果以消息方式发送给MQ Server,OfficePowerPoint Addin接收到消息后调用h5互动资源存取组件持久化到ppt中。
与现有技术相比,本发明具有如下有益效果:
1)、本发明以OpenXml为存储格式,以Office PowerPoint Addin为基础的h5互动资源存取、播放工具,实现了h5互动资源能够插入ppt中,并保存到ppt文件中,方便用户在不同机器间复制使用ppt,为了提高用户体验,实现了h5互动资源编辑后生成缩略图功能,并插入到对应的ppt页面,方便用户浏览查看ppt;
2)、本发明以Office Powerpoint Addin为基础,实现了h5互动资源的模板和数据分离,优化了h5互动资源的尺寸,简化了h5互动资源的升级,系统只需要将模板数据升级,并保证兼容性,用户ppt中的资源就能实现平滑升级。
附图说明
图1为本发明所述一种基于Office Addin的h5互动资源存取编辑和播放工具的h5互动资源编辑工具的工作流程示意图;
图2为本发明所述一种基于Office Addin的h5互动资源存取编辑和播放工具h5互动资源播放工具的工作流程示意图;
图3为本发明所述一种基于Office Addin的h5互动资源存取编辑和播放工具示意图。
具体实施方式
为使本发明实现的技术手段、创作特征、达成目的与功效易于明白了解,下面结合具体实施方式,进一步阐述本发明。
实施例1
如图1-3所示,一种基于Office Addin的h5互动资源存取编辑和播放工具,包括Office PowerPoint Addin、h5互动资源存取工具、h5互动资源编辑工具和h5互动资源播放工具,h5互动资源文件通过Office PowerPoint Addin插件以OpenXml文件的标准格式压缩进PPT文件中,这种ppt文件可以在其它安装了Office PowerPoint Addin的Office环境下打开并编辑,播放此ppt。
h5互动资源编辑工具进行h5互动资源编辑后的状态信息以activex的形式存储在ppt中,以后打开ppt编辑、播放的时候可以重新加载状态。
h5互动资源存取工具用于将h5互动资源编辑后的资源以模板和数据的形式分别压缩并以OLE Object形式插入到PPT中保存,在打开PPT的时候将这些文件释放到本地,模板和数据分离的好处在于,用户如果使用同一个h5互动资源创建了多个不同的素材,保存到ppt的时候只需要保存一份模板到ppt中,优化ppt文件的尺寸,减少磁盘占用,也提高ppt打开时候的速度。通过这种方式,解决了需要创建专有的文件才能将ppt和h5互动资源结合的问题,直接携带ppt文件就能实现不同机器间共享文件。
h5互动资源编辑工具在编辑h5互动资源的时候,ppt编辑工具通过MQ通信来实现h5资源的编辑、预览,通过这种方式,克服了ppt无法插入h5资源的问题;编辑工具实现的具体步骤为:
S1、编辑工具以后台进程的形式启动;
S2、当用户新插入h5互动资源或者对ppt中已有的h5互动资源启动编辑的时候,Office Powerpoint Addin发送消息给编辑工具,编辑工具加载对应的互动资源并显示;
S3、用户编辑h5互动资源完成并选择插入ppt后,将h5互动资源的状态信息以json形式,通过MQ发送给Office PowerPoint Addin,Addin收到消息后调用h5素材存取模块将素材保存到ppt中。
h5互动资源播放工具用于播放h5互动资源,播放PPT时,Office PowerPointAddin会随时检查当前播放页是否包含h5互动资源,当播放到包含了h5互动资源的页的时候,Office PowerPoint Addin将调用h5互动资源播放工具播放h5互动资源,当翻到下一页的时候,当前播放窗口将隐藏,通过这种方式,克服了ppt无法播放h5资源的问题。
Office PowerPoint Addin通过MQ实现和编辑播放工具之间的消息通信,其具体通信步骤为:
S1、Office PowerPoint Addin启动的时候会启动一个MQ Server,启动消息监听在特定端口;
S2、h5互动资源编辑完成后,编辑结果以消息方式发送给MQ Server,OfficePowerPoint Addin接收到消息后调用h5互动资源存取组件持久化到ppt中。
需要说明的是,本发明为一种基于Office Addin的h5互动资源存取编辑和播放工具,在使用时,如图1所示,h5互动资源编辑工具在Office PowerPoint Addin启动后以后台进程的方式运行,当用户需要编辑h5素材的时候,向h5互动资源编辑工具发送windows消息,消息中包含要编辑的h5素材的基本信息,h5互动资源编辑工具显示并加载当前要编辑的h5素材,编辑完成后生成缩略图通过MQ发送指令请求Office PowerPoint Addin将素材保存到ppt中,Office PowerPoint Addin收到消息后的处理流程为:
1)通过activex保存素材的状态;
2)检查当前素材的模板是否在当前ppt中已经存在;
3)如果模板存在,则略过模板的添加;
4)如果不存在,则压缩模板文件并插入ppt;
5)压缩素材文件并插入ppt中;
6)启动ppt保存。
如图2所示,h5素材播放工具在Office PowerPoint Addin启动后以后台进程方式运行,当PPT播放的时候,Addin会启动一个独立的翻页按钮,用以解决当播放到h5互动素材的时候,鼠标和键盘事件会被h5素材拦截,导致不能翻页的问题。当用户点击播放的时候,addin获取播放回调事件,检查当前页是否包含h5互动资源,如果包含,则向h5素材播放工具发送指令加载对应的h5素材并加载在PPT播放窗口之上,如果当前页不包含h5互动资源,则向h5资源播放工具发送消息隐藏窗口。
以上显示和描述了本发明的基本原理和主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。

Claims (2)

1.一种基于Office Addin的h5互动资源存取编辑和播放工具,其特征在于,包括Office PowerPoint Addin、h5互动资源存取工具、h5互动资源编辑工具和h5互动资源播放工具,
所述h5互动资源编辑工具进行h5互动资源编辑后的状态信息以activex的形式存储在ppt中,以后打开ppt编辑、播放的时候可以重新加载状态;
所述h5互动资源存取工具用于将h5互动资源编辑后的资源以模板和数据的形式分别压缩并以OLE Object形式插入到PPT中保存,在打开PPT的时候将这些文件释放到本地;
所述h5互动资源编辑工具在编辑h5互动资源的时候,由Office PowerPoint Addin进行启动h5互动资源编辑工具,编辑完成后,h5互动资源编辑工具通过MQ通知OfficePowerPoint Addin,并将编辑结果以json形式发送给Office PowerPoint Addin,Officeadin会调用h5互动资源存取工具持久化数据到ppt中;以及
所述h5互动资源播放工具用于播放h5互动资源,播放PPT时,Office PowerPointAddin会随时检查当前播放页是否包含h5互动资源,当播放到包含了h5互动资源的页的时候,Office PowerPoint Addin将调用h5互动资源播放工具播放h5互动资源,当翻到下一页的时候,当前播放窗口将隐藏;
其中,h5互动资源文件通过Office PowerPoint Addin插件以OpenXml文件的标准格式压缩进PPT文件中。
2.根据权利要求1所述的一种基于Office Addin的h5互动资源存取编辑和播放工具,其特征在于,所述Office PowerPoint Addin通过MQ实现和编辑播放工具之间的消息通信,其具体通信步骤为:
S1、Office PowerPoint Addin启动的时候会启动一个MQ Server,启动消息监听在特定端口;
S2、h5互动资源编辑完成后,编辑结果以消息方式发送给MQ Server,OfficePowerPoint Addin接收到消息后调用h5互动资源存取组件持久化到ppt中。
CN201910160894.3A 2019-03-04 2019-03-04 一种基于Office Addin的h5互动资源存取编辑和播放工具 Withdrawn - After Issue CN109977381B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910160894.3A CN109977381B (zh) 2019-03-04 2019-03-04 一种基于Office Addin的h5互动资源存取编辑和播放工具

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910160894.3A CN109977381B (zh) 2019-03-04 2019-03-04 一种基于Office Addin的h5互动资源存取编辑和播放工具

Publications (2)

Publication Number Publication Date
CN109977381A CN109977381A (zh) 2019-07-05
CN109977381B true CN109977381B (zh) 2023-06-09

Family

ID=67077765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910160894.3A Withdrawn - After Issue CN109977381B (zh) 2019-03-04 2019-03-04 一种基于Office Addin的h5互动资源存取编辑和播放工具

Country Status (1)

Country Link
CN (1) CN109977381B (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402463A (zh) * 2010-09-10 2012-04-04 中华电信股份有限公司 将资源程序整合至在线操作系统的处理系统及其方法
CN104933094A (zh) * 2015-05-19 2015-09-23 深圳市松特高新实业有限公司 一种ppt文档构建方法及构建系统
CN107896310A (zh) * 2017-12-19 2018-04-10 广州敬信药草园信息科技有限公司 一种会议录播方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130226979A1 (en) * 2011-10-17 2013-08-29 Brainshark, Inc. Systems and methods for multi-device rendering of multimedia presentations
US20160188125A1 (en) * 2014-08-24 2016-06-30 Lintelus, Inc. Method to include interactive objects in presentation
US10019424B2 (en) * 2014-12-30 2018-07-10 Universidad De Santiago De Chile System and method that internally converts PowerPoint non-editable and motionless presentation mode slides into editable and mobile presentation mode slides (iSlides)
CN105068815B (zh) * 2015-08-24 2018-10-19 用友网络科技股份有限公司 页面编辑器交互装置和方法
CN106210841A (zh) * 2016-07-06 2016-12-07 深圳市矽伟智科技有限公司 一种视频同步播放方法、装置
CN108241513A (zh) * 2016-12-23 2018-07-03 北京国双科技有限公司 数据处理方法及装置
US11089349B2 (en) * 2017-01-20 2021-08-10 Hanwha Techwin Co., Ltd. Apparatus and method for playing back and seeking media in web browser
CN107818143B (zh) * 2017-10-16 2021-12-17 中国银联股份有限公司 一种页面配置、生成方法及装置
CN108681530A (zh) * 2018-05-04 2018-10-19 北京天元创新科技有限公司 一种基于Web的公文生成方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402463A (zh) * 2010-09-10 2012-04-04 中华电信股份有限公司 将资源程序整合至在线操作系统的处理系统及其方法
CN104933094A (zh) * 2015-05-19 2015-09-23 深圳市松特高新实业有限公司 一种ppt文档构建方法及构建系统
CN107896310A (zh) * 2017-12-19 2018-04-10 广州敬信药草园信息科技有限公司 一种会议录播方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Web的可视化报表组件研究与实现;张雪;中国优秀硕士学位论文全文数据库信息科技辑;I139-150 *

Also Published As

Publication number Publication date
CN109977381A (zh) 2019-07-05

Similar Documents

Publication Publication Date Title
US7234107B1 (en) System for customizing web page
US7979801B2 (en) Media presentation driven by meta-data events
US7769144B2 (en) Method and system for generating and presenting conversation threads having email, voicemail and chat messages
US7707591B2 (en) Integration of audio or video program with application program
US20080112683A1 (en) System and Methods for Remote Manipulation of Video over a Network
KR102058465B1 (ko) 전자기기 원격제어 시스템 및 이의 운용방법
US20030225834A1 (en) Systems and methods for sharing dynamic content among a plurality of online co-users
US20020138653A1 (en) Workstation system, computer, data transfer method, data editing method, computer program generation method, computer program and storage medium
US20120151315A1 (en) Using text messages to interact with spreadsheets
EP2050259B1 (en) Method and system for generating and presenting conversation threads having email, voicemail and chat messages
WO2009038667A2 (en) Messaging and application system integration
CN104133828A (zh) 用于html文档的拖放剪贴板
WO2004055629A2 (en) Programmed apparatus and system for dynamic display of presentation files
US20100005138A1 (en) Electronic file sharing
US20100179970A1 (en) System and method for bi-directional synchronized conversion of electronic mail data
WO2022062888A1 (zh) 一种文档编辑方法、装置、计算机设备和存储介质
US20220342518A1 (en) Card-based information management method and system
US20130046935A1 (en) Shared copy cache across networked devices
CN105487752A (zh) 一种应用控制方法及应用该方法的终端
CN103067466A (zh) 一种实现文件同步存储的客户端和方法
US20050165888A1 (en) Peer-to-peer data binding
CN112328140B (zh) 图像输入方法及其装置、设备、介质
CN109977381B (zh) 一种基于Office Addin的h5互动资源存取编辑和播放工具
US20080208936A1 (en) System and method for managing media for a portable media device
US11922002B2 (en) Notification display in message session

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210630

Address after: 230088 501, C1 building, Huayi Science Park, No.71, Tianda Road, high tech Zone, Hefei City, Anhui Province

Applicant after: Mukun Technology Co.,Ltd.

Address before: 230000 building 501, C1, Huayi Science Park, 71 Tianda Road, Shushan District, Hefei City, Anhui Province

Applicant before: ANHUI DAITE EDUCATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
AV01 Patent right actively abandoned

Granted publication date: 20230609

Effective date of abandoning: 20230820

AV01 Patent right actively abandoned

Granted publication date: 20230609

Effective date of abandoning: 20230820

AV01 Patent right actively abandoned
AV01 Patent right actively abandoned