由於我未收到任何被動的收入所以我決定放棄傳統開源的計畫了,網域也丟了。
但我將針對公有區塊鏈ETHEREUM進行開發,本專案若有後續開發將充分耦合區塊鏈領域的價值!
我認為將主要精力投入在傳統自動化、AI和智慧化方面是個錯誤。
-------------At 21/05/2022
官方網站:WWW.OHSCE.ORG WWW.OHSCE.COM 最新版本V0.2.0.2 2017-05-10
開發者QQ群:374756165(新2016-09)捐款: http://www.ohsce.com/index.php/company/
官方源碼來源位址(獲取最新發布的官方版):
GITHUB:https://github.com/OpenIBC/Ohsce
GIT@OSC:https://git.oschina.net/SFXH/Ohsce #Open HI-REL Signal Communication Engine
PHP乙太網路(TCP/UDP/ICMP)、RS232、RS485通信,可廣泛直接或橋接各種網路工程通訊。
特別適合對可靠性要求較高、上位機與末端協同工作的場景。如物聯網設備通訊、智慧化系統、工業與自動化系統、可靠網路伺服器、中控&邊控&驅動。
可運行於Windows、Linux、OS X。對Windows提供了全項功能支持,與自動化生態親和。
不過分追求高性能,充分平衡了可靠性與高性能。
天生支援分散式,可大規模部署。
在保證您的網路可靠性的前提下能跑出強悍的效能。
過程化函數風格的架構具備高效率的特性。
特別親切於工業自動化工程師、硬體工程師、物聯網工程師、追求效率的PHP工程師的寫法風格。
OHSCE開放原始碼,在OHSCE授權協議框架下您可以免費使用!
-------------------------------------------------- ---------------------------------
PHP Ethernet (TCP/UDP/ICMP), RS232, RS485 communications, can be directly or directly bridged a variety of network engineering communications.
It is especially suitable for the scene with high reliability, the upper computer and the end work together. Things such as equipment communications, intelligent systems, industrial and automation systems, reliable net controserver, net controlation &trolation 客戶 control net control.
Can run on Windows, Linux, OS X. Windows provides a full range of functional support, and automated ecological affinity. Not too much pursuit of high performance, f balanced reliully and high performance.
Natural support for distributed, large-scale deployment.
In the premise of ensuring the reliability of your network can run out of strong performance.
The framework of the process function style has the characteristics of high efficiency.
Special kind in industrial automation engineers, hardware engineers, network engineers, the pursuit of efficiency PHP engineer writing style.
OHSCE open source code, under the OHSCE license agreement framework you can use free! #快速入門
http://www.ohsce.com/index.php/page/qstar.html
一、檢查環境是否支援OHSCE
系統:Windows / Linux / OSX
建議:WINDOWSSERVER2008以上UbuntuServer14.04LTS以上
PHP:5.4以上建議PHP5.4.9以上
PHP擴充:
Socket,Shmop,Curl
二、修改設定檔
/config/oibc_sce_config.php
三、運行測試程序
3.1工作在乙太網路上一個TCP服務端測試程式:
<?php
ini_set('memory_limit',"88M");//重置php可以使用的記憶體大小為64M
set_time_limit(0);
ob_implicit_flush(1);
include('loadohsce.php');
$trya='ohsce_server_Example ';
function example(&$socket,$buf,$len,$zv){ //收到資料時的回呼函數
global $trya;
echo $buf;
Ohsce_socketwrite($socket,$trya.'hi '.$buf);
return true;
}
function exampleaccept(&$socket,$ip,$port,$zv){ //新客戶端到訪時的回呼函數
global $trya;
Ohsce_socketwrite($socket,$trya.'Welcome'.$ip.':'.$port);
return true;
}
Ohsce_eng_socket_server($ohsceserver,'tcp',7626,'127.0.0.1','example','exampleaccept');//創建一個TCP服務端資源綁定127.0.0.1:7626 並傳入回調函數
Ohsce_eng_socket_server_runtcp($ohsceserver); //開始執行對應的客戶端測試程式: