1 Star 0 Fork 2

tao123 / RubyGenius

forked from edwinfound / RubyGenius 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

软件介绍

广告

软件由来

软件是学校一次晚会的产物,当时所包含的功能是:投票、抽奖、K歌、播放视频、播放音乐、播放PPT等。现将部分功能做了比较详细的整理和测试,整理成该软件供大家使用。

Ruby本身是一种面向对象程序设计的脚本语言,亦是红宝石之意;Genius意为天才,希望软件可以像红宝石一样给大家带来惊喜。

软件功能

  1. 短信投票
  2. 短信抽奖
  3. 音乐播放
  4. 视频播放
  5. 音效播放

具体功能详细使用说明,请参照“使用说明”章节。

运行原理

说明A:投影放映机 B:预览PC与投影放映机同步显示,接入以太网 C:应急切换VGA线,当出现紧急情况可以将投影放映机屏幕切换至D D:备用放映PC,紧急情况切换 E:以太网,控制端与预览端通讯 FG等:预览PC(B)控制端,接入以太网,控制B的显示情况

运行平台

Microsoft Windows 7 32位、Microsoft Windows 7 64位

Microsoft Windows 8 32位、Microsoft Windows 8 64位

理论上,软件可以运行在所有高于Microsoft Windows XP以上的所有平台,但我们的完整测试仅限在上述的4个操作系统。

使用说明

预览PC端(View Server)

如何启动

运行后默认界面如下:

软件启动后默认为全屏显示,按下快捷键:

F1:退出系统 F2:显示/隐藏菜单栏,菜单栏在整个屏幕的右下角显示 F3:设置,或者在菜单栏中也可以点击设置按钮

基本设置

本机IP:运行RubyGenius_View软件的电脑IP

本机端口:运行RubyGenius_View软件的电脑开放供控制端连接的端口

高级设置

View Server默认主页背景为图片为Data/setting/Background.jpg,如果你想更换背景,只需替换该文件即可。

媒体播放 控制端

如何启动

运行后默认界面如下:

基本设置

设置(按钮)

**View IP:**运行RubyGenius_View软件的电脑IP **View端口:**运行RubyGenius_View软件的电脑开放供控制端连接的端口 **声音文件夹:**音频文件放置的文件夹,只能为英文字符 **视频文件夹:**视频文件放置的文件夹,只能为英文字符 **音效文件夹:**音效文件放置的文件夹,只能为英文字符

连接(按钮)

设置好参数后用于连接View Server

同步(按钮)

用于和View Server同步声音、视频、音乐特效文件列表

播放(复选)

显示/隐藏播放控制界面

控制(复选)

显示/隐藏控制说明界面

首页(按钮)

将View Server切换至首页界面

视频(按钮)

将View Server切换至视频播放界面

[音乐播放]

控制View Server播放音乐,选择文件,点击加载,之后就可以播放、暂停、停止 左侧为声音控制滑动条 最多同时只能播放一个音频文件 音乐播放支持*.mp3格式

[视频播放]

控制View Server播放视频,选择文件,点击加载,之后就可以播放、暂停、停止 左侧为视频声音控制滑动条 最多同时只能播放一个视频文件 视频播放支持*.wmv *.avi *.mp4格式

[音乐特效播放]

双击音效文件或者选择文件点击播放 音效特效播放只能一次播放完整,中间不能停顿 最多同时只能播放一个音乐特效文件 音效播放支持*.mp3格式

投票&抽奖 控制端

如何启动

运行后默认界面如下:

基本设置

设置(按钮)

**View IP:**运行RubyGenius_View软件的电脑IP **View端口:**运行RubyGenius_View软件的电脑开放供控制端连接的端口

连接(按钮)

设置好参数后用于连接View Server

同步(按钮)

用于和View Server同步投票设置信息

短信(复选)

显示/隐藏播放短信接收界面

投票(复选)

显示/隐藏控制投票抽奖界面

首页(按钮)

将View Server切换至首页界面

投票(按钮)

将View Server切换至视频投票界面

抽奖(按钮)

将View Server切换至抽奖界面

短信接收

**接收短信工作原理:**通过连接在计算机的GSM Modem接收短信,读取短信存入计算机数据库,进行后期相关处理 **何为GSM Modem:**就是上图这种设备,该设备可以插入一张SIM卡,程序通过AT指令与该设备通讯,收取短信,对于呼叫该SIM卡号码的设备自动拒接 **如何连接GSM Modem:**将GSM Modem配置为115200bps波特率,接入运行RubyGenius_PollLucky的计算机,刷新COM口,点击连接,待GSM Modem状态指示“等待…”则正常运行 **短信列表:**在短信列表中,可以进行删除等操作

投票抽奖

抽取幸运号码的步骤:

  1. 切换至抽奖界面;
  2. 点击投票配置中的“抽奖”按钮,标题栏下的蓝色抽奖按钮用于从所有投该板块的号码中抽取,普通抽奖按钮用于从投中某个选项的号码中抽取;
  3. 点击开始,号码开始滚动;
  4. 点击停止,显示该抽中的号码;
  5. 更多详细见下面的设置说明;

**开始(按钮):**大屏幕抽奖号码滚动开始,开始时须送入中奖号码 **停止(按钮):**大屏幕抽奖号码滚动停止 **取消(按钮):**大屏幕抽奖号码滚动取消,显示000-XXXX-0000 **保存(按钮):**保存该中奖号码到历史列表 **重复检测(复选):**勾选该号码,抽取号码时进行重复检测,前提是之前抽取的号码需要存入历史列表 **发送短信通知:**发送中奖信息通知至用户,告知领奖通知 **显示(按钮):**显示所有历史列表中的号码 **清空(按钮):**清空中奖号码的历史列表 显示投票界面步骤:

  1. 切换至投票界面;
  2. 点击“获取”按钮,获取票数信息;
  3. 点击“推送”按钮,将票数信息推送到View Server显示;
  4. 更多见如下的设置说明;

**显示(按钮):**在View Server显示当前投票板块 **推送(按钮):**手动推送当前板块的投票信息到View Server **获取(按钮) (蓝色):**获取该板块的所有票数信息 **抽奖(按钮) (蓝色):**从该板块中抽取幸运手机号码 **自动推送(按钮):**自动推送当前板块的投票信息到View Server **开始时间(文本):**板块投票开始时间 **结束时间(文本):**板块投票结束时间 **票数(文本):**显示当前票数,可通过鼠标滚轮进行微调 **+10:**当前票数调整+10 **-10:**当前票数调整-10 **获取(按钮):**获取当前板块的当前选项的票数信息 **抽奖(按钮):**从该选项中抽取幸运手机号码

高级设置

投票板块的设置需要在View Server端,配置文件位于Data/setting/Poll_utf8.Conf可通过编辑该文件修改详细的投票板块配置信息,可自行查看该文件中的注释进行配置。

抽奖板块的设置需要在View Server端,配置文件位于Data/setting/Lucky_utf8.Conf可通过编辑该文件修改详细的投票板块配置信息,可自行查看该文件中的注释进行配置。

需要注意的是,这两个配置的文件都为UTF8编码,不可更改其编码方式,推荐使用notepad2编辑。

Q&A

运行View Server的计算机有什么要求

理论上是没有任何限制的,但是为了更好的效果,我们推荐如下的做法:

  1. 关闭View Server上的所有可能弹窗的应用;
  2. 关闭屏幕保护程序;
  3. 关闭自带或第三方的防火墙;
  4. 需要计算机处理器性能和显卡性能比较好的计算机;

运行控制端的计算机有什么要求?

理论上对该计算机是没有任何要求的,只要满足能运行该软件操作系统平台即可。

影响系统稳定性的因素有哪些?

我们进行了24小时连续实验,经过测试,发现影响系统稳定性的主要原因还是网络原因,因此为了获取更佳的稳定性,我们推荐这么做:

  1. 使用性能良好的路由器/交换机连接多台计算机;
  2. 使用质量较佳的以太网连接线;
  3. 在现场控制过程中,保持不要有任何物体触碰网络接口/路由器/交换机/GSM Modem连接线;

现场出现问题怎么办?

该系统是为了给出更好的小型屏幕控制解决方案,但是即使有99.9%的无故障率,也要留有备用方案,防止现场出现突发情况,我们推荐这么做:

  1. 留有备用计算机,如果出现现场失控情况,紧急切换至备用计算机,以免影响整体进度流程;
  2. 如果大屏幕只有一路VGA输入线的话,可以使用VGA切换器进行多路连接,VGA切换器输入端连接View Server和备用计算机,输出连接大屏幕输入;

联系我们

我们本着友好和平的目的将软件共享给大家使用,软件本身可能还存在有部分问题,如果使用过程中出现问题,请将网站目录下的*.log文件发送至我们,于我们携手改善软件。

许可协议

Co.MZ企业系统遵循Apache2开源协议发布。Apache Licence是著名的非盈利开源组织Apache采用的协议。该协议和BSD类似,鼓励代码共享和尊重原作者的著作权,同样允许代码修改,再作为开源或商业软件发布。需要满足的条件:

  1. 需要给代码的用户一份Apache Licence ;
  2. 如果你修改了代码,需要在被修改的文件中说明;
  3. 在延伸的代码中(修改和有源代码衍生的代码中)需要带有原来代码中的协议,商标,专利声明和其他原来作者规定需要包含的说明;
  4. 如果再发布的产品中包含一个Notice文件,则在Notice文件中需要带有Apache Licence。你可以在Notice中增加自己的许可,但不可以表现为对Apache Licence构成更改。

具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "{}" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2015 edwin404 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

RubyGenius 软件是学校一次晚会的产物,当时所包含的功能是:投票、抽奖、K歌、播放视频、播放音乐、播放PPT等。 展开 收起
Python
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/ljt083/RubyGenius.git
git@gitee.com:ljt083/RubyGenius.git
ljt083
RubyGenius
RubyGenius
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891